]> Untitled Git - bdk/commit
[keys] Add a way to restrict the networks in which keys are valid
authorAlekos Filini <alekos.filini@gmail.com>
Mon, 21 Sep 2020 13:44:07 +0000 (15:44 +0200)
committerAlekos Filini <alekos.filini@gmail.com>
Thu, 24 Sep 2020 07:53:51 +0000 (09:53 +0200)
commitc51ba4a99f7f38332e059543215ad8c22b6f1413
tree666537b3b7b18abbf6f7ec0ef6614a56f7219e23
parentbc8acaf0887ba5c901899523a5a0498a33e47207
[keys] Add a way to restrict the networks in which keys are valid

Thanks to the `ToWalletDescriptor` trait we can also very easily validate the checksum
for descriptors that are loaded from strings, if they contain one. Fixes #20.
src/descriptor/dsl.rs
src/descriptor/error.rs
src/descriptor/mod.rs
src/error.rs
src/keys/bip39.rs
src/keys/mod.rs
src/wallet/export.rs
src/wallet/mod.rs