Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #2692: Add docs for custom signets
30a0967 Add docs for custom signets (Tobin C. Harding) Pull request description: We have started using `AsRef<Params>` in a few places as a function parameter. If a user of the library wishes to use these functions they need to create a type that can implement this trait. Because we use `non_exhaustive` on the `Params` struct it is not possible to just construct a `Params` type. This may be surprising for some folk. Add module level docs to the `consensus::params` module with an example of how to create a type that can be used to describe a custom signet network. Use fields inspired by Mutiny Wallet's described usage. Close: #2690 ACKs for top commit: sanket1729: ACK 30a0967. apoelstra: ACK 30a0967 this is great; would like to see more `const` but for example code no big deal Tree-SHA512: 50881763aea99641e24871b0eae60650174c48f620742944e7d5617fcf1edff73a20b2a8f043433f6f114ff5f3f4691703fc37b28880c305bb052c2d75d1eeeb
- Loading branch information