From 8fd83a96c0a2bd179aa9f96b7b2bd4e9b1b67892 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 11 May 2021 08:23:14 +0000 Subject: [PATCH] Publish autogenerated nightly docs --- static/docs-rs/bdk/nightly/latest/ayu.css | 2 +- .../blockchain/any/enum.AnyBlockchain.html | 14 +-- .../any/enum.AnyBlockchainConfig.html | 14 +-- .../latest/bdk/blockchain/any/index.html | 4 +- .../enum.CompactFiltersError.html | 38 ++++---- .../bdk/blockchain/compact_filters/index.html | 4 +- .../struct.BitcoinPeerConfig.html | 14 +-- .../struct.CompactFiltersBlockchain.html | 4 +- ...struct.CompactFiltersBlockchainConfig.html | 16 ++-- .../compact_filters/struct.Mempool.html | 4 +- .../compact_filters/struct.Peer.html | 4 +- .../latest/bdk/blockchain/electrum/index.html | 4 +- .../electrum/struct.ElectrumBlockchain.html | 4 +- .../struct.ElectrumBlockchainConfig.html | 16 ++-- .../bdk/blockchain/enum.Capability.html | 14 +-- .../blockchain/esplora/enum.EsploraError.html | 22 ++--- .../latest/bdk/blockchain/esplora/index.html | 4 +- .../esplora/struct.EsploraBlockchain.html | 4 +- .../struct.EsploraBlockchainConfig.html | 12 +-- .../bdk/blockchain/fn.log_progress.html | 4 +- .../bdk/blockchain/fn.noop_progress.html | 4 +- .../latest/bdk/blockchain/fn.progress.html | 4 +- .../nightly/latest/bdk/blockchain/index.html | 4 +- .../bdk/blockchain/struct.LogProgress.html | 4 +- .../bdk/blockchain/struct.NoopProgress.html | 4 +- .../bdk/blockchain/trait.Blockchain.html | 20 ++-- .../trait.ConfigurableBlockchain.html | 10 +- .../latest/bdk/blockchain/trait.Progress.html | 8 +- .../bdk/blockchain/type.ProgressData.html | 4 +- .../bdk/database/any/enum.AnyBatch.html | 12 +-- .../bdk/database/any/enum.AnyDatabase.html | 12 +-- .../database/any/enum.AnyDatabaseConfig.html | 12 +-- .../latest/bdk/database/any/index.html | 4 +- .../any/struct.SledDbConfiguration.html | 12 +-- .../nightly/latest/bdk/database/index.html | 4 +- .../latest/bdk/database/memory/index.html | 4 +- .../memory/struct.MemoryDatabase.html | 4 +- .../bdk/database/trait.BatchDatabase.html | 12 +-- .../bdk/database/trait.BatchOperations.html | 28 +++--- .../database/trait.ConfigurableDatabase.html | 10 +- .../latest/bdk/database/trait.Database.html | 30 +++--- .../descriptor/checksum/fn.get_checksum.html | 4 +- .../latest/bdk/descriptor/checksum/index.html | 4 +- .../bdk/descriptor/enum.Descriptor.html | 32 +++---- .../latest/bdk/descriptor/enum.Legacy.html | 18 ++-- .../latest/bdk/descriptor/enum.Segwitv0.html | 18 ++-- .../bdk/descriptor/error/enum.Error.html | 32 +++---- .../latest/bdk/descriptor/error/index.html | 4 +- .../nightly/latest/bdk/descriptor/index.html | 4 +- .../policy/enum.BuildSatisfaction.html | 20 ++-- .../descriptor/policy/enum.PolicyError.html | 20 ++-- .../descriptor/policy/enum.Satisfaction.html | 38 ++++---- .../policy/enum.SatisfiableItem.html | 48 +++++----- .../latest/bdk/descriptor/policy/index.html | 4 +- .../descriptor/policy/struct.Condition.html | 26 ++--- .../bdk/descriptor/policy/struct.PkOrF.html | 4 +- .../bdk/descriptor/policy/struct.Policy.html | 16 ++-- .../descriptor/policy/type.ConditionMap.html | 4 +- .../policy/type.FoldedConditionMap.html | 4 +- .../struct.DerivedDescriptorKey.html | 18 ++-- .../bdk/descriptor/struct.Miniscript.html | 28 +++--- .../latest/bdk/descriptor/template/index.html | 4 +- .../bdk/descriptor/template/struct.Bip44.html | 4 +- .../template/struct.Bip44Public.html | 4 +- .../bdk/descriptor/template/struct.Bip49.html | 4 +- .../template/struct.Bip49Public.html | 4 +- .../bdk/descriptor/template/struct.Bip84.html | 4 +- .../template/struct.Bip84Public.html | 4 +- .../bdk/descriptor/template/struct.P2Pkh.html | 4 +- .../descriptor/template/struct.P2Wpkh.html | 4 +- .../template/struct.P2Wpkh_P2Sh.html | 4 +- .../template/trait.DescriptorTemplate.html | 8 +- .../template/type.DescriptorTemplateOut.html | 4 +- .../bdk/descriptor/trait.ExtractPolicy.html | 8 +- .../trait.IntoWalletDescriptor.html | 8 +- .../bdk/descriptor/trait.ScriptContext.html | 30 +++--- .../descriptor/type.DerivedDescriptor.html | 4 +- .../descriptor/type.ExtendedDescriptor.html | 4 +- .../bdk/descriptor/type.HdKeyPaths.html | 4 +- .../latest/bdk/descriptor/type.KeyMap.html | 4 +- .../bdk/nightly/latest/bdk/enum.Error.html | 94 +++++++++---------- .../nightly/latest/bdk/enum.KeychainKind.html | 12 +-- .../bdk/nightly/latest/bdk/enum.Utxo.html | 16 ++-- .../bdk/nightly/latest/bdk/fn.version.html | 4 +- .../docs-rs/bdk/nightly/latest/bdk/index.html | 4 +- .../latest/bdk/keys/bip39/enum.Language.html | 6 +- .../bdk/keys/bip39/enum.MnemonicType.html | 6 +- .../nightly/latest/bdk/keys/bip39/index.html | 4 +- .../bdk/keys/bip39/struct.Mnemonic.html | 4 +- .../latest/bdk/keys/bip39/struct.Seed.html | 4 +- .../bip39/type.MnemonicWithPassphrase.html | 4 +- .../latest/bdk/keys/enum.DescriptorKey.html | 6 +- .../bdk/keys/enum.DescriptorPublicKey.html | 26 ++--- .../bdk/keys/enum.DescriptorSecretKey.html | 12 +-- .../latest/bdk/keys/enum.ExtendedKey.html | 12 +-- .../latest/bdk/keys/enum.KeyError.html | 20 ++-- .../bdk/keys/enum.ScriptContextEnum.html | 12 +-- .../latest/bdk/keys/fn.any_network.html | 4 +- .../latest/bdk/keys/fn.mainnet_network.html | 4 +- .../latest/bdk/keys/fn.merge_networks.html | 4 +- .../latest/bdk/keys/fn.test_networks.html | 4 +- .../bdk/nightly/latest/bdk/keys/index.html | 4 +- .../bdk/keys/struct.DescriptorSinglePriv.html | 12 +-- .../bdk/keys/struct.DescriptorSinglePub.html | 26 ++--- .../latest/bdk/keys/struct.GeneratedKey.html | 4 +- .../struct.PrivateKeyGenerateOptions.html | 10 +- .../bdk/keys/struct.SortedMultiVec.html | 26 ++--- .../latest/bdk/keys/trait.DerivableKey.html | 10 +- .../bdk/keys/trait.ExtScriptContext.html | 12 +-- .../keys/trait.GeneratableDefaultOptions.html | 10 +- .../latest/bdk/keys/trait.GeneratableKey.html | 16 ++-- .../bdk/keys/trait.IntoDescriptorKey.html | 8 +- .../latest/bdk/keys/trait.ScriptContext.html | 30 +++--- .../nightly/latest/bdk/keys/type.KeyMap.html | 4 +- .../latest/bdk/keys/type.ValidNetworks.html | 4 +- .../nightly/latest/bdk/macro.descriptor.html | 6 +- .../nightly/latest/bdk/macro.fragment.html | 6 +- .../nightly/latest/bdk/struct.FeeRate.html | 12 +-- .../nightly/latest/bdk/struct.LocalUtxo.html | 14 +-- .../latest/bdk/struct.TransactionDetails.html | 22 ++--- .../latest/bdk/struct.WeightedUtxo.html | 12 +-- .../enum.AddressValidatorError.html | 18 ++-- .../bdk/wallet/address_validator/index.html | 4 +- .../trait.AddressValidator.html | 8 +- .../bdk/wallet/coin_selection/index.html | 4 +- .../struct.BranchAndBoundCoinSelection.html | 4 +- .../struct.CoinSelectionResult.html | 12 +-- .../struct.LargestFirstCoinSelection.html | 4 +- .../trait.CoinSelectionAlgorithm.html | 8 +- .../type.DefaultCoinSelectionAlgorithm.html | 4 +- .../latest/bdk/wallet/enum.AddressIndex.html | 16 ++-- .../latest/bdk/wallet/export/index.html | 4 +- .../wallet/export/struct.WalletExport.html | 12 +-- .../bdk/nightly/latest/bdk/wallet/index.html | 4 +- .../bdk/wallet/signer/enum.SignerError.html | 26 ++--- .../bdk/wallet/signer/enum.SignerId.html | 28 +++--- .../latest/bdk/wallet/signer/index.html | 4 +- .../bdk/wallet/signer/struct.SignOptions.html | 12 +-- .../wallet/signer/struct.SignerOrdering.html | 18 ++-- .../signer/struct.SignersContainer.html | 4 +- .../bdk/wallet/signer/trait.Signer.html | 14 +-- .../latest/bdk/wallet/struct.Wallet.html | 4 +- .../bdk/wallet/time/fn.get_timestamp.html | 4 +- .../nightly/latest/bdk/wallet/time/index.html | 4 +- .../latest/bdk/wallet/trait.IsDust.html | 8 +- .../tx_builder/enum.ChangeSpendPolicy.html | 42 ++++----- .../wallet/tx_builder/enum.TxOrdering.html | 44 ++++----- .../latest/bdk/wallet/tx_builder/index.html | 4 +- .../bdk/wallet/tx_builder/struct.BumpFee.html | 4 +- .../wallet/tx_builder/struct.CreateTx.html | 4 +- .../wallet/tx_builder/struct.TxBuilder.html | 60 ++++++------ .../tx_builder/trait.TxBuilderContext.html | 4 +- .../docs-rs/bdk/nightly/latest/clipboard.svg | 1 + static/docs-rs/bdk/nightly/latest/dark.css | 2 +- static/docs-rs/bdk/nightly/latest/light.css | 2 +- static/docs-rs/bdk/nightly/latest/main.js | 4 +- static/docs-rs/bdk/nightly/latest/rustdoc.css | 2 +- .../bdk/nightly/latest/search-index.js | 2 +- .../latest/src/bdk/blockchain/any.rs.html | 4 +- .../blockchain/compact_filters/mod.rs.html | 4 +- .../blockchain/compact_filters/peer.rs.html | 4 +- .../blockchain/compact_filters/store.rs.html | 4 +- .../blockchain/compact_filters/sync.rs.html | 4 +- .../src/bdk/blockchain/electrum.rs.html | 4 +- .../latest/src/bdk/blockchain/esplora.rs.html | 4 +- .../latest/src/bdk/blockchain/mod.rs.html | 4 +- .../latest/src/bdk/blockchain/utils.rs.html | 4 +- .../latest/src/bdk/database/any.rs.html | 4 +- .../latest/src/bdk/database/keyvalue.rs.html | 4 +- .../latest/src/bdk/database/memory.rs.html | 4 +- .../latest/src/bdk/database/mod.rs.html | 4 +- .../src/bdk/descriptor/checksum.rs.html | 4 +- .../latest/src/bdk/descriptor/derived.rs.html | 4 +- .../latest/src/bdk/descriptor/dsl.rs.html | 4 +- .../latest/src/bdk/descriptor/error.rs.html | 4 +- .../latest/src/bdk/descriptor/mod.rs.html | 4 +- .../latest/src/bdk/descriptor/policy.rs.html | 4 +- .../src/bdk/descriptor/template.rs.html | 4 +- .../bdk/nightly/latest/src/bdk/error.rs.html | 4 +- .../nightly/latest/src/bdk/keys/bip39.rs.html | 4 +- .../nightly/latest/src/bdk/keys/mod.rs.html | 4 +- .../bdk/nightly/latest/src/bdk/lib.rs.html | 4 +- .../nightly/latest/src/bdk/psbt/mod.rs.html | 4 +- .../bdk/nightly/latest/src/bdk/types.rs.html | 4 +- .../src/bdk/wallet/address_validator.rs.html | 4 +- .../src/bdk/wallet/coin_selection.rs.html | 4 +- .../latest/src/bdk/wallet/export.rs.html | 4 +- .../nightly/latest/src/bdk/wallet/mod.rs.html | 4 +- .../latest/src/bdk/wallet/signer.rs.html | 4 +- .../latest/src/bdk/wallet/time.rs.html | 4 +- .../latest/src/bdk/wallet/tx_builder.rs.html | 10 +- .../latest/src/bdk/wallet/utils.rs.html | 4 +- 192 files changed, 959 insertions(+), 964 deletions(-) create mode 100644 static/docs-rs/bdk/nightly/latest/clipboard.svg diff --git a/static/docs-rs/bdk/nightly/latest/ayu.css b/static/docs-rs/bdk/nightly/latest/ayu.css index e9fce203d0..b129673e0e 100644 --- a/static/docs-rs/bdk/nightly/latest/ayu.css +++ b/static/docs-rs/bdk/nightly/latest/ayu.css @@ -1 +1 @@ - body{background-color:#0f1419;color:#c5c5c5;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:white;}h1.fqn{border-bottom-color:#5c6773;}h1.fqn a{color:#fff;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod){border-bottom-color:#5c6773;}h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant){border:none;}.in-band{background-color:#0f1419;}.invisible{background:rgba(0,0,0,0);}code{color:#ffb454;}h3>code,h4>code,h5>code{color:#e6e1cf;}pre>code{color:#e6e1cf;}span code{color:#e6e1cf;}.docblock a>code{color:#39AFD7 !important;}.docblock code,.docblock-short code{background-color:#191f26;}pre{color:#e6e1cf;background-color:#191f26;}.sidebar{background-color:#14191f;}.logo-container.rust-logo>img{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);}*{scrollbar-color:#5c6773 transparent;}.sidebar{scrollbar-color:#5c6773 transparent;}::-webkit-scrollbar-track{background-color:transparent;}::-webkit-scrollbar-thumb{background-color:#5c6773;}.sidebar::-webkit-scrollbar-track{background-color:transparent;}.sidebar::-webkit-scrollbar-thumb{background-color:#5c6773;}.sidebar .current{background-color:transparent;color:#ffb44c;}.source .sidebar{background-color:#0f1419;}.sidebar .location{border-color:#000;background-color:#0f1419;color:#fff;}.sidebar-elems .location{color:#ff7733;}.sidebar-elems .location a{color:#fff;}.sidebar .version{border-bottom-color:#424c57;}.sidebar-title{border-top-color:#5c6773;border-bottom-color:#5c6773;}.block a:hover{background:transparent;color:#ffb44c;}.line-numbers span{color:#5c6773;}.line-numbers .line-highlighted{color:#708090;background-color:rgba(255,236,164,0.06);padding-right:4px;border-right:1px solid #ffb44c;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#5c6773;}.docblock table,.docblock table td,.docblock table th{border-color:#5c6773;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#c5c5c5;}.content .highlighted{color:#000 !important;background-color:#c6afb3;}.content .highlighted a,.content .highlighted span{color:#000 !important;}.content .highlighted{background-color:#c6afb3;}.search-results a{color:#0096cf;}.search-results a span.desc{color:#c5c5c5;}.content .item-info::before{color:#ccc;}.content span.foreigntype,.content a.foreigntype{color:#ef57ff;}.content span.union,.content a.union{color:#98a01c;}.content span.constant,.content a.constant,.content span.static,.content a.static{color:#6380a0;}.content span.primitive,.content a.primitive{color:#32889b;}.content span.traitalias,.content a.traitalias{color:#57d399;}.content span.keyword,.content a.keyword{color:#de5249;}.content span.externcrate,.content span.mod,.content a.mod{color:#acccf9;}.content span.struct,.content a.struct{color:#ffa0a5;}.content span.enum,.content a.enum{color:#99e0c9;}.content span.trait,.content a.trait{color:#39AFD7;}.content span.type,.content a.type{color:#cfbcf5;}.content span.fn,.content a.fn,.content span.method,.content a.method,.content span.tymethod,.content a.tymethod,.content .fnname{color:#fdd687;}.content span.attr,.content a.attr,.content span.derive,.content a.derive,.content span.macro,.content a.macro{color:#a37acc;}pre.rust .comment{color:#788797;}pre.rust .doccomment{color:#a1ac88;}nav:not(.sidebar){border-bottom-color:#424c57;}nav.main .current{border-top-color:#5c6773;border-bottom-color:#5c6773;}nav.main .separator{border:1px solid #5c6773;}a{color:#c5c5c5;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#39AFD7;}.collapse-toggle,details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#c5c5c5;background-color:#141920;box-shadow:0 0 0 1px #424c57,0 0 0 2px transparent;border-color:#424c57;}.search-input{color:#ffffff;background-color:#141920;box-shadow:0 0 0 1px #424c57,0 0 0 2px transparent;transition:box-shadow 150ms ease-in-out;}#crate-search+.search-input:focus{box-shadow:0 0 0 1px #148099,0 0 0 2px transparent;}.search-focus:disabled{color:#929292;}.module-item .stab,.import-item .stab{color:#000;}.stab.unstable,.stab.deprecated,.stab.portability{color:#c5c5c5;background:#314559 !important;border-style:none !important;border-radius:4px;padding:3px 6px 3px 6px;}.stab.portability>code{color:#e6e1cf;background:none;}#help>div{background:#14191f;box-shadow:0px 6px 20px 0px black;border:none;border-radius:4px;}#help>div>span{border-bottom-color:#5c6773;}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:#788797;}.line-numbers :target{background-color:transparent;}pre.rust .number,pre.rust .string{color:#b8cc52;}pre.rust .kw,pre.rust .kw-2,pre.rust .prelude-ty,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .op,pre.rust .lifetime{color:#ff7733;}pre.rust .macro,pre.rust .macro-nonterminal{color:#a37acc;}pre.rust .question-mark{color:#ff9011;}pre.rust .self{color:#36a3d9;font-style:italic;}pre.rust .attribute{color:#e6e1cf;}pre.rust .attribute .ident,pre.rust .attribute .op{color:#e6e1cf;}.example-wrap>pre.line-number{color:#5c67736e;border:none;}a.test-arrow{font-size:100%;color:#788797;border-radius:4px;background-color:rgba(57,175,215,0.09);}a.test-arrow:hover{background-color:rgba(57,175,215,0.368);color:#c5c5c5;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background:rgba(255,236,164,0.06);border-right:3px solid rgba(255,180,76,0.85);}pre.compile_fail{border-left:2px solid rgba(255,0,0,.4);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.4);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#39AFD7;}.tooltip::after{background-color:#314559;color:#c5c5c5;border:1px solid #5c6773;}.tooltip::before{border-color:transparent #314559 transparent transparent;}.notable-traits-tooltiptext{background-color:#314559;border-color:#5c6773;}#titles>button.selected{background-color:#141920 !important;border-bottom:1px solid #ffb44c !important;border-top:none;}#titles>button:not(.selected){background-color:transparent !important;border:none;}#titles>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#titles>button>div.count{color:#888;}.content .highlighted.mod,.content .highlighted.externcrate{}.search-input:focus{}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{}.content .highlighted.trait{}.content span.struct,.content a.struct,.block a.current.struct{}#titles>button:hover,#titles>button.selected{}.content .highlighted.traitalias{}.content span.type,.content a.type,.block a.current.type{}.content span.union,.content a.union,.block a.current.union{}.content .highlighted.foreigntype{}pre.rust .lifetime{}.content .highlighted.primitive{}.content .highlighted.constant,.content .highlighted.static{}.stab.unstable{}.content .highlighted.fn,.content .highlighted.method,.content .highlighted.tymethod{}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){}.content span.enum,.content a.enum,.block a.current.enum{}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{}.content span.keyword,.content a.keyword,.block a.current.keyword{}pre.rust .comment{}.content .highlighted.enum{}.content .highlighted.struct{}.content .highlighted.keyword{}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{}pre.rust .kw{}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{}pre.rust .doccomment{}.stab.deprecated{}.content .highlighted.attr,.content .highlighted.derive,.content .highlighted.macro{}.stab.portability{}.content .highlighted.union{}.content span.primitive,.content a.primitive,.block a.current.primitive{}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{}.content .highlighted.type{}pre.rust .kw-2,pre.rust .prelude-ty{}.content span.trait,.content a.trait,.block a.current.trait{}@media (max-width:700px){.sidebar-menu{background-color:#14191f;border-bottom-color:#5c6773;border-right-color:#5c6773;}.sidebar-elems{background-color:#14191f;border-right-color:#5c6773;}#sidebar-filler{background-color:#14191f;border-bottom-color:#5c6773;}}kbd{color:#c5c5c5;background-color:#314559;border-color:#5c6773;border-bottom-color:#5c6773;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,.help-button,#copy-path{border-color:#5c6773;background-color:#0f1419;color:#fff;}#theme-picker>img,#settings-menu>img{filter:invert(100);}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,.help-button:hover,.help-button:focus,#copy-path:hover,#copy-path:focus{border-color:#e0e0e0;}#theme-choices{border-color:#5c6773;background-color:#0f1419;}#theme-choices>button:not(:first-child){border-top-color:#5c6773;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:rgba(110,110,110,0.33);}@media (max-width:700px){#theme-picker{background:#0f1419;}}#all-types{background-color:#14191f;}#all-types:hover{background-color:rgba(70,70,70,0.33);}.search-results td span.alias{color:#c5c5c5;}.search-results td span.grey{color:#999;}#sidebar-toggle{background-color:#14191f;}#sidebar-toggle:hover{background-color:rgba(70,70,70,0.33);}#source-sidebar{background-color:#14191f;}#source-sidebar>.title{color:#fff;border-bottom-color:#5c6773;}div.files>a:hover,div.name:hover{background-color:#14191f;color:#ffb44c;}div.files>.selected{background-color:#14191f;color:#ffb44c;}.setting-line>.title{border-bottom-color:#5c6773;}input:checked+.slider{background-color:#ffb454 !important;} \ No newline at end of file + body{background-color:#0f1419;color:#c5c5c5;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:white;}h1.fqn{border-bottom-color:#5c6773;}h1.fqn a{color:#fff;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod){border-bottom-color:#5c6773;}h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant){border:none;}.in-band{background-color:#0f1419;}.invisible{background:rgba(0,0,0,0);}code{color:#ffb454;}h3>code,h4>code,h5>code{color:#e6e1cf;}pre>code{color:#e6e1cf;}span code{color:#e6e1cf;}.docblock a>code{color:#39AFD7 !important;}.docblock code,.docblock-short code{background-color:#191f26;}pre,.rustdoc.source .example-wrap{color:#e6e1cf;background-color:#191f26;}.sidebar{background-color:#14191f;}.logo-container.rust-logo>img{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);}*{scrollbar-color:#5c6773 transparent;}.sidebar{scrollbar-color:#5c6773 transparent;}::-webkit-scrollbar-track{background-color:transparent;}::-webkit-scrollbar-thumb{background-color:#5c6773;}.sidebar::-webkit-scrollbar-track{background-color:transparent;}.sidebar::-webkit-scrollbar-thumb{background-color:#5c6773;}.sidebar .current{background-color:transparent;color:#ffb44c;}.source .sidebar{background-color:#0f1419;}.sidebar .location{border-color:#000;background-color:#0f1419;color:#fff;}.sidebar-elems .location{color:#ff7733;}.sidebar-elems .location a{color:#fff;}.sidebar .version{border-bottom-color:#424c57;}.sidebar-title{border-top-color:#5c6773;border-bottom-color:#5c6773;}.block a:hover{background:transparent;color:#ffb44c;}.line-numbers span{color:#5c6773;}.line-numbers .line-highlighted{color:#708090;background-color:rgba(255,236,164,0.06);padding-right:4px;border-right:1px solid #ffb44c;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#5c6773;}.docblock table,.docblock table td,.docblock table th{border-color:#5c6773;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#c5c5c5;}.content .highlighted{color:#000 !important;background-color:#c6afb3;}.content .highlighted a,.content .highlighted span{color:#000 !important;}.content .highlighted{background-color:#c6afb3;}.search-results a{color:#0096cf;}.search-results a span.desc{color:#c5c5c5;}.content .item-info::before{color:#ccc;}.content span.foreigntype,.content a.foreigntype{color:#ef57ff;}.content span.union,.content a.union{color:#98a01c;}.content span.constant,.content a.constant,.content span.static,.content a.static{color:#6380a0;}.content span.primitive,.content a.primitive{color:#32889b;}.content span.traitalias,.content a.traitalias{color:#57d399;}.content span.keyword,.content a.keyword{color:#de5249;}.content span.externcrate,.content span.mod,.content a.mod{color:#acccf9;}.content span.struct,.content a.struct{color:#ffa0a5;}.content span.enum,.content a.enum{color:#99e0c9;}.content span.trait,.content a.trait{color:#39AFD7;}.content span.type,.content a.type{color:#cfbcf5;}.content span.fn,.content a.fn,.content span.method,.content a.method,.content span.tymethod,.content a.tymethod,.content .fnname{color:#fdd687;}.content span.attr,.content a.attr,.content span.derive,.content a.derive,.content span.macro,.content a.macro{color:#a37acc;}pre.rust .comment{color:#788797;}pre.rust .doccomment{color:#a1ac88;}nav:not(.sidebar){border-bottom-color:#424c57;}nav.main .current{border-top-color:#5c6773;border-bottom-color:#5c6773;}nav.main .separator{border:1px solid #5c6773;}a{color:#c5c5c5;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#39AFD7;}.collapse-toggle,details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#c5c5c5;background-color:#141920;box-shadow:0 0 0 1px #424c57,0 0 0 2px transparent;border-color:#424c57;}.search-input{color:#ffffff;background-color:#141920;box-shadow:0 0 0 1px #424c57,0 0 0 2px transparent;transition:box-shadow 150ms ease-in-out;}#crate-search+.search-input:focus{box-shadow:0 0 0 1px #148099,0 0 0 2px transparent;}.search-focus:disabled{color:#929292;}.module-item .stab,.import-item .stab{color:#000;}.stab.unstable,.stab.deprecated,.stab.portability{color:#c5c5c5;background:#314559 !important;border-style:none !important;border-radius:4px;padding:3px 6px 3px 6px;}.stab.portability>code{color:#e6e1cf;background:none;}#help>div{background:#14191f;box-shadow:0px 6px 20px 0px black;border:none;border-radius:4px;}#help>div>span{border-bottom-color:#5c6773;}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:#788797;}.line-numbers :target{background-color:transparent;}pre.rust .number,pre.rust .string{color:#b8cc52;}pre.rust .kw,pre.rust .kw-2,pre.rust .prelude-ty,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .op,pre.rust .lifetime{color:#ff7733;}pre.rust .macro,pre.rust .macro-nonterminal{color:#a37acc;}pre.rust .question-mark{color:#ff9011;}pre.rust .self{color:#36a3d9;font-style:italic;}pre.rust .attribute{color:#e6e1cf;}pre.rust .attribute .ident,pre.rust .attribute .op{color:#e6e1cf;}.example-wrap>pre.line-number{color:#5c67736e;border:none;}a.test-arrow{font-size:100%;color:#788797;border-radius:4px;background-color:rgba(57,175,215,0.09);}a.test-arrow:hover{background-color:rgba(57,175,215,0.368);color:#c5c5c5;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background:rgba(255,236,164,0.06);border-right:3px solid rgba(255,180,76,0.85);}pre.compile_fail{border-left:2px solid rgba(255,0,0,.4);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.4);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#39AFD7;}.tooltip::after{background-color:#314559;color:#c5c5c5;border:1px solid #5c6773;}.tooltip::before{border-color:transparent #314559 transparent transparent;}.notable-traits-tooltiptext{background-color:#314559;border-color:#5c6773;}#titles>button.selected{background-color:#141920 !important;border-bottom:1px solid #ffb44c !important;border-top:none;}#titles>button:not(.selected){background-color:transparent !important;border:none;}#titles>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#titles>button>div.count{color:#888;}.content .highlighted.mod,.content .highlighted.externcrate{}.search-input:focus{}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{}.content .highlighted.trait{}.content span.struct,.content a.struct,.block a.current.struct{}#titles>button:hover,#titles>button.selected{}.content .highlighted.traitalias{}.content span.type,.content a.type,.block a.current.type{}.content span.union,.content a.union,.block a.current.union{}.content .highlighted.foreigntype{}pre.rust .lifetime{}.content .highlighted.primitive{}.content .highlighted.constant,.content .highlighted.static{}.stab.unstable{}.content .highlighted.fn,.content .highlighted.method,.content .highlighted.tymethod{}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){}.content span.enum,.content a.enum,.block a.current.enum{}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{}.content span.keyword,.content a.keyword,.block a.current.keyword{}pre.rust .comment{}.content .highlighted.enum{}.content .highlighted.struct{}.content .highlighted.keyword{}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{}pre.rust .kw{}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{}pre.rust .doccomment{}.stab.deprecated{}.content .highlighted.attr,.content .highlighted.derive,.content .highlighted.macro{}.stab.portability{}.content .highlighted.union{}.content span.primitive,.content a.primitive,.block a.current.primitive{}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{}.content .highlighted.type{}pre.rust .kw-2,pre.rust .prelude-ty{}.content span.trait,.content a.trait,.block a.current.trait{}@media (max-width:700px){.sidebar-menu{background-color:#14191f;border-bottom-color:#5c6773;border-right-color:#5c6773;}.sidebar-elems{background-color:#14191f;border-right-color:#5c6773;}#sidebar-filler{background-color:#14191f;border-bottom-color:#5c6773;}}kbd{color:#c5c5c5;background-color:#314559;border-color:#5c6773;border-bottom-color:#5c6773;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,.help-button,#copy-path{border-color:#5c6773;background-color:#0f1419;color:#fff;}#theme-picker>img,#settings-menu>img,#copy-path>img{filter:invert(100);}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,.help-button:hover,.help-button:focus,#copy-path:hover,#copy-path:focus{border-color:#e0e0e0;}#theme-choices{border-color:#5c6773;background-color:#0f1419;}#theme-choices>button:not(:first-child){border-top-color:#5c6773;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:rgba(110,110,110,0.33);}@media (max-width:700px){#theme-picker{background:#0f1419;}}#all-types{background-color:#14191f;}#all-types:hover{background-color:rgba(70,70,70,0.33);}.search-results td span.alias{color:#c5c5c5;}.search-results td span.grey{color:#999;}#sidebar-toggle{background-color:#14191f;}#sidebar-toggle:hover{background-color:rgba(70,70,70,0.33);}#source-sidebar{background-color:#14191f;}#source-sidebar>.title{color:#fff;border-bottom-color:#5c6773;}div.files>a:hover,div.name:hover{background-color:#14191f;color:#ffb44c;}div.files>.selected{background-color:#14191f;color:#ffb44c;}.setting-line>.title{border-bottom-color:#5c6773;}input:checked+.slider{background-color:#ffb454 !important;} \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html index 9b23c65d84..a777825235 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html @@ -1,19 +1,19 @@ AnyBlockchain in bdk::blockchain::any - Rust

Enum bdk::blockchain::any::AnyBlockchain[][src]

pub enum AnyBlockchain {
+                Change settings

Enum bdk::blockchain::any::AnyBlockchain[][src]

pub enum AnyBlockchain {
     Electrum(ElectrumBlockchain),
     Esplora(EsploraBlockchain),
     CompactFilters(CompactFiltersBlockchain),
-}

Type that can contain any of the Blockchain types defined by the library

+}
Expand description

Type that can contain any of the Blockchain types defined by the library

It allows switching backend at runtime

See this module’s documentation for a usage example.

-

+

Variants

-
This is supported on crate feature electrum only.

Electrum client

-
This is supported on crate feature esplora only.

Esplora client

-
CompactFilters(CompactFiltersBlockchain)
This is supported on crate feature compact_filters only.

Compact filters client

-

Trait Implementations

impl Blockchain for AnyBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

+
This is supported on crate feature electrum only.
Expand description

Electrum client

+
This is supported on crate feature esplora only.
Expand description

Esplora client

+
CompactFilters(CompactFiltersBlockchain)
This is supported on crate feature compact_filters only.
Expand description

Compact filters client

+

Trait Implementations

impl Blockchain for AnyBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs Read more

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html index 1e76462974..e09c30fe6c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html @@ -1,11 +1,11 @@ AnyBlockchainConfig in bdk::blockchain::any - Rust

Enum bdk::blockchain::any::AnyBlockchainConfig[][src]

pub enum AnyBlockchainConfig {
+                Change settings

Enum bdk::blockchain::any::AnyBlockchainConfig[][src]

pub enum AnyBlockchainConfig {
     Electrum(ElectrumBlockchainConfig),
     Esplora(EsploraBlockchainConfig),
     CompactFilters(CompactFiltersBlockchainConfig),
-}

Type that can contain any of the blockchain configurations defined by the library

+}
Expand description

Type that can contain any of the blockchain configurations defined by the library

This allows storing a single configuration that can be loaded into an AnyBlockchain instance. Wallets that plan to offer users the ability to switch blockchain backend at runtime will find this particularly useful.

@@ -30,12 +30,12 @@ will find this particularly useful.

timeout: None }) );
-

+

Variants

-
This is supported on crate feature electrum only.

Electrum client

-
This is supported on crate feature esplora only.

Esplora client

-
This is supported on crate feature compact_filters only.

Compact filters client

-

Trait Implementations

impl Clone for AnyBlockchainConfig[src]

fn clone(&self) -> AnyBlockchainConfig[src]

Returns a copy of the value. Read more

+
This is supported on crate feature electrum only.
Expand description

Electrum client

+
This is supported on crate feature esplora only.
Expand description

Esplora client

+
This is supported on crate feature compact_filters only.
Expand description

Compact filters client

+

Trait Implementations

impl Clone for AnyBlockchainConfig[src]

fn clone(&self) -> AnyBlockchainConfig[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AnyBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for AnyBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/index.html index 6130470db5..0a669c23ff 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/index.html @@ -1,7 +1,7 @@ bdk::blockchain::any - Rust

Module bdk::blockchain::any[][src]

Runtime-checked blockchain types

+ Change settings

Module bdk::blockchain::any[][src]

Expand description

Runtime-checked blockchain types

This module provides the implementation of AnyBlockchain which allows switching the inner Blockchain type at runtime.

Example

@@ -41,7 +41,7 @@ blockchain type supported using a single line of code:

MemoryDatabase::default(), blockchain, )?;
-

Enums

+

Enums

AnyBlockchain

Type that can contain any of the Blockchain types defined by the library

AnyBlockchainConfig

Type that can contain any of the blockchain configurations defined by the library

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html index b1caa37aa4..da07c21a37 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html @@ -1,7 +1,7 @@ CompactFiltersError in bdk::blockchain::compact_filters - Rust

Enum bdk::blockchain::compact_filters::CompactFiltersError[][src]

pub enum CompactFiltersError {
+                Change settings

Enum bdk::blockchain::compact_filters::CompactFiltersError[][src]

pub enum CompactFiltersError {
 
Show variants InvalidResponse, InvalidHeaders, InvalidFilterHeader, @@ -17,25 +17,25 @@ Bip158(Error), Time(SystemTimeError), Global(Box<Error>), -
}
This is supported on crate feature compact_filters only.

An error that can occur during sync with a CompactFiltersBlockchain

-

+}
This is supported on crate feature compact_filters only.
Expand description

An error that can occur during sync with a CompactFiltersBlockchain

+

Variants

-
InvalidResponse

A peer sent an invalid or unexpected response

-
InvalidHeaders

The headers returned are invalid

-
InvalidFilterHeader

The compact filter headers returned are invalid

-
InvalidFilter

The compact filter returned is invalid

-
MissingBlock

The peer is missing a block in the valid chain

-
DataCorruption

The data stored in the block filters storage are corrupted

-
NotConnected

A peer is not connected

-
Timeout

A peer took too long to reply to one of our messages

-
PeerBloomDisabled

The peer doesn’t advertise the BLOOM service flag

-
NoPeers

No peers have been specified

-
Db(Error)

Internal database error

-
Io(Error)

Internal I/O error

-
Bip158(Error)

Invalid BIP158 filter

-

Internal system time error

-
Global(Box<Error>)

Wrapper for crate::error::Error

-

Trait Implementations

impl Debug for CompactFiltersError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+
InvalidResponse
Expand description

A peer sent an invalid or unexpected response

+
InvalidHeaders
Expand description

The headers returned are invalid

+
InvalidFilterHeader
Expand description

The compact filter headers returned are invalid

+
InvalidFilter
Expand description

The compact filter returned is invalid

+
MissingBlock
Expand description

The peer is missing a block in the valid chain

+
DataCorruption
Expand description

The data stored in the block filters storage are corrupted

+
NotConnected
Expand description

A peer is not connected

+
Timeout
Expand description

A peer took too long to reply to one of our messages

+
PeerBloomDisabled
Expand description

The peer doesn’t advertise the BLOOM service flag

+
NoPeers
Expand description

No peers have been specified

+
Db(Error)
Expand description

Internal database error

+
Io(Error)
Expand description

Internal I/O error

+
Bip158(Error)
Expand description

Invalid BIP158 filter

+
Expand description

Internal system time error

+
Global(Box<Error>)
Expand description

Wrapper for crate::error::Error

+

Trait Implementations

impl Debug for CompactFiltersError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for CompactFiltersError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Error for CompactFiltersError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/index.html index 34bf3697c8..83544c7db2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/index.html @@ -1,7 +1,7 @@ bdk::blockchain::compact_filters - Rust

Module bdk::blockchain::compact_filters[][src]

This is supported on crate feature compact_filters only.

Compact Filters

+ Change settings

Module bdk::blockchain::compact_filters[][src]

This is supported on crate feature compact_filters only.
Expand description

Compact Filters

This module contains a multithreaded implementation of an Blockchain backend that uses BIP157 (aka “Neutrino”) to populate the wallet’s database by downloading compact filters from the P2P network.

@@ -28,7 +28,7 @@ desirable to use multiple threads at once to sync in parallel.

}) .collect::<Result<_, _>>()?; let blockchain = CompactFiltersBlockchain::new(peers, "./wallet-filters", Some(500_000))?;
-

Structs

+

Structs

BitcoinPeerConfig

Data to connect to a Bitcoin P2P peer

CompactFiltersBlockchain

Structure implementing the required blockchain traits

CompactFiltersBlockchainConfig

Configuration for a CompactFiltersBlockchain

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html index 8d046f6f1a..e30c3a1331 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html @@ -1,16 +1,16 @@ BitcoinPeerConfig in bdk::blockchain::compact_filters - Rust

Struct bdk::blockchain::compact_filters::BitcoinPeerConfig[][src]

pub struct BitcoinPeerConfig {
+                Change settings

Struct bdk::blockchain::compact_filters::BitcoinPeerConfig[][src]

pub struct BitcoinPeerConfig {
     pub address: String,
     pub socks5: Option<String>,
     pub socks5_credentials: Option<(String, String)>,
-}
This is supported on crate feature compact_filters only.

Data to connect to a Bitcoin P2P peer

-

- Fields

address: String

Peer address such as 127.0.0.1:18333

-
socks5: Option<String>

Optional socks5 proxy

-
socks5_credentials: Option<(String, String)>

Optional socks5 proxy credentials

-

Trait Implementations

impl Clone for BitcoinPeerConfig[src]

fn clone(&self) -> BitcoinPeerConfig[src]

Returns a copy of the value. Read more

+}
This is supported on crate feature compact_filters only.
Expand description

Data to connect to a Bitcoin P2P peer

+

+ Fields

address: String
Expand description

Peer address such as 127.0.0.1:18333

+
socks5: Option<String>
Expand description

Optional socks5 proxy

+
socks5_credentials: Option<(String, String)>
Expand description

Optional socks5 proxy credentials

+

Trait Implementations

impl Clone for BitcoinPeerConfig[src]

fn clone(&self) -> BitcoinPeerConfig[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for BitcoinPeerConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for BitcoinPeerConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html index e7956cd9dc..f226aceb80 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html @@ -1,10 +1,10 @@ CompactFiltersBlockchain in bdk::blockchain::compact_filters - Rust

Struct bdk::blockchain::compact_filters::CompactFiltersBlockchain[][src]

pub struct CompactFiltersBlockchain { /* fields omitted */ }
This is supported on crate feature compact_filters only.

Structure implementing the required blockchain traits

+ Change settings

Struct bdk::blockchain::compact_filters::CompactFiltersBlockchain[][src]

pub struct CompactFiltersBlockchain { /* fields omitted */ }
This is supported on crate feature compact_filters only.
Expand description

Structure implementing the required blockchain traits

Example

See the blockchain::compact_filters module for a usage example.

-

Implementations

impl CompactFiltersBlockchain[src]

pub fn new<P: AsRef<Path>>(
    peers: Vec<Peer>,
    storage_dir: P,
    skip_blocks: Option<usize>
) -> Result<Self, CompactFiltersError>
[src]

Construct a new instance given a list of peers, a path to store headers and block +

Implementations

impl CompactFiltersBlockchain[src]

pub fn new<P: AsRef<Path>>(
    peers: Vec<Peer>,
    storage_dir: P,
    skip_blocks: Option<usize>
) -> Result<Self, CompactFiltersError>
[src]

Construct a new instance given a list of peers, a path to store headers and block filters downloaded during the sync and optionally a number of blocks to ignore starting from the genesis while scanning for the wallet’s outputs.

For each Peer specified a new thread will be spawned to download and verify the filters diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html index 2f5e11bf65..fdab665a77 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html @@ -1,18 +1,18 @@ CompactFiltersBlockchainConfig in bdk::blockchain::compact_filters - Rust

Struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig[][src]

pub struct CompactFiltersBlockchainConfig {
+                Change settings

Struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig[][src]

pub struct CompactFiltersBlockchainConfig {
     pub peers: Vec<BitcoinPeerConfig>,
     pub network: Network,
     pub storage_dir: String,
     pub skip_blocks: Option<usize>,
-}
This is supported on crate feature compact_filters only.

Configuration for a CompactFiltersBlockchain

-

- Fields

peers: Vec<BitcoinPeerConfig>

List of peers to try to connect to for asking headers and filters

-
network: Network

Network used

-
storage_dir: String

Storage dir to save partially downloaded headers and full blocks

-
skip_blocks: Option<usize>

Optionally skip initial skip_blocks blocks (default: 0)

-

Trait Implementations

impl Clone for CompactFiltersBlockchainConfig[src]

fn clone(&self) -> CompactFiltersBlockchainConfig[src]

Returns a copy of the value. Read more

+}
This is supported on crate feature compact_filters only.
Expand description

Configuration for a CompactFiltersBlockchain

+

+ Fields

peers: Vec<BitcoinPeerConfig>
Expand description

List of peers to try to connect to for asking headers and filters

+
network: Network
Expand description

Network used

+
storage_dir: String
Expand description

Storage dir to save partially downloaded headers and full blocks

+
skip_blocks: Option<usize>
Expand description

Optionally skip initial skip_blocks blocks (default: 0)

+

Trait Implementations

impl Clone for CompactFiltersBlockchainConfig[src]

fn clone(&self) -> CompactFiltersBlockchainConfig[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CompactFiltersBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for CompactFiltersBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html index 8c119fe2ab..61ef6dca42 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html @@ -1,10 +1,10 @@ Mempool in bdk::blockchain::compact_filters - Rust

Struct bdk::blockchain::compact_filters::Mempool[][src]

pub struct Mempool(_);
This is supported on crate feature compact_filters only.

Container for unconfirmed, but valid Bitcoin transactions

+ Change settings

Struct bdk::blockchain::compact_filters::Mempool[][src]

pub struct Mempool(_);
This is supported on crate feature compact_filters only.
Expand description

Container for unconfirmed, but valid Bitcoin transactions

It is normally shared between Peers with the use of Arc, so that transactions are not duplicated in memory.

-

Implementations

impl Mempool[src]

pub fn new() -> Self[src]

Create a new empty mempool

+

Implementations

impl Mempool[src]

pub fn new() -> Self[src]

Create a new empty mempool

pub fn add_tx(&self, tx: Transaction)[src]

Add a transaction to the mempool

Note that this doesn’t propagate the transaction to other peers. To do that, broadcast should be used.

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html index 6b76dc53a1..035d22711e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html @@ -1,8 +1,8 @@ Peer in bdk::blockchain::compact_filters - Rust

Struct bdk::blockchain::compact_filters::Peer[][src]

pub struct Peer { /* fields omitted */ }
This is supported on crate feature compact_filters only.

A Bitcoin peer

-

Implementations

impl Peer[src]

pub fn connect<A: ToSocketAddrs>(
    address: A,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer over a plaintext TCP connection

+ Change settings

Struct bdk::blockchain::compact_filters::Peer[][src]

pub struct Peer { /* fields omitted */ }
This is supported on crate feature compact_filters only.
Expand description

A Bitcoin peer

+

Implementations

impl Peer[src]

pub fn connect<A: ToSocketAddrs>(
    address: A,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer over a plaintext TCP connection

This function internally spawns a new thread that will monitor incoming messages from the peer, and optionally reply to some of them transparently, like pings

pub fn connect_proxy<T: ToTargetAddr, P: ToSocketAddrs>(
    target: T,
    proxy: P,
    credentials: Option<(&str, &str)>,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer through a SOCKS5 proxy, optionally by using some credentials, specified diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/index.html index c3f189d66c..fa613e9ddf 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/index.html @@ -1,7 +1,7 @@ bdk::blockchain::electrum - Rust

Module bdk::blockchain::electrum[][src]

This is supported on crate feature electrum only.

Electrum

+ Change settings

Module bdk::blockchain::electrum[][src]

This is supported on crate feature electrum only.
Expand description

Electrum

This module defines a Blockchain struct that wraps an [electrum_client::Client] and implements the logic required to populate the wallet’s database by querying the inner client.

@@ -9,7 +9,7 @@ querying the inner client.

 let client = electrum_client::Client::new("ssl://electrum.blockstream.info:50002")?;
 let blockchain = ElectrumBlockchain::from(client);
-

Structs

+

Structs

ElectrumBlockchain

Wrapper over an Electrum Client that implements the required blockchain traits

ElectrumBlockchainConfig

Configuration for an ElectrumBlockchain

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html index 0b8271cda7..00f336646d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html @@ -1,10 +1,10 @@ ElectrumBlockchain in bdk::blockchain::electrum - Rust

Struct bdk::blockchain::electrum::ElectrumBlockchain[][src]

pub struct ElectrumBlockchain(_);
This is supported on crate feature electrum only.

Wrapper over an Electrum Client that implements the required blockchain traits

+ Change settings

Struct bdk::blockchain::electrum::ElectrumBlockchain[][src]

pub struct ElectrumBlockchain(_);
This is supported on crate feature electrum only.
Expand description

Wrapper over an Electrum Client that implements the required blockchain traits

Example

See the blockchain::electrum module for a usage example.

-

Trait Implementations

impl Blockchain for ElectrumBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

+

Trait Implementations

impl Blockchain for ElectrumBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html index 632e1fa5e1..305a569a1c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html @@ -1,19 +1,19 @@ ElectrumBlockchainConfig in bdk::blockchain::electrum - Rust

Struct bdk::blockchain::electrum::ElectrumBlockchainConfig[][src]

pub struct ElectrumBlockchainConfig {
+                Change settings

Struct bdk::blockchain::electrum::ElectrumBlockchainConfig[][src]

pub struct ElectrumBlockchainConfig {
     pub url: String,
     pub socks5: Option<String>,
     pub retry: u8,
     pub timeout: Option<u8>,
-}
This is supported on crate feature electrum only.

Configuration for an ElectrumBlockchain

-

- Fields

url: String

URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with ssl:// or tcp:// and include a port

+}
This is supported on crate feature electrum only.
Expand description

Configuration for an ElectrumBlockchain

+

+ Fields

url: String
Expand description

URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with ssl:// or tcp:// and include a port

eg. ssl://electrum.blockstream.info:60002

-
socks5: Option<String>

URL of the socks5 proxy server or a Tor service

-
retry: u8

Request retry count

-
timeout: Option<u8>

Request timeout (seconds)

-

Trait Implementations

impl Clone for ElectrumBlockchainConfig[src]

fn clone(&self) -> ElectrumBlockchainConfig[src]

Returns a copy of the value. Read more

+
socks5: Option<String>
Expand description

URL of the socks5 proxy server or a Tor service

+
retry: u8
Expand description

Request retry count

+
timeout: Option<u8>
Expand description

Request timeout (seconds)

+

Trait Implementations

impl Clone for ElectrumBlockchainConfig[src]

fn clone(&self) -> ElectrumBlockchainConfig[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ElectrumBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for ElectrumBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html index c1a5e0137c..7a696fbf95 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html @@ -1,17 +1,17 @@ Capability in bdk::blockchain - Rust

Enum bdk::blockchain::Capability[][src]

pub enum Capability {
+                Change settings

Enum bdk::blockchain::Capability[][src]

pub enum Capability {
     FullHistory,
     GetAnyTx,
     AccurateFees,
-}

Capabilities that can be supported by a Blockchain backend

-

+}

Expand description

Capabilities that can be supported by a Blockchain backend

+

Variants

-
FullHistory

Can recover the full history of a wallet and not only the set of currently spendable UTXOs

-
GetAnyTx

Can fetch any historical transaction given its txid

-
AccurateFees

Can compute accurate fees for the transactions found during sync

-

Trait Implementations

impl Clone for Capability[src]

fn clone(&self) -> Capability[src]

Returns a copy of the value. Read more

+
FullHistory
Expand description

Can recover the full history of a wallet and not only the set of currently spendable UTXOs

+
GetAnyTx
Expand description

Can fetch any historical transaction given its txid

+
AccurateFees
Expand description

Can compute accurate fees for the transactions found during sync

+

Trait Implementations

impl Clone for Capability[src]

fn clone(&self) -> Capability[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Capability[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Hash for Capability[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html index 089816118c..4f753c0d2f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html @@ -1,7 +1,7 @@ EsploraError in bdk::blockchain::esplora - Rust

Enum bdk::blockchain::esplora::EsploraError[][src]

pub enum EsploraError {
+                Change settings

Enum bdk::blockchain::esplora::EsploraError[][src]

pub enum EsploraError {
     Reqwest(Error),
     Parsing(ParseIntError),
     BitcoinEncoding(Error),
@@ -9,17 +9,17 @@
     TransactionNotFound(Txid),
     HeaderHeightNotFound(u32),
     HeaderHashNotFound(BlockHash),
-}
This is supported on crate feature esplora only.

Errors that can happen during a sync with EsploraBlockchain

-

+}

This is supported on crate feature esplora only.
Expand description

Errors that can happen during a sync with EsploraBlockchain

+

Variants

-
Reqwest(Error)

Error with the HTTP call

-
Parsing(ParseIntError)

Invalid number returned

-
BitcoinEncoding(Error)

Invalid Bitcoin data returned

-
Hex(Error)

Invalid Hex data returned

-
TransactionNotFound(Txid)

Transaction not found

-
HeaderHeightNotFound(u32)

Header height not found

-
HeaderHashNotFound(BlockHash)

Header hash not found

-

Trait Implementations

impl Debug for EsploraError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+
Reqwest(Error)
Expand description

Error with the HTTP call

+
Parsing(ParseIntError)
Expand description

Invalid number returned

+
BitcoinEncoding(Error)
Expand description

Invalid Bitcoin data returned

+
Hex(Error)
Expand description

Invalid Hex data returned

+
TransactionNotFound(Txid)
Expand description

Transaction not found

+
HeaderHeightNotFound(u32)
Expand description

Header height not found

+
HeaderHashNotFound(BlockHash)
Expand description

Header hash not found

+

Trait Implementations

impl Debug for EsploraError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for EsploraError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Error for EsploraError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html index 14c47f79e4..9527479111 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html @@ -1,13 +1,13 @@ bdk::blockchain::esplora - Rust

Module bdk::blockchain::esplora[][src]

This is supported on crate feature esplora only.

Esplora

+ Change settings

Module bdk::blockchain::esplora[][src]

This is supported on crate feature esplora only.
Expand description

Esplora

This module defines a Blockchain struct that can query an Esplora backend populate the wallet’s database by

Example

 let blockchain = EsploraBlockchain::new("https://blockstream.info/testnet/api", None);
-

Structs

+

Structs

EsploraBlockchain

Structure that implements the logic to sync with Esplora

EsploraBlockchainConfig

Configuration for an EsploraBlockchain

Enums

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html index 9bdf6bce97..44a434c468 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html @@ -1,10 +1,10 @@ EsploraBlockchain in bdk::blockchain::esplora - Rust

Struct bdk::blockchain::esplora::EsploraBlockchain[][src]

pub struct EsploraBlockchain(_);
This is supported on crate feature esplora only.

Structure that implements the logic to sync with Esplora

+ Change settings

Struct bdk::blockchain::esplora::EsploraBlockchain[][src]

pub struct EsploraBlockchain(_);
This is supported on crate feature esplora only.
Expand description

Structure that implements the logic to sync with Esplora

Example

See the blockchain::esplora module for a usage example.

-

Implementations

impl EsploraBlockchain[src]

pub fn new(base_url: &str, concurrency: Option<u8>) -> Self[src]

Create a new instance of the client from a base URL

+

Implementations

impl EsploraBlockchain[src]

pub fn new(base_url: &str, concurrency: Option<u8>) -> Self[src]

Create a new instance of the client from a base URL

Trait Implementations

impl Blockchain for EsploraBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time Read more

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html index 1ef2178bf8..a4f742eebd 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html @@ -1,15 +1,15 @@ EsploraBlockchainConfig in bdk::blockchain::esplora - Rust

Struct bdk::blockchain::esplora::EsploraBlockchainConfig[][src]

pub struct EsploraBlockchainConfig {
+                Change settings

Struct bdk::blockchain::esplora::EsploraBlockchainConfig[][src]

pub struct EsploraBlockchainConfig {
     pub base_url: String,
     pub concurrency: Option<u8>,
-}
This is supported on crate feature esplora only.

Configuration for an EsploraBlockchain

-

- Fields

base_url: String

Base URL of the esplora service

+}
This is supported on crate feature esplora only.
Expand description

Configuration for an EsploraBlockchain

+

+ Fields

base_url: String
Expand description

Base URL of the esplora service

eg. https://blockstream.info/api/

-
concurrency: Option<u8>

Number of parallel requests sent to the esplora service (default: 4)

-

Trait Implementations

impl Clone for EsploraBlockchainConfig[src]

fn clone(&self) -> EsploraBlockchainConfig[src]

Returns a copy of the value. Read more

+
concurrency: Option<u8>
Expand description

Number of parallel requests sent to the esplora service (default: 4)

+

Trait Implementations

impl Clone for EsploraBlockchainConfig[src]

fn clone(&self) -> EsploraBlockchainConfig[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for EsploraBlockchainConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for EsploraBlockchainConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.log_progress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.log_progress.html index 6d5a20ef64..14e11a03fe 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.log_progress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.log_progress.html @@ -1,6 +1,6 @@ log_progress in bdk::blockchain - Rust

Function bdk::blockchain::log_progress[][src]

pub fn log_progress() -> LogProgress

Create a nwe instance of LogProgress

-
+ Change settings

Function bdk::blockchain::log_progress[][src]

pub fn log_progress() -> LogProgress
Expand description

Create a nwe instance of LogProgress

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.noop_progress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.noop_progress.html index 8cb312bba0..031e3a2a32 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.noop_progress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.noop_progress.html @@ -1,6 +1,6 @@ noop_progress in bdk::blockchain - Rust

Function bdk::blockchain::noop_progress[][src]

pub fn noop_progress() -> NoopProgress

Create a new instance of NoopProgress

-
+ Change settings

Function bdk::blockchain::noop_progress[][src]

pub fn noop_progress() -> NoopProgress
Expand description

Create a new instance of NoopProgress

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.progress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.progress.html index ee6f164f39..54a30d5332 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.progress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.progress.html @@ -1,6 +1,6 @@ progress in bdk::blockchain - Rust

Function bdk::blockchain::progress[][src]

pub fn progress() -> (Sender<ProgressData>, Receiver<ProgressData>)

Shortcut to create a channel (pair of Sender and Receiver) that can transport ProgressData

-
+ Change settings

Function bdk::blockchain::progress[][src]

pub fn progress() -> (Sender<ProgressData>, Receiver<ProgressData>)
Expand description

Shortcut to create a channel (pair of Sender and Receiver) that can transport ProgressData

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/index.html index d7428dcf08..648b4bfde8 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/index.html @@ -1,12 +1,12 @@ bdk::blockchain - Rust

Module bdk::blockchain[][src]

Blockchain backends

+ Change settings

Module bdk::blockchain[][src]

Expand description

Blockchain backends

This module provides the implementation of a few commonly-used backends like Electrum, Esplora and Compact Filters/Neutrino, along with a generalized trait Blockchain that can be implemented to build customized backends.

-

Re-exports

+

Re-exports

pub use any::AnyBlockchain;
pub use any::AnyBlockchainConfig;
pub use self::electrum::ElectrumBlockchain;
pub use self::electrum::ElectrumBlockchainConfig;
pub use self::esplora::EsploraBlockchain;
pub use self::compact_filters::CompactFiltersBlockchain;

Modules

any

Runtime-checked blockchain types

compact_filterscompact_filters

Compact Filters

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html index ab0d89149a..82752fbbf2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html @@ -1,8 +1,8 @@ LogProgress in bdk::blockchain - Rust

Struct bdk::blockchain::LogProgress[][src]

pub struct LogProgress;

Type that implements Progress and logs at level INFO every update received

-

Trait Implementations

impl Clone for LogProgress[src]

fn clone(&self) -> LogProgress[src]

Returns a copy of the value. Read more

+ Change settings

Struct bdk::blockchain::LogProgress[][src]

pub struct LogProgress;
Expand description

Type that implements Progress and logs at level INFO every update received

+

Trait Implementations

impl Clone for LogProgress[src]

fn clone(&self) -> LogProgress[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Progress for LogProgress[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Send a new progress update Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html index dd7bc7cf4e..6e95e360e0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html @@ -1,8 +1,8 @@ NoopProgress in bdk::blockchain - Rust

Struct bdk::blockchain::NoopProgress[][src]

pub struct NoopProgress;

Type that implements Progress and drops every update received

-

Trait Implementations

impl Clone for NoopProgress[src]

fn clone(&self) -> NoopProgress[src]

Returns a copy of the value. Read more

+ Change settings

Struct bdk::blockchain::NoopProgress[][src]

pub struct NoopProgress;
Expand description

Type that implements Progress and drops every update received

+

Trait Implementations

impl Clone for NoopProgress[src]

fn clone(&self) -> NoopProgress[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Progress for NoopProgress[src]

fn update(&self, _progress: f32, _message: Option<String>) -> Result<(), Error>[src]

Send a new progress update Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html index 80674a8ba2..0d22871e70 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html @@ -1,7 +1,7 @@ Blockchain in bdk::blockchain - Rust

Trait bdk::blockchain::Blockchain[][src]

pub trait Blockchain {
+                Change settings

Trait bdk::blockchain::Blockchain[][src]

pub trait Blockchain {
     fn get_capabilities(&self) -> HashSet<Capability>;
 
fn setup<D: BatchDatabase, P: 'static + Progress>(
        &self,
        stop_gap: Option<usize>,
        database: &mut D,
        progress_update: P
    ) -> Result<(), Error>;
fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>; @@ -10,20 +10,20 @@
fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>; fn sync<D: BatchDatabase, P: 'static + Progress>(
        &self,
        stop_gap: Option<usize>,
        database: &mut D,
        progress_update: P
    ) -> Result<(), Error> { ... } -}

Trait that defines the actions that must be supported by a blockchain backend

-

Required methods

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

-

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time

+}
Expand description

Trait that defines the actions that must be supported by a blockchain backend

+

Required methods

fn get_capabilities(&self) -> HashSet<Capability>[src]

Expand description

Return the set of Capability supported by this backend

+

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Expand description

Setup the backend and populate the internal database for the first time

This method is the equivalent of Blockchain::sync, but it’s guaranteed to only be called once, at the first Wallet::sync.

The rationale behind the distinction between sync and setup is that some custom backends might need to perform specific actions only the first time they are synced.

For types that do not have that distinction, only this method can be implemented, since Blockchain::sync defaults to calling this internally if not overridden.

-

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

-

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

-

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

-

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

-
Loading content...

Provided methods

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs

+

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Expand description

Fetch a transaction from the blockchain given its txid

+

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Expand description

Broadcast a transaction

+

fn get_height(&self) -> Result<u32, Error>[src]

Expand description

Return the current height

+

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Expand description

Estimate the fee rate required to confirm a transaction in a given target of blocks

+
Loading content...

Provided methods

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Expand description

Populate the internal database with transactions and UTXOs

If not overridden, it defaults to calling Blockchain::setup internally.

This method should implement the logic required to iterate over the list of the wallet’s script_pubkeys using Database::iter_script_pubkeys and look for relevant transactions @@ -33,5 +33,5 @@ in the blockchain to populate the database with BatchOperations::del_utxo.

The progress_update object can be used to give the caller updates about the progress by using Progress::update.

-
Loading content...

Implementations on Foreign Types

impl<T: Blockchain> Blockchain for Arc<T>[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Loading content...

Implementors

impl Blockchain for AnyBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    _stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, _target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Loading content...
+Loading content...

Implementations on Foreign Types

impl<T: Blockchain> Blockchain for Arc<T>[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Loading content...

Implementors

impl Blockchain for AnyBlockchain[src]

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    _stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, _target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

impl Blockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.

fn get_capabilities(&self) -> HashSet<Capability>[src]

fn setup<D: BatchDatabase, P: Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

fn get_height(&self) -> Result<u32, Error>[src]

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html index 117d339574..a2107a1d81 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html @@ -1,11 +1,11 @@ ConfigurableBlockchain in bdk::blockchain - Rust

Trait bdk::blockchain::ConfigurableBlockchain[][src]

pub trait ConfigurableBlockchain: Blockchain + Sized {
+                Change settings

Trait bdk::blockchain::ConfigurableBlockchain[][src]

pub trait ConfigurableBlockchain: Blockchain + Sized {
     type Config: Debug;
     fn from_config(config: &Self::Config) -> Result<Self, Error>;
-}

Trait for Blockchain types that can be created given a configuration

-

Associated Types

type Config: Debug[src]

Type that contains the configuration

-
Loading content...

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

-
Loading content...

Implementors

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

impl ConfigurableBlockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

impl ConfigurableBlockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.
Loading content...
+}
Expand description

Trait for Blockchain types that can be created given a configuration

+

Associated Types

type Config: Debug[src]

Expand description

Type that contains the configuration

+
Loading content...

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Expand description

Create a new instance given a configuration

+
Loading content...

Implementors

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

impl ConfigurableBlockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

impl ConfigurableBlockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.
Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html index 1225c686e7..03fc1b820b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html @@ -1,12 +1,12 @@ Progress in bdk::blockchain - Rust

Trait bdk::blockchain::Progress[][src]

pub trait Progress: Send {
+                Change settings

Trait bdk::blockchain::Progress[][src]

pub trait Progress: Send {
     fn update(
        &self,
        progress: f32,
        message: Option<String>
    ) -> Result<(), Error>; -}

Trait for types that can receive and process progress updates during Blockchain::sync and +}

Expand description

Trait for types that can receive and process progress updates during Blockchain::sync and Blockchain::setup

-

Required methods

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Send a new progress update

+

Required methods

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Expand description

Send a new progress update

The progress value should be in the range 0.0 - 100.0, and the message value is an optional text message that can be displayed to the user.

-
Loading content...

Implementations on Foreign Types

impl Progress for Sender<ProgressData>[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Loading content...

Implementors

impl Progress for LogProgress[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

impl Progress for NoopProgress[src]

fn update(&self, _progress: f32, _message: Option<String>) -> Result<(), Error>[src]

Loading content...
+Loading content...

Implementations on Foreign Types

impl Progress for Sender<ProgressData>[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Loading content...

Implementors

impl Progress for LogProgress[src]

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

impl Progress for NoopProgress[src]

fn update(&self, _progress: f32, _message: Option<String>) -> Result<(), Error>[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/type.ProgressData.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/type.ProgressData.html index 8bbbb4f1ae..7ede84dfc5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/type.ProgressData.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/type.ProgressData.html @@ -1,6 +1,6 @@ ProgressData in bdk::blockchain - Rust

Type Definition bdk::blockchain::ProgressData[][src]

type ProgressData = (f32, Option<String>);

Data sent with a progress update over a channel

-
+ Change settings

Type Definition bdk::blockchain::ProgressData[][src]

type ProgressData = (f32, Option<String>);
Expand description

Data sent with a progress update over a channel

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html index 19a0e9b534..5088d57207 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html @@ -1,15 +1,15 @@ AnyBatch in bdk::database::any - Rust

Enum bdk::database::any::AnyBatch[][src]

pub enum AnyBatch {
+                Change settings

Enum bdk::database::any::AnyBatch[][src]

pub enum AnyBatch {
     Memory(<MemoryDatabase as BatchDatabase>::Batch),
     Sled(<Tree as BatchDatabase>::Batch),
-}

Type that contains any of the BatchDatabase::Batch types defined by the library

-

+}
Expand description

Type that contains any of the BatchDatabase::Batch types defined by the library

+

Variants

-

In-memory ephemeral database

-
Sled(<Tree as BatchDatabase>::Batch)
This is supported on crate feature key-value-db only.

Simple key-value embedded database based on [sled]

-

Trait Implementations

impl BatchOperations for AnyBatch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

+
Expand description

In-memory ephemeral database

+
Sled(<Tree as BatchDatabase>::Batch)
This is supported on crate feature key-value-db only.
Expand description

Simple key-value embedded database based on [sled]

+

Trait Implementations

impl BatchOperations for AnyBatch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html index 9b2beef4e6..d08f258c90 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html @@ -1,17 +1,17 @@ AnyDatabase in bdk::database::any - Rust

Enum bdk::database::any::AnyDatabase[][src]

pub enum AnyDatabase {
+                Change settings

Enum bdk::database::any::AnyDatabase[][src]

pub enum AnyDatabase {
     Memory(MemoryDatabase),
     Sled(Tree),
-}

Type that can contain any of the Database types defined by the library

+}
Expand description

Type that can contain any of the Database types defined by the library

It allows switching database type at runtime.

See this module’s documentation for a usage example.

-

+

Variants

-

In-memory ephemeral database

-
Sled(Tree)
This is supported on crate feature key-value-db only.

Simple key-value embedded database based on [sled]

-

Trait Implementations

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

Container for the operations

+
Expand description

In-memory ephemeral database

+
Sled(Tree)
This is supported on crate feature key-value-db only.
Expand description

Simple key-value embedded database based on [sled]

+

Trait Implementations

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

Container for the operations

fn begin_batch(&self) -> Self::Batch[src]

Create a new batch container

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Consume and apply a batch of operations

impl BatchOperations for AnyDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html index bbd2876207..0cdab0d0d0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html @@ -1,18 +1,18 @@ AnyDatabaseConfig in bdk::database::any - Rust

Enum bdk::database::any::AnyDatabaseConfig[][src]

pub enum AnyDatabaseConfig {
+                Change settings

Enum bdk::database::any::AnyDatabaseConfig[][src]

pub enum AnyDatabaseConfig {
     Memory(()),
     Sled(SledDbConfiguration),
-}

Type that can contain any of the database configurations defined by the library

+}
Expand description

Type that can contain any of the database configurations defined by the library

This allows storing a single configuration that can be loaded into an AnyDatabase instance. Wallets that plan to offer users the ability to switch blockchain backend at runtime will find this particularly useful.

-

+

Variants

-
Memory(())

Memory database has no config

-
This is supported on crate feature key-value-db only.

Simple key-value embedded database based on [sled]

-

Trait Implementations

impl Debug for AnyDatabaseConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+
Memory(())
Expand description

Memory database has no config

+
This is supported on crate feature key-value-db only.
Expand description

Simple key-value embedded database based on [sled]

+

Trait Implementations

impl Debug for AnyDatabaseConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for AnyDatabaseConfig[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

impl From<()> for AnyDatabaseConfig[src]

fn from(inner: ()) -> Self[src]

Performs the conversion.

impl From<SledDbConfiguration> for AnyDatabaseConfig[src]

fn from(inner: SledDbConfiguration) -> Self[src]

Performs the conversion.

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/index.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/index.html index 6a35da8a56..d1aae97aee 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/index.html @@ -1,7 +1,7 @@ bdk::database::any - Rust

Module bdk::database::any[][src]

Runtime-checked database types

+ Change settings

Module bdk::database::any[][src]

Expand description

Runtime-checked database types

This module provides the implementation of AnyDatabase which allows switching the inner Database type at runtime.

Example

@@ -20,7 +20,7 @@ database supported using a single line of code:

let config = serde_json::from_str("...")?; let database = AnyDatabase::from_config(&config)?; let wallet = Wallet::new_offline("...", None, Network::Testnet, database)?;
-

Structs

+

Structs

SledDbConfiguration

Configuration type for a [sled::Tree] database

Enums

AnyBatch

Type that contains any of the BatchDatabase::Batch types defined by the library

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html index 12c7cf6f72..33d2e0b5a0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html @@ -1,14 +1,14 @@ SledDbConfiguration in bdk::database::any - Rust

Struct bdk::database::any::SledDbConfiguration[][src]

pub struct SledDbConfiguration {
+                Change settings

Struct bdk::database::any::SledDbConfiguration[][src]

pub struct SledDbConfiguration {
     pub path: String,
     pub tree_name: String,
-}

Configuration type for a [sled::Tree] database

-

- Fields

path: String

Main directory of the db

-
tree_name: String

Name of the database tree, a separated namespace for the data

-

Trait Implementations

impl Debug for SledDbConfiguration[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+}
Expand description

Configuration type for a [sled::Tree] database

+

+ Fields

path: String
Expand description

Main directory of the db

+
tree_name: String
Expand description

Name of the database tree, a separated namespace for the data

+

Trait Implementations

impl Debug for SledDbConfiguration[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for SledDbConfiguration[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

impl From<SledDbConfiguration> for AnyDatabaseConfig[src]

fn from(inner: SledDbConfiguration) -> Self[src]

Performs the conversion.

impl Serialize for SledDbConfiguration[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/index.html b/static/docs-rs/bdk/nightly/latest/bdk/database/index.html index 797ae873d1..1b469a24d4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/index.html @@ -1,7 +1,7 @@ bdk::database - Rust

Module bdk::database[][src]

Database types

+ Change settings

Module bdk::database[][src]

Expand description

Database types

This module provides the implementation of some defaults database types, along with traits that can be implemented externally to let Wallets use customized databases.

It’s important to note that the databases defined here only contains “blockchain-related” data. @@ -10,7 +10,7 @@ keys.

The currently recommended database is [sled], which is a pretty simple key-value embedded database written in Rust. If the key-value-db feature is enabled (which by default is), this library automatically implements all the required traits for [sled::Tree].

-

Re-exports

+

Re-exports

pub use any::AnyDatabase;
pub use any::AnyDatabaseConfig;
pub use memory::MemoryDatabase;

Modules

any

Runtime-checked database types

memory

In-memory ephemeral database

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/memory/index.html b/static/docs-rs/bdk/nightly/latest/bdk/database/memory/index.html index 39b57b138a..e85fac5503 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/memory/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/memory/index.html @@ -1,10 +1,10 @@ bdk::database::memory - Rust

Module bdk::database::memory[][src]

In-memory ephemeral database

+ Change settings

Module bdk::database::memory[][src]

Expand description

In-memory ephemeral database

This module defines an in-memory database type called MemoryDatabase that is based on a BTreeMap.

-

Structs

+

Structs

MemoryDatabase

In-memory ephemeral database

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html index 69b33a4f50..de6a2c71f7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html @@ -1,13 +1,13 @@ MemoryDatabase in bdk::database::memory - Rust

Struct bdk::database::memory::MemoryDatabase[][src]

pub struct MemoryDatabase { /* fields omitted */ }

In-memory ephemeral database

+ Change settings

Struct bdk::database::memory::MemoryDatabase[][src]

pub struct MemoryDatabase { /* fields omitted */ }
Expand description

In-memory ephemeral database

This database can be used as a temporary storage for wallets that are not kept permanently on a device, or on platforms that don’t provide a filesystem, like wasm32.

Once it’s dropped its content will be lost.

If you are looking for a permanent storage solution, you can try with the default key-value database called [sled]. See the database module documentation for more defailts.

-

Implementations

impl MemoryDatabase[src]

pub fn new() -> Self[src]

Create a new empty database

+

Implementations

impl MemoryDatabase[src]

pub fn new() -> Self[src]

Create a new empty database

Trait Implementations

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

Container for the operations

fn begin_batch(&self) -> Self::Batch[src]

Create a new batch container

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Consume and apply a batch of operations

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html index 14e82a76bc..ae26eea40a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html @@ -1,14 +1,14 @@ BatchDatabase in bdk::database - Rust

Trait bdk::database::BatchDatabase[][src]

pub trait BatchDatabase: Database {
+                Change settings

Trait bdk::database::BatchDatabase[][src]

pub trait BatchDatabase: Database {
     type Batch: BatchOperations;
     fn begin_batch(&self) -> Self::Batch;
 
fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>; -}

Trait for a database that supports batch operations

+}
Expand description

Trait for a database that supports batch operations

This trait defines the methods to start and apply a batch of operations.

-

Associated Types

type Batch: BatchOperations[src]

Container for the operations

-
Loading content...

Required methods

fn begin_batch(&self) -> Self::Batch[src]

Create a new batch container

-

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Consume and apply a batch of operations

-
Loading content...

Implementations on Foreign Types

impl BatchDatabase for Tree[src]

type Batch = Batch

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Loading content...

Implementors

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Loading content...
+

Associated Types

type Batch: BatchOperations[src]

Expand description

Container for the operations

+
Loading content...

Required methods

fn begin_batch(&self) -> Self::Batch[src]

Expand description

Create a new batch container

+

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Expand description

Consume and apply a batch of operations

+
Loading content...

Implementations on Foreign Types

impl BatchDatabase for Tree[src]

type Batch = Batch

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Loading content...

Implementors

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

fn begin_batch(&self) -> Self::Batch[src]

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html index 6d4ee077cc..09aa1a47ee 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html @@ -1,7 +1,7 @@ BatchOperations in bdk::database - Rust

Trait bdk::database::BatchOperations[][src]

pub trait BatchOperations {
+                Change settings

Trait bdk::database::BatchOperations[][src]

pub trait BatchOperations {
     fn set_script_pubkey(
        &mut self,
        script: &Script,
        keychain: KeychainKind,
        child: u32
    ) -> Result<(), Error>;
fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>;
fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>; @@ -13,20 +13,20 @@
fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>;
fn del_tx(
        &mut self,
        txid: &Txid,
        include_raw: bool
    ) -> Result<Option<TransactionDetails>, Error>;
fn del_last_index(
        &mut self,
        keychain: KeychainKind
    ) -> Result<Option<u32>, Error>; -}

Trait for operations that can be batched

+}
Expand description

Trait for operations that can be batched

This trait defines the list of operations that must be implemented on the Database type and the BatchDatabase::Batch type.

-

Required methods

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

-

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

-

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

-

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

-

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Store the last derivation index for a given keychain.

-

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Delete a script_pubkey given the keychain and its child number.

-

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Delete the data related to a specific script_pubkey, meaning the keychain and the child +

Required methods

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Expand description

Store a script_pubkey along with its keychain and child number.

+

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Expand description

Store a LocalUtxo

+

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Expand description

Store a raw transaction

+

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Expand description

Store the metadata of a transaction

+

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Expand description

Store the last derivation index for a given keychain.

+

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Expand description

Delete a script_pubkey given the keychain and its child number.

+

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Expand description

Delete the data related to a specific script_pubkey, meaning the keychain and the child number.

-

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Delete a LocalUtxo given its [OutPoint]

-

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Delete a raw transaction given its [Txid]

-

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Delete the metadata of a transaction and optionally the raw transaction itself

-

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Delete the last derivation index for a keychain.

-
Loading content...

Implementations on Foreign Types

impl BatchOperations for Tree[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for Batch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Loading content...

Implementors

impl BatchOperations for AnyBatch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for AnyDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for MemoryDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Loading content...
+

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Expand description

Delete a LocalUtxo given its [OutPoint]

+

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Expand description

Delete a raw transaction given its [Txid]

+

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Expand description

Delete the metadata of a transaction and optionally the raw transaction itself

+

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Expand description

Delete the last derivation index for a keychain.

+
Loading content...

Implementations on Foreign Types

impl BatchOperations for Tree[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for Batch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Loading content...

Implementors

impl BatchOperations for AnyBatch[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for AnyDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

impl BatchOperations for MemoryDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: u32
) -> Result<(), Error>
[src]

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html index a6d116ca50..ac7fb4342c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html @@ -1,11 +1,11 @@ ConfigurableDatabase in bdk::database - Rust

Trait bdk::database::ConfigurableDatabase[][src]

pub trait ConfigurableDatabase: Database + Sized {
+                Change settings

Trait bdk::database::ConfigurableDatabase[][src]

pub trait ConfigurableDatabase: Database + Sized {
     type Config: Debug;
     fn from_config(config: &Self::Config) -> Result<Self, Error>;
-}

Trait for Database types that can be created given a configuration

-

Associated Types

type Config: Debug[src]

Type that contains the configuration

-
Loading content...

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

-
Loading content...

Implementations on Foreign Types

impl ConfigurableDatabase for Tree[src]

type Config = SledDbConfiguration

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Loading content...

Implementors

Loading content...
+}
Expand description

Trait for Database types that can be created given a configuration

+

Associated Types

type Config: Debug[src]

Expand description

Type that contains the configuration

+
Loading content...

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Expand description

Create a new instance given a configuration

+
Loading content...

Implementations on Foreign Types

impl ConfigurableDatabase for Tree[src]

type Config = SledDbConfiguration

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Loading content...

Implementors

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html index 4dc17d04b3..aa396662cd 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html @@ -1,7 +1,7 @@ Database in bdk::database - Rust

Trait bdk::database::Database[][src]

pub trait Database: BatchOperations {
+                Change settings

Trait bdk::database::Database[][src]

pub trait Database: BatchOperations {
     fn check_descriptor_checksum<B: AsRef<[u8]>>(
        &mut self,
        keychain: KeychainKind,
        bytes: B
    ) -> Result<(), Error>;
fn iter_script_pubkeys(
        &self,
        keychain: Option<KeychainKind>
    ) -> Result<Vec<Script>, Error>;
fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>; @@ -14,23 +14,23 @@
fn get_tx(
        &self,
        txid: &Txid,
        include_raw: bool
    ) -> Result<Option<TransactionDetails>, Error>;
fn get_last_index(
        &self,
        keychain: KeychainKind
    ) -> Result<Option<u32>, Error>;
fn increment_last_index(
        &mut self,
        keychain: KeychainKind
    ) -> Result<u32, Error>; -}

Trait for reading data from a database

+}
Expand description

Trait for reading data from a database

This traits defines the operations that can be used to read data out of a database

-

Required methods

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

Read and checks the descriptor checksum for a given keychain.

+

Required methods

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

Expand description

Read and checks the descriptor checksum for a given keychain.

Should return Error::ChecksumMismatch if the checksum doesn’t match. If there’s no checksum in the database, simply store it for the next time.

-

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

Return the list of script_pubkeys

-

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Return the list of LocalUtxos

-

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

Return the list of raw transactions

-

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

Return the list of transactions metadata

-

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Fetch a script_pubkey given the child number of a keychain.

-

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Fetch the keychain and child number of a given script_pubkey

-

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Fetch a LocalUtxo given its [OutPoint]

-

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a raw transaction given its [Txid]

-

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Fetch the transaction metadata and optionally also the raw transaction

-

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

Return the last defivation index for a keychain.

-

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Increment the last derivation index for a keychain and return it

+

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

Expand description

Return the list of script_pubkeys

+

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Expand description

Return the list of LocalUtxos

+

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

Expand description

Return the list of raw transactions

+

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

Expand description

Return the list of transactions metadata

+

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Expand description

Fetch a script_pubkey given the child number of a keychain.

+

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Expand description

Fetch the keychain and child number of a given script_pubkey

+

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Expand description

Fetch a LocalUtxo given its [OutPoint]

+

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Expand description

Fetch a raw transaction given its [Txid]

+

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Expand description

Fetch the transaction metadata and optionally also the raw transaction

+

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

Expand description

Return the last defivation index for a keychain.

+

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Expand description

Increment the last derivation index for a keychain and return it

It should insert and return 0 if not present in the database

-
Loading content...

Implementations on Foreign Types

impl Database for Tree[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Loading content...

Implementors

impl Database for AnyDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

impl Database for MemoryDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Loading content...
+Loading content...

Implementations on Foreign Types

impl Database for Tree[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Loading content...

Implementors

impl Database for AnyDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

impl Database for MemoryDatabase[src]

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    path: u32
) -> Result<Option<Script>, Error>
[src]

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/fn.get_checksum.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/fn.get_checksum.html index cd55ba77de..4e708cf912 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/fn.get_checksum.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/fn.get_checksum.html @@ -1,6 +1,6 @@ get_checksum in bdk::descriptor::checksum - Rust

Function bdk::descriptor::checksum::get_checksum[][src]

pub fn get_checksum(desc: &str) -> Result<String, DescriptorError>

Compute the checksum of a descriptor

-
+ Change settings

Function bdk::descriptor::checksum::get_checksum[][src]

pub fn get_checksum(desc: &str) -> Result<String, DescriptorError>
Expand description

Compute the checksum of a descriptor

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/index.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/index.html index 18e24611be..8cb24748ae 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/index.html @@ -1,10 +1,10 @@ bdk::descriptor::checksum - Rust

Module bdk::descriptor::checksum[][src]

Descriptor checksum

+ Change settings

Module bdk::descriptor::checksum[][src]

Expand description

Descriptor checksum

This module contains a re-implementation of the function used by Bitcoin Core to calculate the checksum of a descriptor

-

Functions

+

Functions

get_checksum

Compute the checksum of a descriptor

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html index d88a78a49a..6cf56aa830 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html @@ -1,21 +1,21 @@ Descriptor in bdk::descriptor - Rust

Enum bdk::descriptor::Descriptor[]

pub enum Descriptor<Pk> where
    Pk: MiniscriptKey, 
{ + Change settings

Enum bdk::descriptor::Descriptor[]

pub enum Descriptor<Pk> where
    Pk: MiniscriptKey, 
{ Bare(Bare<Pk>), Pkh(Pkh<Pk>), Wpkh(Wpkh<Pk>), Sh(Sh<Pk>), Wsh(Wsh<Pk>), -}

Script descriptor

-

+}
Expand description

Script descriptor

+

Variants

-
Bare(Bare<Pk>)

A raw scriptpubkey (including pay-to-pubkey) under Legacy context

-
Pkh(Pkh<Pk>)

Pay-to-PubKey-Hash

-
Wpkh(Wpkh<Pk>)

Pay-to-Witness-PubKey-Hash

-
Sh(Sh<Pk>)

Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)

-
Wsh(Wsh<Pk>)

Pay-to-Witness-ScriptHash with Segwitv0 context

-

Implementations

impl<Pk> Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn new_pk(pk: Pk) -> Descriptor<Pk>

Create a new pk descriptor

+
Bare(Bare<Pk>)
Expand description

A raw scriptpubkey (including pay-to-pubkey) under Legacy context

+
Pkh(Pkh<Pk>)
Expand description

Pay-to-PubKey-Hash

+
Wpkh(Wpkh<Pk>)
Expand description

Pay-to-Witness-PubKey-Hash

+
Sh(Sh<Pk>)
Expand description

Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)

+
Wsh(Wsh<Pk>)
Expand description

Pay-to-Witness-ScriptHash with Segwitv0 context

+

Implementations

impl<Pk> Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn new_pk(pk: Pk) -> Descriptor<Pk>

Create a new pk descriptor

pub fn new_pkh(pk: Pk) -> Descriptor<Pk>

Create a new PkH descriptor

pub fn new_wpkh(pk: Pk) -> Result<Descriptor<Pk>, Error>

Create a new Wpkh descriptor Will return Err if uncompressed key is used

@@ -97,18 +97,18 @@ the predicate returned true for any key Read more<

impl<Pk> FromTree for Descriptor<Pk> where
    Pk: MiniscriptKey + FromStr,
    <Pk as MiniscriptKey>::Hash: FromStr,
    <Pk as FromStr>::Err: ToString,
    <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

pub fn from_tree(top: &Tree<'_>) -> Result<Descriptor<Pk>, Error>

Parse an expression tree into a descriptor

impl<Pk> Liftable<Pk> for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn lift(&self) -> Result<Policy<Pk>, Error>

Convert the object into an abstract policy

impl<Pk> Ord for Descriptor<Pk> where
    Pk: Ord + MiniscriptKey, 

pub fn cmp(&self, other: &Descriptor<Pk>) -> Ordering

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl<Pk> PartialEq<Descriptor<Pk>> for Descriptor<Pk> where
    Pk: PartialEq<Pk> + MiniscriptKey, 

pub fn eq(&self, other: &Descriptor<Pk>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

pub fn ne(&self, other: &Descriptor<Pk>) -> bool

This method tests for !=.

impl<Pk> PartialOrd<Descriptor<Pk>> for Descriptor<Pk> where
    Pk: PartialOrd<Pk> + MiniscriptKey, 

pub fn partial_cmp(&self, other: &Descriptor<Pk>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<P, Q> TranslatePk<P, Q> for Descriptor<P> where
    P: MiniscriptKey,
    Q: MiniscriptKey, 

pub fn translate_pk<Fpk, Fpkh, E>(
    &self,
    translatefpk: Fpk,
    translatefpkh: Fpkh
) -> Result<Descriptor<Q>, E> where
    Q: MiniscriptKey,
    Fpk: FnMut(&P) -> Result<Q, E>,
    Fpkh: FnMut(&<P as MiniscriptKey>::Hash) -> Result<<Q as MiniscriptKey>::Hash, E>, 

Convert a descriptor using abstract keys to one using specific keys This will panic if translatefpk returns an uncompressed key when diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html index 303652f0ae..e047b9c29e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html @@ -1,28 +1,28 @@ Legacy in bdk::descriptor - Rust

Enum bdk::descriptor::Legacy[]

pub enum Legacy {}

Legacy ScriptContext + Change settings

Enum bdk::descriptor::Legacy[]

pub enum Legacy {}
Expand description

Legacy ScriptContext To be used as P2SH scripts For creation of Bare scriptpubkeys, construct the Miniscript under Bare ScriptContext

-

Trait Implementations

impl Clone for Legacy

pub fn clone(&self) -> Legacy

Returns a copy of the value. Read more

+

Trait Implementations

impl Clone for Legacy

pub fn clone(&self) -> Legacy

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Legacy

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

impl Hash for Legacy

pub fn hash<__H>(&self, state: &mut __H) where
    __H: Hasher

Feeds this value into the given Hasher. Read more

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

impl Ord for Legacy

pub fn cmp(&self, other: &Legacy) -> Ordering

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl PartialEq<Legacy> for Legacy

pub fn eq(&self, other: &Legacy) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialOrd<Legacy> for Legacy

pub fn partial_cmp(&self, other: &Legacy) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl ScriptContext for Legacy

pub fn check_terminal_non_malleable<Pk, Ctx>(
    frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on ScriptContext, fragments can be malleable. For Example, under Legacy context, PkH is malleable because it is possible to diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html index 11d46fea3d..8462edcb2a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html @@ -1,25 +1,25 @@ Segwitv0 in bdk::descriptor - Rust

Enum bdk::descriptor::Segwitv0[]

pub enum Segwitv0 {}

Segwitv0 ScriptContext

-

Trait Implementations

impl Clone for Segwitv0

pub fn clone(&self) -> Segwitv0

Returns a copy of the value. Read more

+ Change settings

Enum bdk::descriptor::Segwitv0[]

pub enum Segwitv0 {}
Expand description

Segwitv0 ScriptContext

+

Trait Implementations

impl Clone for Segwitv0

pub fn clone(&self) -> Segwitv0

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Segwitv0

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

impl Hash for Segwitv0

pub fn hash<__H>(&self, state: &mut __H) where
    __H: Hasher

Feeds this value into the given Hasher. Read more

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

impl Ord for Segwitv0

pub fn cmp(&self, other: &Segwitv0) -> Ordering

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl PartialEq<Segwitv0> for Segwitv0

pub fn eq(&self, other: &Segwitv0) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialOrd<Segwitv0> for Segwitv0

pub fn partial_cmp(&self, other: &Segwitv0) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl ScriptContext for Segwitv0

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on ScriptContext, fragments can be malleable. For Example, under Legacy context, PkH is malleable because it is possible to diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html index 91a0c4f613..c3b3ec1385 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html @@ -1,7 +1,7 @@ Error in bdk::descriptor::error - Rust

Enum bdk::descriptor::error::Error[][src]

pub enum Error {
+                Change settings

Enum bdk::descriptor::error::Error[][src]

pub enum Error {
     InvalidHdKeyPath,
     InvalidDescriptorChecksum,
     HardenedDerivationXpub,
@@ -14,22 +14,22 @@
     Pk(Error),
     Miniscript(Error),
     Hex(Error),
-}

Errors related to the parsing and usage of descriptors

-

+}

Expand description

Errors related to the parsing and usage of descriptors

+

Variants

-
InvalidHdKeyPath

Invalid HD Key path, such as having a wildcard but a length != 1

-
InvalidDescriptorChecksum

The provided descriptor doesn’t match its checksum

-
HardenedDerivationXpub

The descriptor contains hardened derivation steps on public extended keys

-
DuplicatedKeys

The descriptor contains multiple keys with the same BIP32 fingerprint

-

Error thrown while working with keys

-
Policy(PolicyError)

Error while extracting and manipulating policies

-
InvalidDescriptorCharacter(char)

Invalid character found in the descriptor checksum

-
Bip32(Error)

BIP32 error

-
Base58(Error)

Error during base58 decoding

-
Pk(Error)

Key-related error

-
Miniscript(Error)

Miniscript error

-
Hex(Error)

Hex decoding error

-

Trait Implementations

impl Debug for Error[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+
InvalidHdKeyPath
Expand description

Invalid HD Key path, such as having a wildcard but a length != 1

+
InvalidDescriptorChecksum
Expand description

The provided descriptor doesn’t match its checksum

+
HardenedDerivationXpub
Expand description

The descriptor contains hardened derivation steps on public extended keys

+
DuplicatedKeys
Expand description

The descriptor contains multiple keys with the same BIP32 fingerprint

+
Expand description

Error thrown while working with keys

+
Policy(PolicyError)
Expand description

Error while extracting and manipulating policies

+
InvalidDescriptorCharacter(char)
Expand description

Invalid character found in the descriptor checksum

+
Bip32(Error)
Expand description

BIP32 error

+
Base58(Error)
Expand description

Error during base58 decoding

+
Pk(Error)
Expand description

Key-related error

+
Miniscript(Error)
Expand description

Miniscript error

+
Hex(Error)
Expand description

Hex decoding error

+

Trait Implementations

impl Debug for Error[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for Error[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Error for Error[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/index.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/index.html index 43bff8eaf1..058897ca32 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/index.html @@ -1,8 +1,8 @@ bdk::descriptor::error - Rust

Module bdk::descriptor::error[][src]

Descriptor errors

-

Enums

+ Change settings

Module bdk::descriptor::error[][src]

Expand description

Descriptor errors

+

Enums

Error

Errors related to the parsing and usage of descriptors

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/index.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/index.html index fa6956ac4f..7d4fa2ad30 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/index.html @@ -1,10 +1,10 @@ bdk::descriptor - Rust

Module bdk::descriptor[][src]

Descriptors

+ Change settings

Module bdk::descriptor[][src]

Expand description

Descriptors

This module contains generic utilities to work with descriptors, plus some re-exported types from [miniscript].

-

Re-exports

+

Re-exports

pub use self::checksum::get_checksum;
pub use self::error::Error as DescriptorError;
pub use self::policy::Policy;

Modules

checksum

Descriptor checksum

error

Descriptor errors

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.BuildSatisfaction.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.BuildSatisfaction.html index c5b4e2341a..7e3a365648 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.BuildSatisfaction.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.BuildSatisfaction.html @@ -1,7 +1,7 @@ BuildSatisfaction in bdk::descriptor::policy - Rust

Enum bdk::descriptor::policy::BuildSatisfaction[][src]

pub enum BuildSatisfaction<'a> {
+                Change settings

Enum bdk::descriptor::policy::BuildSatisfaction[][src]

pub enum BuildSatisfaction<'a> {
     None,
     Psbt(&'a Psbt),
     PsbtTimelocks {
@@ -9,17 +9,17 @@
         current_height: u32,
         input_max_height: u32,
     },
-}

Options to build the satisfaction field in the policy

-

+}
Expand description

Options to build the satisfaction field in the policy

+

Variants

-
None

Don’t generate satisfaction field

-
Psbt(&'a Psbt)

Analyze the given PSBT to check for existing signatures

-
PsbtTimelocks

Like Psbt variant and also check for expired timelocks

-
Show fields

Fields of PsbtTimelocks

psbt: &'a Psbt

Given PSBT

-
current_height: u32

Current blockchain height

-
input_max_height: u32

The highest confirmation height between the inputs +

None
Expand description

Don’t generate satisfaction field

+
Psbt(&'a Psbt)
Expand description

Analyze the given PSBT to check for existing signatures

+
PsbtTimelocks
Expand description

Like Psbt variant and also check for expired timelocks

+
Show fields

Fields of PsbtTimelocks

psbt: &'a Psbt
Expand description

Given PSBT

+
current_height: u32
Expand description

Current blockchain height

+
input_max_height: u32
Expand description

The highest confirmation height between the inputs CSV should consider different inputs, but we consider the worst condition for the tx as whole

-

Trait Implementations

impl<'a> Clone for BuildSatisfaction<'a>[src]

fn clone(&self) -> BuildSatisfaction<'a>[src]

Returns a copy of the value. Read more

+

Trait Implementations

impl<'a> Clone for BuildSatisfaction<'a>[src]

fn clone(&self) -> BuildSatisfaction<'a>[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for BuildSatisfaction<'a>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'a> Copy for BuildSatisfaction<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for BuildSatisfaction<'a>

impl<'a> Send for BuildSatisfaction<'a>

impl<'a> Sync for BuildSatisfaction<'a>

impl<'a> Unpin for BuildSatisfaction<'a>

impl<'a> UnwindSafe for BuildSatisfaction<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html index 29def79aad..25c3dd6da8 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html @@ -1,23 +1,23 @@ PolicyError in bdk::descriptor::policy - Rust

Enum bdk::descriptor::policy::PolicyError[][src]

pub enum PolicyError {
+                Change settings

Enum bdk::descriptor::policy::PolicyError[][src]

pub enum PolicyError {
     NotEnoughItemsSelected(String),
     IndexOutOfRange(usize),
     AddOnLeaf,
     AddOnPartialComplete,
     MixedTimelockUnits,
     IncompatibleConditions,
-}

Errors that can happen while extracting and manipulating policies

-

+}

Expand description

Errors that can happen while extracting and manipulating policies

+

Variants

-
NotEnoughItemsSelected(String)

Not enough items are selected to satisfy a SatisfiableItem::Thresh or a SatisfiableItem::Multisig

-
IndexOutOfRange(usize)

Index out of range for an item to satisfy a SatisfiableItem::Thresh or a SatisfiableItem::Multisig

-
AddOnLeaf

Can not add to an item that is Satisfaction::None or Satisfaction::Complete

-
AddOnPartialComplete

Can not add to an item that is Satisfaction::PartialComplete

-
MixedTimelockUnits

Can not merge CSV or timelock values unless both are less than or both are equal or greater than 500_000_000

-
IncompatibleConditions

Incompatible conditions (not currently used)

-

Trait Implementations

impl Debug for PolicyError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+
NotEnoughItemsSelected(String)
Expand description

Not enough items are selected to satisfy a SatisfiableItem::Thresh or a SatisfiableItem::Multisig

+
IndexOutOfRange(usize)
Expand description

Index out of range for an item to satisfy a SatisfiableItem::Thresh or a SatisfiableItem::Multisig

+
AddOnLeaf
Expand description

Can not add to an item that is Satisfaction::None or Satisfaction::Complete

+
AddOnPartialComplete
Expand description

Can not add to an item that is Satisfaction::PartialComplete

+
MixedTimelockUnits
Expand description

Can not merge CSV or timelock values unless both are less than or both are equal or greater than 500_000_000

+
IncompatibleConditions
Expand description

Incompatible conditions (not currently used)

+

Trait Implementations

impl Debug for PolicyError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for PolicyError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Error for PolicyError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html index e6803a4bc1..218c43c29e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html @@ -1,7 +1,7 @@ Satisfaction in bdk::descriptor::policy - Rust

Enum bdk::descriptor::policy::Satisfaction[][src]

pub enum Satisfaction {
+                Change settings

Enum bdk::descriptor::policy::Satisfaction[][src]

pub enum Satisfaction {
     Partial {
         n: usize,
         m: usize,
@@ -20,25 +20,25 @@
         condition: Condition,
     },
     None,
-}

Represent if and how much a policy item is satisfied by the wallet’s descriptor

-

+}

Expand description

Represent if and how much a policy item is satisfied by the wallet’s descriptor

+

Variants

-
Partial

Only a partial satisfaction of some kind of threshold policy

-
Show fields

Fields of Partial

n: usize

Total number of items

-
m: usize

Threshold

-
items: Vec<usize>

The items that can be satisfied by the descriptor or are satisfied in the PSBT

-
sorted: Option<bool>

Whether the items are sorted in lexicographic order (used by sortedmulti)

-
conditions: ConditionMap

Extra conditions that also need to be satisfied

-
PartialComplete

Can reach the threshold of some kind of threshold policy

-
Show fields

Fields of PartialComplete

n: usize

Total number of items

-
m: usize

Threshold

-
items: Vec<usize>

The items that can be satisfied by the descriptor

-
sorted: Option<bool>

Whether the items are sorted in lexicographic order (used by sortedmulti)

-
conditions: FoldedConditionMap

Extra conditions that also need to be satisfied

-
Complete

Can satisfy the policy item

-
Show fields

Fields of Complete

condition: Condition

Extra conditions that also need to be satisfied

-
None

Cannot satisfy or contribute to the policy item

-

Implementations

impl Satisfaction[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the Satisfaction is a leaf item

+
Partial
Expand description

Only a partial satisfaction of some kind of threshold policy

+
Show fields

Fields of Partial

n: usize
Expand description

Total number of items

+
m: usize
Expand description

Threshold

+
items: Vec<usize>
Expand description

The items that can be satisfied by the descriptor or are satisfied in the PSBT

+
sorted: Option<bool>
Expand description

Whether the items are sorted in lexicographic order (used by sortedmulti)

+
conditions: ConditionMap
Expand description

Extra conditions that also need to be satisfied

+
PartialComplete
Expand description

Can reach the threshold of some kind of threshold policy

+
Show fields

Fields of PartialComplete

n: usize
Expand description

Total number of items

+
m: usize
Expand description

Threshold

+
items: Vec<usize>
Expand description

The items that can be satisfied by the descriptor

+
sorted: Option<bool>
Expand description

Whether the items are sorted in lexicographic order (used by sortedmulti)

+
conditions: FoldedConditionMap
Expand description

Extra conditions that also need to be satisfied

+
Complete
Expand description

Can satisfy the policy item

+
Show fields

Fields of Complete

condition: Condition
Expand description

Extra conditions that also need to be satisfied

+
None
Expand description

Cannot satisfy or contribute to the policy item

+

Implementations

impl Satisfaction[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the Satisfaction is a leaf item

Trait Implementations

impl Clone for Satisfaction[src]

fn clone(&self) -> Satisfaction[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Satisfaction[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html index 8693d778d5..0d568d073f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html @@ -1,7 +1,7 @@ SatisfiableItem in bdk::descriptor::policy - Rust

Enum bdk::descriptor::policy::SatisfiableItem[][src]

pub enum SatisfiableItem {
+                Change settings

Enum bdk::descriptor::policy::SatisfiableItem[][src]

pub enum SatisfiableItem {
     Signature(PkOrF),
     SignatureKey(PkOrF),
     Sha256Preimage {
@@ -30,30 +30,30 @@
         items: Vec<Policy>,
         threshold: usize,
     },
-}

An item that needs to be satisfied

-

+}

Expand description

An item that needs to be satisfied

+

Variants

-
Signature(PkOrF)

Signature for a raw public key

-
SignatureKey(PkOrF)

Signature for an extended key fingerprint

-
Sha256Preimage

SHA256 preimage hash

-
Show fields

Fields of Sha256Preimage

hash: Hash

The digest value

-
Hash256Preimage

Double SHA256 preimage hash

-
Show fields

Fields of Hash256Preimage

hash: Hash

The digest value

-
Ripemd160Preimage

RIPEMD160 preimage hash

-
Show fields

Fields of Ripemd160Preimage

hash: Hash

The digest value

-
Hash160Preimage

SHA256 then RIPEMD160 preimage hash

-
Show fields

Fields of Hash160Preimage

hash: Hash

The digest value

-
AbsoluteTimelock

Absolute timeclock timestamp

-
Show fields

Fields of AbsoluteTimelock

value: u32

The timestamp value

-
RelativeTimelock

Relative timelock locktime

-
Show fields

Fields of RelativeTimelock

value: u32

The locktime value

-
Multisig

Multi-signature public keys with threshold count

-
Show fields

Fields of Multisig

keys: Vec<PkOrF>

The raw public key or extended key fingerprint

-
threshold: usize

The required threshold count

-
Thresh

Threshold items with threshold count

-
Show fields

Fields of Thresh

items: Vec<Policy>

The policy items

-
threshold: usize

The required threshold count

-

Implementations

impl SatisfiableItem[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the SatisfiableItem is a leaf item

+
Signature(PkOrF)
Expand description

Signature for a raw public key

+
SignatureKey(PkOrF)
Expand description

Signature for an extended key fingerprint

+
Sha256Preimage
Expand description

SHA256 preimage hash

+
Show fields

Fields of Sha256Preimage

hash: Hash
Expand description

The digest value

+
Hash256Preimage
Expand description

Double SHA256 preimage hash

+
Show fields

Fields of Hash256Preimage

hash: Hash
Expand description

The digest value

+
Ripemd160Preimage
Expand description

RIPEMD160 preimage hash

+
Show fields

Fields of Ripemd160Preimage

hash: Hash
Expand description

The digest value

+
Hash160Preimage
Expand description

SHA256 then RIPEMD160 preimage hash

+
Show fields

Fields of Hash160Preimage

hash: Hash
Expand description

The digest value

+
AbsoluteTimelock
Expand description

Absolute timeclock timestamp

+
Show fields

Fields of AbsoluteTimelock

value: u32
Expand description

The timestamp value

+
RelativeTimelock
Expand description

Relative timelock locktime

+
Show fields

Fields of RelativeTimelock

value: u32
Expand description

The locktime value

+
Multisig
Expand description

Multi-signature public keys with threshold count

+
Show fields

Fields of Multisig

keys: Vec<PkOrF>
Expand description

The raw public key or extended key fingerprint

+
threshold: usize
Expand description

The required threshold count

+
Thresh
Expand description

Threshold items with threshold count

+
Show fields

Fields of Thresh

items: Vec<Policy>
Expand description

The policy items

+
threshold: usize
Expand description

The required threshold count

+

Implementations

impl SatisfiableItem[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the SatisfiableItem is a leaf item

pub fn id(&self) -> String[src]

Returns a unique id for the SatisfiableItem

Trait Implementations

impl Clone for SatisfiableItem[src]

fn clone(&self) -> SatisfiableItem[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/index.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/index.html index bb1bb59bcc..d6e14d41a2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/index.html @@ -1,7 +1,7 @@ bdk::descriptor::policy - Rust

Module bdk::descriptor::policy[][src]

Descriptor policy

+ Change settings

Module bdk::descriptor::policy[][src]

Expand description

Descriptor policy

This module implements the logic to extract and represent the spending policies of a descriptor in a more human-readable format.

This is an EXPERIMENTAL feature, API and other major changes are expected.

@@ -17,7 +17,7 @@ in a more human-readable format.

let signers = Arc::new(key_map.into()); let policy = extended_desc.extract_policy(&signers, BuildSatisfaction::None, &secp)?; println!("policy: {}", serde_json::to_string(&policy)?);
-

Structs

+

Structs

Condition

An extra condition that must be satisfied but that is out of control of the user

PkOrF

Raw public key or extended key fingerprint

Policy

Descriptor spending policy

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html index 002254475d..f80f2a3cf7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html @@ -1,14 +1,14 @@ Condition in bdk::descriptor::policy - Rust

Struct bdk::descriptor::policy::Condition[][src]

pub struct Condition {
+                Change settings

Struct bdk::descriptor::policy::Condition[][src]

pub struct Condition {
     pub csv: Option<u32>,
     pub timelock: Option<u32>,
-}

An extra condition that must be satisfied but that is out of control of the user

-

- Fields

csv: Option<u32>

Optional CheckSequenceVerify condition

-
timelock: Option<u32>

Optional timelock condition

-

Implementations

impl Condition[src]

pub fn is_null(&self) -> bool[src]

Returns true if there are no extra conditions to verify

+}
Expand description

An extra condition that must be satisfied but that is out of control of the user

+

+ Fields

csv: Option<u32>
Expand description

Optional CheckSequenceVerify condition

+
timelock: Option<u32>
Expand description

Optional timelock condition

+

Implementations

impl Condition[src]

pub fn is_null(&self) -> bool[src]

Returns true if there are no extra conditions to verify

Trait Implementations

impl Clone for Condition[src]

fn clone(&self) -> Condition[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Condition[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

@@ -16,18 +16,18 @@

impl Hash for Condition[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

impl Ord for Condition[src]

fn cmp(&self, other: &Condition) -> Ordering[src]

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl PartialEq<Condition> for Condition[src]

fn eq(&self, other: &Condition) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Condition) -> bool[src]

This method tests for !=.

impl PartialOrd<Condition> for Condition[src]

fn partial_cmp(&self, other: &Condition) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Serialize for Condition[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

impl Copy for Condition[src]

impl Eq for Condition[src]

impl StructuralEq for Condition[src]

impl StructuralPartialEq for Condition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PkOrF.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PkOrF.html index 5c6e913aa8..c1b97ba939 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PkOrF.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PkOrF.html @@ -1,8 +1,8 @@ PkOrF in bdk::descriptor::policy - Rust

Struct bdk::descriptor::policy::PkOrF[][src]

pub struct PkOrF { /* fields omitted */ }

Raw public key or extended key fingerprint

-

Trait Implementations

impl Clone for PkOrF[src]

fn clone(&self) -> PkOrF[src]

Returns a copy of the value. Read more

+ Change settings

Struct bdk::descriptor::policy::PkOrF[][src]

pub struct PkOrF { /* fields omitted */ }
Expand description

Raw public key or extended key fingerprint

+

Trait Implementations

impl Clone for PkOrF[src]

fn clone(&self) -> PkOrF[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PkOrF[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for PkOrF[src]

fn default() -> PkOrF[src]

Returns the “default value” for a type. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html index c7ceecfdda..8aaa1360ae 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html @@ -1,18 +1,18 @@ Policy in bdk::descriptor::policy - Rust

Struct bdk::descriptor::policy::Policy[][src]

pub struct Policy {
+                Change settings

Struct bdk::descriptor::policy::Policy[][src]

pub struct Policy {
     pub id: String,
     pub item: SatisfiableItem,
     pub satisfaction: Satisfaction,
     pub contribution: Satisfaction,
-}

Descriptor spending policy

-

- Fields

id: String

Identifier for this policy node

-
item: SatisfiableItem

Type of this policy node

-
satisfaction: Satisfaction

How much a given PSBT already satisfies this policy node in terms of signatures

-
contribution: Satisfaction

How the wallet’s descriptor can satisfy this policy node

-

Implementations

impl Policy[src]

pub fn requires_path(&self) -> bool[src]

Return whether or not a specific path in the policy tree is required to unambiguously +}

Expand description

Descriptor spending policy

+

+ Fields

id: String
Expand description

Identifier for this policy node

+
item: SatisfiableItem
Expand description

Type of this policy node

+
satisfaction: Satisfaction
Expand description

How much a given PSBT already satisfies this policy node in terms of signatures

+
contribution: Satisfaction
Expand description

How the wallet’s descriptor can satisfy this policy node

+

Implementations

impl Policy[src]

pub fn requires_path(&self) -> bool[src]

Return whether or not a specific path in the policy tree is required to unambiguously create a transaction

What this means is that for some spending policies the user should select which paths in the tree it intends to satisfy while signing, because the transaction must be created differently based diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.ConditionMap.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.ConditionMap.html index 6680176f82..df57176150 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.ConditionMap.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.ConditionMap.html @@ -1,6 +1,6 @@ ConditionMap in bdk::descriptor::policy - Rust

Type Definition bdk::descriptor::policy::ConditionMap[][src]

type ConditionMap = BTreeMap<usize, HashSet<Condition>>;

Type for a map of sets of Condition items keyed by each set’s index

-
+ Change settings

Type Definition bdk::descriptor::policy::ConditionMap[][src]

type ConditionMap = BTreeMap<usize, HashSet<Condition>>;
Expand description

Type for a map of sets of Condition items keyed by each set’s index

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.FoldedConditionMap.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.FoldedConditionMap.html index e0f922d07b..ed1d16e012 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.FoldedConditionMap.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.FoldedConditionMap.html @@ -1,6 +1,6 @@ FoldedConditionMap in bdk::descriptor::policy - Rust

Type Definition bdk::descriptor::policy::FoldedConditionMap[][src]

type FoldedConditionMap = BTreeMap<Vec<usize>, HashSet<Condition>>;

Type for a map of folded sets of Condition items keyed by a vector of the combined set’s indexes

-
+ Change settings

Type Definition bdk::descriptor::policy::FoldedConditionMap[][src]

type FoldedConditionMap = BTreeMap<Vec<usize>, HashSet<Condition>>;
Expand description

Type for a map of folded sets of Condition items keyed by a vector of the combined set’s indexes

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html index 58ca10985b..0e4d85abfc 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html @@ -1,9 +1,9 @@ DerivedDescriptorKey in bdk::descriptor - Rust

Struct bdk::descriptor::DerivedDescriptorKey[][src]

pub struct DerivedDescriptorKey<'s>(_, _);

Extended DescriptorPublicKey that has been derived

+ Change settings

Struct bdk::descriptor::DerivedDescriptorKey[][src]

pub struct DerivedDescriptorKey<'s>(_, _);
Expand description

Extended DescriptorPublicKey that has been derived

Derived keys are guaranteed to never contain wildcards of any kind

-

Implementations

impl<'s> DerivedDescriptorKey<'s>[src]

pub fn new(
    key: DescriptorPublicKey,
    secp: &'s Secp256k1<All>
) -> DerivedDescriptorKey<'s>
[src]

Construct a new derived key

+

Implementations

impl<'s> DerivedDescriptorKey<'s>[src]

pub fn new(
    key: DescriptorPublicKey,
    secp: &'s Secp256k1<All>
) -> DerivedDescriptorKey<'s>
[src]

Construct a new derived key

Panics if the key is wildcard

Methods from Deref<Target = DescriptorPublicKey>

pub fn master_fingerprint(&self) -> Fingerprint

The fingerprint of the master key associated with this key

pub fn full_derivation_path(&self) -> DerivationPath

Full path, from the master key

@@ -33,18 +33,18 @@ implementation returns false Read more

fn serialized_len(&self) -> usize[src]

Computes the size of a public key when serialized in a script, including the length bytes Read more

impl<'s> Ord for DerivedDescriptorKey<'s>[src]

fn cmp(&self, other: &Self) -> Ordering[src]

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl<'s> PartialEq<DerivedDescriptorKey<'s>> for DerivedDescriptorKey<'s>[src]

fn eq(&self, other: &Self) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<'s> PartialOrd<DerivedDescriptorKey<'s>> for DerivedDescriptorKey<'s>[src]

fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'s> ToPublicKey for DerivedDescriptorKey<'s>[src]

fn to_public_key(&self) -> PublicKey[src]

Converts an object to a public key

fn hash_to_hash160(hash: &Self::Hash) -> Hash[src]

Converts a hashed version of the public key to a hash160 hash. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html index 4d27a2725a..10da6d9861 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html @@ -1,17 +1,17 @@ Miniscript in bdk::descriptor - Rust

Struct bdk::descriptor::Miniscript[]

pub struct Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 
{ + Change settings

Struct bdk::descriptor::Miniscript[]

pub struct Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 
{ pub node: Terminal<Pk, Ctx>, pub ty: Type, pub ext: ExtData, // some fields omitted -}

Top-level script AST type

-

- Fields

node: Terminal<Pk, Ctx>

A node in the Abstract Syntax Tree(

-
ty: Type

The correctness and malleability type information for the AST node

-
ext: ExtData

Additional information helpful for extra analysis.

-

Implementations

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn requires_sig(&self) -> bool

Whether all spend paths of miniscript require a signature

+}
Expand description

Top-level script AST type

+

+ Fields

node: Terminal<Pk, Ctx>
Expand description

A node in the Abstract Syntax Tree(

+
ty: Type
Expand description

The correctness and malleability type information for the AST node

+
ext: ExtData
Expand description

Additional information helpful for extra analysis.

+

Implementations

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn requires_sig(&self) -> bool

Whether all spend paths of miniscript require a signature

pub fn is_non_malleable(&self) -> bool

Whether the miniscript is malleable

pub fn within_resource_limits(&self) -> bool

Whether the miniscript can exceed the resource limits(Opcodes, Stack limit etc)

pub fn has_mixed_timelocks(&self) -> bool

Whether the miniscript contains a combination of timelocks

@@ -152,9 +152,9 @@ should not be called directly; rather go through the descriptor API.

The type information and extra_properties can be deterministically determined by the ast.

pub fn cmp(&self, other: &Miniscript<Pk, Ctx>) -> Ordering

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl<Pk, Ctx> PartialEq<Miniscript<Pk, Ctx>> for Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

PartialEq of Miniscript must depend only on node and not the type information. The type information and extra_properties can be deterministically determined by the ast.

@@ -165,11 +165,11 @@ by ==.

pub fn partial_cmp(&self, other: &Miniscript<Pk, Ctx>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<Pk, Q, Ctx> TranslatePk<Pk, Q> for Miniscript<Pk, Ctx> where
    Q: MiniscriptKey,
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn translate_pk<FPk, FPkh, FuncError>(
    &self,
    translatefpk: FPk,
    translatefpkh: FPkh
) -> Result<<Miniscript<Pk, Ctx> as TranslatePk<Pk, Q>>::Output, FuncError> where
    FPk: FnMut(&Pk) -> Result<Q, FuncError>,
    FPkh: FnMut(&<Pk as MiniscriptKey>::Hash) -> Result<<Q as MiniscriptKey>::Hash, FuncError>, 

This will panic if translatefpk returns an uncompressed key when converting to a Segwit descriptor. To prevent this panic, ensure diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/index.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/index.html index 1eef6f138c..18df916b59 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/index.html @@ -1,10 +1,10 @@ bdk::descriptor::template - Rust

Module bdk::descriptor::template[][src]

Descriptor templates

+ Change settings

Module bdk::descriptor::template[][src]

Expand description

Descriptor templates

This module contains the definition of various common script templates that are ready to be used. See the documentation of each template for an example.

-

Structs

+

Structs

Bip44

BIP44 template. Expands to pkh(key/44'/0'/0'/{0,1}/*)

Bip44Public

BIP44 public template. Expands to pkh(key/{0,1}/*)

Bip49

BIP49 template. Expands to sh(wpkh(key/49'/0'/0'/{0,1}/*))

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44.html index 78be75658e..5fcfc11eb2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44.html @@ -1,7 +1,7 @@ Bip44 in bdk::descriptor::template - Rust

Struct bdk::descriptor::template::Bip44[][src]

pub struct Bip44<K: DerivableKey<Legacy>>(pub K, pub KeychainKind);

BIP44 template. Expands to pkh(key/44'/0'/0'/{0,1}/*)

+ Change settings

Struct bdk::descriptor::template::Bip44[][src]

pub struct Bip44<K: DerivableKey<Legacy>>(pub K, pub KeychainKind);
Expand description

BIP44 template. Expands to pkh(key/44'/0'/0'/{0,1}/*)

Since there are hardened derivation steps, this template requires a private derivable key (generally a xprv/tprv).

See Bip44Public for a template that can work with a xpub/tpub.

Example

@@ -18,7 +18,7 @@ assert_eq!(wallet.get_address(New)?.to_string(), "miNG7dJTzJqNbFS19svRdTCisC65dsubtR"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "pkh([c55b303f/44'/0'/0']tpubDDDzQ31JkZB7VxUr9bjvBivDdqoFLrDPyLWtLapArAi51ftfmCb2DPxwLQzX65iNcXz1DGaVvyvo6JQ6rTU73r2gqdEo8uov9QKRb7nKCSU/0/*)#xgaaevjx");
-

Trait Implementations

impl<K: DerivableKey<Legacy>> DescriptorTemplate for Bip44<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

+

Trait Implementations

impl<K: DerivableKey<Legacy>> DescriptorTemplate for Bip44<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

Auto Trait Implementations

impl<K> RefUnwindSafe for Bip44<K> where
    K: RefUnwindSafe

impl<K> Send for Bip44<K> where
    K: Send

impl<K> Sync for Bip44<K> where
    K: Sync

impl<K> Unpin for Bip44<K> where
    K: Unpin

impl<K> UnwindSafe for Bip44<K> where
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44Public.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44Public.html index bd4bf33d93..5c72650f19 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44Public.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip44Public.html @@ -1,7 +1,7 @@ Bip44Public in bdk::descriptor::template - Rust

Struct bdk::descriptor::template::Bip44Public[][src]

pub struct Bip44Public<K: DerivableKey<Legacy>>(pub K, pub Fingerprint, pub KeychainKind);

BIP44 public template. Expands to pkh(key/{0,1}/*)

+ Change settings

Struct bdk::descriptor::template::Bip44Public[][src]

pub struct Bip44Public<K: DerivableKey<Legacy>>(pub K, pub Fingerprint, pub KeychainKind);
Expand description

BIP44 public template. Expands to pkh(key/{0,1}/*)

This assumes that the key used has already been derived with m/44'/0'/0'.

This template requires the parent fingerprint to populate correctly the metadata of PSBTs.

See Bip44 for a template that does the full derivation, but requires private data @@ -21,7 +21,7 @@ for the key.

assert_eq!(wallet.get_address(New)?.to_string(), "miNG7dJTzJqNbFS19svRdTCisC65dsubtR"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "pkh([c55b303f/44'/0'/0']tpubDDDzQ31JkZB7VxUr9bjvBivDdqoFLrDPyLWtLapArAi51ftfmCb2DPxwLQzX65iNcXz1DGaVvyvo6JQ6rTU73r2gqdEo8uov9QKRb7nKCSU/0/*)#xgaaevjx");
-

Trait Implementations

impl<K: DerivableKey<Legacy>> DescriptorTemplate for Bip44Public<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

+

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for Bip44Public<K> where
    K: RefUnwindSafe

impl<K> Send for Bip44Public<K> where
    K: Send

impl<K> Sync for Bip44Public<K> where
    K: Sync

impl<K> Unpin for Bip44Public<K> where
    K: Unpin

impl<K> UnwindSafe for Bip44Public<K> where
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49.html index 3261a3f1d2..97fd01de4a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49.html @@ -1,7 +1,7 @@ Bip49 in bdk::descriptor::template - Rust

Struct bdk::descriptor::template::Bip49[][src]

pub struct Bip49<K: DerivableKey<Segwitv0>>(pub K, pub KeychainKind);

BIP49 template. Expands to sh(wpkh(key/49'/0'/0'/{0,1}/*))

+ Change settings

Struct bdk::descriptor::template::Bip49[][src]

pub struct Bip49<K: DerivableKey<Segwitv0>>(pub K, pub KeychainKind);
Expand description

BIP49 template. Expands to sh(wpkh(key/49'/0'/0'/{0,1}/*))

Since there are hardened derivation steps, this template requires a private derivable key (generally a xprv/tprv).

See Bip49Public for a template that can work with a xpub/tpub.

Example

@@ -18,7 +18,7 @@ assert_eq!(wallet.get_address(New)?.to_string(), "2N3K4xbVAHoiTQSwxkZjWDfKoNC27pLkYnt"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "sh(wpkh([c55b303f/49\'/0\'/0\']tpubDC49r947KGK52X5rBWS4BLs5m9SRY3pYHnvRrm7HcybZ3BfdEsGFyzCMzayi1u58eT82ZeyFZwH7DD6Q83E3fM9CpfMtmnTygnLfP59jL9L/0/*))#gsmdv4xr");
-

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip49<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

+

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip49<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

Auto Trait Implementations

impl<K> RefUnwindSafe for Bip49<K> where
    K: RefUnwindSafe

impl<K> Send for Bip49<K> where
    K: Send

impl<K> Sync for Bip49<K> where
    K: Sync

impl<K> Unpin for Bip49<K> where
    K: Unpin

impl<K> UnwindSafe for Bip49<K> where
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49Public.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49Public.html index 13fa6c4f04..54c23a29c1 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49Public.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip49Public.html @@ -1,7 +1,7 @@ Bip49Public in bdk::descriptor::template - Rust

Struct bdk::descriptor::template::Bip49Public[][src]

pub struct Bip49Public<K: DerivableKey<Segwitv0>>(pub K, pub Fingerprint, pub KeychainKind);

BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))

+ Change settings

Struct bdk::descriptor::template::Bip49Public[][src]

pub struct Bip49Public<K: DerivableKey<Segwitv0>>(pub K, pub Fingerprint, pub KeychainKind);
Expand description

BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))

This assumes that the key used has already been derived with m/49'/0'/0'.

This template requires the parent fingerprint to populate correctly the metadata of PSBTs.

See Bip49 for a template that does the full derivation, but requires private data @@ -21,7 +21,7 @@ for the key.

assert_eq!(wallet.get_address(New)?.to_string(), "2N3K4xbVAHoiTQSwxkZjWDfKoNC27pLkYnt"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "sh(wpkh([c55b303f/49\'/0\'/0\']tpubDC49r947KGK52X5rBWS4BLs5m9SRY3pYHnvRrm7HcybZ3BfdEsGFyzCMzayi1u58eT82ZeyFZwH7DD6Q83E3fM9CpfMtmnTygnLfP59jL9L/0/*))#gsmdv4xr");
-

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip49Public<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

+

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for Bip49Public<K> where
    K: RefUnwindSafe

impl<K> Send for Bip49Public<K> where
    K: Send

impl<K> Sync for Bip49Public<K> where
    K: Sync

impl<K> Unpin for Bip49Public<K> where
    K: Unpin

impl<K> UnwindSafe for Bip49Public<K> where
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84.html index 1c79ba1e4a..06670108a4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84.html @@ -1,7 +1,7 @@ Bip84 in bdk::descriptor::template - Rust

Struct bdk::descriptor::template::Bip84[][src]

pub struct Bip84<K: DerivableKey<Segwitv0>>(pub K, pub KeychainKind);

BIP84 template. Expands to wpkh(key/84'/0'/0'/{0,1}/*)

+ Change settings

Struct bdk::descriptor::template::Bip84[][src]

pub struct Bip84<K: DerivableKey<Segwitv0>>(pub K, pub KeychainKind);
Expand description

BIP84 template. Expands to wpkh(key/84'/0'/0'/{0,1}/*)

Since there are hardened derivation steps, this template requires a private derivable key (generally a xprv/tprv).

See Bip84Public for a template that can work with a xpub/tpub.

Example

@@ -18,7 +18,7 @@ assert_eq!(wallet.get_address(New)?.to_string(), "tb1qedg9fdlf8cnnqfd5mks6uz5w4kgpk2pr6y4qc7"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "wpkh([c55b303f/84\'/0\'/0\']tpubDC2Qwo2TFsaNC4ju8nrUJ9mqVT3eSgdmy1yPqhgkjwmke3PRXutNGRYAUo6RCHTcVQaDR3ohNU9we59brGHuEKPvH1ags2nevW5opEE9Z5Q/0/*)#nkk5dtkg");
-

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip84<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

+

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip84<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

Auto Trait Implementations

impl<K> RefUnwindSafe for Bip84<K> where
    K: RefUnwindSafe

impl<K> Send for Bip84<K> where
    K: Send

impl<K> Sync for Bip84<K> where
    K: Sync

impl<K> Unpin for Bip84<K> where
    K: Unpin

impl<K> UnwindSafe for Bip84<K> where
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84Public.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84Public.html index db1f82bf60..61859ad44c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84Public.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.Bip84Public.html @@ -1,7 +1,7 @@ Bip84Public in bdk::descriptor::template - Rust

Struct bdk::descriptor::template::Bip84Public[][src]

pub struct Bip84Public<K: DerivableKey<Segwitv0>>(pub K, pub Fingerprint, pub KeychainKind);

BIP84 public template. Expands to wpkh(key/{0,1}/*)

+ Change settings

Struct bdk::descriptor::template::Bip84Public[][src]

pub struct Bip84Public<K: DerivableKey<Segwitv0>>(pub K, pub Fingerprint, pub KeychainKind);
Expand description

BIP84 public template. Expands to wpkh(key/{0,1}/*)

This assumes that the key used has already been derived with m/84'/0'/0'.

This template requires the parent fingerprint to populate correctly the metadata of PSBTs.

See Bip84 for a template that does the full derivation, but requires private data @@ -21,7 +21,7 @@ for the key.

assert_eq!(wallet.get_address(New)?.to_string(), "tb1qedg9fdlf8cnnqfd5mks6uz5w4kgpk2pr6y4qc7"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "wpkh([c55b303f/84\'/0\'/0\']tpubDC2Qwo2TFsaNC4ju8nrUJ9mqVT3eSgdmy1yPqhgkjwmke3PRXutNGRYAUo6RCHTcVQaDR3ohNU9we59brGHuEKPvH1ags2nevW5opEE9Z5Q/0/*)#nkk5dtkg");
-

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip84Public<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

+

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for Bip84Public<K> where
    K: RefUnwindSafe

impl<K> Send for Bip84Public<K> where
    K: Send

impl<K> Sync for Bip84Public<K> where
    K: Sync

impl<K> Unpin for Bip84Public<K> where
    K: Unpin

impl<K> UnwindSafe for Bip84Public<K> where
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Pkh.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Pkh.html index 92f29683ad..f9777a8d2e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Pkh.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Pkh.html @@ -1,7 +1,7 @@ P2Pkh in bdk::descriptor::template - Rust

Struct bdk::descriptor::template::P2Pkh[][src]

pub struct P2Pkh<K: IntoDescriptorKey<Legacy>>(pub K);

P2PKH template. Expands to a descriptor pkh(key)

+ Change settings

Struct bdk::descriptor::template::P2Pkh[][src]

pub struct P2Pkh<K: IntoDescriptorKey<Legacy>>(pub K);
Expand description

P2PKH template. Expands to a descriptor pkh(key)

Example

 use bdk::template::P2Pkh;
@@ -19,7 +19,7 @@
     wallet.get_address(New)?.to_string(),
     "mwJ8hxFYW19JLuc65RCTaP4v1rzVU8cVMT"
 );
-

Trait Implementations

impl<K: IntoDescriptorKey<Legacy>> DescriptorTemplate for P2Pkh<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

+

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for P2Pkh<K> where
    K: RefUnwindSafe

impl<K> Send for P2Pkh<K> where
    K: Send

impl<K> Sync for P2Pkh<K> where
    K: Sync

impl<K> Unpin for P2Pkh<K> where
    K: Unpin

impl<K> UnwindSafe for P2Pkh<K> where
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh.html index d55b106a0e..a6a24c74c9 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh.html @@ -1,7 +1,7 @@ P2Wpkh in bdk::descriptor::template - Rust

Struct bdk::descriptor::template::P2Wpkh[][src]

pub struct P2Wpkh<K: IntoDescriptorKey<Segwitv0>>(pub K);

P2WPKH template. Expands to a descriptor wpkh(key)

+ Change settings

Struct bdk::descriptor::template::P2Wpkh[][src]

pub struct P2Wpkh<K: IntoDescriptorKey<Segwitv0>>(pub K);
Expand description

P2WPKH template. Expands to a descriptor wpkh(key)

Example

 use bdk::template::P2Wpkh;
@@ -19,7 +19,7 @@
     wallet.get_address(New)?.to_string(),
     "tb1q4525hmgw265tl3drrl8jjta7ayffu6jf68ltjd"
 );
-

Trait Implementations

impl<K: IntoDescriptorKey<Segwitv0>> DescriptorTemplate for P2Wpkh<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

+

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for P2Wpkh<K> where
    K: RefUnwindSafe

impl<K> Send for P2Wpkh<K> where
    K: Send

impl<K> Sync for P2Wpkh<K> where
    K: Sync

impl<K> Unpin for P2Wpkh<K> where
    K: Unpin

impl<K> UnwindSafe for P2Wpkh<K> where
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh_P2Sh.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh_P2Sh.html index 24a05b66f7..1050bdfd70 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh_P2Sh.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2Wpkh_P2Sh.html @@ -1,7 +1,7 @@ P2Wpkh_P2Sh in bdk::descriptor::template - Rust

Struct bdk::descriptor::template::P2Wpkh_P2Sh[][src]

pub struct P2Wpkh_P2Sh<K: IntoDescriptorKey<Segwitv0>>(pub K);

P2WPKH-P2SH template. Expands to a descriptor sh(wpkh(key))

+ Change settings

Struct bdk::descriptor::template::P2Wpkh_P2Sh[][src]

pub struct P2Wpkh_P2Sh<K: IntoDescriptorKey<Segwitv0>>(pub K);
Expand description

P2WPKH-P2SH template. Expands to a descriptor sh(wpkh(key))

Example

 use bdk::template::P2Wpkh_P2Sh;
@@ -19,7 +19,7 @@
     wallet.get_address(New)?.to_string(),
     "2NB4ox5VDRw1ecUv6SnT3VQHPXveYztRqk5"
 );
-

Trait Implementations

impl<K: IntoDescriptorKey<Segwitv0>> DescriptorTemplate for P2Wpkh_P2Sh<K>[src]

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

+

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for P2Wpkh_P2Sh<K> where
    K: RefUnwindSafe

impl<K> Send for P2Wpkh_P2Sh<K> where
    K: Send

impl<K> Sync for P2Wpkh_P2Sh<K> where
    K: Sync

impl<K> Unpin for P2Wpkh_P2Sh<K> where
    K: Unpin

impl<K> UnwindSafe for P2Wpkh_P2Sh<K> where
    K: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html index ef266ff94d..fcc73cc25d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html @@ -1,9 +1,9 @@ DescriptorTemplate in bdk::descriptor::template - Rust

Trait bdk::descriptor::template::DescriptorTemplate[][src]

pub trait DescriptorTemplate {
+                Change settings

Trait bdk::descriptor::template::DescriptorTemplate[][src]

pub trait DescriptorTemplate {
     fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>;
-}

Trait for descriptor templates that can be built into a full descriptor

+}
Expand description

Trait for descriptor templates that can be built into a full descriptor

Since IntoWalletDescriptor is implemented for any DescriptorTemplate, they can also be passed directly to the Wallet constructor.

Example

@@ -20,6 +20,6 @@ passed directly to the WalletOk(bdk::descriptor!(pkh(self.0))?) } }
-

Required methods

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

-
Loading content...

Implementors

impl<K: DerivableKey<Legacy>> DescriptorTemplate for Bip44Public<K>[src]

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip49<K>[src]

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip49Public<K>[src]

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip84<K>[src]

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for Bip84Public<K>[src]

impl<K: IntoDescriptorKey<Legacy>> DescriptorTemplate for P2Pkh<K>[src]

impl<K: IntoDescriptorKey<Segwitv0>> DescriptorTemplate for P2Wpkh<K>[src]

impl<K: IntoDescriptorKey<Segwitv0>> DescriptorTemplate for P2Wpkh_P2Sh<K>[src]

Loading content...
+

Required methods

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Expand description

Build the complete descriptor

+
Loading content...

Implementors

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html index 8971fa6a5c..1e1060f939 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html @@ -1,7 +1,7 @@ DescriptorTemplateOut in bdk::descriptor::template - Rust

Type Definition bdk::descriptor::template::DescriptorTemplateOut[][src]

type DescriptorTemplateOut = (ExtendedDescriptor, KeyMap, ValidNetworks);

Type alias for the return type of DescriptorTemplate, descriptor! and others

-

Trait Implementations

impl IntoWalletDescriptor for DescriptorTemplateOut[src]

fn into_wallet_descriptor(
    self,
    _secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Convert to wallet descriptor

+ Change settings

Type Definition bdk::descriptor::template::DescriptorTemplateOut[][src]

type DescriptorTemplateOut = (ExtendedDescriptor, KeyMap, ValidNetworks);
Expand description

Type alias for the return type of DescriptorTemplate, descriptor! and others

+

Trait Implementations

impl IntoWalletDescriptor for DescriptorTemplateOut[src]

fn into_wallet_descriptor(
    self,
    _secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Convert to wallet descriptor

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html index 1739a4dd54..3d8d028b44 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html @@ -1,9 +1,9 @@ ExtractPolicy in bdk::descriptor - Rust

Trait bdk::descriptor::ExtractPolicy[][src]

pub trait ExtractPolicy {
+                Change settings

Trait bdk::descriptor::ExtractPolicy[][src]

pub trait ExtractPolicy {
     fn extract_policy(
        &self,
        signers: &SignersContainer,
        psbt: BuildSatisfaction<'_>,
        secp: &Secp256k1<All>
    ) -> Result<Option<Policy>, DescriptorError>; -}

Trait implemented on Descriptors to add a method to extract the spending policy

-

Required methods

fn extract_policy(
    &self,
    signers: &SignersContainer,
    psbt: BuildSatisfaction<'_>,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, DescriptorError>
[src]

Extract the spending policy

-
Loading content...

Implementors

impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

fn extract_policy(
    &self,
    signers: &SignersContainer,
    build_sat: BuildSatisfaction<'_>,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, Error>
[src]

impl<Ctx: ScriptContext> ExtractPolicy for Miniscript<DescriptorPublicKey, Ctx>[src]

fn extract_policy(
    &self,
    signers: &SignersContainer,
    build_sat: BuildSatisfaction<'_>,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, Error>
[src]

Loading content...
+}
Expand description

Trait implemented on Descriptors to add a method to extract the spending policy

+

Required methods

fn extract_policy(
    &self,
    signers: &SignersContainer,
    psbt: BuildSatisfaction<'_>,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, DescriptorError>
[src]

Expand description

Extract the spending policy

+
Loading content...

Implementors

impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

fn extract_policy(
    &self,
    signers: &SignersContainer,
    build_sat: BuildSatisfaction<'_>,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, Error>
[src]

impl<Ctx: ScriptContext> ExtractPolicy for Miniscript<DescriptorPublicKey, Ctx>[src]

fn extract_policy(
    &self,
    signers: &SignersContainer,
    build_sat: BuildSatisfaction<'_>,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, Error>
[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html index 4c89d97836..b88f326ae2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html @@ -1,11 +1,11 @@ IntoWalletDescriptor in bdk::descriptor - Rust

Trait bdk::descriptor::IntoWalletDescriptor[][src]

pub trait IntoWalletDescriptor {
+                Change settings

Trait bdk::descriptor::IntoWalletDescriptor[][src]

pub trait IntoWalletDescriptor {
     fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>; -}

Trait for types which can be converted into an ExtendedDescriptor and a KeyMap usable by a wallet in a specific [Network]

-

Required methods

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Convert to wallet descriptor

-
Loading content...

Implementations on Foreign Types

impl IntoWalletDescriptor for &str[src]

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

impl IntoWalletDescriptor for &String[src]

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

impl IntoWalletDescriptor for (ExtendedDescriptor, KeyMap)[src]

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Loading content...

Implementors

impl IntoWalletDescriptor for DescriptorTemplateOut[src]

fn into_wallet_descriptor(
    self,
    _secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

impl IntoWalletDescriptor for ExtendedDescriptor[src]

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

impl<T: DescriptorTemplate> IntoWalletDescriptor for T[src]

Turns a DescriptorTemplate into a valid wallet descriptor by calling its +}

Expand description

Trait for types which can be converted into an ExtendedDescriptor and a KeyMap usable by a wallet in a specific [Network]

+

Required methods

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Expand description

Convert to wallet descriptor

+
Loading content...

Implementations on Foreign Types

impl IntoWalletDescriptor for &str[src]

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

impl IntoWalletDescriptor for &String[src]

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

impl IntoWalletDescriptor for (ExtendedDescriptor, KeyMap)[src]

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Loading content...

Implementors

impl IntoWalletDescriptor for DescriptorTemplateOut[src]

fn into_wallet_descriptor(
    self,
    _secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

impl IntoWalletDescriptor for ExtendedDescriptor[src]

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

impl<T: DescriptorTemplate> IntoWalletDescriptor for T[src]

Turns a DescriptorTemplate into a valid wallet descriptor by calling its build method

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html index aa4edc5079..ffacad4b2e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html @@ -1,7 +1,7 @@ ScriptContext in bdk::descriptor - Rust

Trait bdk::descriptor::ScriptContext[]

pub trait ScriptContext: Debug + Clone + Ord + PartialOrd<Self> + Eq + PartialEq<Self> + Sealed {
+                Change settings

Trait bdk::descriptor::ScriptContext[]

pub trait ScriptContext: Debug + Clone + Ord + PartialOrd<Self> + Eq + PartialEq<Self> + Sealed {
     fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError>
    where
        Ctx: ScriptContext,
        Pk: MiniscriptKey
;
fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize>
    where
        Ctx: ScriptContext,
        Pk: MiniscriptKey
; @@ -25,11 +25,11 @@ { ... }
fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error>
    where
        Ctx: ScriptContext,
        Pk: MiniscriptKey
, { ... } -}

The ScriptContext for Miniscript. Additional type information associated with +}

Expand description

The ScriptContext for Miniscript. Additional type information associated with miniscript that is used for carrying out checks that dependent on the context under which the script is used. For example, disallowing uncompressed keys in Segwit context

-

Required methods

fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on ScriptContext, fragments can be malleable. For Example, +

Required methods

fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Depending on ScriptContext, fragments can be malleable. For Example, under Legacy context, PkH is malleable because it is possible to estimate the cost of satisfaction because of compressed keys This is currently only used in compiler code for removing malleable @@ -37,11 +37,11 @@ compilations. This does NOT recursively check if the children of the fragment are valid or not. Since the compilation proceeds in a leaf to root fashion, a recursive check is unnecessary.

-

fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script context, the size of a satifaction witness may slightly differ.

-
Loading content...

Provided methods

fn check_witness<Pk, Ctx>(
    _witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the given satisfaction is valid under the ScriptContext +

fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Depending on script context, the size of a satifaction witness may slightly differ.

+
Loading content...

Provided methods

fn check_witness<Pk, Ctx>(
    _witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Check whether the given satisfaction is valid under the ScriptContext For example, segwit satisfactions may fail if the witness len is more 3600 or number of stack elements are more than 100.

-

fn check_global_consensus_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the Terminals might not +

fn check_global_consensus_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Depending on script Context, some of the Terminals might not be valid under the current consensus rules. Or some of the script resource limits may have been exceeded. These miniscripts would never be accepted by the Bitcoin network and hence @@ -51,7 +51,7 @@ uncompressed public keys are non-standard and thus invalid. In LegacyP2SH context, scripts above 520 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments.

-

fn check_global_policy_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the script resource limits +

fn check_global_policy_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Depending on script Context, some of the script resource limits may have been exceeded under the current bitcoin core policy rules These miniscripts would never be accepted by the Bitcoin network and hence it is safe to discard them. (unless explicitly disabled by non-standard flag) @@ -59,21 +59,21 @@ For example, in Segwit Context with MiniscriptKey as bitcoin::PublicKey scripts over 3600 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments.

-

fn check_local_consensus_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Consensus rules at the Miniscript satisfaction time. +

fn check_local_consensus_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Consensus rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path(Legacy/Segwitv0) may require more than 201 opcodes.

-

fn check_local_policy_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Policy rules at the Miniscript satisfaction time. +

fn check_local_policy_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Policy rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path in Legacy context scriptSig more than 1650 bytes

-

fn check_global_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules that are not based +

fn check_global_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Check the consensus + policy(if not disabled) rules that are not based satisfaction

-

fn check_local_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules including the +

fn check_local_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Check the consensus + policy(if not disabled) rules including the ones for satisfaction

-

fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the top-level is type B

-

fn other_top_level_checks<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Other top level checks that are context specific

-

fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check top level consensus rules.

-
Loading content...

Implementations on Foreign Types

impl ScriptContext for BareCtx

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn other_top_level_checks<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Loading content...

Implementors

impl ScriptContext for Legacy

pub fn check_terminal_non_malleable<Pk, Ctx>(
    frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl ScriptContext for Segwitv0

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Loading content...
+

fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Check whether the top-level is type B

+

fn other_top_level_checks<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Other top level checks that are context specific

+

fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Check top level consensus rules.

+
Loading content...

Implementations on Foreign Types

impl ScriptContext for BareCtx

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn other_top_level_checks<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Loading content...

Implementors

impl ScriptContext for Legacy

pub fn check_terminal_non_malleable<Pk, Ctx>(
    frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl ScriptContext for Segwitv0

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.DerivedDescriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.DerivedDescriptor.html index 502164ee64..02195871d5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.DerivedDescriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.DerivedDescriptor.html @@ -1,6 +1,6 @@ DerivedDescriptor in bdk::descriptor - Rust

Type Definition bdk::descriptor::DerivedDescriptor[][src]

type DerivedDescriptor<'s> = Descriptor<DerivedDescriptorKey<'s>>;

Alias for a Descriptor that contains extended derived keys

-
+ Change settings

Type Definition bdk::descriptor::DerivedDescriptor[][src]

type DerivedDescriptor<'s> = Descriptor<DerivedDescriptorKey<'s>>;
Expand description

Alias for a Descriptor that contains extended derived keys

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html index 133e94885d..98e4013b6d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html @@ -1,7 +1,7 @@ ExtendedDescriptor in bdk::descriptor - Rust

Type Definition bdk::descriptor::ExtendedDescriptor[][src]

type ExtendedDescriptor = Descriptor<DescriptorPublicKey>;

Alias for a Descriptor that can contain extended keys using DescriptorPublicKey

-

Trait Implementations

impl IntoWalletDescriptor for ExtendedDescriptor[src]

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Convert to wallet descriptor

+ Change settings

Type Definition bdk::descriptor::ExtendedDescriptor[][src]

type ExtendedDescriptor = Descriptor<DescriptorPublicKey>;
Expand description

Alias for a Descriptor that can contain extended keys using DescriptorPublicKey

+

Trait Implementations

impl IntoWalletDescriptor for ExtendedDescriptor[src]

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Convert to wallet descriptor

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.HdKeyPaths.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.HdKeyPaths.html index d21e29c302..762633d5d9 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.HdKeyPaths.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.HdKeyPaths.html @@ -1,7 +1,7 @@ HdKeyPaths in bdk::descriptor - Rust

Type Definition bdk::descriptor::HdKeyPaths[][src]

type HdKeyPaths = BTreeMap<PublicKey, KeySource>;

Alias for the type of maps that represent derivation paths in a psbt::Input or + Change settings

Type Definition bdk::descriptor::HdKeyPaths[][src]

type HdKeyPaths = BTreeMap<PublicKey, KeySource>;
Expand description

Alias for the type of maps that represent derivation paths in a psbt::Input or psbt::Output

-
+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.KeyMap.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.KeyMap.html index c340f2f841..00e149d3a0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.KeyMap.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.KeyMap.html @@ -1,10 +1,10 @@ KeyMap in bdk::descriptor - Rust

Type Definition bdk::descriptor::KeyMap[]

type KeyMap = HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>;

Alias type for a map of public key to secret key

+ Change settings

Type Definition bdk::descriptor::KeyMap[]

type KeyMap = HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>;
Expand description

Alias type for a map of public key to secret key

This map is returned whenever a descriptor that contains secrets is parsed using Descriptor::parse_descriptor, since the descriptor will always only contain public keys. This map allows looking up the corresponding secret key given a public key from the descriptor.

-
+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html b/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html index 7b91e3c9c9..e23b873ca3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html @@ -1,7 +1,7 @@ Error in bdk - Rust

Enum bdk::Error[][src]

pub enum Error {
+                Change settings

Enum bdk::Error[][src]

pub enum Error {
 
Show variants InvalidU32Bytes(Vec<u8>), Generic(String), ScriptDoesntHaveAddressForm, @@ -48,57 +48,57 @@ Esplora(EsploraError), CompactFilters(CompactFiltersError), Sled(Error), -
}

Errors that can be thrown by the Wallet

-

+}
Expand description

Errors that can be thrown by the Wallet

+

Variants

-
InvalidU32Bytes(Vec<u8>)

Wrong number of bytes found when trying to convert to u32

-
Generic(String)

Generic error

-
ScriptDoesntHaveAddressForm

This error is thrown when trying to convert Bare and Public key script to address

-
SingleRecipientMultipleOutputs

Found multiple outputs when single_recipient option has been specified

-
SingleRecipientNoInputs

single_recipient option is selected but neither drain_wallet nor manually_selected_only are

-
NoRecipients

Cannot build a tx without recipients

-
NoUtxosSelected

manually_selected_only option is selected but no utxo has been passed

-
OutputBelowDustLimit(usize)

Output created is under the dust limit, 546 satoshis

-
InsufficientFunds

Wallet’s UTXO set is not enough to cover recipient’s requested plus fee

-
Show fields

Fields of InsufficientFunds

needed: u64

Sats needed for some transaction

-
available: u64

Sats available for spending

-
BnBTotalTriesExceeded

Branch and bound coin selection possible attempts with sufficiently big UTXO set could grow +

InvalidU32Bytes(Vec<u8>)
Expand description

Wrong number of bytes found when trying to convert to u32

+
Generic(String)
Expand description

Generic error

+
ScriptDoesntHaveAddressForm
Expand description

This error is thrown when trying to convert Bare and Public key script to address

+
SingleRecipientMultipleOutputs
Expand description

Found multiple outputs when single_recipient option has been specified

+
SingleRecipientNoInputs
Expand description

single_recipient option is selected but neither drain_wallet nor manually_selected_only are

+
NoRecipients
Expand description

Cannot build a tx without recipients

+
NoUtxosSelected
Expand description

manually_selected_only option is selected but no utxo has been passed

+
OutputBelowDustLimit(usize)
Expand description

Output created is under the dust limit, 546 satoshis

+
InsufficientFunds
Expand description

Wallet’s UTXO set is not enough to cover recipient’s requested plus fee

+
Show fields

Fields of InsufficientFunds

needed: u64
Expand description

Sats needed for some transaction

+
available: u64
Expand description

Sats available for spending

+
BnBTotalTriesExceeded
Expand description

Branch and bound coin selection possible attempts with sufficiently big UTXO set could grow exponentially, thus a limit is set, and when hit, this error is thrown

-
BnBNoExactMatch

Branch and bound coin selection tries to avoid needing a change by finding the right inputs for +

BnBNoExactMatch
Expand description

Branch and bound coin selection tries to avoid needing a change by finding the right inputs for the desired outputs plus fee, if there is not such combination this error is thrown

-
UnknownUtxo

Happens when trying to spend an UTXO that is not in the internal database

-
TransactionNotFound

Thrown when a tx is not found in the internal database

-
TransactionConfirmed

Happens when trying to bump a transaction that is already confirmed

-
IrreplaceableTransaction

Trying to replace a tx that has a sequence >= 0xFFFFFFFE

-
FeeRateTooLow

When bumping a tx the fee rate requested is lower than required

-
Show fields

Fields of FeeRateTooLow

required: FeeRate

Required fee rate (satoshi/vbyte)

-
FeeTooLow

When bumping a tx the absolute fee requested is lower than replaced tx absolute fee

-
Show fields

Fields of FeeTooLow

required: u64

Required fee absolute value (satoshi)

-
MissingKeyOrigin(String)

In order to use the TxBuilder::add_global_xpubs option every extended +

UnknownUtxo
Expand description

Happens when trying to spend an UTXO that is not in the internal database

+
TransactionNotFound
Expand description

Thrown when a tx is not found in the internal database

+
TransactionConfirmed
Expand description

Happens when trying to bump a transaction that is already confirmed

+
IrreplaceableTransaction
Expand description

Trying to replace a tx that has a sequence >= 0xFFFFFFFE

+
FeeRateTooLow
Expand description

When bumping a tx the fee rate requested is lower than required

+
Show fields

Fields of FeeRateTooLow

required: FeeRate
Expand description

Required fee rate (satoshi/vbyte)

+
FeeTooLow
Expand description

When bumping a tx the absolute fee requested is lower than replaced tx absolute fee

+
Show fields

Fields of FeeTooLow

required: u64
Expand description

Required fee absolute value (satoshi)

+
MissingKeyOrigin(String)
Expand description

In order to use the TxBuilder::add_global_xpubs option every extended key in the descriptor must either be a master key itself (having depth = 0) or have an explicit origin provided

-

Error while working with keys

-
ChecksumMismatch

Descriptor checksum mismatch

-
SpendingPolicyRequired(KeychainKind)

Spending policy is not compatible with this KeychainKind

-
InvalidPolicyPathError(PolicyError)

Error while extracting and manipulating policies

-
Signer(SignerError)

Signing error

-
InvalidProgressValue(f32)

Progress value must be between 0.0 (included) and 100.0 (included)

-
ProgressUpdateError

Progress update error (maybe the channel has been closed)

-
InvalidOutpoint(OutPoint)

Requested outpoint doesn’t exist in the tx (vout greater than available outputs)

-
Descriptor(Error)

Error related to the parsing and usage of descriptors

-
AddressValidator(AddressValidatorError)

Error that can be returned to fail the validation of an address

-
Encode(Error)

Encoding error

-
Miniscript(Error)

Miniscript error

-
Bip32(Error)

BIP32 error

-
Secp256k1(Error)

An ECDSA error

-
Json(Error)

Error serializing or deserializing JSON data

-
Hex(Error)

Hex decoding error

-
Psbt(Error)

Partially signed bitcoin transaction error

-
Electrum(Error)

Electrum client error

-
Esplora(EsploraError)

Esplora client error

-
CompactFilters(CompactFiltersError)

Compact filters client error)

-
Sled(Error)

Sled database error

-

Trait Implementations

impl Debug for Error[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+
Expand description

Error while working with keys

+
ChecksumMismatch
Expand description

Descriptor checksum mismatch

+
SpendingPolicyRequired(KeychainKind)
Expand description

Spending policy is not compatible with this KeychainKind

+
InvalidPolicyPathError(PolicyError)
Expand description

Error while extracting and manipulating policies

+
Signer(SignerError)
Expand description

Signing error

+
InvalidProgressValue(f32)
Expand description

Progress value must be between 0.0 (included) and 100.0 (included)

+
ProgressUpdateError
Expand description

Progress update error (maybe the channel has been closed)

+
InvalidOutpoint(OutPoint)
Expand description

Requested outpoint doesn’t exist in the tx (vout greater than available outputs)

+
Descriptor(Error)
Expand description

Error related to the parsing and usage of descriptors

+
AddressValidator(AddressValidatorError)
Expand description

Error that can be returned to fail the validation of an address

+
Encode(Error)
Expand description

Encoding error

+
Miniscript(Error)
Expand description

Miniscript error

+
Bip32(Error)
Expand description

BIP32 error

+
Secp256k1(Error)
Expand description

An ECDSA error

+
Json(Error)
Expand description

Error serializing or deserializing JSON data

+
Hex(Error)
Expand description

Hex decoding error

+
Psbt(Error)
Expand description

Partially signed bitcoin transaction error

+
Electrum(Error)
Expand description

Electrum client error

+
Esplora(EsploraError)
Expand description

Esplora client error

+
CompactFilters(CompactFiltersError)
Expand description

Compact filters client error)

+
Sled(Error)
Expand description

Sled database error

+

Trait Implementations

impl Debug for Error[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for Error[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Error for Error[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html b/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html index 3d2269fe3c..af78c49c16 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html @@ -1,15 +1,15 @@ KeychainKind in bdk - Rust

Enum bdk::KeychainKind[][src]

pub enum KeychainKind {
+                Change settings

Enum bdk::KeychainKind[][src]

pub enum KeychainKind {
     External,
     Internal,
-}

Types of keychains

-

+}

Expand description

Types of keychains

+

Variants

-
External

External

-
Internal

Internal, usually used for change outputs

-

Implementations

impl KeychainKind[src]

pub fn as_byte(&self) -> u8[src]

Return KeychainKind as a byte

+
External
Expand description

External

+
Internal
Expand description

Internal, usually used for change outputs

+

Implementations

impl KeychainKind[src]

pub fn as_byte(&self) -> u8[src]

Return KeychainKind as a byte

Trait Implementations

impl AsRef<[u8]> for KeychainKind[src]

fn as_ref(&self) -> &[u8][src]

Performs the conversion.

impl Clone for KeychainKind[src]

fn clone(&self) -> KeychainKind[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html b/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html index bf0eca1508..3d8092e418 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html @@ -1,20 +1,20 @@ Utxo in bdk - Rust

Enum bdk::Utxo[][src]

pub enum Utxo {
+                Change settings

Enum bdk::Utxo[][src]

pub enum Utxo {
     Local(LocalUtxo),
     Foreign {
         outpoint: OutPoint,
         psbt_input: Box<Input>,
     },
-}

An unspent transaction output (UTXO).

-

+}

Expand description

An unspent transaction output (UTXO).

+

Variants

-
Local(LocalUtxo)

A UTXO owned by the local wallet.

-
Foreign

A UTXO owned by another wallet.

-
Show fields

Fields of Foreign

outpoint: OutPoint

The location of the output.

-
psbt_input: Box<Input>

The information about the input we require to add it to a PSBT.

-

Implementations

impl Utxo[src]

pub fn outpoint(&self) -> OutPoint[src]

Get the location of the UTXO

+
Local(LocalUtxo)
Expand description

A UTXO owned by the local wallet.

+
Foreign
Expand description

A UTXO owned by another wallet.

+
Show fields

Fields of Foreign

outpoint: OutPoint
Expand description

The location of the output.

+
psbt_input: Box<Input>
Expand description

The information about the input we require to add it to a PSBT.

+

Implementations

impl Utxo[src]

pub fn outpoint(&self) -> OutPoint[src]

Get the location of the UTXO

pub fn txout(&self) -> &TxOut[src]

Get the TxOut of the UTXO

Trait Implementations

impl Clone for Utxo[src]

fn clone(&self) -> Utxo[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html b/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html index 82377436ec..dcb88e61a7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html @@ -1,6 +1,6 @@ version in bdk - Rust

Function bdk::version[][src]

pub fn version() -> &'static str

Get the version of BDK at runtime

-
+ Change settings

Function bdk::version[][src]

pub fn version() -> &'static str
Expand description

Get the version of BDK at runtime

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/index.html b/static/docs-rs/bdk/nightly/latest/bdk/index.html index b1dab66a2d..d8fcd2ddf8 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/index.html @@ -1,7 +1,7 @@ bdk - Rust

Crate bdk[][src]

A modern, lightweight, descriptor-based wallet library written in Rust.

+ Change settings

Crate bdk[][src]

Expand description

A modern, lightweight, descriptor-based wallet library written in Rust.

About

The BDK library aims to be the core building block for Bitcoin wallets of any kind.

    @@ -148,7 +148,7 @@ BDK.

  • esplora: esplora client protocol for interacting with blockstream electrs servers
  • key-value-db: key value database based on sled for caching blockchain data
-

Re-exports

+

Re-exports

pub extern crate bitcoin;
pub extern crate electrum_client;
pub extern crate miniscript;
pub extern crate reqwest;
pub extern crate sled;
pub use descriptor::template;
pub use descriptor::HdKeyPaths;
pub use wallet::address_validator;
pub use wallet::signer;
pub use wallet::signer::SignOptions;
pub use wallet::tx_builder::TxBuilder;
pub use wallet::Wallet;

Modules

blockchain

Blockchain backends

database

Database types

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html index da1f99c143..0b72510c13 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html @@ -1,7 +1,7 @@ Language in bdk::keys::bip39 - Rust

Enum bdk::keys::bip39::Language[]

pub enum Language {
+                Change settings

Enum bdk::keys::bip39::Language[]

pub enum Language {
     English,
     ChineseSimplified,
     ChineseTraditional,
@@ -10,11 +10,11 @@
     Japanese,
     Korean,
     Spanish,
-}
This is supported on crate feature keys-bip39 only.

The language determines which words will be used in a mnemonic phrase, but also indirectly +}

This is supported on crate feature keys-bip39 only.
Expand description

The language determines which words will be used in a mnemonic phrase, but also indirectly determines the binary value of each word when a Mnemonic is turned into a Seed.

These are not of much use right now, and may even be removed from the crate, as there is no official language specified by the standard except English.

-

+

Variants

English
ChineseSimplified
ChineseTraditional
French
Italian
Japanese
Korean
Spanish

Implementations

impl Language

pub fn from_language_code(language_code: &str) -> Option<Language>

Construct a word list from its language code. Returns None if the language code is not valid or not supported.

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html index 0260c766a1..12ec9666d3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html @@ -1,13 +1,13 @@ MnemonicType in bdk::keys::bip39 - Rust

Enum bdk::keys::bip39::MnemonicType[]

pub enum MnemonicType {
+                Change settings

Enum bdk::keys::bip39::MnemonicType[]

pub enum MnemonicType {
     Words12,
     Words15,
     Words18,
     Words21,
     Words24,
-}
This is supported on crate feature keys-bip39 only.

Determines the number of words that will be present in a Mnemonic phrase

+}
This is supported on crate feature keys-bip39 only.
Expand description

Determines the number of words that will be present in a Mnemonic phrase

Also directly affects the amount of entropy that will be used to create a Mnemonic, and therefore the cryptographic strength of the HD wallet keys/addresses that can be derived from it using the Seed.

@@ -22,7 +22,7 @@ passing arbitrary usize values:

use bip39::{MnemonicType}; let mnemonic_type = MnemonicType::for_key_size(128).unwrap();
-

+

Variants

Words12
Words15
Words18
Words21
Words24

Implementations

impl MnemonicType

pub fn for_word_count(size: usize) -> Result<MnemonicType, Error>

Get a MnemonicType for a mnemonic phrase with a specific number of words

Specifying a word count not provided for by the BIP39 standard will return an Error diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/index.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/index.html index 8462a542d4..8c02b4fa5a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/index.html @@ -1,8 +1,8 @@ bdk::keys::bip39 - Rust

Module bdk::keys::bip39[][src]

This is supported on crate feature keys-bip39 only.

BIP-0039

-

Structs

+ Change settings

Module bdk::keys::bip39[][src]

This is supported on crate feature keys-bip39 only.
Expand description

BIP-0039

+

Structs

Mnemonic

The primary type in this crate, most tasks require creating or using one.

Seed

The secret value used to derive HD wallet addresses from a Mnemonic phrase.

Enums

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html index af33dc863e..f8e3a89e62 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html @@ -1,7 +1,7 @@ Mnemonic in bdk::keys::bip39 - Rust

Struct bdk::keys::bip39::Mnemonic[]

pub struct Mnemonic { /* fields omitted */ }
This is supported on crate feature keys-bip39 only.

The primary type in this crate, most tasks require creating or using one.

+ Change settings

Struct bdk::keys::bip39::Mnemonic[]

pub struct Mnemonic { /* fields omitted */ }
This is supported on crate feature keys-bip39 only.
Expand description

The primary type in this crate, most tasks require creating or using one.

To create a new Mnemonic from a randomly generated key, call Mnemonic::new().

To get a Mnemonic instance for an existing mnemonic phrase, including those generated by other software or hardware wallets, use Mnemonic::from_phrase().

@@ -12,7 +12,7 @@ representation using Rust formatting: format!("{:X}", seed)not the same thing as an HD wallet seed, and should never be used that way.

Mnemonic implements Zeroize, so it’s bytes will be zeroed when it’s dropped.

-

Implementations

impl Mnemonic

pub fn new(mtype: MnemonicType, lang: Language) -> Mnemonic

Generates a new Mnemonic

+

Implementations

impl Mnemonic

pub fn new(mtype: MnemonicType, lang: Language) -> Mnemonic

Generates a new Mnemonic

Use Mnemonic::phrase() to get an str slice of the generated phrase.

Example

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html
index 5324a1286b..70ad785a16 100644
--- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html
+++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html
@@ -1,7 +1,7 @@
 Seed in bdk::keys::bip39 - Rust
 
 

Struct bdk::keys::bip39::Seed[]

pub struct Seed { /* fields omitted */ }
This is supported on crate feature keys-bip39 only.

The secret value used to derive HD wallet addresses from a Mnemonic phrase.

+ Change settings

Struct bdk::keys::bip39::Seed[]

pub struct Seed { /* fields omitted */ }
This is supported on crate feature keys-bip39 only.
Expand description

The secret value used to derive HD wallet addresses from a Mnemonic phrase.

Because it is not possible to create a Mnemonic instance that is invalid, it is therefore impossible to have a Seed instance that is invalid. This guarantees that only a valid, intact mnemonic phrase can be used to derive HD wallet addresses.

@@ -9,7 +9,7 @@ a valid, intact mnemonic phrase can be used to derive HD wallet addresses.

HD wallet addresses using another crate (deriving HD wallet addresses is outside the scope of this crate and the BIP39 standard).

Seed implements Zeroize, so it’s bytes will be zeroed when it’s dropped.

-

Implementations

impl Seed

pub fn new(mnemonic: &Mnemonic, password: &str) -> Seed

Generates the seed from the Mnemonic and the password.

+

Implementations

impl Seed

pub fn new(mnemonic: &Mnemonic, password: &str) -> Seed

Generates the seed from the Mnemonic and the password.

pub fn as_bytes(&self) -> &[u8]

Get the seed value as a byte slice

Trait Implementations

impl AsRef<[u8]> for Seed

pub fn as_ref(&self) -> &[u8]

Performs the conversion.

impl Clone for Seed

pub fn clone(&self) -> Seed

Returns a copy of the value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html index bda61332d5..659b359807 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html @@ -1,8 +1,8 @@ MnemonicWithPassphrase in bdk::keys::bip39 - Rust

Type Definition bdk::keys::bip39::MnemonicWithPassphrase[][src]

type MnemonicWithPassphrase = (Mnemonic, Option<String>);
This is supported on crate feature keys-bip39 only.

Type for a BIP39 mnemonic with an optional passphrase

-

Trait Implementations

impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase[src]

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

Consume self and turn it into an ExtendedKey Read more

+ Change settings

Type Definition bdk::keys::bip39::MnemonicWithPassphrase[][src]

type MnemonicWithPassphrase = (Mnemonic, Option<String>);
This is supported on crate feature keys-bip39 only.
Expand description

Type for a BIP39 mnemonic with an optional passphrase

+

Trait Implementations

impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase[src]

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

Consume self and turn it into an ExtendedKey Read more

fn into_descriptor_key(
    self,
    source: Option<KeySource>,
    derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]

Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html index 3fed63072b..70b5f84ac0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html @@ -1,10 +1,10 @@ DescriptorKey in bdk::keys - Rust

Enum bdk::keys::DescriptorKey[][src]

pub enum DescriptorKey<Ctx: ScriptContext> {
+                Change settings

Enum bdk::keys::DescriptorKey[][src]

pub enum DescriptorKey<Ctx: ScriptContext> {
     // some variants omitted
-}

Container for public or secret keys

-

Implementations

impl<Ctx: ScriptContext> DescriptorKey<Ctx>[src]

pub fn from_public(public: DescriptorPublicKey, networks: ValidNetworks) -> Self[src]

Create an instance given a public key and a set of valid networks

+}
Expand description

Container for public or secret keys

+

Implementations

impl<Ctx: ScriptContext> DescriptorKey<Ctx>[src]

pub fn from_public(public: DescriptorPublicKey, networks: ValidNetworks) -> Self[src]

Create an instance given a public key and a set of valid networks

pub fn from_secret(secret: DescriptorSecretKey, networks: ValidNetworks) -> Self[src]

Create an instance given a secret key and a set of valid networks

pub fn override_valid_networks(self, networks: ValidNetworks) -> Self[src]

Override the computed set of valid networks

Trait Implementations

impl<Ctx: Debug + ScriptContext> Debug for DescriptorKey<Ctx>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html index dbfefc6c72..b9a1e6d4b0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html @@ -1,16 +1,16 @@ DescriptorPublicKey in bdk::keys - Rust

Enum bdk::keys::DescriptorPublicKey[]

pub enum DescriptorPublicKey {
+                Change settings

Enum bdk::keys::DescriptorPublicKey[]

pub enum DescriptorPublicKey {
     SinglePub(DescriptorSinglePub),
     XPub(DescriptorXKey<ExtendedPubKey>),
-}

The MiniscriptKey corresponding to Descriptors. This can +}

Expand description

The MiniscriptKey corresponding to Descriptors. This can either be Single public key or a Xpub

-

+

Variants

-

Single Public Key

-
XPub(DescriptorXKey<ExtendedPubKey>)

Xpub

-

Implementations

impl DescriptorPublicKey

pub fn master_fingerprint(&self) -> Fingerprint

The fingerprint of the master key associated with this key

+
Expand description

Single Public Key

+
XPub(DescriptorXKey<ExtendedPubKey>)
Expand description

Xpub

+

Implementations

impl DescriptorPublicKey

pub fn master_fingerprint(&self) -> Fingerprint

The fingerprint of the master key associated with this key

pub fn full_derivation_path(&self) -> DerivationPath

Full path, from the master key

For wildcard keys this will return the path up to the wildcard, so you can get full paths by appending one additional derivation step, according @@ -41,18 +41,18 @@ implementation returns false Read more

fn serialized_len(&self) -> usize

Computes the size of a public key when serialized in a script, including the length bytes Read more

impl Ord for DescriptorPublicKey

pub fn cmp(&self, other: &DescriptorPublicKey) -> Ordering

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl PartialEq<DescriptorPublicKey> for DescriptorPublicKey

pub fn eq(&self, other: &DescriptorPublicKey) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

pub fn ne(&self, other: &DescriptorPublicKey) -> bool

This method tests for !=.

impl PartialOrd<DescriptorPublicKey> for DescriptorPublicKey

pub fn partial_cmp(&self, other: &DescriptorPublicKey) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for DescriptorPublicKey

impl StructuralEq for DescriptorPublicKey

impl StructuralPartialEq for DescriptorPublicKey

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html index ffb4963c13..bd6dbb6bd1 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html @@ -1,15 +1,15 @@ DescriptorSecretKey in bdk::keys - Rust

Enum bdk::keys::DescriptorSecretKey[]

pub enum DescriptorSecretKey {
+                Change settings

Enum bdk::keys::DescriptorSecretKey[]

pub enum DescriptorSecretKey {
     SinglePriv(DescriptorSinglePriv),
     XPrv(DescriptorXKey<ExtendedPrivKey>),
-}

A Secret Key that can be either a single key or an Xprv

-

+}

Expand description

A Secret Key that can be either a single key or an Xprv

+

Variants

-

Single Secret Key

-
XPrv(DescriptorXKey<ExtendedPrivKey>)

Xprv

-

Implementations

impl DescriptorSecretKey

pub fn as_public<C>(
    &self,
    secp: &Secp256k1<C>
) -> Result<DescriptorPublicKey, DescriptorKeyParseError> where
    C: Signing, 

Return the public version of this key, by applying either +

Expand description

Single Secret Key

+
XPrv(DescriptorXKey<ExtendedPrivKey>)
Expand description

Xprv

+

Implementations

impl DescriptorSecretKey

pub fn as_public<C>(
    &self,
    secp: &Secp256k1<C>
) -> Result<DescriptorPublicKey, DescriptorKeyParseError> where
    C: Signing, 

Return the public version of this key, by applying either DescriptorSinglePriv::as_public or [DescriptorXKey<bip32::ExtendedPrivKey>::as_public] depending on the type of key.

If the key is an “XPrv”, the hardened derivation steps will be applied before converting it diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html index cec446b6f7..5e87d04352 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html @@ -1,18 +1,18 @@ ExtendedKey in bdk::keys - Rust

Enum bdk::keys::ExtendedKey[][src]

pub enum ExtendedKey<Ctx: ScriptContext = Legacy> {
+                Change settings

Enum bdk::keys::ExtendedKey[][src]

pub enum ExtendedKey<Ctx: ScriptContext = Legacy> {
     Private((ExtendedPrivKey, PhantomData<Ctx>)),
     Public((ExtendedPubKey, PhantomData<Ctx>)),
-}

Enum for extended keys that can be either xprv or xpub

+}
Expand description

Enum for extended keys that can be either xprv or xpub

An instance of ExtendedKey can be constructed from an ExtendedPrivKey or an ExtendedPubKey by using the From trait.

Defaults to the Legacy context.

-

+

Variants

-
Private((ExtendedPrivKey, PhantomData<Ctx>))

A private extended key, aka an xprv

-
Public((ExtendedPubKey, PhantomData<Ctx>))

A public extended key, aka an xpub

-

Implementations

impl<Ctx: ScriptContext> ExtendedKey<Ctx>[src]

pub fn has_secret(&self) -> bool[src]

Return whether or not the key contains the private data

+
Private((ExtendedPrivKey, PhantomData<Ctx>))
Expand description

A private extended key, aka an xprv

+
Public((ExtendedPubKey, PhantomData<Ctx>))
Expand description

A public extended key, aka an xpub

+

Implementations

impl<Ctx: ScriptContext> ExtendedKey<Ctx>[src]

pub fn has_secret(&self) -> bool[src]

Return whether or not the key contains the private data

pub fn into_xprv(self, network: Network) -> Option<ExtendedPrivKey>[src]

Transform the ExtendedKey into an ExtendedPrivKey for the given [Network], if the key contains the private data

pub fn into_xpub<C: Signing>(
    self,
    network: Network,
    secp: &Secp256k1<C>
) -> ExtendedPubKey
[src]

Transform the ExtendedKey into an ExtendedPubKey for the diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html index e764d1773c..961f54d20c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html @@ -1,23 +1,23 @@ KeyError in bdk::keys - Rust

Enum bdk::keys::KeyError[][src]

pub enum KeyError {
+                Change settings

Enum bdk::keys::KeyError[][src]

pub enum KeyError {
     InvalidScriptContext,
     InvalidNetwork,
     InvalidChecksum,
     Message(String),
     Bip32(Error),
     Miniscript(Error),
-}

Errors thrown while working with keys

-

+}

Expand description

Errors thrown while working with keys

+

Variants

-
InvalidScriptContext

The key cannot exist in the given script context

-
InvalidNetwork

The key is not valid for the given network

-
InvalidChecksum

The key has an invalid checksum

-
Message(String)

Custom error message

-
Bip32(Error)

BIP32 error

-
Miniscript(Error)

Miniscript error

-

Trait Implementations

impl Debug for KeyError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+
InvalidScriptContext
Expand description

The key cannot exist in the given script context

+
InvalidNetwork
Expand description

The key is not valid for the given network

+
InvalidChecksum
Expand description

The key has an invalid checksum

+
Message(String)
Expand description

Custom error message

+
Bip32(Error)
Expand description

BIP32 error

+
Miniscript(Error)
Expand description

Miniscript error

+

Trait Implementations

impl Debug for KeyError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for KeyError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Error for KeyError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

fn backtrace(&self) -> Option<&Backtrace>[src]

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html index eda06f6465..40c4a9e507 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html @@ -1,15 +1,15 @@ ScriptContextEnum in bdk::keys - Rust

Enum bdk::keys::ScriptContextEnum[][src]

pub enum ScriptContextEnum {
+                Change settings

Enum bdk::keys::ScriptContextEnum[][src]

pub enum ScriptContextEnum {
     Legacy,
     Segwitv0,
-}

Enum representation of the known valid ScriptContexts

-

+}

Expand description

Enum representation of the known valid ScriptContexts

+

Variants

-
Legacy

Legacy scripts

-
Segwitv0

Segwitv0 scripts

-

Implementations

impl ScriptContextEnum[src]

pub fn is_legacy(&self) -> bool[src]

Returns whether the script context is ScriptContextEnum::Legacy

+
Legacy
Expand description

Legacy scripts

+
Segwitv0
Expand description

Segwitv0 scripts

+

Implementations

impl ScriptContextEnum[src]

pub fn is_legacy(&self) -> bool[src]

Returns whether the script context is ScriptContextEnum::Legacy

pub fn is_segwit_v0(&self) -> bool[src]

Returns whether the script context is ScriptContextEnum::Segwitv0

Trait Implementations

impl Clone for ScriptContextEnum[src]

fn clone(&self) -> ScriptContextEnum[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.any_network.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.any_network.html index 5820df426c..92e3025df2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.any_network.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.any_network.html @@ -1,6 +1,6 @@ any_network in bdk::keys - Rust

Function bdk::keys::any_network[][src]

pub fn any_network() -> ValidNetworks

Create a set containing mainnet, testnet and regtest

-
+ Change settings

Function bdk::keys::any_network[][src]

pub fn any_network() -> ValidNetworks
Expand description

Create a set containing mainnet, testnet and regtest

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.mainnet_network.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.mainnet_network.html index eb699eea53..6fe6fbe3d9 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.mainnet_network.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.mainnet_network.html @@ -1,6 +1,6 @@ mainnet_network in bdk::keys - Rust

Function bdk::keys::mainnet_network[][src]

pub fn mainnet_network() -> ValidNetworks

Create a set only containing mainnet

-
+ Change settings

Function bdk::keys::mainnet_network[][src]

pub fn mainnet_network() -> ValidNetworks
Expand description

Create a set only containing mainnet

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.merge_networks.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.merge_networks.html index 3a0feeafb4..8dfeeaf602 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.merge_networks.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.merge_networks.html @@ -1,6 +1,6 @@ merge_networks in bdk::keys - Rust

Function bdk::keys::merge_networks[][src]

pub fn merge_networks(a: &ValidNetworks, b: &ValidNetworks) -> ValidNetworks

Compute the intersection of two sets

-
+ Change settings

Function bdk::keys::merge_networks[][src]

pub fn merge_networks(a: &ValidNetworks, b: &ValidNetworks) -> ValidNetworks
Expand description

Compute the intersection of two sets

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.test_networks.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.test_networks.html index 6ec1b86ad0..415553322f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.test_networks.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.test_networks.html @@ -1,6 +1,6 @@ test_networks in bdk::keys - Rust

Function bdk::keys::test_networks[][src]

pub fn test_networks() -> ValidNetworks

Create a set containing testnet and regtest

-
+ Change settings

Function bdk::keys::test_networks[][src]

pub fn test_networks() -> ValidNetworks
Expand description

Create a set containing testnet and regtest

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/index.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/index.html index 56e90def72..16c62914a0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/index.html @@ -1,8 +1,8 @@ bdk::keys - Rust

Module bdk::keys[][src]

Key formats

-

Modules

+ Change settings

Module bdk::keys[][src]

Expand description

Key formats

+

Modules

bip39keys-bip39

BIP-0039

Structs

DescriptorSinglePriv

A Single Descriptor Secret Key with optional origin information

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html index 330fb5948c..e943e63c6b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html @@ -1,14 +1,14 @@ DescriptorSinglePriv in bdk::keys - Rust

Struct bdk::keys::DescriptorSinglePriv[]

pub struct DescriptorSinglePriv {
+                Change settings

Struct bdk::keys::DescriptorSinglePriv[]

pub struct DescriptorSinglePriv {
     pub origin: Option<(Fingerprint, DerivationPath)>,
     pub key: PrivateKey,
-}

A Single Descriptor Secret Key with optional origin information

-

- Fields

origin: Option<(Fingerprint, DerivationPath)>

Origin information

-
key: PrivateKey

The key

-

Trait Implementations

impl Debug for DescriptorSinglePriv

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

+}
Expand description

A Single Descriptor Secret Key with optional origin information

+

+ Fields

origin: Option<(Fingerprint, DerivationPath)>
Expand description

Origin information

+
key: PrivateKey
Expand description

The key

+

Trait Implementations

impl Debug for DescriptorSinglePriv

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html index a6074084e4..08c396773b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html @@ -1,31 +1,31 @@ DescriptorSinglePub in bdk::keys - Rust

Struct bdk::keys::DescriptorSinglePub[]

pub struct DescriptorSinglePub {
+                Change settings

Struct bdk::keys::DescriptorSinglePub[]

pub struct DescriptorSinglePub {
     pub origin: Option<(Fingerprint, DerivationPath)>,
     pub key: PublicKey,
-}

A Single Descriptor Key with optional origin information

-

- Fields

origin: Option<(Fingerprint, DerivationPath)>

Origin information

-
key: PublicKey

The key

-

Trait Implementations

impl Clone for DescriptorSinglePub

pub fn clone(&self) -> DescriptorSinglePub

Returns a copy of the value. Read more

+}
Expand description

A Single Descriptor Key with optional origin information

+

+ Fields

origin: Option<(Fingerprint, DerivationPath)>
Expand description

Origin information

+
key: PublicKey
Expand description

The key

+

Trait Implementations

impl Clone for DescriptorSinglePub

pub fn clone(&self) -> DescriptorSinglePub

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for DescriptorSinglePub

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

impl Hash for DescriptorSinglePub

pub fn hash<__H>(&self, state: &mut __H) where
    __H: Hasher

Feeds this value into the given Hasher. Read more

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

impl Ord for DescriptorSinglePub

pub fn cmp(&self, other: &DescriptorSinglePub) -> Ordering

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl PartialEq<DescriptorSinglePub> for DescriptorSinglePub

pub fn eq(&self, other: &DescriptorSinglePub) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

pub fn ne(&self, other: &DescriptorSinglePub) -> bool

This method tests for !=.

impl PartialOrd<DescriptorSinglePub> for DescriptorSinglePub

pub fn partial_cmp(&self, other: &DescriptorSinglePub) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for DescriptorSinglePub

impl StructuralEq for DescriptorSinglePub

impl StructuralPartialEq for DescriptorSinglePub

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html index e1d23e2266..b9be998df6 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html @@ -1,8 +1,8 @@ GeneratedKey in bdk::keys - Rust

Struct bdk::keys::GeneratedKey[][src]

pub struct GeneratedKey<K, Ctx: ScriptContext> { /* fields omitted */ }

Output of a GeneratableKey key generation

-

Implementations

impl<K, Ctx: ScriptContext> GeneratedKey<K, Ctx>[src]

pub fn into_key(self) -> K[src]

Consumes self and returns the key

+ Change settings

Struct bdk::keys::GeneratedKey[][src]

pub struct GeneratedKey<K, Ctx: ScriptContext> { /* fields omitted */ }
Expand description

Output of a GeneratableKey key generation

+

Implementations

impl<K, Ctx: ScriptContext> GeneratedKey<K, Ctx>[src]

pub fn into_key(self) -> K[src]

Consumes self and returns the key

Trait Implementations

impl<K, Ctx: ScriptContext> Deref for GeneratedKey<K, Ctx>[src]

type Target = K

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

impl<Ctx, K> DerivableKey<Ctx> for GeneratedKey<K, Ctx> where
    Ctx: ScriptContext,
    K: DerivableKey<Ctx>, 
[src]

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

Consume self and turn it into an ExtendedKey Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html index bb9669640c..4fb8cf8fff 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html @@ -1,13 +1,13 @@ PrivateKeyGenerateOptions in bdk::keys - Rust

Struct bdk::keys::PrivateKeyGenerateOptions[][src]

pub struct PrivateKeyGenerateOptions {
+                Change settings

Struct bdk::keys::PrivateKeyGenerateOptions[][src]

pub struct PrivateKeyGenerateOptions {
     pub compressed: bool,
-}

Options for generating a [PrivateKey]

+}
Expand description

Options for generating a [PrivateKey]

Defaults to creating compressed keys, which save on-chain bytes and fees

-

- Fields

compressed: bool

Whether the generated key should be “compressed” or not

-

Trait Implementations

impl Clone for PrivateKeyGenerateOptions[src]

fn clone(&self) -> PrivateKeyGenerateOptions[src]

Returns a copy of the value. Read more

+

+ Fields

compressed: bool
Expand description

Whether the generated key should be “compressed” or not

+

Trait Implementations

impl Clone for PrivateKeyGenerateOptions[src]

fn clone(&self) -> PrivateKeyGenerateOptions[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PrivateKeyGenerateOptions[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for PrivateKeyGenerateOptions[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html index 49b101fe08..df8248926f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html @@ -1,15 +1,15 @@ SortedMultiVec in bdk::keys - Rust

Struct bdk::keys::SortedMultiVec[]

pub struct SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 
{ + Change settings

Struct bdk::keys::SortedMultiVec[]

pub struct SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 
{ pub k: usize, pub pks: Vec<Pk, Global>, // some fields omitted -}

Contents of a “sortedmulti” descriptor

-

- Fields

k: usize

signatures required

-
pks: Vec<Pk, Global>

public keys inside sorted Multi

-

Implementations

impl<Pk, Ctx> SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn new(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<SortedMultiVec<Pk, Ctx>, Error>

Create a new instance of SortedMultiVec given a list of keys and the threshold

+}
Expand description

Contents of a “sortedmulti” descriptor

+

+ Fields

k: usize
Expand description

signatures required

+
pks: Vec<Pk, Global>
Expand description

public keys inside sorted Multi

+

Implementations

impl<Pk, Ctx> SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn new(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<SortedMultiVec<Pk, Ctx>, Error>

Create a new instance of SortedMultiVec given a list of keys and the threshold

Internally checks all the applicable size limits and pubkey types limitations according to the current Ctx.

pub fn from_tree(tree: &Tree<'_>) -> Result<SortedMultiVec<Pk, Ctx>, Error> where
    Pk: FromStr,
    <Pk as FromStr>::Err: ToString

Parse an expression tree into a SortedMultiVec

pub fn translate_pk<FPk, Q, FuncError>(
    &self,
    translatefpk: &mut FPk
) -> Result<SortedMultiVec<Q, Ctx>, FuncError> where
    Q: MiniscriptKey,
    FPk: FnMut(&Pk) -> Result<Q, FuncError>, 

This will panic if translatefpk returns an uncompressed key when @@ -50,18 +50,18 @@ the predicate returned true for every key Read the predicate returned true for any key Read more

impl<Pk, Ctx> Liftable<Pk> for SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn lift(&self) -> Result<Policy<Pk>, Error>

Convert the object into an abstract policy

impl<Pk, Ctx> Ord for SortedMultiVec<Pk, Ctx> where
    Ctx: Ord + ScriptContext,
    Pk: Ord + MiniscriptKey, 

pub fn cmp(&self, other: &SortedMultiVec<Pk, Ctx>) -> Ordering

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl<Pk, Ctx> PartialEq<SortedMultiVec<Pk, Ctx>> for SortedMultiVec<Pk, Ctx> where
    Ctx: PartialEq<Ctx> + ScriptContext,
    Pk: PartialEq<Pk> + MiniscriptKey, 

pub fn eq(&self, other: &SortedMultiVec<Pk, Ctx>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

pub fn ne(&self, other: &SortedMultiVec<Pk, Ctx>) -> bool

This method tests for !=.

impl<Pk, Ctx> PartialOrd<SortedMultiVec<Pk, Ctx>> for SortedMultiVec<Pk, Ctx> where
    Ctx: PartialOrd<Ctx> + ScriptContext,
    Pk: PartialOrd<Pk> + MiniscriptKey, 

pub fn partial_cmp(&self, other: &SortedMultiVec<Pk, Ctx>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<Pk, Ctx> Eq for SortedMultiVec<Pk, Ctx> where
    Ctx: Eq + ScriptContext,
    Pk: Eq + MiniscriptKey, 

impl<Pk, Ctx> StructuralEq for SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl<Pk, Ctx> StructuralPartialEq for SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Auto Trait Implementations

impl<Pk, Ctx> RefUnwindSafe for SortedMultiVec<Pk, Ctx> where
    Ctx: RefUnwindSafe,
    Pk: RefUnwindSafe

impl<Pk, Ctx> Send for SortedMultiVec<Pk, Ctx> where
    Ctx: Send,
    Pk: Send

impl<Pk, Ctx> Sync for SortedMultiVec<Pk, Ctx> where
    Ctx: Sync,
    Pk: Sync

impl<Pk, Ctx> Unpin for SortedMultiVec<Pk, Ctx> where
    Ctx: Unpin,
    Pk: Unpin

impl<Pk, Ctx> UnwindSafe for SortedMultiVec<Pk, Ctx> where
    Ctx: UnwindSafe,
    Pk: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html index e4d4e389b8..8616e54073 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html @@ -1,11 +1,11 @@ DerivableKey in bdk::keys - Rust

Trait bdk::keys::DerivableKey[][src]

pub trait DerivableKey<Ctx: ScriptContext = Legacy>: Sized {
+                Change settings

Trait bdk::keys::DerivableKey[][src]

pub trait DerivableKey<Ctx: ScriptContext = Legacy>: Sized {
     fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>;
 
     fn into_descriptor_key(
        self,
        origin: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError> { ... } -}

Trait for keys that can be derived.

+}
Expand description

Trait for keys that can be derived.

When extra metadata are provided, a DerivableKey can be transofrmed into a DescriptorKey: the trait IntoDescriptorKey is automatically implemented for (DerivableKey, DerivationPath) and @@ -85,7 +85,7 @@ steps to override the set of valid networks, otherwise only the network specifie Ok(descriptor_key.override_valid_networks(any_network())) } }

-

Required methods

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

Consume self and turn it into an ExtendedKey

+

Required methods

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

Expand description

Consume self and turn it into an ExtendedKey

This can be used to get direct access to xprvs and xpubs for types that implement this trait, like Mnemonic when the keys-bip39 feature is enabled.

@@ -101,8 +101,8 @@ like Mnemonic when the ? .into_extended_key()?; let xprv = xkey.into_xprv(Network::Bitcoin).unwrap();
-
Loading content...

Provided methods

fn into_descriptor_key(
    self,
    origin: Option<KeySource>,
    derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]

Consume self and turn it into a DescriptorKey by adding the extra metadata, such as +

Loading content...

Provided methods

fn into_descriptor_key(
    self,
    origin: Option<KeySource>,
    derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]

Expand description

Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path

-
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPubKey[src]

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPrivKey[src]

Loading content...

Implementors

impl<Ctx, K> DerivableKey<Ctx> for GeneratedKey<K, Ctx> where
    Ctx: ScriptContext,
    K: DerivableKey<Ctx>, 
[src]

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

fn into_descriptor_key(
    self,
    origin: Option<KeySource>,
    derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

Identity conversion

+
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPubKey[src]

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPrivKey[src]

Loading content...

Implementors

impl<Ctx, K> DerivableKey<Ctx> for GeneratedKey<K, Ctx> where
    Ctx: ScriptContext,
    K: DerivableKey<Ctx>, 
[src]

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

fn into_descriptor_key(
    self,
    origin: Option<KeySource>,
    derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

Identity conversion

impl<Ctx: ScriptContext> DerivableKey<Ctx> for Mnemonic[src]

This is supported on crate feature keys-bip39 only.

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

fn into_descriptor_key(
    self,
    source: Option<KeySource>,
    derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]

impl<Ctx: ScriptContext> DerivableKey<Ctx> for Seed[src]

This is supported on crate feature keys-bip39 only.

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

fn into_descriptor_key(
    self,
    source: Option<KeySource>,
    derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]

impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase[src]

This is supported on crate feature keys-bip39 only.

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

fn into_descriptor_key(
    self,
    source: Option<KeySource>,
    derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html index e8a4b0e0bf..4cac158c23 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html @@ -1,14 +1,14 @@ ExtScriptContext in bdk::keys - Rust

Trait bdk::keys::ExtScriptContext[][src]

pub trait ExtScriptContext: ScriptContext {
+                Change settings

Trait bdk::keys::ExtScriptContext[][src]

pub trait ExtScriptContext: ScriptContext {
     fn as_enum() -> ScriptContextEnum;
 
     fn is_legacy() -> bool { ... }
 
fn is_segwit_v0() -> bool { ... } -}

Trait that adds extra useful methods to ScriptContexts

-

Required methods

Loading content...

Provided methods

fn is_legacy() -> bool[src]

Returns whether the script context is Legacy

-

fn is_segwit_v0() -> bool[src]

Returns whether the script context is Segwitv0

-
Loading content...

Implementors

Loading content...
+}
Expand description

Trait that adds extra useful methods to ScriptContexts

+

Required methods

fn as_enum() -> ScriptContextEnum[src]

Expand description

Returns the ScriptContext as a ScriptContextEnum

+
Loading content...

Provided methods

fn is_legacy() -> bool[src]

Expand description

Returns whether the script context is Legacy

+

fn is_segwit_v0() -> bool[src]

Expand description

Returns whether the script context is Segwitv0

+
Loading content...

Implementors

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html index a1ed91688a..249e53aaf3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html @@ -1,14 +1,14 @@ GeneratableDefaultOptions in bdk::keys - Rust

Trait bdk::keys::GeneratableDefaultOptions[][src]

pub trait GeneratableDefaultOptions<Ctx>: GeneratableKey<Ctx> where
    Ctx: ScriptContext,
    Self::Options: Default
{ + Change settings

Trait bdk::keys::GeneratableDefaultOptions[][src]

pub trait GeneratableDefaultOptions<Ctx>: GeneratableKey<Ctx> where
    Ctx: ScriptContext,
    Self::Options: Default
{ fn generate_with_entropy_default(
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error> { ... }
fn generate_default() -> Result<GeneratedKey<Self, Ctx>, Self::Error> { ... } -}

Trait that allows generating a key with the default options

+}
Expand description

Trait that allows generating a key with the default options

This trait is automatically implemented if the GeneratableKey::Options implements Default.

-

Provided methods

fn generate_with_entropy_default(
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Generate a key with the default options and a given entropy

-

fn generate_default() -> Result<GeneratedKey<Self, Ctx>, Self::Error>[src]

Generate a key with the default options and a random entropy

-
Loading content...

Implementors

impl<Ctx, K> GeneratableDefaultOptions<Ctx> for K where
    Ctx: ScriptContext,
    K: GeneratableKey<Ctx>,
    <K as GeneratableKey<Ctx>>::Options: Default
[src]

Automatic implementation of GeneratableDefaultOptions for GeneratableKeys where +

Provided methods

fn generate_with_entropy_default(
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Expand description

Generate a key with the default options and a given entropy

+

fn generate_default() -> Result<GeneratedKey<Self, Ctx>, Self::Error>[src]

Expand description

Generate a key with the default options and a random entropy

+
Loading content...

Implementors

impl<Ctx, K> GeneratableDefaultOptions<Ctx> for K where
    Ctx: ScriptContext,
    K: GeneratableKey<Ctx>,
    <K as GeneratableKey<Ctx>>::Options: Default
[src]

Automatic implementation of GeneratableDefaultOptions for GeneratableKeys where Options implements Default

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html index 452538787b..a3554fc7e8 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html @@ -1,23 +1,23 @@ GeneratableKey in bdk::keys - Rust

Trait bdk::keys::GeneratableKey[][src]

pub trait GeneratableKey<Ctx: ScriptContext>: Sized {
+                Change settings

Trait bdk::keys::GeneratableKey[][src]

pub trait GeneratableKey<Ctx: ScriptContext>: Sized {
     type Entropy: AsMut<[u8]> + Default;
     type Options;
     type Error: Debug;
     fn generate_with_entropy(
        options: Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>; fn generate(
        options: Self::Options
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error> { ... } -}

Trait for keys that can be generated

+}
Expand description

Trait for keys that can be generated

The same rules about ScriptContext and ValidNetworks from IntoDescriptorKey apply.

This trait is particularly useful when combined with DerivableKey: if Self implements it, the returned GeneratedKey will also implement it. The same is true for IntoDescriptorKey: the generated keys can be directly used in descriptors if Self is also IntoDescriptorKey.

-

Associated Types

type Entropy: AsMut<[u8]> + Default[src]

Type specifying the amount of entropy required e.g. [u8;32]

-

type Options[src]

Extra options required by the generate_with_entropy

-

type Error: Debug[src]

Returned error in case of failure

-
Loading content...

Required methods

fn generate_with_entropy(
    options: Self::Options,
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Generate a key given the extra options and the entropy

-
Loading content...

Provided methods

fn generate(
    options: Self::Options
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Generate a key given the options with a random entropy

-
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for ExtendedPrivKey[src]

type Entropy = [u8; 32]

type Options = ()

type Error = Error

fn generate_with_entropy(
    _: Self::Options,
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for PrivateKey[src]

type Entropy = [u8; 32]

type Options = PrivateKeyGenerateOptions

type Error = Error

fn generate_with_entropy(
    options: Self::Options,
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Loading content...

Implementors

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

This is supported on crate feature keys-bip39 only.

type Entropy = [u8; 32]

type Options = (MnemonicType, Language)

type Error = Option<ErrorKind>

fn generate_with_entropy(
    (mnemonic_type, language): Self::Options,
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Loading content...
+

Associated Types

type Entropy: AsMut<[u8]> + Default[src]

Expand description

Type specifying the amount of entropy required e.g. [u8;32]

+

type Options[src]

Expand description

Extra options required by the generate_with_entropy

+

type Error: Debug[src]

Expand description

Returned error in case of failure

+
Loading content...

Required methods

fn generate_with_entropy(
    options: Self::Options,
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Expand description

Generate a key given the extra options and the entropy

+
Loading content...

Provided methods

fn generate(
    options: Self::Options
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Expand description

Generate a key given the options with a random entropy

+
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for ExtendedPrivKey[src]

type Entropy = [u8; 32]

type Options = ()

type Error = Error

fn generate_with_entropy(
    _: Self::Options,
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for PrivateKey[src]

type Entropy = [u8; 32]

type Options = PrivateKeyGenerateOptions

type Error = Error

fn generate_with_entropy(
    options: Self::Options,
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Loading content...

Implementors

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

This is supported on crate feature keys-bip39 only.

type Entropy = [u8; 32]

type Options = (MnemonicType, Language)

type Error = Option<ErrorKind>

fn generate_with_entropy(
    (mnemonic_type, language): Self::Options,
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html index 2f23dbfa4e..88b2f29f0e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html @@ -1,9 +1,9 @@ IntoDescriptorKey in bdk::keys - Rust

Trait bdk::keys::IntoDescriptorKey[][src]

pub trait IntoDescriptorKey<Ctx: ScriptContext>: Sized {
+                Change settings

Trait bdk::keys::IntoDescriptorKey[][src]

pub trait IntoDescriptorKey<Ctx: ScriptContext>: Sized {
     fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>;
-}

Trait for objects that can be turned into a public or secret DescriptorKey

+}
Expand description

Trait for objects that can be turned into a public or secret DescriptorKey

The generic type Ctx is used to define the context in which the key is valid: some key formats, like the mnemonics used by Electrum wallets, encode internally whether the wallet is legacy or segwit. Thus, trying to turn a valid legacy mnemonic into a DescriptorKey @@ -107,7 +107,7 @@ makes the compiler (correctly) fail.

let (descriptor, _, _) = bdk::descriptor!(pkh(key))?; // ^^^^^ changing this to `wpkh` would make it compile
-

Required methods

fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

Turn the key into a DescriptorKey within the requested ScriptContext

-
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, DerivationPath)[src]

impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, KeySource, DerivationPath)[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PublicKey[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for &str[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PrivateKey[src]

Loading content...

Implementors

impl<Ctx, K> IntoDescriptorKey<Ctx> for GeneratedKey<K, Ctx> where
    Ctx: ScriptContext,
    K: IntoDescriptorKey<Ctx>, 
[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

The “identity” conversion is used internally by some bdk::fragments

+

Required methods

fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

Expand description

Turn the key into a DescriptorKey within the requested ScriptContext

+
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, DerivationPath)[src]

impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, KeySource, DerivationPath)[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PublicKey[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for &str[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PrivateKey[src]

Loading content...

Implementors

impl<Ctx, K> IntoDescriptorKey<Ctx> for GeneratedKey<K, Ctx> where
    Ctx: ScriptContext,
    K: IntoDescriptorKey<Ctx>, 
[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

The “identity” conversion is used internally by some bdk::fragments

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorPublicKey[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorSecretKey[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html index 773bb2201a..336ba281b9 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html @@ -1,7 +1,7 @@ ScriptContext in bdk::keys - Rust

Trait bdk::keys::ScriptContext[]

pub trait ScriptContext: Debug + Clone + Ord + PartialOrd<Self> + Eq + PartialEq<Self> + Sealed {
+                Change settings

Trait bdk::keys::ScriptContext[]

pub trait ScriptContext: Debug + Clone + Ord + PartialOrd<Self> + Eq + PartialEq<Self> + Sealed {
     fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError>
    where
        Ctx: ScriptContext,
        Pk: MiniscriptKey
;
fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize>
    where
        Ctx: ScriptContext,
        Pk: MiniscriptKey
; @@ -25,11 +25,11 @@ { ... }
fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error>
    where
        Ctx: ScriptContext,
        Pk: MiniscriptKey
, { ... } -}

The ScriptContext for Miniscript. Additional type information associated with +}

Expand description

The ScriptContext for Miniscript. Additional type information associated with miniscript that is used for carrying out checks that dependent on the context under which the script is used. For example, disallowing uncompressed keys in Segwit context

-

Required methods

fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on ScriptContext, fragments can be malleable. For Example, +

Required methods

fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Depending on ScriptContext, fragments can be malleable. For Example, under Legacy context, PkH is malleable because it is possible to estimate the cost of satisfaction because of compressed keys This is currently only used in compiler code for removing malleable @@ -37,11 +37,11 @@ compilations. This does NOT recursively check if the children of the fragment are valid or not. Since the compilation proceeds in a leaf to root fashion, a recursive check is unnecessary.

-

fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script context, the size of a satifaction witness may slightly differ.

-
Loading content...

Provided methods

fn check_witness<Pk, Ctx>(
    _witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the given satisfaction is valid under the ScriptContext +

fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Depending on script context, the size of a satifaction witness may slightly differ.

+
Loading content...

Provided methods

fn check_witness<Pk, Ctx>(
    _witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Check whether the given satisfaction is valid under the ScriptContext For example, segwit satisfactions may fail if the witness len is more 3600 or number of stack elements are more than 100.

-

fn check_global_consensus_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the Terminals might not +

fn check_global_consensus_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Depending on script Context, some of the Terminals might not be valid under the current consensus rules. Or some of the script resource limits may have been exceeded. These miniscripts would never be accepted by the Bitcoin network and hence @@ -51,7 +51,7 @@ uncompressed public keys are non-standard and thus invalid. In LegacyP2SH context, scripts above 520 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments.

-

fn check_global_policy_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Depending on script Context, some of the script resource limits +

fn check_global_policy_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Depending on script Context, some of the script resource limits may have been exceeded under the current bitcoin core policy rules These miniscripts would never be accepted by the Bitcoin network and hence it is safe to discard them. (unless explicitly disabled by non-standard flag) @@ -59,21 +59,21 @@ For example, in Segwit Context with MiniscriptKey as bitcoin::PublicKey scripts over 3600 bytes are invalid. Post Tapscript upgrade, this would have to consider other nodes. This does NOT recursively check the miniscript fragments.

-

fn check_local_consensus_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Consensus rules at the Miniscript satisfaction time. +

fn check_local_consensus_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Consensus rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path(Legacy/Segwitv0) may require more than 201 opcodes.

-

fn check_local_policy_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Policy rules at the Miniscript satisfaction time. +

fn check_local_policy_validity<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Policy rules at the Miniscript satisfaction time. It is possible that some paths of miniscript may exceed resource limits and our current satisfier and lifting analysis would not work correctly. For example, satisfaction path in Legacy context scriptSig more than 1650 bytes

-

fn check_global_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules that are not based +

fn check_global_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Check the consensus + policy(if not disabled) rules that are not based satisfaction

-

fn check_local_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check the consensus + policy(if not disabled) rules including the +

fn check_local_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Check the consensus + policy(if not disabled) rules including the ones for satisfaction

-

fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the top-level is type B

-

fn other_top_level_checks<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Other top level checks that are context specific

-

fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check top level consensus rules.

-
Loading content...

Implementations on Foreign Types

impl ScriptContext for BareCtx

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn other_top_level_checks<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Loading content...

Implementors

impl ScriptContext for Legacy

pub fn check_terminal_non_malleable<Pk, Ctx>(
    frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl ScriptContext for Segwitv0

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Loading content...
+

fn top_level_type_check<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Check whether the top-level is type B

+

fn other_top_level_checks<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Other top level checks that are context specific

+

fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Expand description

Check top level consensus rules.

+
Loading content...

Implementations on Foreign Types

impl ScriptContext for BareCtx

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn other_top_level_checks<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Loading content...

Implementors

impl ScriptContext for Legacy

pub fn check_terminal_non_malleable<Pk, Ctx>(
    frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl ScriptContext for Segwitv0

pub fn check_terminal_non_malleable<Pk, Ctx>(
    _frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_witness<Pk, Ctx>(
    witness: &[Vec<u8, Global>]
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_consensus_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_global_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn check_local_policy_validity<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_size<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Option<usize> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/type.KeyMap.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/type.KeyMap.html index 1df5eadbd1..fe28bcdafb 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/type.KeyMap.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/type.KeyMap.html @@ -1,10 +1,10 @@ KeyMap in bdk::keys - Rust

Type Definition bdk::keys::KeyMap[]

type KeyMap = HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>;

Alias type for a map of public key to secret key

+ Change settings

Type Definition bdk::keys::KeyMap[]

type KeyMap = HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>;
Expand description

Alias type for a map of public key to secret key

This map is returned whenever a descriptor that contains secrets is parsed using Descriptor::parse_descriptor, since the descriptor will always only contain public keys. This map allows looking up the corresponding secret key given a public key from the descriptor.

-
+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/type.ValidNetworks.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/type.ValidNetworks.html index eb0d6ade8a..cfc6355781 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/type.ValidNetworks.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/type.ValidNetworks.html @@ -1,6 +1,6 @@ ValidNetworks in bdk::keys - Rust

Type Definition bdk::keys::ValidNetworks[][src]

type ValidNetworks = HashSet<Network>;

Set of valid networks for a key

-
+ Change settings

Type Definition bdk::keys::ValidNetworks[][src]

type ValidNetworks = HashSet<Network>;
Expand description

Set of valid networks for a key

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor.html index a41b7e1ae6..e609b0361f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor.html @@ -1,7 +1,7 @@ descriptor in bdk - Rust

Macro bdk::descriptor[][src]

+                Change settings

Macro bdk::descriptor[][src]

 macro_rules! descriptor {
     ( bare ( $( $minisc:tt )* ) ) => { ... };
     ( sh ( wsh ( $( $minisc:tt )* ) ) ) => { ... };
@@ -14,7 +14,7 @@
     ( sh ( $( $minisc:tt )* ) ) => { ... };
     ( wsh ( $( $minisc:tt )* ) ) => { ... };
 }
-

Macro to write full descriptors with code

+
Expand description

Macro to write full descriptors with code

This macro expands to a Result of DescriptorTemplateOut and DescriptorError

The syntax is very similar to the normal descriptor syntax, with the exception that modifiers @@ -82,5 +82,5 @@ syntax is more suitable for a fixed number of items known at compile time, while bitcoin::PrivateKey::from_wif("cVt4o7BGAig1UXywgGSmARhxMdzP5qvQsxKkSsc1XEkw3tDTQFpy")?; let (descriptor, key_map, networks) = bdk::descriptor!(wpkh(my_key))?;

-
+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/macro.fragment.html b/static/docs-rs/bdk/nightly/latest/bdk/macro.fragment.html index efee5fcb2c..f7095af3f4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/macro.fragment.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/macro.fragment.html @@ -1,7 +1,7 @@ fragment in bdk - Rust

Macro bdk::fragment[][src]

+                Change settings

Macro bdk::fragment[][src]

 macro_rules! fragment {
     ( $modif:tt : $( $tail:tt )* ) => { ... };
     ( true ) => { ... };
@@ -29,9 +29,9 @@
     ( sortedmulti ( $( $inner:tt )* ) ) => { ... };
     ( sortedmulti_vec ( $( $inner:tt )* ) ) => { ... };
 }
-

Macro to write descriptor fragments with code

+
Expand description

Macro to write descriptor fragments with code

This macro will be expanded to an object of type Result<(Miniscript<DescriptorPublicKey, _>, KeyMap, ValidNetworks), DescriptorError>. It allows writing fragments of larger descriptors that can be pieced together using fragment!(thresh_vec(m, ...)).

The syntax to write macro fragment is the same as documented for the descriptor macro.

-
+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html index 41c65be0d7..a33d6a9d3e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html @@ -1,8 +1,8 @@ FeeRate in bdk - Rust

Struct bdk::FeeRate[][src]

pub struct FeeRate(_);

Fee rate

-

Implementations

impl FeeRate[src]

pub fn from_btc_per_kvb(btc_per_kvb: f32) -> Self[src]

Create a new instance of FeeRate given a float fee rate in btc/kvbytes

+ Change settings

Struct bdk::FeeRate[][src]

pub struct FeeRate(_);
Expand description

Fee rate

+

Implementations

impl FeeRate[src]

pub fn from_btc_per_kvb(btc_per_kvb: f32) -> Self[src]

Create a new instance of FeeRate given a float fee rate in btc/kvbytes

pub const fn from_sat_per_vb(sat_per_vb: f32) -> Self[src]

Create a new instance of FeeRate given a float fee rate in satoshi/vbyte

pub const fn default_min_relay_fee() -> Self[src]

Create a new FeeRate with the default min relay fee value

pub fn as_sat_vb(&self) -> f32[src]

Return the value as satoshi/vbyte

@@ -14,11 +14,11 @@ by ==. Read more

fn ne(&self, other: &FeeRate) -> bool[src]

This method tests for !=.

impl PartialOrd<FeeRate> for FeeRate[src]

fn partial_cmp(&self, other: &FeeRate) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Copy for FeeRate[src]

impl StructuralPartialEq for FeeRate[src]

Auto Trait Implementations

impl RefUnwindSafe for FeeRate

impl Send for FeeRate

impl Sync for FeeRate

impl Unpin for FeeRate

impl UnwindSafe for FeeRate

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html index 57ddfa69f9..af4c7d6ae8 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html @@ -1,16 +1,16 @@ LocalUtxo in bdk - Rust

Struct bdk::LocalUtxo[][src]

pub struct LocalUtxo {
+                Change settings

Struct bdk::LocalUtxo[][src]

pub struct LocalUtxo {
     pub outpoint: OutPoint,
     pub txout: TxOut,
     pub keychain: KeychainKind,
-}

An unspent output owned by a Wallet.

-

- Fields

outpoint: OutPoint

Reference to a transaction output

-
txout: TxOut

Transaction output

-
keychain: KeychainKind

Type of keychain

-

Trait Implementations

impl Clone for LocalUtxo[src]

fn clone(&self) -> LocalUtxo[src]

Returns a copy of the value. Read more

+}
Expand description

An unspent output owned by a Wallet.

+

+ Fields

outpoint: OutPoint
Expand description

Reference to a transaction output

+
txout: TxOut
Expand description

Transaction output

+
keychain: KeychainKind
Expand description

Type of keychain

+

Trait Implementations

impl Clone for LocalUtxo[src]

fn clone(&self) -> LocalUtxo[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for LocalUtxo[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for LocalUtxo[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html index 104df5fc9d..aee36cf269 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html @@ -1,7 +1,7 @@ TransactionDetails in bdk - Rust

Struct bdk::TransactionDetails[][src]

pub struct TransactionDetails {
+                Change settings

Struct bdk::TransactionDetails[][src]

pub struct TransactionDetails {
     pub transaction: Option<Transaction>,
     pub txid: Txid,
     pub timestamp: u64,
@@ -9,16 +9,16 @@
     pub sent: u64,
     pub fees: u64,
     pub height: Option<u32>,
-}

A wallet transaction

-

- Fields

transaction: Option<Transaction>

Optional transaction

-
txid: Txid

Transaction id

-
timestamp: u64

Timestamp

-
received: u64

Received value (sats)

-
sent: u64

Sent value (sats)

-
fees: u64

Fee value (sats)

-
height: Option<u32>

Confirmed in block height, None means unconfirmed

-

Trait Implementations

impl Clone for TransactionDetails[src]

fn clone(&self) -> TransactionDetails[src]

Returns a copy of the value. Read more

+}
Expand description

A wallet transaction

+

+ Fields

transaction: Option<Transaction>
Expand description

Optional transaction

+
txid: Txid
Expand description

Transaction id

+
timestamp: u64
Expand description

Timestamp

+
received: u64
Expand description

Received value (sats)

+
sent: u64
Expand description

Sent value (sats)

+
fees: u64
Expand description

Fee value (sats)

+
height: Option<u32>
Expand description

Confirmed in block height, None means unconfirmed

+

Trait Implementations

impl Clone for TransactionDetails[src]

fn clone(&self) -> TransactionDetails[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for TransactionDetails[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for TransactionDetails[src]

fn default() -> TransactionDetails[src]

Returns the “default value” for a type. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html index a944eeb52d..c59c298185 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html @@ -1,15 +1,15 @@ WeightedUtxo in bdk - Rust

Struct bdk::WeightedUtxo[][src]

pub struct WeightedUtxo {
+                Change settings

Struct bdk::WeightedUtxo[][src]

pub struct WeightedUtxo {
     pub satisfaction_weight: usize,
     pub utxo: Utxo,
-}

A Utxo with its satisfaction_weight.

-

- Fields

satisfaction_weight: usize

The weight of the witness data and scriptSig expressed in weight units. This is used to +}

Expand description

A Utxo with its satisfaction_weight.

+

+ Fields

satisfaction_weight: usize
Expand description

The weight of the witness data and scriptSig expressed in weight units. This is used to properly maintain the feerate when adding this input to a transaction during coin selection.

-
utxo: Utxo

The UTXO

-

Trait Implementations

impl Clone for WeightedUtxo[src]

fn clone(&self) -> WeightedUtxo[src]

Returns a copy of the value. Read more

+
utxo: Utxo
Expand description

The UTXO

+

Trait Implementations

impl Clone for WeightedUtxo[src]

fn clone(&self) -> WeightedUtxo[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for WeightedUtxo[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl PartialEq<WeightedUtxo> for WeightedUtxo[src]

fn eq(&self, other: &WeightedUtxo) -> bool[src]

This method tests for self and other values to be equal, and is used diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html index bbd18ed841..2480b9290f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html @@ -1,21 +1,21 @@ AddressValidatorError in bdk::wallet::address_validator - Rust

Enum bdk::wallet::address_validator::AddressValidatorError[][src]

pub enum AddressValidatorError {
+                Change settings

Enum bdk::wallet::address_validator::AddressValidatorError[][src]

pub enum AddressValidatorError {
     UserRejected,
     ConnectionError,
     TimeoutError,
     InvalidScript,
     Message(String),
-}

Errors that can be returned to fail the validation of an address

-

+}

Expand description

Errors that can be returned to fail the validation of an address

+

Variants

-
UserRejected

User rejected the address

-
ConnectionError

Network connection error

-
TimeoutError

Network request timeout error

-
InvalidScript

Invalid script

-
Message(String)

A custom error message

-

Trait Implementations

impl Clone for AddressValidatorError[src]

fn clone(&self) -> AddressValidatorError[src]

Returns a copy of the value. Read more

+
UserRejected
Expand description

User rejected the address

+
ConnectionError
Expand description

Network connection error

+
TimeoutError
Expand description

Network request timeout error

+
InvalidScript
Expand description

Invalid script

+
Message(String)
Expand description

A custom error message

+

Trait Implementations

impl Clone for AddressValidatorError[src]

fn clone(&self) -> AddressValidatorError[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AddressValidatorError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for AddressValidatorError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/index.html index ce2b5e3e4e..69e4592e58 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/index.html @@ -1,7 +1,7 @@ bdk::wallet::address_validator - Rust

Module bdk::wallet::address_validator[][src]

Address validation callbacks

+ Change settings

Module bdk::wallet::address_validator[][src]

Expand description

Address validation callbacks

The typical usage of those callbacks is for displaying the newly-generated address on a hardware wallet, so that the user can cross-check its correctness.

More generally speaking though, these callbacks can also be used to “do something” every time @@ -41,7 +41,7 @@ successfully to continue.

let address = wallet.get_address(New)?; println!("Address: {}", address);
-

Enums

+

Enums

AddressValidatorError

Errors that can be returned to fail the validation of an address

Traits

AddressValidator

Trait to build address validators

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html index 8fdc328254..37b2506a7d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html @@ -1,13 +1,13 @@ AddressValidator in bdk::wallet::address_validator - Rust

Trait bdk::wallet::address_validator::AddressValidator[][src]

pub trait AddressValidator: Send + Sync + Debug {
+                Change settings

Trait bdk::wallet::address_validator::AddressValidator[][src]

pub trait AddressValidator: Send + Sync + Debug {
     fn validate(
        &self,
        keychain: KeychainKind,
        hd_keypaths: &HdKeyPaths,
        script: &Script
    ) -> Result<(), AddressValidatorError>; -}

Trait to build address validators

+}
Expand description

Trait to build address validators

All the address validators attached to a wallet with Wallet::add_address_validator will be polled every time an address (external or internal) is generated by the wallet. Errors returned in the validator will be propagated up to the original caller that triggered the address generation.

For a usage example see this module’s documentation.

-

Required methods

fn validate(
    &self,
    keychain: KeychainKind,
    hd_keypaths: &HdKeyPaths,
    script: &Script
) -> Result<(), AddressValidatorError>
[src]

Validate or inspect an address

-
Loading content...

Implementors

Loading content...
+

Required methods

fn validate(
    &self,
    keychain: KeychainKind,
    hd_keypaths: &HdKeyPaths,
    script: &Script
) -> Result<(), AddressValidatorError>
[src]

Expand description

Validate or inspect an address

+
Loading content...

Implementors

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/index.html index bd8bd96b91..289bbc1816 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/index.html @@ -1,7 +1,7 @@ bdk::wallet::coin_selection - Rust

Module bdk::wallet::coin_selection[][src]

Coin selection

+ Change settings

Module bdk::wallet::coin_selection[][src]

Expand description

Coin selection

This module provides the trait CoinSelectionAlgorithm that can be implemented to define custom coin selection algorithms.

You can specify a custom coin selection algorithm through the coin_selection method on @@ -57,7 +57,7 @@ be used if it is not explicitly set.

// inspect, sign, broadcast, ...
-

Structs

+

Structs

BranchAndBoundCoinSelection

Branch and bound coin selection

CoinSelectionResult

Result of a successful coin selection

LargestFirstCoinSelection

Simple and dumb coin selection

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html index 5f06bb2fcf..8eb606877e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html @@ -1,9 +1,9 @@ BranchAndBoundCoinSelection in bdk::wallet::coin_selection - Rust

Struct bdk::wallet::coin_selection::BranchAndBoundCoinSelection[][src]

pub struct BranchAndBoundCoinSelection { /* fields omitted */ }

Branch and bound coin selection

+ Change settings

Struct bdk::wallet::coin_selection::BranchAndBoundCoinSelection[][src]

pub struct BranchAndBoundCoinSelection { /* fields omitted */ }
Expand description

Branch and bound coin selection

Code adapted from Bitcoin Core’s implementation and from Mark Erhardt Master’s Thesis: http://murch.one/wp-content/uploads/2016/11/erhardt2016coinselection.pdf

-

Implementations

impl BranchAndBoundCoinSelection[src]

pub fn new(size_of_change: u64) -> Self[src]

Create new instance with target size for change output

+

Implementations

impl BranchAndBoundCoinSelection[src]

pub fn new(size_of_change: u64) -> Self[src]

Create new instance with target size for change output

Trait Implementations

impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

fn coin_select(
    &self,
    _database: &D,
    required_utxos: Vec<WeightedUtxo>,
    optional_utxos: Vec<WeightedUtxo>,
    fee_rate: FeeRate,
    amount_needed: u64,
    fee_amount: f32
) -> Result<CoinSelectionResult, Error>
[src]

Perform the coin selection Read more

impl Debug for BranchAndBoundCoinSelection[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for BranchAndBoundCoinSelection[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html index 5904f707ff..141f7e663f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html @@ -1,14 +1,14 @@ CoinSelectionResult in bdk::wallet::coin_selection - Rust

Struct bdk::wallet::coin_selection::CoinSelectionResult[][src]

pub struct CoinSelectionResult {
+                Change settings

Struct bdk::wallet::coin_selection::CoinSelectionResult[][src]

pub struct CoinSelectionResult {
     pub selected: Vec<Utxo>,
     pub fee_amount: f32,
-}

Result of a successful coin selection

-

- Fields

selected: Vec<Utxo>

List of outputs selected for use as inputs

-
fee_amount: f32

Total fee amount in satoshi

-

Implementations

impl CoinSelectionResult[src]

pub fn selected_amount(&self) -> u64[src]

The total value of the inputs selected.

+}
Expand description

Result of a successful coin selection

+

+ Fields

selected: Vec<Utxo>
Expand description

List of outputs selected for use as inputs

+
fee_amount: f32
Expand description

Total fee amount in satoshi

+

Implementations

impl CoinSelectionResult[src]

pub fn selected_amount(&self) -> u64[src]

The total value of the inputs selected.

pub fn local_selected_amount(&self) -> u64[src]

The total value of the inputs selected from the local wallet.

Trait Implementations

impl Debug for CoinSelectionResult[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html index f588937844..2c628a9b28 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html @@ -1,10 +1,10 @@ LargestFirstCoinSelection in bdk::wallet::coin_selection - Rust

Struct bdk::wallet::coin_selection::LargestFirstCoinSelection[][src]

pub struct LargestFirstCoinSelection;

Simple and dumb coin selection

+ Change settings

Struct bdk::wallet::coin_selection::LargestFirstCoinSelection[][src]

pub struct LargestFirstCoinSelection;
Expand description

Simple and dumb coin selection

This coin selection algorithm sorts the available UTXOs by value and then picks them starting from the largest ones until the required amount is reached.

-

Trait Implementations

impl Clone for LargestFirstCoinSelection[src]

fn clone(&self) -> LargestFirstCoinSelection[src]

Returns a copy of the value. Read more

+

Trait Implementations

impl Clone for LargestFirstCoinSelection[src]

fn clone(&self) -> LargestFirstCoinSelection[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

fn coin_select(
    &self,
    _database: &D,
    required_utxos: Vec<WeightedUtxo>,
    optional_utxos: Vec<WeightedUtxo>,
    fee_rate: FeeRate,
    amount_needed: u64,
    fee_amount: f32
) -> Result<CoinSelectionResult, Error>
[src]

Perform the coin selection Read more

impl Debug for LargestFirstCoinSelection[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html index 38e17fce5f..9a39c9bd99 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html @@ -1,13 +1,13 @@ CoinSelectionAlgorithm in bdk::wallet::coin_selection - Rust

Trait bdk::wallet::coin_selection::CoinSelectionAlgorithm[][src]

pub trait CoinSelectionAlgorithm<D: Database>: Debug {
+                Change settings

Trait bdk::wallet::coin_selection::CoinSelectionAlgorithm[][src]

pub trait CoinSelectionAlgorithm<D: Database>: Debug {
     fn coin_select(
        &self,
        database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>; -}

Trait for generalized coin selection algorithms

+}
Expand description

Trait for generalized coin selection algorithms

This trait can be implemented to make the Wallet use a customized coin selection algorithm when it creates transactions.

For an example see this module’s documentation.

-

Required methods

fn coin_select(
    &self,
    database: &D,
    required_utxos: Vec<WeightedUtxo>,
    optional_utxos: Vec<WeightedUtxo>,
    fee_rate: FeeRate,
    amount_needed: u64,
    fee_amount: f32
) -> Result<CoinSelectionResult, Error>
[src]

Perform the coin selection

+

Required methods

fn coin_select(
    &self,
    database: &D,
    required_utxos: Vec<WeightedUtxo>,
    optional_utxos: Vec<WeightedUtxo>,
    fee_rate: FeeRate,
    amount_needed: u64,
    fee_amount: f32
) -> Result<CoinSelectionResult, Error>
[src]

Expand description

Perform the coin selection

  • database: a reference to the wallet’s database that can be used to lookup additional details for a specific UTXO
  • @@ -20,5 +20,5 @@ weight cost
  • fee_amount: the amount of fees in satoshi already accumulated from adding outputs and the transaction’s header
-
Loading content...

Implementors

impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

fn coin_select(
    &self,
    _database: &D,
    required_utxos: Vec<WeightedUtxo>,
    optional_utxos: Vec<WeightedUtxo>,
    fee_rate: FeeRate,
    amount_needed: u64,
    fee_amount: f32
) -> Result<CoinSelectionResult, Error>
[src]

impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

fn coin_select(
    &self,
    _database: &D,
    required_utxos: Vec<WeightedUtxo>,
    optional_utxos: Vec<WeightedUtxo>,
    fee_rate: FeeRate,
    amount_needed: u64,
    fee_amount: f32
) -> Result<CoinSelectionResult, Error>
[src]

Loading content...
+
Loading content...

Implementors

impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

fn coin_select(
    &self,
    _database: &D,
    required_utxos: Vec<WeightedUtxo>,
    optional_utxos: Vec<WeightedUtxo>,
    fee_rate: FeeRate,
    amount_needed: u64,
    fee_amount: f32
) -> Result<CoinSelectionResult, Error>
[src]

impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

fn coin_select(
    &self,
    _database: &D,
    required_utxos: Vec<WeightedUtxo>,
    optional_utxos: Vec<WeightedUtxo>,
    fee_rate: FeeRate,
    amount_needed: u64,
    fee_amount: f32
) -> Result<CoinSelectionResult, Error>
[src]

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/type.DefaultCoinSelectionAlgorithm.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/type.DefaultCoinSelectionAlgorithm.html index 37ae69e6f1..467d5fa210 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/type.DefaultCoinSelectionAlgorithm.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/type.DefaultCoinSelectionAlgorithm.html @@ -1,7 +1,7 @@ DefaultCoinSelectionAlgorithm in bdk::wallet::coin_selection - Rust

Type Definition bdk::wallet::coin_selection::DefaultCoinSelectionAlgorithm[][src]

type DefaultCoinSelectionAlgorithm = BranchAndBoundCoinSelection;

Default coin selection algorithm used by TxBuilder if not + Change settings

Type Definition bdk::wallet::coin_selection::DefaultCoinSelectionAlgorithm[][src]

type DefaultCoinSelectionAlgorithm = BranchAndBoundCoinSelection;
Expand description

Default coin selection algorithm used by TxBuilder if not overridden

-
+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/enum.AddressIndex.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/enum.AddressIndex.html index 160e57ff1b..bb92004bb7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/enum.AddressIndex.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/enum.AddressIndex.html @@ -1,34 +1,34 @@ AddressIndex in bdk::wallet - Rust

Enum bdk::wallet::AddressIndex[][src]

pub enum AddressIndex {
+                Change settings

Enum bdk::wallet::AddressIndex[][src]

pub enum AddressIndex {
     New,
     LastUnused,
     Peek(u32),
     Reset(u32),
-}

The address index selection strategy to use to derived an address from the wallet’s external +}

Expand description

The address index selection strategy to use to derived an address from the wallet’s external descriptor. See Wallet::get_address. If you’re unsure which one to use use WalletIndex::New.

-

+

Variants

-
New

Return a new address after incrementing the current descriptor index.

-
LastUnused

Return the address for the current descriptor index if it has not been used in a received +

New
Expand description

Return a new address after incrementing the current descriptor index.

+
LastUnused
Expand description

Return the address for the current descriptor index if it has not been used in a received transaction. Otherwise return a new address as with AddressIndex::New.

Use with caution, if the wallet has not yet detected an address has been used it could return an already used address. This function is primarily meant for situations where the caller is untrusted; for example when deriving donation addresses on-demand for a public web page.

-
Peek(u32)

Return the address for a specific descriptor index. Does not change the current descriptor +

Peek(u32)
Expand description

Return the address for a specific descriptor index. Does not change the current descriptor index used by AddressIndex::New and AddressIndex::LastUsed.

Use with caution, if an index is given that is less than the current descriptor index then the returned address may have already been used.

-
Reset(u32)

Return the address for a specific descriptor index and reset the current descriptor index +

Reset(u32)
Expand description

Return the address for a specific descriptor index and reset the current descriptor index used by AddressIndex::New and AddressIndex::LastUsed to this value.

Use with caution, if an index is given that is less than the current descriptor index then the returned address and subsequent addresses returned by calls to AddressIndex::New and AddressIndex::LastUsed may have already been used. Also if the index is reset to a value earlier than the crate::blockchain::Blockchain stop_gap (default is 20) then a larger stop_gap should be used to monitor for all possibly used addresses.

-

Trait Implementations

impl Debug for AddressIndex[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

Trait Implementations

impl Debug for AddressIndex[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/index.html index c0597a48bb..1133a24a6b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/index.html @@ -1,7 +1,7 @@ bdk::wallet::export - Rust

Module bdk::wallet::export[][src]

Wallet export

+ Change settings

Module bdk::wallet::export[][src]

Expand description

Wallet export

This modules implements the wallet export format used by FullyNoded.

Examples

Import from JSON

@@ -31,7 +31,7 @@
     .map_err(bdk::Error::Generic)?;
 
 println!("Exported: {}", export.to_string());
-

Structs

+

Structs

WalletExport

Structure that contains the export of a wallet

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html index 1f98da7e1e..e2b81eb7b3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html @@ -1,16 +1,16 @@ WalletExport in bdk::wallet::export - Rust

Struct bdk::wallet::export::WalletExport[][src]

pub struct WalletExport {
+                Change settings

Struct bdk::wallet::export::WalletExport[][src]

pub struct WalletExport {
     pub blockheight: u32,
     pub label: String,
     // some fields omitted
-}

Structure that contains the export of a wallet

+}
Expand description

Structure that contains the export of a wallet

For a usage example see this module’s documentation.

-

- Fields

blockheight: u32

Earliest block to rescan when looking for the wallet’s transactions

-
label: String

Arbitrary label for the wallet

-

Implementations

impl WalletExport[src]

pub fn export_wallet<B, D: BatchDatabase>(
    wallet: &Wallet<B, D>,
    label: &str,
    include_blockheight: bool
) -> Result<Self, &'static str>
[src]

Export a wallet

+

+ Fields

blockheight: u32
Expand description

Earliest block to rescan when looking for the wallet’s transactions

+
label: String
Expand description

Arbitrary label for the wallet

+

Implementations

impl WalletExport[src]

pub fn export_wallet<B, D: BatchDatabase>(
    wallet: &Wallet<B, D>,
    label: &str,
    include_blockheight: bool
) -> Result<Self, &'static str>
[src]

Export a wallet

This function returns an error if it determines that the wallet’s descriptor(s) are not supported by Bitcoin Core or don’t follow the standard derivation paths defined by BIP44 and others.

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html index 0b8274c2b0..158a63bda6 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html @@ -1,9 +1,9 @@ bdk::wallet - Rust

Module bdk::wallet[][src]

Wallet

+ Change settings

Module bdk::wallet[][src]

Expand description

Wallet

This module defines the Wallet structure.

-

Modules

+

Modules

address_validator

Address validation callbacks

coin_selection

Coin selection

export

Wallet export

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html index cc9df7ad5e..974d37f150 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html @@ -1,7 +1,7 @@ SignerError in bdk::wallet::signer - Rust

Enum bdk::wallet::signer::SignerError[][src]

pub enum SignerError {
+                Change settings

Enum bdk::wallet::signer::SignerError[][src]

pub enum SignerError {
     MissingKey,
     InvalidKey,
     UserCanceled,
@@ -11,19 +11,19 @@
     MissingWitnessUtxo,
     MissingWitnessScript,
     MissingHdKeypath,
-}

Signing error

-

+}
Expand description

Signing error

+

Variants

-
MissingKey

The private key is missing for the required public key

-
InvalidKey

The private key in use has the right fingerprint but derives differently than expected

-
UserCanceled

The user canceled the operation

-
InputIndexOutOfRange

Input index is out of range

-
MissingNonWitnessUtxo

The non_witness_utxo field of the transaction is required to sign this input

-
InvalidNonWitnessUtxo

The non_witness_utxo specified is invalid

-
MissingWitnessUtxo

The witness_utxo field of the transaction is required to sign this input

-
MissingWitnessScript

The witness_script field of the transaction is requied to sign this input

-
MissingHdKeypath

The fingerprint and derivation path are missing from the psbt input

-

Trait Implementations

impl Clone for SignerError[src]

fn clone(&self) -> SignerError[src]

Returns a copy of the value. Read more

+
MissingKey
Expand description

The private key is missing for the required public key

+
InvalidKey
Expand description

The private key in use has the right fingerprint but derives differently than expected

+
UserCanceled
Expand description

The user canceled the operation

+
InputIndexOutOfRange
Expand description

Input index is out of range

+
MissingNonWitnessUtxo
Expand description

The non_witness_utxo field of the transaction is required to sign this input

+
InvalidNonWitnessUtxo
Expand description

The non_witness_utxo specified is invalid

+
MissingWitnessUtxo
Expand description

The witness_utxo field of the transaction is required to sign this input

+
MissingWitnessScript
Expand description

The witness_script field of the transaction is requied to sign this input

+
MissingHdKeypath
Expand description

The fingerprint and derivation path are missing from the psbt input

+

Trait Implementations

impl Clone for SignerError[src]

fn clone(&self) -> SignerError[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SignerError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for SignerError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html index 6cc9348660..46977a90a6 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html @@ -1,18 +1,18 @@ SignerId in bdk::wallet::signer - Rust

Enum bdk::wallet::signer::SignerId[][src]

pub enum SignerId {
+                Change settings

Enum bdk::wallet::signer::SignerId[][src]

pub enum SignerId {
     PkHash(Hash),
     Fingerprint(Fingerprint),
     Dummy(u64),
-}

Identifier of a signer in the SignersContainers. Used as a key to find the right signer among +}

Expand description

Identifier of a signer in the SignersContainers. Used as a key to find the right signer among multiple of them

-

+

Variants

-
PkHash(Hash)

Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA public key

-
Fingerprint(Fingerprint)

The fingerprint of a BIP32 extended key

-
Dummy(u64)

Dummy identifier

-

Trait Implementations

impl Clone for SignerId[src]

fn clone(&self) -> SignerId[src]

Returns a copy of the value. Read more

+
PkHash(Hash)
Expand description

Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA public key

+
Fingerprint(Fingerprint)
Expand description

The fingerprint of a BIP32 extended key

+
Dummy(u64)
Expand description

Dummy identifier

+

Trait Implementations

impl Clone for SignerId[src]

fn clone(&self) -> SignerId[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SignerId[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl From<Fingerprint> for SignerId[src]

fn from(fing: Fingerprint) -> SignerId[src]

Performs the conversion.

@@ -20,18 +20,18 @@ multiple of them

impl Hash for SignerId[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

impl Ord for SignerId[src]

fn cmp(&self, other: &SignerId) -> Ordering[src]

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl PartialEq<SignerId> for SignerId[src]

fn eq(&self, other: &SignerId) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &SignerId) -> bool[src]

This method tests for !=.

impl PartialOrd<SignerId> for SignerId[src]

fn partial_cmp(&self, other: &SignerId) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for SignerId[src]

impl StructuralEq for SignerId[src]

impl StructuralPartialEq for SignerId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/index.html index 04fabf8f3e..afc66f9ec4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/index.html @@ -1,7 +1,7 @@ bdk::wallet::signer - Rust

Module bdk::wallet::signer[][src]

Generalized signers

+ Change settings

Module bdk::wallet::signer[][src]

Expand description

Generalized signers

This module provides the ability to add customized signers to a Wallet through the Wallet::add_signer function.

@@ -49,7 +49,7 @@ through the Wallet::add_ Arc::new(custom_signer) );
-

Structs

+

Structs

SignOptions

Options for a software signer

SignerOrdering

Defines the order in which signers are called

SignersContainer

Container for multiple signers

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignOptions.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignOptions.html index 353f615f09..c19b059fe4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignOptions.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignOptions.html @@ -1,13 +1,13 @@ SignOptions in bdk::wallet::signer - Rust

Struct bdk::wallet::signer::SignOptions[][src]

pub struct SignOptions {
+                Change settings

Struct bdk::wallet::signer::SignOptions[][src]

pub struct SignOptions {
     pub trust_witness_utxo: bool,
     pub assume_height: Option<u32>,
-}

Options for a software signer

+}
Expand description

Options for a software signer

Adjust the behavior of our software signers and the way a transaction is finalized

-

- Fields

trust_witness_utxo: bool

Whether the signer should trust the witness_utxo, if the non_witness_utxo hasn’t been +

+ Fields

trust_witness_utxo: bool
Expand description

Whether the signer should trust the witness_utxo, if the non_witness_utxo hasn’t been provided

Defaults to false to mitigate the “SegWit bug” which chould trick the wallet into paying a fee larger than expected.

@@ -16,12 +16,12 @@ SegWit transactions in the PSBT they generate: in those cases setting this to

For more details see: https://blog.trezor.io/details-of-firmware-updates-for-trezor-one-version-1-9-1-and-trezor-model-t-version-2-3-1-1eba8f60f2dd

-
assume_height: Option<u32>

Whether the wallet should assume a specific height has been reached when trying to finalize +

assume_height: Option<u32>
Expand description

Whether the wallet should assume a specific height has been reached when trying to finalize a transaction

The wallet will only “use” a timelock to satisfy the spending policy of an input if the timelock height has already been reached. This option allows overriding the “current height” to let the wallet use timelocks in the future to spend a coin.

-

Trait Implementations

impl Clone for SignOptions[src]

fn clone(&self) -> SignOptions[src]

Returns a copy of the value. Read more

+

Trait Implementations

impl Clone for SignOptions[src]

fn clone(&self) -> SignOptions[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SignOptions[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for SignOptions[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html index fcbf7d0819..0c2d170e8e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html @@ -1,27 +1,27 @@ SignerOrdering in bdk::wallet::signer - Rust

Struct bdk::wallet::signer::SignerOrdering[][src]

pub struct SignerOrdering(pub usize);

Defines the order in which signers are called

+ Change settings

Struct bdk::wallet::signer::SignerOrdering[][src]

pub struct SignerOrdering(pub usize);
Expand description

Defines the order in which signers are called

The default value is 100. Signers with an ordering above that will be called later, and they will thus see the partial signatures added to the transaction once they get to sign themselves.

-

Trait Implementations

impl Clone for SignerOrdering[src]

fn clone(&self) -> SignerOrdering[src]

Returns a copy of the value. Read more

+

Trait Implementations

impl Clone for SignerOrdering[src]

fn clone(&self) -> SignerOrdering[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SignerOrdering[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for SignerOrdering[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

impl Ord for SignerOrdering[src]

fn cmp(&self, other: &SignerOrdering) -> Ordering[src]

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

impl PartialEq<SignerOrdering> for SignerOrdering[src]

fn eq(&self, other: &SignerOrdering) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &SignerOrdering) -> bool[src]

This method tests for !=.

impl PartialOrd<SignerOrdering> for SignerOrdering[src]

fn partial_cmp(&self, other: &SignerOrdering) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for SignerOrdering[src]

impl StructuralEq for SignerOrdering[src]

impl StructuralPartialEq for SignerOrdering[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html index 76112de48b..38f1f02155 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html @@ -1,8 +1,8 @@ SignersContainer in bdk::wallet::signer - Rust

Struct bdk::wallet::signer::SignersContainer[][src]

pub struct SignersContainer(_);

Container for multiple signers

-

Implementations

impl SignersContainer[src]

pub fn as_key_map(&self, secp: &Secp256k1<All>) -> KeyMap[src]

Create a map of public keys to secret keys

+ Change settings

Struct bdk::wallet::signer::SignersContainer[][src]

pub struct SignersContainer(_);
Expand description

Container for multiple signers

+

Implementations

impl SignersContainer[src]

pub fn as_key_map(&self, secp: &Secp256k1<All>) -> KeyMap[src]

Create a map of public keys to secret keys

impl SignersContainer[src]

pub fn new() -> Self[src]

Default constructor

pub fn add_external(
    &mut self,
    id: SignerId,
    ordering: SignerOrdering,
    signer: Arc<dyn Signer>
) -> Option<Arc<dyn Signer>>
[src]

Adds an external signer to the container for the specified id. Optionally returns the signer that was previously in the container, if any

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html index ea9e7a836f..c050fa5f2c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html @@ -1,27 +1,27 @@ Signer in bdk::wallet::signer - Rust

Trait bdk::wallet::signer::Signer[][src]

pub trait Signer: Debug + Send + Sync {
+                Change settings

Trait bdk::wallet::signer::Signer[][src]

pub trait Signer: Debug + Send + Sync {
     fn sign(
        &self,
        psbt: &mut PartiallySignedTransaction,
        input_index: Option<usize>,
        secp: &Secp256k1<All>
    ) -> Result<(), SignerError>;
fn sign_whole_tx(&self) -> bool;
fn id(&self, secp: &Secp256k1<All>) -> SignerId; fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey> { ... } -}

Trait for signers

+}
Expand description

Trait for signers

This trait can be implemented to provide customized signers to the wallet. For an example see this module’s documentation.

-

Required methods

fn sign(
    &self,
    psbt: &mut PartiallySignedTransaction,
    input_index: Option<usize>,
    secp: &Secp256k1<All>
) -> Result<(), SignerError>
[src]

Sign a PSBT

+

Required methods

fn sign(
    &self,
    psbt: &mut PartiallySignedTransaction,
    input_index: Option<usize>,
    secp: &Secp256k1<All>
) -> Result<(), SignerError>
[src]

Expand description

Sign a PSBT

The input_index argument is only provided if the wallet doesn’t declare to sign the whole transaction in one go (see Signer::sign_whole_tx). Otherwise its value is None and can be ignored.

-

fn sign_whole_tx(&self) -> bool[src]

Return whether or not the signer signs the whole transaction in one go instead of every +

fn sign_whole_tx(&self) -> bool[src]

Expand description

Return whether or not the signer signs the whole transaction in one go instead of every input individually

-

fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

Return the SignerId for this signer

+

fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

Expand description

Return the SignerId for this signer

The SignerId can be used to lookup a signer in the Wallet’s signers map or to compare two signers.

-
Loading content...

Provided methods

fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

Return the secret key for the signer

+
Loading content...

Provided methods

fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

Expand description

Return the secret key for the signer

This is used internally to reconstruct the original descriptor that may contain secrets. External signers that are meant to keep key isolated should just return None here (which is the default for this method, if not overridden).

-
Loading content...

Implementations on Foreign Types

impl Signer for DescriptorXKey<ExtendedPrivKey>[src]

fn sign(
    &self,
    psbt: &mut PartiallySignedTransaction,
    input_index: Option<usize>,
    secp: &Secp256k1<All>
) -> Result<(), SignerError>
[src]

fn sign_whole_tx(&self) -> bool[src]

fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

impl Signer for PrivateKey[src]

fn sign(
    &self,
    psbt: &mut PartiallySignedTransaction,
    input_index: Option<usize>,
    secp: &Secp256k1<All>
) -> Result<(), SignerError>
[src]

fn sign_whole_tx(&self) -> bool[src]

fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

Loading content...

Implementors

Loading content...
+
Loading content...

Implementations on Foreign Types

impl Signer for DescriptorXKey<ExtendedPrivKey>[src]

fn sign(
    &self,
    psbt: &mut PartiallySignedTransaction,
    input_index: Option<usize>,
    secp: &Secp256k1<All>
) -> Result<(), SignerError>
[src]

fn sign_whole_tx(&self) -> bool[src]

fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

impl Signer for PrivateKey[src]

fn sign(
    &self,
    psbt: &mut PartiallySignedTransaction,
    input_index: Option<usize>,
    secp: &Secp256k1<All>
) -> Result<(), SignerError>
[src]

fn sign_whole_tx(&self) -> bool[src]

fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

Loading content...

Implementors

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html index 422c13e98c..6ac124f859 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html @@ -1,7 +1,7 @@ Wallet in bdk::wallet - Rust

Struct bdk::wallet::Wallet[][src]

pub struct Wallet<B, D> { /* fields omitted */ }

A Bitcoin wallet

+ Change settings

Struct bdk::wallet::Wallet[][src]

pub struct Wallet<B, D> { /* fields omitted */ }
Expand description

A Bitcoin wallet

A wallet takes descriptors, a database and a blockchain and implements the basic functions that a Bitcoin wallets needs to operate, like generating addresses, returning the balance, @@ -9,7 +9,7 @@ needs to operate, like generatin

A wallet can be either “online” if the blockchain type provided implements Blockchain, or “offline” if it is the unit type (). Offline wallets only expose methods that don’t need any interaction with the blockchain to work.

-

Implementations

impl<D> Wallet<(), D> where
    D: BatchDatabase
[src]

pub fn new_offline<E: IntoWalletDescriptor>(
    descriptor: E,
    change_descriptor: Option<E>,
    network: Network,
    database: D
) -> Result<Self, Error>
[src]

Create a new “offline” wallet

+

Implementations

impl<D> Wallet<(), D> where
    D: BatchDatabase
[src]

pub fn new_offline<E: IntoWalletDescriptor>(
    descriptor: E,
    change_descriptor: Option<E>,
    network: Network,
    database: D
) -> Result<Self, Error>
[src]

Create a new “offline” wallet

impl<B, D> Wallet<B, D> where
    D: BatchDatabase
[src]

pub fn get_address(&self, address_index: AddressIndex) -> Result<Address, Error>[src]

Return a derived address using the external descriptor, see AddressIndex for available address index selection strategies. If none of the keys in the descriptor are derivable (ie. does not end with /*) then the same address will always be returned for any AddressIndex.

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/fn.get_timestamp.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/fn.get_timestamp.html index b7d65cd459..473b90bc01 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/fn.get_timestamp.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/fn.get_timestamp.html @@ -1,6 +1,6 @@ get_timestamp in bdk::wallet::time - Rust

Function bdk::wallet::time::get_timestamp[][src]

pub fn get_timestamp() -> u64

Return the current timestamp in seconds

-
+ Change settings

Function bdk::wallet::time::get_timestamp[][src]

pub fn get_timestamp() -> u64
Expand description

Return the current timestamp in seconds

+
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/index.html index a98a938723..561800e5ae 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/index.html @@ -1,12 +1,12 @@ bdk::wallet::time - Rust

Module bdk::wallet::time[][src]

Cross-platform time

+ Change settings

Module bdk::wallet::time[][src]

Expand description

Cross-platform time

This module provides a function to get the current timestamp that works on all the platforms supported by the library.

It can be useful to compare it with the timestamps found in TransactionDetails.

-

Functions

+

Functions

get_timestamp

Return the current timestamp in seconds

\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html index f7a159d6f8..b2973ec232 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html @@ -1,9 +1,9 @@ IsDust in bdk::wallet - Rust

Trait bdk::wallet::IsDust[][src]

pub trait IsDust {
+                Change settings

Trait bdk::wallet::IsDust[][src]

pub trait IsDust {
     fn is_dust(&self) -> bool;
-}

Trait to check if a value is below the dust limit

-

Required methods

fn is_dust(&self) -> bool[src]

Check whether or not a value is below dust limit

-
Loading content...

Implementations on Foreign Types

impl IsDust for u64[src]

fn is_dust(&self) -> bool[src]

Loading content...

Implementors

Loading content...
+}
Expand description

Trait to check if a value is below the dust limit

+

Required methods

fn is_dust(&self) -> bool[src]

Expand description

Check whether or not a value is below dust limit

+
Loading content...

Implementations on Foreign Types

impl IsDust for u64[src]

fn is_dust(&self) -> bool[src]

Loading content...

Implementors

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html index 3e1f903e26..25f8b9c608 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html @@ -1,37 +1,37 @@ ChangeSpendPolicy in bdk::wallet::tx_builder - Rust

Enum bdk::wallet::tx_builder::ChangeSpendPolicy[][src]

pub enum ChangeSpendPolicy {
+                Change settings

Enum bdk::wallet::tx_builder::ChangeSpendPolicy[][src]

pub enum ChangeSpendPolicy {
     ChangeAllowed,
     OnlyChange,
     ChangeForbidden,
-}

Policy regarding the use of change outputs when creating a transaction

-

+}
Expand description

Policy regarding the use of change outputs when creating a transaction

+

Variants

-
ChangeAllowed

Use both change and non-change outputs (default)

-
OnlyChange

Only use change outputs (see TxBuilder::only_spend_change)

-
ChangeForbidden

Only use non-change outputs (see TxBuilder::do_not_spend_change)

-

Trait Implementations

impl Clone for ChangeSpendPolicy[src]

fn clone(&self) -> ChangeSpendPolicy[src]

Returns a copy of the value. Read more

+
ChangeAllowed
Expand description

Use both change and non-change outputs (default)

+
OnlyChange
Expand description

Only use change outputs (see TxBuilder::only_spend_change)

+
ChangeForbidden
Expand description

Only use non-change outputs (see TxBuilder::do_not_spend_change)

+

Trait Implementations

impl Clone for ChangeSpendPolicy[src]

fn clone(&self) -> ChangeSpendPolicy[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for ChangeSpendPolicy[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Default for ChangeSpendPolicy[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

-

impl Hash for ChangeSpendPolicy[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

+

impl Debug for ChangeSpendPolicy[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Default for ChangeSpendPolicy[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

+

impl Hash for ChangeSpendPolicy[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

-

impl Ord for ChangeSpendPolicy[src]

fn cmp(&self, other: &ChangeSpendPolicy) -> Ordering[src]

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

-

impl PartialEq<ChangeSpendPolicy> for ChangeSpendPolicy[src]

fn eq(&self, other: &ChangeSpendPolicy) -> bool[src]

This method tests for self and other values to be equal, and is used +

impl Ord for ChangeSpendPolicy[src]

fn cmp(&self, other: &ChangeSpendPolicy) -> Ordering[src]

This method returns an Ordering between self and other. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

impl PartialEq<ChangeSpendPolicy> for ChangeSpendPolicy[src]

fn eq(&self, other: &ChangeSpendPolicy) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

-

impl PartialOrd<ChangeSpendPolicy> for ChangeSpendPolicy[src]

fn partial_cmp(&self, other: &ChangeSpendPolicy) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

impl PartialOrd<ChangeSpendPolicy> for ChangeSpendPolicy[src]

fn partial_cmp(&self, other: &ChangeSpendPolicy) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

+

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

-

impl Copy for ChangeSpendPolicy[src]

impl Eq for ChangeSpendPolicy[src]

impl StructuralEq for ChangeSpendPolicy[src]

impl StructuralPartialEq for ChangeSpendPolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl Copy for ChangeSpendPolicy[src]

impl Eq for ChangeSpendPolicy[src]

impl StructuralEq for ChangeSpendPolicy[src]

impl StructuralPartialEq for ChangeSpendPolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html index 78f4fccd72..6849be6584 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html @@ -1,38 +1,38 @@ TxOrdering in bdk::wallet::tx_builder - Rust

Enum bdk::wallet::tx_builder::TxOrdering[][src]

pub enum TxOrdering {
+                Change settings

Enum bdk::wallet::tx_builder::TxOrdering[][src]

pub enum TxOrdering {
     Shuffle,
     Untouched,
     Bip69Lexicographic,
-}

Ordering of the transaction’s inputs and outputs

-

+}

Expand description

Ordering of the transaction’s inputs and outputs

+

Variants

-
Shuffle

Randomized (default)

-
Untouched

Unchanged

-
Bip69Lexicographic

BIP69 / Lexicographic

-

Implementations

impl TxOrdering[src]

pub fn sort_tx(&self, tx: &mut Transaction)[src]

Sort transaction inputs and outputs by TxOrdering variant

-

Trait Implementations

impl Clone for TxOrdering[src]

fn clone(&self) -> TxOrdering[src]

Returns a copy of the value. Read more

+
Shuffle
Expand description

Randomized (default)

+
Untouched
Expand description

Unchanged

+
Bip69Lexicographic
Expand description

BIP69 / Lexicographic

+

Implementations

impl TxOrdering[src]

pub fn sort_tx(&self, tx: &mut Transaction)[src]

Sort transaction inputs and outputs by TxOrdering variant

+

Trait Implementations

impl Clone for TxOrdering[src]

fn clone(&self) -> TxOrdering[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

-

impl Debug for TxOrdering[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

-

impl Default for TxOrdering[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

-

impl Hash for TxOrdering[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

+

impl Debug for TxOrdering[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

+

impl Default for TxOrdering[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

+

impl Hash for TxOrdering[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

-

impl Ord for TxOrdering[src]

fn cmp(&self, other: &TxOrdering) -> Ordering[src]

This method returns an Ordering between self and other. Read more

-

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

-

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

-

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

-

impl PartialEq<TxOrdering> for TxOrdering[src]

fn eq(&self, other: &TxOrdering) -> bool[src]

This method tests for self and other values to be equal, and is used +

impl Ord for TxOrdering[src]

fn cmp(&self, other: &TxOrdering) -> Ordering[src]

This method returns an Ordering between self and other. Read more

+

#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]

Compares and returns the maximum of two values. Read more

+

#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]

Compares and returns the minimum of two values. Read more

+

#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]

Restrict a value to a certain interval. Read more

+

impl PartialEq<TxOrdering> for TxOrdering[src]

fn eq(&self, other: &TxOrdering) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

-

impl PartialOrd<TxOrdering> for TxOrdering[src]

fn partial_cmp(&self, other: &TxOrdering) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

-

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

-

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= +

impl PartialOrd<TxOrdering> for TxOrdering[src]

fn partial_cmp(&self, other: &TxOrdering) -> Option<Ordering>[src]

This method returns an ordering between self and other values if one exists. Read more

+

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

+

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

-

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

-

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= +

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

+

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

-

impl Copy for TxOrdering[src]

impl Eq for TxOrdering[src]

impl StructuralEq for TxOrdering[src]

impl StructuralPartialEq for TxOrdering[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

+

impl Copy for TxOrdering[src]

impl Eq for TxOrdering[src]

impl StructuralEq for TxOrdering[src]

impl StructuralPartialEq for TxOrdering[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/index.html index 0f2319bdf8..62a9598579 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/index.html @@ -1,7 +1,7 @@ bdk::wallet::tx_builder - Rust

Module bdk::wallet::tx_builder[][src]

Transaction builder

+ Change settings

Module bdk::wallet::tx_builder[][src]

Expand description

Transaction builder

Example

 // create a TxBuilder from a wallet
@@ -17,7 +17,7 @@
     // Turn on RBF signaling
     .enable_rbf();
 let (psbt, tx_details) = tx_builder.finish()?;
-

Structs

+

Structs

BumpFee

Marker type to indicate the TxBuilder is being used to bump the fee of an existing transaction.

CreateTx

Marker type to indicate the TxBuilder is being used to create a new transaction (as opposed to bumping the fee of an existing one).

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html index 5ddd29f56e..03383c69e3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html @@ -1,8 +1,8 @@ BumpFee in bdk::wallet::tx_builder - Rust

Struct bdk::wallet::tx_builder::BumpFee[][src]

pub struct BumpFee;

Marker type to indicate the TxBuilder is being used to bump the fee of an existing transaction.

-

Trait Implementations

impl Clone for BumpFee[src]

fn clone(&self) -> BumpFee[src]

Returns a copy of the value. Read more

+ Change settings

Struct bdk::wallet::tx_builder::BumpFee[][src]

pub struct BumpFee;
Expand description

Marker type to indicate the TxBuilder is being used to bump the fee of an existing transaction.

+

Trait Implementations

impl Clone for BumpFee[src]

fn clone(&self) -> BumpFee[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for BumpFee[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for BumpFee[src]

fn default() -> BumpFee[src]

Returns the “default value” for a type. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html index f99a6ccdf3..999b4c7f10 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html @@ -1,9 +1,9 @@ CreateTx in bdk::wallet::tx_builder - Rust

Struct bdk::wallet::tx_builder::CreateTx[][src]

pub struct CreateTx;

Marker type to indicate the TxBuilder is being used to create a new transaction (as opposed + Change settings

Struct bdk::wallet::tx_builder::CreateTx[][src]

pub struct CreateTx;
Expand description

Marker type to indicate the TxBuilder is being used to create a new transaction (as opposed to bumping the fee of an existing one).

-

Trait Implementations

impl Clone for CreateTx[src]

fn clone(&self) -> CreateTx[src]

Returns a copy of the value. Read more

+

Trait Implementations

impl Clone for CreateTx[src]

fn clone(&self) -> CreateTx[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CreateTx[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for CreateTx[src]

fn default() -> CreateTx[src]

Returns the “default value” for a type. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html index 36487bce89..18ca8c0479 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html @@ -1,7 +1,7 @@ TxBuilder in bdk::wallet::tx_builder - Rust

Struct bdk::wallet::tx_builder::TxBuilder[][src]

pub struct TxBuilder<'a, B, D, Cs, Ctx> { /* fields omitted */ }

A transaction builder

+ Change settings

Struct bdk::wallet::tx_builder::TxBuilder[][src]

pub struct TxBuilder<'a, B, D, Cs, Ctx> { /* fields omitted */ }
Expand description

A transaction builder

A TxBuilder is created by calling build_tx or build_fee_bump on a wallet. After assigning it, you set options on it until finally calling finish to consume the builder and generate the transaction.

@@ -33,9 +33,9 @@ as in the following example:

At the moment coin_selection is an exception to the rule as it consumes self. This means it is usually best to call coin_selection on the return value of build_tx before assigning it.

For further examples see this module’s documentation;

-

Implementations

impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>, Ctx: TxBuilderContext> TxBuilder<'a, B, D, Cs, Ctx>[src]

pub fn fee_rate(&mut self, fee_rate: FeeRate) -> &mut Self[src]

Set a custom fee rate

-

pub fn fee_absolute(&mut self, fee_amount: u64) -> &mut Self[src]

Set an absolute fee

-

pub fn policy_path(
    &mut self,
    policy_path: BTreeMap<String, Vec<usize>>,
    keychain: KeychainKind
) -> &mut Self
[src]

Set the policy path to use while creating the transaction for a given keychain.

+

Implementations

impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>, Ctx: TxBuilderContext> TxBuilder<'a, B, D, Cs, Ctx>[src]

pub fn fee_rate(&mut self, fee_rate: FeeRate) -> &mut Self[src]

Set a custom fee rate

+

pub fn fee_absolute(&mut self, fee_amount: u64) -> &mut Self[src]

Set an absolute fee

+

pub fn policy_path(
    &mut self,
    policy_path: BTreeMap<String, Vec<usize>>,
    keychain: KeychainKind
) -> &mut Self
[src]

Set the policy path to use while creating the transaction for a given keychain.

This method accepts a map where the key is the policy node id (see Policy::id) and the value is the list of the indexes of the items that are intended to be satisfied from the policy node (see @@ -79,14 +79,14 @@ multiple entries can be added to the map, one for each node that requires an exp .add_recipient(to_address.script_pubkey(), 50_000) .policy_path(path, KeychainKind::External);

-

pub fn add_utxos(&mut self, outpoints: &[OutPoint]) -> Result<&mut Self, Error>[src]

Add the list of outpoints to the internal list of UTXOs that must be spent.

+

pub fn add_utxos(&mut self, outpoints: &[OutPoint]) -> Result<&mut Self, Error>[src]

Add the list of outpoints to the internal list of UTXOs that must be spent.

If an error occurs while adding any of the UTXOs then none of them are added and the error is returned.

These have priority over the “unspendable” utxos, meaning that if a utxo is present both in the “utxos” and the “unspendable” list, it will be spent.

-

pub fn add_utxo(&mut self, outpoint: OutPoint) -> Result<&mut Self, Error>[src]

Add a utxo to the internal list of utxos that must be spent

+

pub fn add_utxo(&mut self, outpoint: OutPoint) -> Result<&mut Self, Error>[src]

Add a utxo to the internal list of utxos that must be spent

These have priority over the “unspendable” utxos, meaning that if a utxo is present both in the “utxos” and the “unspendable” list, it will be spent.

-

pub fn add_foreign_utxo(
    &mut self,
    outpoint: OutPoint,
    psbt_input: Input,
    satisfaction_weight: usize
) -> Result<&mut Self, Error>
[src]

Add a foreign UTXO i.e. a UTXO not owned by this wallet.

+

pub fn add_foreign_utxo(
    &mut self,
    outpoint: OutPoint,
    psbt_input: Input,
    satisfaction_weight: usize
) -> Result<&mut Self, Error>
[src]

Add a foreign UTXO i.e. a UTXO not owned by this wallet.

At a minimum to add a foreign UTXO we need:

  1. outpoint: To add it to the raw transaction.
  2. @@ -117,58 +117,58 @@ of course check the real input weight matches the expected weight prior to broad

Note unless you set only_witness_utxo any psbt_input you pass to this method must have non_witness_utxo set otherwise you will get an error when finish is called.

-

pub fn manually_selected_only(&mut self) -> &mut Self[src]

Only spend utxos added by add_utxo.

+

pub fn manually_selected_only(&mut self) -> &mut Self[src]

Only spend utxos added by add_utxo.

The wallet will not add additional utxos to the transaction even if they are needed to make the transaction valid.

-

pub fn unspendable(&mut self, unspendable: Vec<OutPoint>) -> &mut Self[src]

Replace the internal list of unspendable utxos with a new list

+

pub fn unspendable(&mut self, unspendable: Vec<OutPoint>) -> &mut Self[src]

Replace the internal list of unspendable utxos with a new list

It’s important to note that the “must-be-spent” utxos added with TxBuilder::add_utxo have priority over these. See the docs of the two linked methods for more details.

-

pub fn add_unspendable(&mut self, unspendable: OutPoint) -> &mut Self[src]

Add a utxo to the internal list of unspendable utxos

+

pub fn add_unspendable(&mut self, unspendable: OutPoint) -> &mut Self[src]

Add a utxo to the internal list of unspendable utxos

It’s important to note that the “must-be-spent” utxos added with TxBuilder::add_utxo have priority over this. See the docs of the two linked methods for more details.

-

pub fn sighash(&mut self, sighash: SigHashType) -> &mut Self[src]

Sign with a specific sig hash

+

pub fn sighash(&mut self, sighash: SigHashType) -> &mut Self[src]

Sign with a specific sig hash

Use this option very carefully

-

pub fn ordering(&mut self, ordering: TxOrdering) -> &mut Self[src]

Choose the ordering for inputs and outputs of the transaction

-

pub fn nlocktime(&mut self, locktime: u32) -> &mut Self[src]

Use a specific nLockTime while creating the transaction

+

pub fn ordering(&mut self, ordering: TxOrdering) -> &mut Self[src]

Choose the ordering for inputs and outputs of the transaction

+

pub fn nlocktime(&mut self, locktime: u32) -> &mut Self[src]

Use a specific nLockTime while creating the transaction

This can cause conflicts if the wallet’s descriptors contain an “after” (OP_CLTV) operator.

-

pub fn version(&mut self, version: i32) -> &mut Self[src]

Build a transaction with a specific version

+

pub fn version(&mut self, version: i32) -> &mut Self[src]

Build a transaction with a specific version

The version should always be greater than 0 and greater than 1 if the wallet’s descriptors contain an “older” (OP_CSV) operator.

-

pub fn do_not_spend_change(&mut self) -> &mut Self[src]

Do not spend change outputs

+

pub fn do_not_spend_change(&mut self) -> &mut Self[src]

Do not spend change outputs

This effectively adds all the change outputs to the “unspendable” list. See TxBuilder::unspendable.

-

pub fn only_spend_change(&mut self) -> &mut Self[src]

Only spend change outputs

+

pub fn only_spend_change(&mut self) -> &mut Self[src]

Only spend change outputs

This effectively adds all the non-change outputs to the “unspendable” list. See TxBuilder::unspendable.

-

pub fn change_policy(&mut self, change_policy: ChangeSpendPolicy) -> &mut Self[src]

pub fn change_policy(&mut self, change_policy: ChangeSpendPolicy) -> &mut Self[src]

pub fn only_witness_utxo(&mut self) -> &mut Self[src]

Only Fill-in the psbt::Input::witness_utxo field when spending from +

pub fn only_witness_utxo(&mut self) -> &mut Self[src]

Only Fill-in the psbt::Input::witness_utxo field when spending from SegWit descriptors.

This reduces the size of the PSBT, but some signers might reject them due to the lack of the non_witness_utxo.

-

pub fn include_output_redeem_witness_script(&mut self) -> &mut Self[src]

Fill-in the psbt::Output::redeem_script and +

pub fn include_output_redeem_witness_script(&mut self) -> &mut Self[src]

Fill-in the psbt::Output::redeem_script and psbt::Output::witness_script fields.

This is useful for signers which always require it, like ColdCard hardware wallets.

-

pub fn add_global_xpubs(&mut self) -> &mut Self[src]

Fill-in the PSBT_GLOBAL_XPUB field with the extended keys contained in both the external +

pub fn add_global_xpubs(&mut self) -> &mut Self[src]

Fill-in the PSBT_GLOBAL_XPUB field with the extended keys contained in both the external and internal descriptors

This is useful for offline signers that take part to a multisig. Some hardware wallets like BitBox and ColdCard are known to require this.

-

pub fn drain_wallet(&mut self) -> &mut Self[src]

Spend all the available inputs. This respects filters like TxBuilder::unspendable and the change policy.

-

pub fn coin_selection<P: CoinSelectionAlgorithm<D>>(
    self,
    coin_selection: P
) -> TxBuilder<'a, B, D, P, Ctx>
[src]

Choose the coin selection algorithm

+

pub fn drain_wallet(&mut self) -> &mut Self[src]

Spend all the available inputs. This respects filters like TxBuilder::unspendable and the change policy.

+

pub fn coin_selection<P: CoinSelectionAlgorithm<D>>(
    self,
    coin_selection: P
) -> TxBuilder<'a, B, D, P, Ctx>
[src]

Choose the coin selection algorithm

Overrides the DefaultCoinSelectionAlgorithm.

Note that this function consumes the builder and returns it so it is usually best to put this as the first call on the builder.

-

pub fn finish(self) -> Result<(Psbt, TransactionDetails), Error>[src]

Finish the building the transaction.

+

pub fn finish(self) -> Result<(Psbt, TransactionDetails), Error>[src]

Finish the building the transaction.

Returns the BIP174 “PSBT” and summary details about the transaction.

-

pub fn enable_rbf(&mut self) -> &mut Self[src]

Enable signaling RBF

+

pub fn enable_rbf(&mut self) -> &mut Self[src]

Enable signaling RBF

This will use the default nSequence value of 0xFFFFFFFD.

-

pub fn enable_rbf_with_sequence(&mut self, nsequence: u32) -> &mut Self[src]

Enable signaling RBF with a specific nSequence value

+

pub fn enable_rbf_with_sequence(&mut self, nsequence: u32) -> &mut Self[src]

Enable signaling RBF with a specific nSequence value

This can cause conflicts if the wallet’s descriptors contain an “older” (OP_CSV) operator and the given nsequence is lower than the CSV value.

If the nsequence is higher than 0xFFFFFFFD an error will be thrown, since it would not be a valid nSequence to signal RBF.

-

impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>> TxBuilder<'a, B, D, Cs, CreateTx>[src]

pub fn set_recipients(&mut self, recipients: Vec<(Script, u64)>) -> &mut Self[src]

Replace the recipients already added with a new list

-

pub fn add_recipient(&mut self, script_pubkey: Script, amount: u64) -> &mut Self[src]

Add a recipient to the internal list

-

pub fn set_single_recipient(&mut self, recipient: Script) -> &mut Self[src]

Set a single recipient that will get all the selected funds minus the fee. No change will +

impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>> TxBuilder<'a, B, D, Cs, CreateTx>[src]

pub fn set_recipients(&mut self, recipients: Vec<(Script, u64)>) -> &mut Self[src]

Replace the recipients already added with a new list

+

pub fn add_recipient(&mut self, script_pubkey: Script, amount: u64) -> &mut Self[src]

Add a recipient to the internal list

+

pub fn set_single_recipient(&mut self, recipient: Script) -> &mut Self[src]

Set a single recipient that will get all the selected funds minus the fee. No change will be created

This method overrides any recipient set with set_recipients or add_recipient.

@@ -179,14 +179,14 @@ and selecting them with or When bumping the fees of a transaction made with this option, the user should remeber to add maintain_single_recipient to correctly update the single output instead of adding one more for the change.

-

impl<'a, B, D: BatchDatabase> TxBuilder<'a, B, D, DefaultCoinSelectionAlgorithm, BumpFee>[src]

pub fn maintain_single_recipient(&mut self) -> Result<&mut Self, Error>[src]

Bump the fees of a transaction made with set_single_recipient

+

impl<'a, B, D: BatchDatabase> TxBuilder<'a, B, D, DefaultCoinSelectionAlgorithm, BumpFee>[src]

pub fn maintain_single_recipient(&mut self) -> Result<&mut Self, Error>[src]

Bump the fees of a transaction made with set_single_recipient

Unless extra inputs are specified with add_utxo, this flag will make bump_fee reduce the value of the existing output, or fail if it would be consumed entirely given the higher new fee rate.

If extra inputs are added and they are not entirely consumed in fees, a change output will not be added; the existing output will simply grow in value.

Fails if the transaction has more than one outputs.

-

Trait Implementations

impl<'a, Cs: Clone, Ctx, B, D> Clone for TxBuilder<'a, B, D, Cs, Ctx>[src]

fn clone(&self) -> Self[src]

Returns a copy of the value. Read more

+

Trait Implementations

impl<'a, Cs: Clone, Ctx, B, D> Clone for TxBuilder<'a, B, D, Cs, Ctx>[src]

fn clone(&self) -> Self[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a, B: Debug, D: Debug, Cs: Debug, Ctx: Debug> Debug for TxBuilder<'a, B, D, Cs, Ctx>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, B, D, Cs, Ctx> !RefUnwindSafe for TxBuilder<'a, B, D, Cs, Ctx>

impl<'a, B, D, Cs, Ctx> !Send for TxBuilder<'a, B, D, Cs, Ctx>

impl<'a, B, D, Cs, Ctx> !Sync for TxBuilder<'a, B, D, Cs, Ctx>

impl<'a, B, D, Cs, Ctx> Unpin for TxBuilder<'a, B, D, Cs, Ctx> where
    Cs: Unpin,
    Ctx: Unpin

impl<'a, B, D, Cs, Ctx> !UnwindSafe for TxBuilder<'a, B, D, Cs, Ctx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/trait.TxBuilderContext.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/trait.TxBuilderContext.html index 42dc598519..337ebfa211 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/trait.TxBuilderContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/trait.TxBuilderContext.html @@ -1,6 +1,6 @@ TxBuilderContext in bdk::wallet::tx_builder - Rust

Trait bdk::wallet::tx_builder::TxBuilderContext[][src]

pub trait TxBuilderContext: Debug + Default + Clone { }

Context in which the TxBuilder is valid

-

Implementors

Loading content...
+ Change settings

Trait bdk::wallet::tx_builder::TxBuilderContext[][src]

pub trait TxBuilderContext: Debug + Default + Clone { }
Expand description

Context in which the TxBuilder is valid

+

Implementors

Loading content...
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/clipboard.svg b/static/docs-rs/bdk/nightly/latest/clipboard.svg new file mode 100644 index 0000000000..8adbd99630 --- /dev/null +++ b/static/docs-rs/bdk/nightly/latest/clipboard.svg @@ -0,0 +1 @@ + diff --git a/static/docs-rs/bdk/nightly/latest/dark.css b/static/docs-rs/bdk/nightly/latest/dark.css index 86be30b639..cd473bf36b 100644 --- a/static/docs-rs/bdk/nightly/latest/dark.css +++ b/static/docs-rs/bdk/nightly/latest/dark.css @@ -1 +1 @@ -body{background-color:#353535;color:#ddd;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:#ddd;}h1.fqn{border-bottom-color:#d2d2d2;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){border-bottom-color:#d2d2d2;}.in-band{background-color:#353535;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#2A2A2A;}pre{background-color:#2A2A2A;}.sidebar{background-color:#505050;}.logo-container.rust-logo>img{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff)}*{scrollbar-color:rgb(64,65,67) #717171;}.sidebar{scrollbar-color:rgba(32,34,37,.6) transparent;}::-webkit-scrollbar-track{background-color:#717171;}::-webkit-scrollbar-thumb{background-color:rgba(32,34,37,.6);}.sidebar::-webkit-scrollbar-track{background-color:#717171;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(32,34,37,.6);}.sidebar .current{background-color:#333;}.source .sidebar{background-color:#353535;}.sidebar .location{border-color:#fff;background:#575757;color:#DDD;}.sidebar .version{border-bottom-color:#DDD;}.sidebar-title{border-top-color:#777;border-bottom-color:#777;}.block a:hover{background:#444;}.line-numbers span{color:#3B91E2;}.line-numbers .line-highlighted{background-color:#0a042f !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#DDD;}.docblock table,.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#ddd;}.content .highlighted{color:#eee !important;background-color:#616161;}.content .highlighted a,.content .highlighted span{color:#eee !important;}.content .highlighted.trait{background-color:#013191;}.content .highlighted.traitalias{background-color:#013191;}.content .highlighted.mod,.content .highlighted.externcrate{background-color:#afc6e4;}.content .highlighted.mod{background-color:#803a1b;}.content .highlighted.externcrate{background-color:#396bac;}.content .highlighted.enum{background-color:#5b4e68;}.content .highlighted.struct{background-color:#194e9f;}.content .highlighted.union{background-color:#b7bd49;}.content .highlighted.fn,.content .highlighted.method,.content .highlighted.tymethod{background-color:#4950ed;}.content .highlighted.type{background-color:#38902c;}.content .highlighted.foreigntype{background-color:#b200d6;}.content .highlighted.attr,.content .highlighted.derive,.content .highlighted.macro{background-color:#217d1c;}.content .highlighted.constant,.content .highlighted.static{background-color:#0063cc;}.content .highlighted.primitive{background-color:#00708a;}.content .highlighted.keyword{background-color:#884719;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#82b089;}.content span.struct,.content a.struct,.block a.current.struct{color:#2dbfb8;}.content span.type,.content a.type,.block a.current.type{color:#ff7f00;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#dd7de8;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#09bd00;}.content span.union,.content a.union,.block a.current.union{color:#a6ae37;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#82a5c9;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#43aec7;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#bda000;}.content span.trait,.content a.trait,.block a.current.trait{color:#b78cf2;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#b397da;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#2BAB63;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#de5249;}pre.rust .comment{color:#8d8d8b;}pre.rust .doccomment{color:#8ca375;}nav:not(.sidebar){border-bottom-color:#4e4e4e;}nav.main .current{border-top-color:#eee;border-bottom-color:#eee;}nav.main .separator{border-color:#eee;}a{color:#ddd;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#D2991D;}a.test-arrow{color:#dedede;}.collapse-toggle,details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#111;background-color:#f0f0f0;border-color:#000;box-shadow:0 0 0 1px #000,0 0 0 2px transparent;}.search-input{color:#111;background-color:#f0f0f0;box-shadow:0 0 0 1px #000,0 0 0 2px transparent;}.search-input:focus{border-color:#008dfd;}.search-focus:disabled{background-color:#c5c4c4;}#crate-search+.search-input:focus{box-shadow:0 0 8px 4px #078dd8;}.module-item .stab,.import-item .stab{color:#ddd;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;color:#2f2f2f;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;color:#2f2f2f;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;color:#2f2f2f;}.stab.portability>code{background:none;}#help>div{background:#4d4d4d;border-color:#bfbfbf;}#help>div>span{border-bottom-color:#bfbfbf;}#help dt{border-color:#bfbfbf;background:rgba(0,0,0,0);}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:#ddd;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#ab8ac1;}pre.rust .kw-2,pre.rust .prelude-ty{color:#769acb;}pre.rust .number,pre.rust .string{color:#83a300;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#ee6868;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#d97f26;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#4a4949;}a.test-arrow{background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background-color:#494a3d;border-right:3px solid #bb7410;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.8);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.8);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.8);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.8);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;border-color:#000;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#111;border-color:#777;}#titles>button:not(.selected){background-color:#252525;border-top-color:#252525;}#titles>button:hover,#titles>button.selected{border-top-color:#0089ff;background-color:#353535;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#505050;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#505050;border-right-color:#000;}#sidebar-filler{background-color:#505050;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,.help-button,#copy-path{border-color:#e0e0e0;background:#f0f0f0;color:#000;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,.help-button:hover,.help-button:focus,#copy-path:hover,#copy-path:focus{border-color:#ffb900;}#theme-choices{border-color:#e0e0e0;background-color:#353535;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#4e4e4e;}@media (max-width:700px){#theme-picker{background:#f0f0f0;}}#all-types{background-color:#505050;}#all-types:hover{background-color:#606060;}.search-results td span.alias{color:#fff;}.search-results td span.grey{color:#ccc;}#sidebar-toggle{background-color:#565656;}#sidebar-toggle:hover{background-color:#676767;}#source-sidebar{background-color:#565656;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#444;}div.files>.selected{background-color:#333;}.setting-line>.title{border-bottom-color:#ddd;} \ No newline at end of file +body{background-color:#353535;color:#ddd;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:#ddd;}h1.fqn{border-bottom-color:#d2d2d2;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){border-bottom-color:#d2d2d2;}.in-band{background-color:#353535;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#2A2A2A;}pre,.rustdoc.source .example-wrap{background-color:#2A2A2A;}.sidebar{background-color:#505050;}.logo-container.rust-logo>img{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff)}*{scrollbar-color:rgb(64,65,67) #717171;}.sidebar{scrollbar-color:rgba(32,34,37,.6) transparent;}::-webkit-scrollbar-track{background-color:#717171;}::-webkit-scrollbar-thumb{background-color:rgba(32,34,37,.6);}.sidebar::-webkit-scrollbar-track{background-color:#717171;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(32,34,37,.6);}.sidebar .current{background-color:#333;}.source .sidebar{background-color:#353535;}.sidebar .location{border-color:#fff;background:#575757;color:#DDD;}.sidebar .version{border-bottom-color:#DDD;}.sidebar-title{border-top-color:#777;border-bottom-color:#777;}.block a:hover{background:#444;}.line-numbers span{color:#3B91E2;}.line-numbers .line-highlighted{background-color:#0a042f !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#DDD;}.docblock table,.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#ddd;}.content .highlighted{color:#eee !important;background-color:#616161;}.content .highlighted a,.content .highlighted span{color:#eee !important;}.content .highlighted.trait{background-color:#013191;}.content .highlighted.traitalias{background-color:#013191;}.content .highlighted.mod,.content .highlighted.externcrate{background-color:#afc6e4;}.content .highlighted.mod{background-color:#803a1b;}.content .highlighted.externcrate{background-color:#396bac;}.content .highlighted.enum{background-color:#5b4e68;}.content .highlighted.struct{background-color:#194e9f;}.content .highlighted.union{background-color:#b7bd49;}.content .highlighted.fn,.content .highlighted.method,.content .highlighted.tymethod{background-color:#4950ed;}.content .highlighted.type{background-color:#38902c;}.content .highlighted.foreigntype{background-color:#b200d6;}.content .highlighted.attr,.content .highlighted.derive,.content .highlighted.macro{background-color:#217d1c;}.content .highlighted.constant,.content .highlighted.static{background-color:#0063cc;}.content .highlighted.primitive{background-color:#00708a;}.content .highlighted.keyword{background-color:#884719;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#82b089;}.content span.struct,.content a.struct,.block a.current.struct{color:#2dbfb8;}.content span.type,.content a.type,.block a.current.type{color:#ff7f00;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#dd7de8;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#09bd00;}.content span.union,.content a.union,.block a.current.union{color:#a6ae37;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#82a5c9;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#43aec7;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#bda000;}.content span.trait,.content a.trait,.block a.current.trait{color:#b78cf2;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#b397da;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#2BAB63;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#de5249;}pre.rust .comment{color:#8d8d8b;}pre.rust .doccomment{color:#8ca375;}nav:not(.sidebar){border-bottom-color:#4e4e4e;}nav.main .current{border-top-color:#eee;border-bottom-color:#eee;}nav.main .separator{border-color:#eee;}a{color:#ddd;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#D2991D;}a.test-arrow{color:#dedede;}.collapse-toggle,details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#111;background-color:#f0f0f0;border-color:#000;box-shadow:0 0 0 1px #000,0 0 0 2px transparent;}.search-input{color:#111;background-color:#f0f0f0;box-shadow:0 0 0 1px #000,0 0 0 2px transparent;}.search-input:focus{border-color:#008dfd;}.search-focus:disabled{background-color:#c5c4c4;}#crate-search+.search-input:focus{box-shadow:0 0 8px 4px #078dd8;}.module-item .stab,.import-item .stab{color:#ddd;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;color:#2f2f2f;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;color:#2f2f2f;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;color:#2f2f2f;}.stab.portability>code{background:none;}#help>div{background:#4d4d4d;border-color:#bfbfbf;}#help>div>span{border-bottom-color:#bfbfbf;}#help dt{border-color:#bfbfbf;background:rgba(0,0,0,0);}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:#ddd;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#ab8ac1;}pre.rust .kw-2,pre.rust .prelude-ty{color:#769acb;}pre.rust .number,pre.rust .string{color:#83a300;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#ee6868;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#d97f26;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#4a4949;}a.test-arrow{background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background-color:#494a3d;border-right:3px solid #bb7410;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.8);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.8);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.8);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.8);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;border-color:#000;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#111;border-color:#777;}#titles>button:not(.selected){background-color:#252525;border-top-color:#252525;}#titles>button:hover,#titles>button.selected{border-top-color:#0089ff;background-color:#353535;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#505050;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#505050;border-right-color:#000;}#sidebar-filler{background-color:#505050;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,.help-button,#copy-path{border-color:#e0e0e0;background:#f0f0f0;color:#000;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,.help-button:hover,.help-button:focus,#copy-path:hover,#copy-path:focus{border-color:#ffb900;}#theme-choices{border-color:#e0e0e0;background-color:#353535;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#4e4e4e;}@media (max-width:700px){#theme-picker{background:#f0f0f0;}}#all-types{background-color:#505050;}#all-types:hover{background-color:#606060;}.search-results td span.alias{color:#fff;}.search-results td span.grey{color:#ccc;}#sidebar-toggle{background-color:#565656;}#sidebar-toggle:hover{background-color:#676767;}#source-sidebar{background-color:#565656;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#444;}div.files>.selected{background-color:#333;}.setting-line>.title{border-bottom-color:#ddd;} \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/light.css b/static/docs-rs/bdk/nightly/latest/light.css index bdfc31a9f6..f92842371a 100644 --- a/static/docs-rs/bdk/nightly/latest/light.css +++ b/static/docs-rs/bdk/nightly/latest/light.css @@ -1 +1 @@ - body{background-color:white;color:black;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:black;}h1.fqn{border-bottom-color:#D5D5D5;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){border-bottom-color:#DDDDDD;}.in-band{background-color:white;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#F5F5F5;}pre{background-color:#F5F5F5;}.sidebar{background-color:#F1F1F1;}*{scrollbar-color:rgba(36,37,39,0.6) #e6e6e6;}.sidebar{scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;}.logo-container.rust-logo>img{}::-webkit-scrollbar-track{background-color:#ecebeb;}::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar::-webkit-scrollbar-track{background-color:#dcdcdc;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar .current{background-color:#fff;}.source .sidebar{background-color:#fff;}.sidebar .location{border-color:#000;background-color:#fff;color:#333;}.sidebar .version{border-bottom-color:#DDD;}.sidebar-title{border-top-color:#777;border-bottom-color:#777;}.block a:hover{background:#F5F5F5;}.line-numbers span{color:#c67e2d;}.line-numbers .line-highlighted{background-color:#f6fdb0 !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#ddd;}.docblock table,.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#4E4C4C;}.content .highlighted{color:#000 !important;background-color:#ccc;}.content .highlighted a,.content .highlighted span{color:#000 !important;}.content .highlighted.trait{background-color:#c7b6ff;}.content .highlighted.traitalias{background-color:#c7b6ff;}.content .highlighted.mod,.content .highlighted.externcrate{background-color:#afc6e4;}.content .highlighted.enum{background-color:#b4d1b9;}.content .highlighted.struct{background-color:#e7b1a0;}.content .highlighted.union{background-color:#b7bd49;}.content .highlighted.fn,.content .highlighted.method,.content .highlighted.tymethod{background-color:#c6afb3;}.content .highlighted.type{background-color:#ffc891;}.content .highlighted.foreigntype{background-color:#f5c4ff;}.content .highlighted.attr,.content .highlighted.derive,.content .highlighted.macro{background-color:#8ce488;}.content .highlighted.constant,.content .highlighted.static{background-color:#c3e0ff;}.content .highlighted.primitive{background-color:#9aecff;}.content .highlighted.keyword{background-color:#f99650;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#508157;}.content span.struct,.content a.struct,.block a.current.struct{color:#ad448e;}.content span.type,.content a.type,.block a.current.type{color:#ba5d00;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#cd00e2;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#068000;}.content span.union,.content a.union,.block a.current.union{color:#767b27;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#546e8a;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#2c8093;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#4d76ae;}.content span.trait,.content a.trait,.block a.current.trait{color:#7c5af3;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#6841f1;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#9a6e31;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#de5249;}pre.rust .comment{color:#8E908C;}pre.rust .doccomment{color:#4D4D4C;}nav:not(.sidebar){border-bottom-color:#e0e0e0;}nav.main .current{border-top-color:#000;border-bottom-color:#000;}nav.main .separator{border:1px solid #000;}a{color:#000;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#3873AD;}a.test-arrow{color:#f5f5f5;}.collapse-toggle,details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#555;background-color:white;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input{color:#555;background-color:white;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input:focus{border-color:#66afe9;}.search-focus:disabled{background-color:#e6e6e6;}#crate-search+.search-input:focus{box-shadow:0 0 8px #078dd8;}.module-item .stab,.import-item .stab{color:#000;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;}.stab.portability>code{background:none;}#help>div{background:#e9e9e9;border-color:#bfbfbf;}#help>div>span{border-bottom-color:#bfbfbf;}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:black;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#8959A8;}pre.rust .kw-2,pre.rust .prelude-ty{color:#4271AE;}pre.rust .number,pre.rust .string{color:#718C00;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#C82829;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#B76514;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#c7c7c7;}a.test-arrow{background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background:#FDFFD3;border-right:3px solid #ffb44c;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.5);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.5);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#eee;border-color:#999;}#titles>button:not(.selected){background-color:#e6e6e6;border-top-color:#e6e6e6;}#titles>button:hover,#titles>button.selected{background-color:#ffffff;border-top-color:#0089ff;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#F1F1F1;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#F1F1F1;border-right-color:#000;}#sidebar-filler{background-color:#F1F1F1;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,.help-button,#copy-path{border-color:#e0e0e0;background-color:#fff;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,.help-button:hover,.help-button:focus,#copy-path:hover,#copy-path:focus{border-color:#717171;}#theme-choices{border-color:#ccc;background-color:#fff;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#eee;}@media (max-width:700px){#theme-picker{background:#fff;}}#all-types{background-color:#fff;}#all-types:hover{background-color:#f9f9f9;}.search-results td span.alias{color:#000;}.search-results td span.grey{color:#999;}#sidebar-toggle{background-color:#F1F1F1;}#sidebar-toggle:hover{background-color:#E0E0E0;}#source-sidebar{background-color:#F1F1F1;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#E0E0E0;}div.files>.selected{background-color:#fff;}.setting-line>.title{border-bottom-color:#D5D5D5;} \ No newline at end of file + body{background-color:white;color:black;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){color:black;}h1.fqn{border-bottom-color:#D5D5D5;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){border-bottom-color:#DDDDDD;}.in-band{background-color:white;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#F5F5F5;}pre,.rustdoc.source .example-wrap{background-color:#F5F5F5;}.sidebar{background-color:#F1F1F1;}*{scrollbar-color:rgba(36,37,39,0.6) #e6e6e6;}.sidebar{scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;}.logo-container.rust-logo>img{}::-webkit-scrollbar-track{background-color:#ecebeb;}::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar::-webkit-scrollbar-track{background-color:#dcdcdc;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar .current{background-color:#fff;}.source .sidebar{background-color:#fff;}.sidebar .location{border-color:#000;background-color:#fff;color:#333;}.sidebar .version{border-bottom-color:#DDD;}.sidebar-title{border-top-color:#777;border-bottom-color:#777;}.block a:hover{background:#F5F5F5;}.line-numbers span{color:#c67e2d;}.line-numbers .line-highlighted{background-color:#f6fdb0 !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom-color:#ddd;}.docblock table,.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#4E4C4C;}.content .highlighted{color:#000 !important;background-color:#ccc;}.content .highlighted a,.content .highlighted span{color:#000 !important;}.content .highlighted.trait{background-color:#c7b6ff;}.content .highlighted.traitalias{background-color:#c7b6ff;}.content .highlighted.mod,.content .highlighted.externcrate{background-color:#afc6e4;}.content .highlighted.enum{background-color:#b4d1b9;}.content .highlighted.struct{background-color:#e7b1a0;}.content .highlighted.union{background-color:#b7bd49;}.content .highlighted.fn,.content .highlighted.method,.content .highlighted.tymethod{background-color:#c6afb3;}.content .highlighted.type{background-color:#ffc891;}.content .highlighted.foreigntype{background-color:#f5c4ff;}.content .highlighted.attr,.content .highlighted.derive,.content .highlighted.macro{background-color:#8ce488;}.content .highlighted.constant,.content .highlighted.static{background-color:#c3e0ff;}.content .highlighted.primitive{background-color:#9aecff;}.content .highlighted.keyword{background-color:#f99650;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#508157;}.content span.struct,.content a.struct,.block a.current.struct{color:#ad448e;}.content span.type,.content a.type,.block a.current.type{color:#ba5d00;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#cd00e2;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#068000;}.content span.union,.content a.union,.block a.current.union{color:#767b27;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#546e8a;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#2c8093;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#4d76ae;}.content span.trait,.content a.trait,.block a.current.trait{color:#7c5af3;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#6841f1;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#9a6e31;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#de5249;}pre.rust .comment{color:#8E908C;}pre.rust .doccomment{color:#4D4D4C;}nav:not(.sidebar){border-bottom-color:#e0e0e0;}nav.main .current{border-top-color:#000;border-bottom-color:#000;}nav.main .separator{border:1px solid #000;}a{color:#000;}.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),.docblock-short a:not(.srclink):not(.test-arrow),.item-info a,#help a{color:#3873AD;}a.test-arrow{color:#f5f5f5;}.collapse-toggle,details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search{color:#555;background-color:white;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input{color:#555;background-color:white;box-shadow:0 0 0 1px #e0e0e0,0 0 0 2px transparent;}.search-input:focus{border-color:#66afe9;}.search-focus:disabled{background-color:#e6e6e6;}#crate-search+.search-input:focus{box-shadow:0 0 8px #078dd8;}.module-item .stab,.import-item .stab{color:#000;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;}.stab.portability>code{background:none;}#help>div{background:#e9e9e9;border-color:#bfbfbf;}#help>div>span{border-bottom-color:#bfbfbf;}.since{color:grey;}tr.result span.primitive::after,tr.result span.keyword::after{color:black;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#8959A8;}pre.rust .kw-2,pre.rust .prelude-ty{color:#4271AE;}pre.rust .number,pre.rust .string{color:#718C00;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#C82829;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#B76514;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#c7c7c7;}a.test-arrow{background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target>code,:target>.in-band{background:#FDFFD3;border-right:3px solid #ffb44c;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.5);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.5);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#eee;border-color:#999;}#titles>button:not(.selected){background-color:#e6e6e6;border-top-color:#e6e6e6;}#titles>button:hover,#titles>button.selected{background-color:#ffffff;border-top-color:#0089ff;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#F1F1F1;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#F1F1F1;border-right-color:#000;}#sidebar-filler{background-color:#F1F1F1;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow-color:#c6cbd1;}#theme-picker,#settings-menu,.help-button,#copy-path{border-color:#e0e0e0;background-color:#fff;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,.help-button:hover,.help-button:focus,#copy-path:hover,#copy-path:focus{border-color:#717171;}#theme-choices{border-color:#ccc;background-color:#fff;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#eee;}@media (max-width:700px){#theme-picker{background:#fff;}}#all-types{background-color:#fff;}#all-types:hover{background-color:#f9f9f9;}.search-results td span.alias{color:#000;}.search-results td span.grey{color:#999;}#sidebar-toggle{background-color:#F1F1F1;}#sidebar-toggle:hover{background-color:#E0E0E0;}#source-sidebar{background-color:#F1F1F1;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#E0E0E0;}div.files>.selected{background-color:#fff;}.setting-line>.title{border-bottom-color:#D5D5D5;} \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/main.js b/static/docs-rs/bdk/nightly/latest/main.js index 73f750bef7..6aae0764a5 100644 --- a/static/docs-rs/bdk/nightly/latest/main.js +++ b/static/docs-rs/bdk/nightly/latest/main.js @@ -1,8 +1,8 @@ -if(!String.prototype.startsWith){String.prototype.startsWith=function(searchString,position){position=position||0;return this.indexOf(searchString,position)===position}}if(!String.prototype.endsWith){String.prototype.endsWith=function(suffix,length){var l=length||this.length;return this.indexOf(suffix,l-suffix.length)!==-1}}if(!DOMTokenList.prototype.add){DOMTokenList.prototype.add=function(className){if(className&&!hasClass(this,className)){if(this.className&&this.className.length>0){this.className+=" "+className}else{this.className=className}}}}if(!DOMTokenList.prototype.remove){DOMTokenList.prototype.remove=function(className){if(className&&this.className){this.className=(" "+this.className+" ").replace(" "+className+" "," ").trim()}}}(function(){var rustdocVars=document.getElementById("rustdoc-vars");if(rustdocVars){window.rootPath=rustdocVars.attributes["data-root-path"].value;window.currentCrate=rustdocVars.attributes["data-current-crate"].value;window.searchJS=rustdocVars.attributes["data-search-js"].value;window.searchIndexJS=rustdocVars.attributes["data-search-index-js"].value}var sidebarVars=document.getElementById("sidebar-vars");if(sidebarVars){window.sidebarCurrent={name:sidebarVars.attributes["data-name"].value,ty:sidebarVars.attributes["data-ty"].value,relpath:sidebarVars.attributes["data-relpath"].value,}}}());function getVirtualKey(ev){if("key"in ev&&typeof ev.key!="undefined"){return ev.key}var c=ev.charCode||ev.keyCode;if(c==27){return"Escape"}return String.fromCharCode(c)}var THEME_PICKER_ELEMENT_ID="theme-picker";var THEMES_ELEMENT_ID="theme-choices";function getThemesElement(){return document.getElementById(THEMES_ELEMENT_ID)}function getThemePickerElement(){return document.getElementById(THEME_PICKER_ELEMENT_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function showThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="block";themePicker.style.borderBottomRightRadius="0";themePicker.style.borderBottomLeftRadius="0"}function hideThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="none";themePicker.style.borderBottomRightRadius="3px";themePicker.style.borderBottomLeftRadius="3px"}(function(){var themeChoices=getThemesElement();var themePicker=getThemePickerElement();var availableThemes=["ayu","dark","light"];function switchThemeButtonState(){if(themeChoices.style.display==="block"){hideThemeButtonState()}else{showThemeButtonState()}}function handleThemeButtonsBlur(e){var active=document.activeElement;var related=e.relatedTarget;if(active.id!==THEME_PICKER_ELEMENT_ID&&(!active.parentNode||active.parentNode.id!==THEMES_ELEMENT_ID)&&(!related||(related.id!==THEME_PICKER_ELEMENT_ID&&(!related.parentNode||related.parentNode.id!==THEMES_ELEMENT_ID)))){hideThemeButtonState()}}themePicker.onclick=switchThemeButtonState;themePicker.onblur=handleThemeButtonsBlur;availableThemes.forEach(function(item){var but=document.createElement("button");but.textContent=item;but.onclick=function(){switchTheme(window.currentTheme,window.mainTheme,item,true);useSystemTheme(false)};but.onblur=handleThemeButtonsBlur;themeChoices.appendChild(but)})}());(function(){"use strict";window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:function(){return document.getElementById("search")},title:null,titleBeforeSearch:document.title,timeout:null,currentTab:0,mouseMovedAfterSearch:true,clearInputTimeout:function(){if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},focus:function(){searchState.input.focus()},defocus:function(){searchState.input.blur()},showResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(main,"hidden");removeClass(search,"hidden");searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(search,"hidden");removeClass(main,"hidden");document.title=searchState.titleBeforeSearch;if(searchState.browserSupportsHistoryApi()){history.replaceState("",window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:function(){var params={};window.location.search.substring(1).split("&").map(function(s){var pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},putBackSearch:function(search_input){var search=searchState.outputElement();if(search_input.value!==""&&hasClass(search,"hidden")){searchState.showResults(search);if(searchState.browserSupportsHistoryApi()){var extra="?search="+encodeURIComponent(search_input.value);history.replaceState(search_input.value,"",getNakedUrl()+extra+window.location.hash)}document.title=searchState.title}},browserSupportsHistoryApi:function(){return window.history&&typeof window.history.pushState==="function"},setup:function(){var search_input=searchState.input;if(!searchState.input){return}function loadScript(url){var script=document.createElement('script');script.src=url;document.head.append(script)}var searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(window.searchJS);loadScript(window.searchIndexJS)}}search_input.addEventListener("focus",function(){searchState.putBackSearch(this);search_input.origPlaceholder=searchState.input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});search_input.addEventListener("blur",function(){search_input.placeholder=searchState.input.origPlaceholder});document.addEventListener("mousemove",function(){searchState.mouseMovedAfterSearch=true});search_input.removeAttribute('disabled');searchState.addCrateDropdown(window.ALL_CRATES);var params=searchState.getQueryStringParams();if(params.search!==undefined){var search=searchState.outputElement();search.innerHTML="

"+searchState.loadingText+"

";searchState.showResults(search);loadSearch()}},addCrateDropdown:function(crates){var elem=document.getElementById("crate-search");if(!elem){return}var savedCrate=getSettingValue("saved-filter-crate");for(var i=0,len=crates.length;i0){return tmp}}return null}function showSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){addClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];if(sidebar){addClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(!filler){var div=document.createElement("div");div.id="sidebar-filler";sidebar.appendChild(div)}}}function hideSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){removeClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(filler){filler.remove()}document.getElementsByTagName("body")[0].style.marginTop=""}function isHidden(elem){return elem.offsetHeight===0}var toggleAllDocsId="toggle-all-docs";var main=document.getElementById("main");var savedHash="";function handleHashes(ev){var elem;var search=searchState.outputElement();if(ev!==null&&search&&!hasClass(search,"hidden")&&ev.newURL){searchState.hideResults(search);var hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(searchState.browserSupportsHistoryApi()){history.replaceState(hash,"",getNakedUrl()+window.location.search+"#"+hash)}elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}elem=document.getElementById(savedHash.slice(1));if(!elem||!isHidden(elem)){return}var parent=elem.parentNode;if(parent&&hasClass(parent,"impl-items")){onEachLazy(parent.getElementsByClassName("collapsed"),function(e){if(e.parentNode===parent){e.click();return true}});if(isHidden(elem)){if(hasClass(parent.lastElementChild,"collapse-toggle")){parent.lastElementChild.click()}}}}}function highlightSourceLines(match,ev){if(typeof match==="undefined"){hideSidebar();match=window.location.hash.match(/^#?(\d+)(?:-(\d+))?$/)}if(!match){return}var from=parseInt(match[1],10);var to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to0){collapseDocs(collapses[0],"show")}openParentDetails(h3.parentNode)}else{openParentDetails(elem.parentNode)}}}function getHelpElement(build){if(build!==false){buildHelperPopup()}return document.getElementById("help")}function displayHelp(display,ev,help){if(display===true){help=help?help:getHelpElement(true);if(hasClass(help,"hidden")){ev.preventDefault();removeClass(help,"hidden");addClass(document.body,"blur")}}else{help=help?help:getHelpElement(false);if(help&&hasClass(help,"hidden")===false){ev.preventDefault();addClass(help,"hidden");removeClass(document.body,"blur")}}}function handleEscape(ev){var help=getHelpElement(false);var search=searchState.outputElement();if(hasClass(help,"hidden")===false){displayHelp(false,ev,help)}else if(hasClass(search,"hidden")===false){searchState.clearInputTimeout();ev.preventDefault();searchState.hideResults(search)}searchState.defocus();hideThemeButtonState()}var disableShortcuts=getSettingValue("disable-shortcuts")==="true";function handleShortcut(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts===true){return}if(document.activeElement.tagName==="INPUT"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":displayHelp(false,ev);ev.preventDefault();searchState.focus();break;case"+":case"-":ev.preventDefault();toggleAllDocs();break;case"?":displayHelp(true,ev);break;case"t":case"T":displayHelp(false,ev);ev.preventDefault();var themePicker=getThemePickerElement();themePicker.click();themePicker.focus();break;default:if(getThemePickerElement().parentNode.contains(ev.target)){handleThemeKeyDown(ev)}}}}function handleThemeKeyDown(ev){var active=document.activeElement;var themes=getThemesElement();switch(getVirtualKey(ev)){case"ArrowUp":ev.preventDefault();if(active.previousElementSibling&&ev.target.id!==THEME_PICKER_ELEMENT_ID){active.previousElementSibling.focus()}else{showThemeButtonState();themes.lastElementChild.focus()}break;case"ArrowDown":ev.preventDefault();if(active.nextElementSibling&&ev.target.id!==THEME_PICKER_ELEMENT_ID){active.nextElementSibling.focus()}else{showThemeButtonState();themes.firstElementChild.focus()}break;case"Enter":case"Return":case"Space":if(ev.target.id===THEME_PICKER_ELEMENT_ID&&themes.style.display==="none"){ev.preventDefault();showThemeButtonState();themes.firstElementChild.focus()}break;case"Home":ev.preventDefault();themes.firstElementChild.focus();break;case"End":ev.preventDefault();themes.lastElementChild.focus();break}}function findParentElement(elem,tagName){do{if(elem&&elem.tagName===tagName){return elem}elem=elem.parentNode}while(elem);return null}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);var handleSourceHighlight=(function(){var prev_line_id=0;var set_fragment=function(name){var x=window.scrollX,y=window.scrollY;if(searchState.browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return function(ev){var cur_line_id=parseInt(ev.target.id,10);ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){var tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());document.addEventListener("click",function(ev){var helpElem=getHelpElement(false);if(hasClass(ev.target,"help-button")){displayHelp(true,ev)}else if(hasClass(ev.target,"collapse-toggle")){collapseDocs(ev.target,"toggle")}else if(hasClass(ev.target.parentNode,"collapse-toggle")){collapseDocs(ev.target.parentNode,"toggle")}else if(ev.target.tagName==="SPAN"&&hasClass(ev.target.parentNode,"line-numbers")){handleSourceHighlight(ev)}else if(helpElem&&hasClass(helpElem,"hidden")===false){var is_inside_help_popup=ev.target!==helpElem&&helpElem.contains(ev.target);if(is_inside_help_popup===false){addClass(helpElem,"hidden");removeClass(document.body,"blur")}}else{var a=findParentElement(ev.target,"A");if(a&&a.hash){expandSection(a.hash.replace(/^#/,""))}}});(function(){var x=document.getElementsByClassName("version-selector");if(x.length>0){x[0].onchange=function(){var i,match,url=document.location.href,stripped="",len=window.rootPath.match(/\.\.\//g).length+1;for(i=0;i"+""+"
"+code.outerHTML+"
";list.appendChild(display)}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function labelForToggleButton(sectionIsCollapsed){if(sectionIsCollapsed){return"+"}return"\u2212"}function onEveryMatchingChild(elem,className,func){if(elem&&className&&func){var length=elem.childNodes.length;var nodes=elem.childNodes;for(var i=0;i"+labelForToggleButton(sectionIsCollapsed)+"]";return toggle}function createToggle(toggle,otherMessage,fontSize,extraClass,show){var span=document.createElement("span");span.className="toggle-label";if(show){span.style.display="none"}if(!otherMessage){span.innerHTML=" Expand description"}else{span.innerHTML=otherMessage}if(fontSize){span.style.fontSize=fontSize}var mainToggle=toggle.cloneNode(true);mainToggle.appendChild(span);var wrapper=document.createElement("div");wrapper.className="toggle-wrapper";if(!show){addClass(wrapper,"collapsed");var inner=mainToggle.getElementsByClassName("inner");if(inner&&inner.length>0){inner[0].innerHTML="+"}}if(extraClass){addClass(wrapper,extraClass)}wrapper.appendChild(mainToggle);return wrapper}(function(){var toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}var toggle=createSimpleToggle(false);var hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";var hideImplementors=getSettingValue("auto-collapse-implementors")!=="false";var hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";var impl_list=document.getElementById("trait-implementations-list");if(impl_list!==null){onEachLazy(impl_list.getElementsByClassName("collapse-toggle"),function(e){collapseNonInherent(e)})}var blanket_list=document.getElementById("blanket-implementations-list");if(blanket_list!==null){onEachLazy(blanket_list.getElementsByClassName("collapse-toggle"),function(e){collapseNonInherent(e)})}if(hideMethodDocs===true){onEachLazy(document.getElementsByClassName("method"),function(e){var toggle=e.parentNode;if(toggle){toggle=toggle.parentNode}if(toggle&&toggle.tagName==="DETAILS"){toggle.open=false}})}onEachLazy(document.getElementsByTagName("details"),function(e){var showLargeItem=!hideLargeItemContents&&hasClass(e,"type-contents-toggle");var showImplementor=!hideImplementors&&hasClass(e,"implementors-toggle");if(showLargeItem||showImplementor){e.open=true}});var currentType=document.getElementsByClassName("type-decl")[0];var className=null;if(currentType){currentType=currentType.getElementsByClassName("rust")[0];if(currentType){onEachLazy(currentType.classList,function(item){if(item!=="main"){className=item;return true}})}}function buildToggleWrapper(e){if(hasClass(e,"autohide")){var wrap=e.previousElementSibling;if(wrap&&hasClass(wrap,"toggle-wrapper")){var inner_toggle=wrap.childNodes[0];var extra=e.childNodes[0].tagName==="H3";e.style.display="none";addClass(wrap,"collapsed");onEachLazy(inner_toggle.getElementsByClassName("inner"),function(e){e.innerHTML=labelForToggleButton(true)});onEachLazy(inner_toggle.getElementsByClassName("toggle-label"),function(e){e.style.display="inline-block";if(extra===true){e.innerHTML=" Show "+e.childNodes[0].innerHTML}})}}if(e.parentNode.id==="main"){var otherMessage="";var fontSize;var extraClass;if(hasClass(e,"type-decl")){return}else if(hasClass(e,"non-exhaustive")){otherMessage=" This ";if(hasClass(e,"non-exhaustive-struct")){otherMessage+="struct"}else if(hasClass(e,"non-exhaustive-enum")){otherMessage+="enum"}else if(hasClass(e,"non-exhaustive-variant")){otherMessage+="enum variant"}else if(hasClass(e,"non-exhaustive-type")){otherMessage+="type"}otherMessage+=" is marked as non-exhaustive"}else if(hasClass(e.childNodes[0],"impl-items")){extraClass="marg-left"}e.parentNode.insertBefore(createToggle(toggle,otherMessage,fontSize,extraClass,true),e);if(hasClass(e,"non-exhaustive")===true){collapseDocs(e.previousSibling.childNodes[0],"toggle")}}}onEachLazy(document.getElementsByClassName("docblock"),buildToggleWrapper);var pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());(function(){var lineNumbersFunc=function(){};if(getSettingValue("line-numbers")==="true"){lineNumbersFunc=function(x){var count=x.textContent.split("\n").length;var elems=[];for(var i=0;i0){this.className+=" "+className}else{this.className=className}}}}if(!DOMTokenList.prototype.remove){DOMTokenList.prototype.remove=function(className){if(className&&this.className){this.className=(" "+this.className+" ").replace(" "+className+" "," ").trim()}}}(function(){var rustdocVars=document.getElementById("rustdoc-vars");if(rustdocVars){window.rootPath=rustdocVars.attributes["data-root-path"].value;window.currentCrate=rustdocVars.attributes["data-current-crate"].value;window.searchJS=rustdocVars.attributes["data-search-js"].value;window.searchIndexJS=rustdocVars.attributes["data-search-index-js"].value}var sidebarVars=document.getElementById("sidebar-vars");if(sidebarVars){window.sidebarCurrent={name:sidebarVars.attributes["data-name"].value,ty:sidebarVars.attributes["data-ty"].value,relpath:sidebarVars.attributes["data-relpath"].value,}}}());function getVirtualKey(ev){if("key"in ev&&typeof ev.key!="undefined"){return ev.key}var c=ev.charCode||ev.keyCode;if(c==27){return"Escape"}return String.fromCharCode(c)}var THEME_PICKER_ELEMENT_ID="theme-picker";var THEMES_ELEMENT_ID="theme-choices";function getThemesElement(){return document.getElementById(THEMES_ELEMENT_ID)}function getThemePickerElement(){return document.getElementById(THEME_PICKER_ELEMENT_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function showThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="block";themePicker.style.borderBottomRightRadius="0";themePicker.style.borderBottomLeftRadius="0"}function hideThemeButtonState(){var themePicker=getThemePickerElement();var themeChoices=getThemesElement();themeChoices.style.display="none";themePicker.style.borderBottomRightRadius="3px";themePicker.style.borderBottomLeftRadius="3px"}(function(){var themeChoices=getThemesElement();var themePicker=getThemePickerElement();var availableThemes=["ayu","dark","light"];function switchThemeButtonState(){if(themeChoices.style.display==="block"){hideThemeButtonState()}else{showThemeButtonState()}}function handleThemeButtonsBlur(e){var active=document.activeElement;var related=e.relatedTarget;if(active.id!==THEME_PICKER_ELEMENT_ID&&(!active.parentNode||active.parentNode.id!==THEMES_ELEMENT_ID)&&(!related||(related.id!==THEME_PICKER_ELEMENT_ID&&(!related.parentNode||related.parentNode.id!==THEMES_ELEMENT_ID)))){hideThemeButtonState()}}themePicker.onclick=switchThemeButtonState;themePicker.onblur=handleThemeButtonsBlur;availableThemes.forEach(function(item){var but=document.createElement("button");but.textContent=item;but.onclick=function(){switchTheme(window.currentTheme,window.mainTheme,item,true);useSystemTheme(false)};but.onblur=handleThemeButtonsBlur;themeChoices.appendChild(but)})}());(function(){"use strict";window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:function(){return document.getElementById("search")},title:null,titleBeforeSearch:document.title,timeout:null,currentTab:0,mouseMovedAfterSearch:true,clearInputTimeout:function(){if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},focus:function(){searchState.input.focus()},defocus:function(){searchState.input.blur()},showResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(main,"hidden");removeClass(search,"hidden");searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:function(search){if(search===null||typeof search==='undefined'){search=searchState.outputElement()}addClass(search,"hidden");removeClass(main,"hidden");document.title=searchState.titleBeforeSearch;if(searchState.browserSupportsHistoryApi()){history.replaceState("",window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:function(){var params={};window.location.search.substring(1).split("&").map(function(s){var pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},putBackSearch:function(search_input){var search=searchState.outputElement();if(search_input.value!==""&&hasClass(search,"hidden")){searchState.showResults(search);if(searchState.browserSupportsHistoryApi()){var extra="?search="+encodeURIComponent(search_input.value);history.replaceState(search_input.value,"",getNakedUrl()+extra+window.location.hash)}document.title=searchState.title}},browserSupportsHistoryApi:function(){return window.history&&typeof window.history.pushState==="function"},setup:function(){var search_input=searchState.input;if(!searchState.input){return}function loadScript(url){var script=document.createElement('script');script.src=url;document.head.append(script)}var searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(window.searchJS);loadScript(window.searchIndexJS)}}search_input.addEventListener("focus",function(){searchState.putBackSearch(this);search_input.origPlaceholder=searchState.input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});search_input.addEventListener("blur",function(){search_input.placeholder=searchState.input.origPlaceholder});document.addEventListener("mousemove",function(){searchState.mouseMovedAfterSearch=true});search_input.removeAttribute('disabled');searchState.addCrateDropdown(window.ALL_CRATES);var params=searchState.getQueryStringParams();if(params.search!==undefined){var search=searchState.outputElement();search.innerHTML="

"+searchState.loadingText+"

";searchState.showResults(search);loadSearch()}},addCrateDropdown:function(crates){var elem=document.getElementById("crate-search");if(!elem){return}var savedCrate=getSettingValue("saved-filter-crate");for(var i=0,len=crates.length;i0){return tmp}}return null}function showSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){addClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];if(sidebar){addClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(!filler){var div=document.createElement("div");div.id="sidebar-filler";sidebar.appendChild(div)}}}function hideSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){removeClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(filler){filler.remove()}document.getElementsByTagName("body")[0].style.marginTop=""}function isHidden(elem){return elem.offsetHeight===0}var toggleAllDocsId="toggle-all-docs";var main=document.getElementById("main");var savedHash="";function handleHashes(ev){var elem;var search=searchState.outputElement();if(ev!==null&&search&&!hasClass(search,"hidden")&&ev.newURL){searchState.hideResults(search);var hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(searchState.browserSupportsHistoryApi()){history.replaceState(hash,"",getNakedUrl()+window.location.search+"#"+hash)}elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function highlightSourceLines(match,ev){if(typeof match==="undefined"){hideSidebar();match=window.location.hash.match(/^#?(\d+)(?:-(\d+))?$/)}if(!match){return}var from=parseInt(match[1],10);var to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(tocur_line_id){var tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());document.addEventListener("click",function(ev){var helpElem=getHelpElement(false);if(hasClass(ev.target,"help-button")){displayHelp(true,ev)}else if(ev.target.tagName==="SPAN"&&hasClass(ev.target.parentNode,"line-numbers")){handleSourceHighlight(ev)}else if(helpElem&&hasClass(helpElem,"hidden")===false){var is_inside_help_popup=ev.target!==helpElem&&helpElem.contains(ev.target);if(is_inside_help_popup===false){addClass(helpElem,"hidden");removeClass(document.body,"blur")}}else{var a=findParentElement(ev.target,"A");if(a&&a.hash){expandSection(a.hash.replace(/^#/,""))}}});(function(){var x=document.getElementsByClassName("version-selector");if(x.length>0){x[0].onchange=function(){var i,match,url=document.location.href,stripped="",len=window.rootPath.match(/\.\.\//g).length+1;for(i=0;i"+""+"
"+code.outerHTML+"
";list.appendChild(display)}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function labelForToggleButton(sectionIsCollapsed){if(sectionIsCollapsed){return"+"}return"\u2212"}function toggleAllDocs(){var innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}var sectionIsCollapsed=false;if(hasClass(innerToggle,"will-expand")){removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),function(e){if(!hasClass(e,"type-contents-toggle")){e.open=true}});innerToggle.title="collapse all docs"}else{addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),function(e){if(e.parentNode.id!=="main"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});sectionIsCollapsed=true;innerToggle.title="expand all docs"}innerToggle.children[0].innerText=labelForToggleButton(sectionIsCollapsed)}function collapseDocs(toggle,mode){if(!toggle||!toggle.parentNode){return}function adjustToggle(arg){return function(e){if(hasClass(e,"toggle-label")){if(arg){e.style.display="inline-block"}else{e.style.display="none"}}if(hasClass(e,"inner")){e.innerHTML=labelForToggleButton(arg)}}}function implHider(addOrRemove,fullHide){return function(n){var shouldHide=fullHide===true||hasClass(n,"method")===true||hasClass(n,"associatedconstant")===true;if(shouldHide===true||hasClass(n,"type")===true){if(shouldHide===true){if(addOrRemove){addClass(n,"hidden-by-impl-hider")}else{removeClass(n,"hidden-by-impl-hider")}}var ns=n.nextElementSibling;while(ns&&(hasClass(ns,"docblock")||hasClass(ns,"item-info"))){if(addOrRemove){addClass(ns,"hidden-by-impl-hider")}else{removeClass(ns,"hidden-by-impl-hider")}ns=ns.nextElementSibling}}}}var relatedDoc;var action=mode;if(hasClass(toggle.parentNode,"impl")===false){relatedDoc=toggle.parentNode.nextElementSibling;if(hasClass(relatedDoc,"item-info")){relatedDoc=relatedDoc.nextElementSibling}if(hasClass(relatedDoc,"docblock")){if(mode==="toggle"){if(hasClass(relatedDoc,"hidden-by-usual-hider")){action="show"}else{action="hide"}}if(action==="hide"){addClass(relatedDoc,"hidden-by-usual-hider");onEachLazy(toggle.childNodes,adjustToggle(true));addClass(toggle.parentNode,"collapsed")}else if(action==="show"){removeClass(relatedDoc,"hidden-by-usual-hider");removeClass(toggle.parentNode,"collapsed");onEachLazy(toggle.childNodes,adjustToggle(false))}}}else{var parentElem=toggle.parentNode;relatedDoc=parentElem;var docblock=relatedDoc.nextElementSibling;while(hasClass(relatedDoc,"impl-items")===false){relatedDoc=relatedDoc.nextElementSibling}if(!relatedDoc&&hasClass(docblock,"docblock")===false){return}if(mode==="toggle"){if(hasClass(relatedDoc,"fns-now-collapsed")||hasClass(docblock,"hidden-by-impl-hider")){action="show"}else{action="hide"}}var dontApplyBlockRule=toggle.parentNode.parentNode.id!=="main";if(action==="show"){removeClass(relatedDoc,"fns-now-collapsed");if(hasClass(docblock,"item-info")===false){removeClass(docblock,"hidden-by-usual-hider")}onEachLazy(toggle.childNodes,adjustToggle(false,dontApplyBlockRule));onEachLazy(relatedDoc.childNodes,implHider(false,dontApplyBlockRule))}else if(action==="hide"){addClass(relatedDoc,"fns-now-collapsed");if(hasClass(docblock,"item-info")===false){addClass(docblock,"hidden-by-usual-hider")}onEachLazy(toggle.childNodes,adjustToggle(true,dontApplyBlockRule));onEachLazy(relatedDoc.childNodes,implHider(true,dontApplyBlockRule))}}}function collapseNonInherent(e){var n=e.parentElement;if(n.id.match(/^impl(?:-\d+)?$/)===null){if(hasClass(n,"impl")){collapseDocs(e,"hide")}}}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}(function(){var toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}var hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";var hideImplementors=getSettingValue("auto-collapse-implementors")!=="false";var hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";var impl_list=document.getElementById("trait-implementations-list");if(impl_list!==null){onEachLazy(impl_list.getElementsByClassName("rustdoc-toggle"),function(e){collapseNonInherent(e)})}var blanket_list=document.getElementById("blanket-implementations-list");if(blanket_list!==null){onEachLazy(blanket_list.getElementsByClassName("rustdoc-toggle"),function(e){collapseNonInherent(e)})}if(hideMethodDocs===true){onEachLazy(document.getElementsByClassName("method"),function(e){var toggle=e.parentNode;if(toggle){toggle=toggle.parentNode}if(toggle&&toggle.tagName==="DETAILS"){toggle.open=false}})}onEachLazy(document.getElementsByTagName("details"),function(e){var showLargeItem=!hideLargeItemContents&&hasClass(e,"type-contents-toggle");var showImplementor=!hideImplementors&&hasClass(e,"implementors-toggle");if(showLargeItem||showImplementor){e.open=true}});var currentType=document.getElementsByClassName("type-decl")[0];var className=null;if(currentType){currentType=currentType.getElementsByClassName("rust")[0];if(currentType){onEachLazy(currentType.classList,function(item){if(item!=="main"){className=item;return true}})}}var pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());(function(){var lineNumbersFunc=function(){};if(getSettingValue("line-numbers")==="true"){lineNumbersFunc=function(x){var count=x.textContent.split("\n").length;var elems=[];for(var i=0;ithe rustdoc book.";var container=document.createElement("div");var shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["T","Focus the theme picker menu"],["↑","Move up in search results"],["↓","Move down in search results"],["ctrl + ↑ / ↓","Switch result tab"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(function(x){return"
"+x[0].split(" ").map(function(y,index){return(index&1)===0?""+y+"":" "+y+" "}).join("")+"
"+x[1]+"
"}).join("");var div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

Keyboard Shortcuts

"+shortcuts+"
";var infos=["Prefix searches with a type followed by a colon (e.g., fn:) to \ restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ enum, trait, type, macro, \ and const.","Search functions by type signature (e.g., vec -> usize or \ * -> vec)","Search multiple things at once by splitting your query with comma (e.g., \ str,u8 or String,struct:Vec,test)","You can look for items with an exact name by putting double quotes around \ - your request: \"string\"","Look for items inside another one by searching for a path: vec::Vec",].map(function(x){return"

"+x+"

"}).join("");var div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;container.appendChild(book_info);container.appendChild(div_shortcuts);container.appendChild(div_infos);popup.appendChild(container);insertAfter(popup,searchState.outputElement());buildHelperPopup=function(){}}onHashChange(null);window.onhashchange=onHashChange;searchState.setup()}());(function(){var reset_button_timeout=null;window.copy_path=function(but){var parent=but.parentElement;var path=[];onEach(parent.childNodes,function(child){if(child.tagName==='A'){path.push(child.textContent)}});var el=document.createElement('textarea');el.value='use '+path.join('::')+';';el.setAttribute('readonly','');el.style.position='absolute';el.style.left='-9999px';document.body.appendChild(el);el.select();document.execCommand('copy');document.body.removeChild(el);but.textContent='✓';if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){but.textContent='⎘';reset_button_timeout=null}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file + your request: \"string\"","Look for items inside another one by searching for a path: vec::Vec",].map(function(x){return"

"+x+"

"}).join("");var div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;container.appendChild(book_info);container.appendChild(div_shortcuts);container.appendChild(div_infos);popup.appendChild(container);insertAfter(popup,searchState.outputElement());buildHelperPopup=function(){}}onHashChange(null);window.onhashchange=onHashChange;searchState.setup()}());(function(){var reset_button_timeout=null;window.copy_path=function(but){var parent=but.parentElement;var path=[];onEach(parent.childNodes,function(child){if(child.tagName==='A'){path.push(child.textContent)}});var el=document.createElement('textarea');el.value='use '+path.join('::')+';';el.setAttribute('readonly','');el.style.position='absolute';el.style.left='-9999px';document.body.appendChild(el);el.select();document.execCommand('copy');document.body.removeChild(el);but.children[0].style.display='none';var tmp;if(but.childNodes.length<2){tmp=document.createTextNode('✓');but.appendChild(tmp)}else{onEachLazy(but.childNodes,function(e){if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent='✓'}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent='';reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/rustdoc.css b/static/docs-rs/bdk/nightly/latest/rustdoc.css index 642c7687b7..f807c2bc91 100644 --- a/static/docs-rs/bdk/nightly/latest/rustdoc.css +++ b/static/docs-rs/bdk/nightly/latest/rustdoc.css @@ -1 +1 @@ - @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2"),url("FiraSans-Regular.woff") format('woff');font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2"),url("FiraSans-Medium.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff") format('woff');font-display:swap;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:16px/1.4 "Source Serif 4",serif;margin:0;position:relative;padding:10px 15px 20px 15px;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5em;}h2{font-size:1.4em;}h3{font-size:1.3em;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod):not(.notable),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant):not(.associatedtype){font-weight:500;margin:20px 0 15px 0;padding-bottom:6px;}h1.fqn{display:flex;border-bottom:1px dashed;margin-top:0;padding-left:1px;}h1.fqn>.in-band>a:hover{text-decoration:underline;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant):not(.associatedtype){border-bottom:1px solid;}h3.impl,h3.method,h4.method,h3.type,h4.type,h4.associatedconstant,h4.associatedtype{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}h3.impl,h3.method,h4.method.trait-impl,h3.type,h4.type.trait-impl,h4.associatedconstant.trait-impl,h4.associatedtype.trait-impl{padding-left:15px;}h1,h2,h3,h4,.sidebar,a.source,.search-input,.content table td:first-child>a,.collapse-toggle,div.item-list .out-of-band,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,details.undocumented>summary::before,.content ul.crate a.crate,#main>ul.docblock>li>a{font-family:"Fira Sans",Arial,sans-serif;}.content ul.crate a.crate{font-size:16px/1.6;}ol,ul{padding-left:25px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.6em;}p{margin:0 0 .6em 0;}summary{outline:none;}code,pre,a.test-arrow{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.1em;}.docblock pre code,.docblock-short pre code{padding:0;padding-right:1ex;}pre{padding:14px;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{margin-top:50px;max-width:none;overflow:visible;margin-left:0px;min-width:70em;}nav.sub{font-size:16px;text-transform:uppercase;}.sidebar{width:200px;position:fixed;left:0;top:0;bottom:0;overflow:auto;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.sidebar .block>ul>li{margin-right:-10px;}.content,nav{max-width:960px;}.hidden{display:none !important;}.logo-container{height:100px;width:100px;position:relative;margin:20px auto;display:block;margin-top:10px;}.logo-container>img{max-width:100px;max-height:100px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;}.sidebar .location{border:1px solid;font-size:17px;margin:30px 10px 20px 10px;text-align:center;word-wrap:break-word;}.sidebar .version{font-size:15px;text-align:center;border-bottom:1px solid;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;}.location:empty{border:none;}.location a:first-child{font-weight:500;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{margin-top:0;margin-bottom:8px;text-align:center;}.block ul,.block li{margin:0 10px;padding:0;list-style:none;}.block a{display:block;text-overflow:ellipsis;overflow:hidden;line-height:15px;padding:7px 5px;font-size:14px;font-weight:300;transition:border 500ms ease-out;}.sidebar-title{border-top:1px solid;border-bottom:1px solid;text-align:center;font-size:17px;margin-bottom:5px;}.sidebar-links{margin-bottom:15px;}.sidebar-links>a{padding-left:10px;width:100%;}.sidebar-menu{display:none;}.content{padding:15px 0;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc:not(.source) .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;border-top-left-radius:5px;border-bottom-left-radius:5px;padding:13px 8px;text-align:right;}.rustdoc:not(.source) .example-wrap>pre.rust{width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre{margin:0;}#search{margin-left:230px;position:relative;}#results>table{width:100%;table-layout:fixed;}.content pre.line-numbers{float:left;border:none;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom:1px solid;}#main>.docblock h1{font-size:1.3em;}#main>.docblock h2{font-size:1.15em;}#main>.docblock h3,#main>.docblock h4,#main>.docblock h5{font-size:1em;}#main>h2+div,#main>h2+h3,#main>h3+div{display:none;flex-wrap:wrap;}.docblock h1{font-size:1em;}.docblock h2{font-size:0.95em;}.docblock h3,.docblock h4,.docblock h5{font-size:0.9em;}.docblock{margin-left:24px;position:relative;}.content .out-of-band{flex-grow:0;text-align:right;font-size:23px;margin:0px;padding:0 0 0 12px;font-weight:normal;}h3.impl>.out-of-band{font-size:21px;}h4.method>.out-of-band{font-size:19px;}h4>code,h3>code,.invisible>code{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;}.in-band>code{display:inline-block;}#main{position:relative;}#main>.since{top:inherit;font-family:"Fira Sans",Arial,sans-serif;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.1em;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);border:1px dashed;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content .method{font-size:1em;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.8em;}.content .methods>div:not(.notable-traits){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items>h4{border-bottom:0;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.toggle-wrapper.marg-left>.collapse-toggle{left:-24px;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.content .item-info code{font-size:90%;}.content .item-info{position:relative;margin-left:33px;margin-top:-13px;}.sub-variant>div>.item-info{margin-top:initial;}.content .item-info::before{content:'⬑';font-size:25px;position:absolute;top:-6px;left:-19px;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant,.impl-items>.associatedtype,.content .impl-items details>summary>.type,.impl-items details>summary>.associatedconstant,.impl-items details>summary>.associatedtype{margin-left:20px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main>.item-info{margin-top:0;}nav:not(.sidebar){border-bottom:1px solid;padding-bottom:10px;margin-bottom:10px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}nav.sub,.content{margin-left:230px;}a{text-decoration:none;background:transparent;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-7px;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-28px;padding-right:10px;}.anchor:before{content:'\2002\00a7\2002';}.docblock a:not(.srclink):not(.test-arrow):hover,.docblock-short a:not(.srclink):not(.test-arrow):hover,.item-info a{text-decoration:underline;}.invisible>.srclink,h4>code+.srclink,h3>code+.srclink{position:absolute;top:0;right:0;font-size:17px;font-weight:normal;}.block a.current.crate{font-weight:500;}.search-container{position:relative;}.search-container>div{display:inline-flex;width:calc(100% - 63px);}#crate-search{min-width:115px;margin-top:5px;padding:6px;padding-right:19px;flex:none;border:0;border-right:0;border-radius:4px 0 0 4px;outline:none;cursor:pointer;border-right:1px solid;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;}.search-container>.top-button{position:absolute;right:0;top:10px;}.search-input{-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:none;border-radius:1px;margin-top:5px;padding:10px 16px;font-size:17px;transition:border-color 300ms ease;transition:border-radius 300ms ease-in-out;transition:box-shadow 300ms ease-in-out;width:100%;}#crate-search+.search-input{border-radius:0 1px 1px 0;width:calc(100% - 32px);}.search-input:focus{border-radius:2px;border:0;outline:0;}.search-results .desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results a{display:block;}.content .search-results td:first-child{padding-right:0;width:50%;}.content .search-results td:first-child a{padding-right:10px;}.content .search-results td:first-child a:after{clear:both;content:"";display:block;}.content .search-results td:first-child a span{float:left;}tr.result span.primitive::after{content:' (primitive type)';font-style:italic;}tr.result span.keyword::after{content:' (keyword)';font-style:italic;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help>div>span{text-align:center;display:block;margin:10px 0;font-size:18px;border-bottom:1px solid #ccc;padding-bottom:4px;margin-bottom:6px;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.stab{display:table;border-width:1px;border-style:solid;padding:3px;margin-bottom:5px;font-size:90%;}.stab p{display:inline;}.stab summary{display:list-item;}.stab .emoji{font-size:1.5em;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:80%;line-height:1.2;margin-bottom:0;margin-right:.3em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;position:absolute;right:0;top:0;}.impl-items .since,.impl .since,.methods .since{flex-grow:0;padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{flex-grow:0;font-size:17px;font-weight:normal;}.impl-items code,.impl code,.methods code{flex-grow:1;}.impl-items h4,h4.impl,h3.impl,.methods h3{display:flex;flex-basis:100%;font-size:16px;margin-bottom:12px;justify-content:space-between;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:130%;top:5px;right:5px;z-index:1;}a.test-arrow:hover{text-decoration:none;}.section-header:hover a:before{position:absolute;left:-25px;padding-right:10px;content:'\2002\00a7\2002';}.section-header:hover a{text-decoration:none;}.section-header a{color:inherit;}.code-attribute{font-weight:300;}.collapse-toggle{font-weight:300;position:absolute;left:-23px;top:0;}h3>.collapse-toggle,h4>.collapse-toggle{font-size:0.8em;top:5px;}.toggle-wrapper>.collapse-toggle{left:-24px;margin-top:0px;}.toggle-wrapper{position:relative;margin-top:0;}.toggle-wrapper.collapsed{height:25px;transition:height .2s;margin-bottom:.6em;}.collapse-toggle>.inner{display:inline-block;width:1.2ch;text-align:center;}.collapse-toggle.hidden-default{position:relative;margin-left:20px;}.since+.srclink{display:table-cell;padding-left:10px;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:20px;margin-right:5px;}.toggle-wrapper>.collapse-toggle{left:0;}.variant+.toggle-wrapper+.docblock>p{margin-top:5px;}.sub-variant,.sub-variant>h3{margin-top:0px !important;padding-top:1px;}#main>details>.sub-variant>h3{font-size:15px;margin-left:25px;margin-bottom:5px;}.sub-variant>div{margin-left:20px;margin-bottom:10px;}.sub-variant>div>span{display:block;position:relative;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}.docblock>.section-header:first-child{margin-left:15px;margin-top:0;}.docblock>.section-header:first-child:hover>a:before{left:-10px;}#main>.variant,#main>.structfield{display:block;}:target>code{opacity:1;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:16px;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:20px;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:16px;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:20px;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:18px;cursor:pointer;border:0;border-top:2px solid;}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:16px;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}h4>.notable-traits{position:absolute;left:-44px;top:2px;}#all-types{text-align:center;border:1px solid;margin:0 10px;margin-bottom:10px;display:block;border-radius:7px;}#all-types>p{margin:5px 0;}#sidebar-toggle{position:fixed;top:30px;left:300px;z-index:10;padding:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;transition:left .5s;font-size:1.2em;border:1px solid;border-left:0;}#source-sidebar{position:fixed;top:0;bottom:0;left:0;width:300px;z-index:1;overflow:auto;transition:left .5s;border-right:1px solid;}#source-sidebar>.title{font-size:1.5em;text-align:center;border-bottom:1px solid;margin-bottom:6px;}.theme-picker{position:absolute;left:211px;top:19px;}.theme-picker button{outline:none;}#settings-menu,.help-button{position:absolute;top:10px;}#settings-menu{right:0;outline:none;}#theme-picker,#settings-menu,.help-button,#copy-path{padding:4px;width:27px;height:29px;border:1px solid;border-radius:3px;cursor:pointer;}.help-button{right:30px;font-family:"Fira Sans",Arial,sans-serif;text-align:center;font-size:17px;padding-top:2px;}#copy-path{height:30px;font-size:18px;margin-left:10px;padding:0 6px;width:28px;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);}#theme-choices>button:not(:first-child){border-top:1px solid;}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}}@media (max-width:700px){body{padding-top:0px;}.rustdoc>.sidebar{height:45px;min-height:40px;margin:0;margin-left:-15px;padding:0 15px;position:static;z-index:11;}.sidebar>.location{float:right;margin:0px;margin-top:2px;padding:3px 10px 1px 10px;min-height:39px;background:inherit;text-align:left;font-size:24px;}.sidebar .location:empty{padding:0;}.sidebar .logo-container{width:35px;height:35px;margin-top:5px;margin-bottom:5px;float:left;margin-left:50px;}.sidebar .logo-container>img{max-width:35px;max-height:35px;}.sidebar-menu{position:fixed;z-index:10;font-size:2rem;cursor:pointer;width:45px;left:0;text-align:center;display:block;border-bottom:1px solid;border-right:1px solid;height:45px;}.rustdoc.source>.sidebar>.sidebar-menu{display:none;}.sidebar-elems{position:fixed;z-index:1;left:0;top:45px;bottom:0;overflow-y:auto;border-right:1px solid;display:none;}.sidebar>.block.version{border-bottom:none;margin-top:12px;margin-bottom:0;}nav.sub{width:calc(100% - 32px);float:right;}.content{margin-left:0px;}#main,#search{margin-top:45px;padding:0;}.content h4>.out-of-band{position:inherit;}.toggle-wrapper>.collapse-toggle{left:0px;}.toggle-wrapper{height:1.5em;}#search{margin-left:0;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant,.impl-items>.associatedtype{display:flex;}.anchor{display:none !important;}.theme-picker{left:10px;top:54px;z-index:1;}h4>.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}.sidebar.mobile{position:fixed;width:100%;margin-left:0;background-color:rgba(0,0,0,0);height:100%;}.sidebar.mobile>div.version{overflow:hidden;max-height:33px;}.sidebar{width:calc(100% + 30px);}.show-it{display:block;width:246px;}.show-it>.block.items{margin:8px 0;}.show-it>.block.items>ul{margin:0;}.show-it>.block.items>ul>li{text-align:center;margin:2px 0;}.show-it>.block.items>ul>li>a{font-size:21px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}.collapse-toggle{left:-20px;}.impl>.collapse-toggle{left:-10px;}.item-list>details.rustdoc-toggle>summary:not(.hideme)::before{left:-10px;}#all-types{margin:10px;}#sidebar-toggle{top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;}#source-sidebar{z-index:11;}#main>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}.help-button{display:none;}.search-container>div{width:calc(100% - 32px);}}@media print{nav.sub,.content .out-of-band,.collapse-toggle{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main,#search{margin-top:100px;}#main>table:not(.table-display) td{word-break:break-word;width:50%;}.search-container>div{display:block;width:calc(100% - 37px);}#crate-search{width:100%;border-radius:4px;border:0;}#crate-search+.search-input{width:calc(100% + 71px);margin-left:-36px;}#theme-picker,#settings-menu{padding:5px;width:31px;height:31px;}#theme-picker{margin-top:-2px;}#settings-menu{top:7px;}.docblock{margin-left:12px;}}h3.notable{margin:0;margin-bottom:13px;font-size:19px;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;box-shadow:inset 0 -1px 0;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:16px;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:19px;display:block;}#implementors-list>.impl-items .table-display .out-of-band{font-size:17px;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main>ul{padding-left:10px;}#main>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.7em;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker,details.undocumented>summary::-webkit-details-marker,details.undocumented>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"[+]";font-weight:300;font-size:0.8em;letter-spacing:1px;cursor:pointer;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-23px;top:initial;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,.undocumented>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;top:3px;left:-2px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle,details.undocumented{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.rustdoc-toggle[open] >summary::before{content:"[−]";display:inline;}details.undocumented>summary::before{content:"[+] Show hidden undocumented items";cursor:pointer;font-size:16px;font-weight:300;}details.undocumented[open] >summary::before{content:"[-] Hide undocumented items";} \ No newline at end of file + @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2"),url("FiraSans-Regular.woff") format('woff');font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2"),url("FiraSans-Medium.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff") format('woff');font-display:swap;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:16px/1.4 "Source Serif 4",serif;margin:0;position:relative;padding:10px 15px 20px 15px;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5em;}h2{font-size:1.4em;}h3{font-size:1.3em;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod):not(.notable),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant):not(.associatedtype){font-weight:500;margin:20px 0 15px 0;padding-bottom:6px;}h1.fqn{display:flex;border-bottom:1px dashed;margin-top:0;padding-left:1px;}h1.fqn>.in-band>a:hover{text-decoration:underline;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant):not(.associatedtype){border-bottom:1px solid;}h3.impl,h3.method,h4.method,h3.type,h4.type,h4.associatedconstant,h4.associatedtype{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}h3.impl,h3.method,h4.method.trait-impl,h3.type,h4.type.trait-impl,h4.associatedconstant.trait-impl,h4.associatedtype.trait-impl{padding-left:15px;}h1,h2,h3,h4,.sidebar,a.source,.search-input,.content table td:first-child>a,.collapse-toggle,div.item-list .out-of-band,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,details.undocumented>summary::before,.content ul.crate a.crate,#main>ul.docblock>li>a{font-family:"Fira Sans",Arial,sans-serif;}.content ul.crate a.crate{font-size:16px/1.6;}ol,ul{padding-left:25px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.6em;}p{margin:0 0 .6em 0;}summary{outline:none;}code,pre,a.test-arrow{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.1em;}.docblock pre code,.docblock-short pre code{padding:0;padding-right:1ex;}pre{padding:14px;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{margin-top:50px;max-width:none;overflow:visible;margin-left:0px;}nav.sub{font-size:16px;text-transform:uppercase;}.sidebar{width:200px;position:fixed;left:0;top:0;bottom:0;overflow:auto;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.sidebar .block>ul>li{margin-right:-10px;}.content,nav{max-width:960px;}.hidden{display:none !important;}.logo-container{height:100px;width:100px;position:relative;margin:20px auto;display:block;margin-top:10px;}.logo-container>img{max-width:100px;max-height:100px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;}.sidebar .location{border:1px solid;font-size:17px;margin:30px 10px 20px 10px;text-align:center;word-wrap:break-word;}.sidebar .version{font-size:15px;text-align:center;border-bottom:1px solid;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;}.location:empty{border:none;}.location a:first-child{font-weight:500;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{margin-top:0;margin-bottom:8px;text-align:center;}.block ul,.block li{margin:0 10px;padding:0;list-style:none;}.block a{display:block;text-overflow:ellipsis;overflow:hidden;line-height:15px;padding:7px 5px;font-size:14px;font-weight:300;transition:border 500ms ease-out;}.sidebar-title{border-top:1px solid;border-bottom:1px solid;text-align:center;font-size:17px;margin-bottom:5px;}.sidebar-links{margin-bottom:15px;}.sidebar-links>a{padding-left:10px;width:100%;}.sidebar-menu{display:none;}.content{padding:15px 0;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;}.rustdoc:not(.source) .example-wrap>pre.rust{width:100%;overflow-x:auto;}.rustdoc .example-wrap>pre{margin:0;}#search{margin-left:230px;position:relative;}#results>table{width:100%;table-layout:fixed;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-top-left-radius:5px;border-bottom-left-radius:5px;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom:1px solid;}#main>.docblock h1{font-size:1.3em;}#main>.docblock h2{font-size:1.15em;}#main>.docblock h3,#main>.docblock h4,#main>.docblock h5{font-size:1em;}#main>h2+div,#main>h2+h3,#main>h3+div{display:none;flex-wrap:wrap;}.docblock h1{font-size:1em;}.docblock h2{font-size:0.95em;}.docblock h3,.docblock h4,.docblock h5{font-size:0.9em;}.docblock{margin-left:24px;position:relative;}.content .out-of-band{flex-grow:0;text-align:right;font-size:23px;margin:0px;padding:0 0 0 12px;font-weight:normal;}h3.impl>.out-of-band{font-size:21px;}h4.method>.out-of-band{font-size:19px;}h4>code,h3>code,.invisible>code{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;}.in-band>code{display:inline-block;}#main{position:relative;}#main>.since{top:inherit;font-family:"Fira Sans",Arial,sans-serif;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.1em;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);border:1px dashed;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content .method{font-size:1em;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.8em;}.content .methods>div:not(.notable-traits){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items>h4{border-bottom:0;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.toggle-wrapper.marg-left>.collapse-toggle{left:-24px;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.content .item-info code{font-size:90%;}.content .item-info{position:relative;margin-left:33px;margin-top:-13px;}.sub-variant>div>.item-info{margin-top:initial;}.content .item-info::before{content:'⬑';font-size:25px;position:absolute;top:-6px;left:-19px;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant,.impl-items>.associatedtype,.content .impl-items details>summary>.type,.impl-items details>summary>.associatedconstant,.impl-items details>summary>.associatedtype{margin-left:20px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main>.item-info{margin-top:0;}nav:not(.sidebar){border-bottom:1px solid;padding-bottom:10px;margin-bottom:10px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}nav.sub,.content{margin-left:230px;}a{text-decoration:none;background:transparent;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-7px;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-28px;padding-right:10px;}.anchor:before{content:'\2002\00a7\2002';}.docblock a:not(.srclink):not(.test-arrow):hover,.docblock-short a:not(.srclink):not(.test-arrow):hover,.item-info a{text-decoration:underline;}.invisible>.srclink,h4>code+.srclink,h3>code+.srclink{position:absolute;top:0;right:0;font-size:17px;font-weight:normal;}.block a.current.crate{font-weight:500;}.search-container{position:relative;}.search-container>div{display:inline-flex;width:calc(100% - 63px);}#crate-search{min-width:115px;margin-top:5px;padding:6px;padding-right:19px;flex:none;border:0;border-right:0;border-radius:4px 0 0 4px;outline:none;cursor:pointer;border-right:1px solid;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;}.search-container>.top-button{position:absolute;right:0;top:10px;}.search-input{-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:none;border-radius:1px;margin-top:5px;padding:10px 16px;font-size:17px;transition:border-color 300ms ease;transition:border-radius 300ms ease-in-out;transition:box-shadow 300ms ease-in-out;width:100%;}#crate-search+.search-input{border-radius:0 1px 1px 0;width:calc(100% - 32px);}.search-input:focus{border-radius:2px;border:0;outline:0;}.search-results .desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results a{display:block;}.content .search-results td:first-child{padding-right:0;width:50%;}.content .search-results td:first-child a{padding-right:10px;}.content .search-results td:first-child a:after{clear:both;content:"";display:block;}.content .search-results td:first-child a span{float:left;}tr.result span.primitive::after{content:' (primitive type)';font-style:italic;}tr.result span.keyword::after{content:' (keyword)';font-style:italic;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help>div>span{text-align:center;display:block;margin:10px 0;font-size:18px;border-bottom:1px solid #ccc;padding-bottom:4px;margin-bottom:6px;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.stab{display:table;border-width:1px;border-style:solid;padding:3px;margin-bottom:5px;font-size:90%;}.stab p{display:inline;}.stab summary{display:list-item;}.stab .emoji{font-size:1.5em;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:80%;line-height:1.2;margin-bottom:0;margin-right:.3em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;position:absolute;right:0;top:0;}.impl-items .since,.impl .since,.methods .since{flex-grow:0;padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{flex-grow:0;font-size:17px;font-weight:normal;}.impl-items code,.impl code,.methods code{flex-grow:1;}.impl-items h4,h4.impl,h3.impl,.methods h3{display:flex;flex-basis:100%;font-size:16px;margin-bottom:12px;justify-content:space-between;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:130%;top:5px;right:5px;z-index:1;}a.test-arrow:hover{text-decoration:none;}.section-header:hover a:before{position:absolute;left:-25px;padding-right:10px;content:'\2002\00a7\2002';}.section-header:hover a{text-decoration:none;}.section-header a{color:inherit;}.code-attribute{font-weight:300;}.collapse-toggle{font-weight:300;position:absolute;left:-23px;top:0;}h3>.collapse-toggle,h4>.collapse-toggle{font-size:0.8em;top:5px;}.toggle-wrapper>.collapse-toggle{left:-24px;margin-top:0px;}.toggle-wrapper{position:relative;margin-top:0;}.toggle-wrapper.collapsed{height:25px;transition:height .2s;margin-bottom:.6em;}.collapse-toggle>.inner{display:inline-block;width:1.2ch;text-align:center;}.collapse-toggle.hidden-default{position:relative;margin-left:20px;}.since+.srclink{display:table-cell;padding-left:10px;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:20px;margin-right:5px;}.toggle-wrapper>.collapse-toggle{left:0;}.variant+.toggle-wrapper+.docblock>p{margin-top:5px;}.sub-variant,.sub-variant>h3{margin-top:0px !important;padding-top:1px;}#main>details>.sub-variant>h3{font-size:15px;margin-left:25px;margin-bottom:5px;}.sub-variant>div{margin-left:20px;margin-bottom:10px;}.sub-variant>div>span{display:block;position:relative;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}.docblock>.section-header:first-child{margin-left:15px;margin-top:0;}.docblock>.section-header:first-child:hover>a:before{left:-10px;}#main>.variant,#main>.structfield{display:block;}:target>code{opacity:1;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:16px;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:20px;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:16px;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:20px;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:18px;cursor:pointer;border:0;border-top:2px solid;}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:16px;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}h4>.notable-traits{position:absolute;left:-44px;top:2px;}#all-types{text-align:center;border:1px solid;margin:0 10px;margin-bottom:10px;display:block;border-radius:7px;}#all-types>p{margin:5px 0;}#sidebar-toggle{position:fixed;top:30px;left:300px;z-index:10;padding:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;transition:left .5s;font-size:1.2em;border:1px solid;border-left:0;}#source-sidebar{position:fixed;top:0;bottom:0;left:0;width:300px;z-index:1;overflow:auto;transition:left .5s;border-right:1px solid;}#source-sidebar>.title{font-size:1.5em;text-align:center;border-bottom:1px solid;margin-bottom:6px;}.theme-picker{position:absolute;left:211px;top:19px;}.theme-picker button{outline:none;}#settings-menu,.help-button{position:absolute;top:10px;}#settings-menu{right:0;outline:none;}#theme-picker,#settings-menu,.help-button,#copy-path{padding:4px;width:27px;height:29px;border:1px solid;border-radius:3px;cursor:pointer;}.help-button{right:30px;font-family:"Fira Sans",Arial,sans-serif;text-align:center;font-size:17px;padding-top:2px;}#copy-path{margin-left:10px;padding:0;padding-left:2px;}#copy-path>img{margin-bottom:2px;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);}#theme-choices>button:not(:first-child){border-top:1px solid;}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}}@media (max-width:700px){body{padding-top:0px;}.rustdoc>.sidebar{height:45px;min-height:40px;margin:0;margin-left:-15px;padding:0 15px;position:static;z-index:11;}.sidebar>.location{float:right;margin:0px;margin-top:2px;padding:3px 10px 1px 10px;min-height:39px;background:inherit;text-align:left;font-size:24px;}.sidebar .location:empty{padding:0;}.sidebar .logo-container{width:35px;height:35px;margin-top:5px;margin-bottom:5px;float:left;margin-left:50px;}.sidebar .logo-container>img{max-width:35px;max-height:35px;}.sidebar-menu{position:fixed;z-index:10;font-size:2rem;cursor:pointer;width:45px;left:0;text-align:center;display:block;border-bottom:1px solid;border-right:1px solid;height:45px;}.rustdoc.source>.sidebar>.sidebar-menu{display:none;}.sidebar-elems{position:fixed;z-index:1;left:0;top:45px;bottom:0;overflow-y:auto;border-right:1px solid;display:none;}.sidebar>.block.version{border-bottom:none;margin-top:12px;margin-bottom:0;}nav.sub{width:calc(100% - 32px);float:right;}.content{margin-left:0px;}#main,#search{margin-top:45px;padding:0;}.content h4>.out-of-band{position:inherit;}.toggle-wrapper>.collapse-toggle{left:0px;}.toggle-wrapper{height:1.5em;}#search{margin-left:0;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant,.impl-items>.associatedtype{display:flex;}.anchor{display:none !important;}.theme-picker{left:10px;top:54px;z-index:1;}h4>.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}.sidebar.mobile{position:fixed;width:100%;margin-left:0;background-color:rgba(0,0,0,0);height:100%;}.sidebar.mobile>div.version{overflow:hidden;max-height:33px;}.sidebar{width:calc(100% + 30px);}.show-it{display:block;width:246px;}.show-it>.block.items{margin:8px 0;}.show-it>.block.items>ul{margin:0;}.show-it>.block.items>ul>li{text-align:center;margin:2px 0;}.show-it>.block.items>ul>li>a{font-size:21px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}.collapse-toggle{left:-20px;}.impl>.collapse-toggle{left:-10px;}.item-list>details.rustdoc-toggle>summary:not(.hideme)::before{left:-10px;}#all-types{margin:10px;}#sidebar-toggle{top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;}#source-sidebar{z-index:11;}#main>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}.help-button{display:none;}.search-container>div{width:calc(100% - 32px);}}@media print{nav.sub,.content .out-of-band,.collapse-toggle{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main,#search{margin-top:100px;}#main>table:not(.table-display) td{word-break:break-word;width:50%;}.search-container>div{display:block;width:calc(100% - 37px);}#crate-search{width:100%;border-radius:4px;border:0;}#crate-search+.search-input{width:calc(100% + 71px);margin-left:-36px;}#theme-picker,#settings-menu{padding:5px;width:31px;height:31px;}#theme-picker{margin-top:-2px;}#settings-menu{top:7px;}.docblock{margin-left:12px;}}h3.notable{margin:0;margin-bottom:13px;font-size:19px;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;box-shadow:inset 0 -1px 0;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:16px;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:19px;display:block;}#implementors-list>.impl-items .table-display .out-of-band{font-size:17px;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main>ul{padding-left:10px;}#main>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.7em;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker,details.undocumented>summary::-webkit-details-marker,details.undocumented>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"[+]";font-weight:300;font-size:0.8em;letter-spacing:1px;cursor:pointer;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-family:'Fira Sans';font-size:16px;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-23px;top:initial;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,.undocumented>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;top:3px;left:-2px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle,details.undocumented{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.rustdoc-toggle[open] >summary::before{content:"[−]";display:inline;}details.undocumented>summary::before{content:"[+] Show hidden undocumented items";cursor:pointer;font-size:16px;font-weight:300;}details.undocumented[open] >summary::before{content:"[-] Hide undocumented items";} \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/search-index.js b/static/docs-rs/bdk/nightly/latest/search-index.js index 15b1430735..5fb2f940a3 100644 --- a/static/docs-rs/bdk/nightly/latest/search-index.js +++ b/static/docs-rs/bdk/nightly/latest/search-index.js @@ -1,4 +1,4 @@ var searchIndex = JSON.parse('{\ -"bdk":{"doc":"A modern, lightweight, descriptor-based wallet library …","t":[13,13,13,13,13,13,13,13,13,4,13,13,3,13,13,13,13,13,13,13,13,13,13,13,13,13,13,4,13,3,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,3,13,13,4,3,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,0,11,11,11,11,11,11,12,11,12,12,12,11,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,11,12,5,11,11,11,11,11,11,11,0,11,12,12,12,12,12,12,13,8,4,16,8,13,13,3,3,8,6,0,11,11,11,11,11,11,10,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,0,11,11,0,10,11,11,11,11,10,10,10,10,11,11,11,11,11,11,11,5,5,5,10,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,4,4,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,3,3,3,4,13,13,13,13,13,13,13,13,3,13,13,13,3,13,13,13,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,12,11,11,11,11,11,11,11,12,11,11,13,3,3,4,13,13,13,13,13,13,12,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,16,8,8,16,8,8,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,10,10,10,10,10,4,4,4,13,13,13,13,13,13,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,6,3,4,6,8,6,8,6,4,3,13,8,4,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,12,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,5,13,13,13,4,13,13,13,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,4,13,3,6,6,13,13,13,13,13,13,13,13,13,13,13,3,3,4,13,13,13,13,4,4,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,3,8,6,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,8,4,4,4,3,3,16,16,8,4,8,8,3,8,13,13,13,4,6,13,13,13,16,13,3,13,8,4,13,13,13,3,6,13,13,5,10,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,5,11,10,11,11,5,11,11,11,11,12,12,11,11,11,11,11,11,12,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,4,3,4,6,3,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,4,8,13,13,13,13,3,11,11,0,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,0,11,0,11,11,11,11,0,11,11,11,11,8,4,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,3,8,3,6,3,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,13,13,13,13,13,13,13,13,13,13,13,3,8,4,4,3,3,13,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,10,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,13,3,13,13,4,3,13,13,3,8,4,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["AddressValidator","Bip32","BnBNoExactMatch","BnBTotalTriesExceeded","ChecksumMismatch","CompactFilters","Descriptor","Electrum","Encode","Error","Esplora","External","FeeRate","FeeRateTooLow","FeeTooLow","Foreign","Generic","Hex","InsufficientFunds","Internal","InvalidOutpoint","InvalidPolicyPathError","InvalidProgressValue","InvalidU32Bytes","IrreplaceableTransaction","Json","Key","KeychainKind","Local","LocalUtxo","Miniscript","MissingKeyOrigin","NoRecipients","NoUtxosSelected","OutputBelowDustLimit","ProgressUpdateError","Psbt","ScriptDoesntHaveAddressForm","Secp256k1","Signer","SingleRecipientMultipleOutputs","SingleRecipientNoInputs","Sled","SpendingPolicyRequired","TransactionConfirmed","TransactionDetails","TransactionNotFound","UnknownUtxo","Utxo","WeightedUtxo","as_byte","as_ref","as_sat_vb","base32_len","blockchain","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_base32","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","database","default","default","default_min_relay_fee","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","descriptor","descriptor","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","fees","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fragment","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_btc_per_kvb","from_sat_per_vb","hash","height","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into_descriptor_key","into_extended_key","into_wallet_descriptor","into_wallet_descriptor","keychain","keys","ne","ne","ne","ne","ne","outpoint","outpoint","partial_cmp","received","satisfaction_weight","sent","serialize","serialize","serialize","timestamp","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","transaction","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","txid","txout","txout","type_id","type_id","type_id","type_id","type_id","type_id","type_id","utxo","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","wallet","write_base32","available","needed","required","required","outpoint","psbt_input","AccurateFees","Blockchain","Capability","Config","ConfigurableBlockchain","FullHistory","GetAnyTx","LogProgress","NoopProgress","Progress","ProgressData","any","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone","clone","clone_into","clone_into","clone_into","compact_filters","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","electrum","eq","equivalent","esplora","estimate_fee","fmt","from","from","from","from_config","get_capabilities","get_height","get_tx","hash","init","init","init","into","into","into","log_progress","noop_progress","progress","setup","sync","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update","update","update","vzip","vzip","vzip","AnyBlockchain","AnyBlockchainConfig","CompactFilters","CompactFilters","Electrum","Electrum","Esplora","Esplora","borrow","borrow","borrow_mut","borrow_mut","broadcast","clone","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eq","estimate_fee","fmt","from","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","into","into","ne","serialize","setup","sync","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Bip158","BitcoinPeerConfig","CompactFiltersBlockchain","CompactFiltersBlockchainConfig","CompactFiltersError","DataCorruption","Db","Global","InvalidFilter","InvalidFilterHeader","InvalidHeaders","InvalidResponse","Io","Mempool","MissingBlock","NoPeers","NotConnected","Peer","PeerBloomDisabled","Time","Timeout","add_tx","address","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone","clone_into","clone_into","connect","connect_proxy","default","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","drop","drop","eq","eq","estimate_fee","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_mempool","get_network","get_tx","get_tx","get_version","has_tx","init","init","init","init","init","init","into","into","into","into","into","into","is_connected","iter_txs","ne","ne","network","new","new","peers","recv","send","serialize","serialize","setup","skip_blocks","socks5","socks5_credentials","storage_dir","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","ElectrumBlockchain","ElectrumBlockchainConfig","borrow","borrow","borrow_mut","borrow_mut","broadcast","clone","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eq","estimate_fee","fmt","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","into","into","ne","retry","serialize","setup","socks5","timeout","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","url","vzip","vzip","BitcoinEncoding","EsploraBlockchain","EsploraBlockchainConfig","EsploraError","HeaderHashNotFound","HeaderHeightNotFound","Hex","Parsing","Reqwest","TransactionNotFound","base_url","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone_into","concurrency","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","drop","drop","drop","eq","estimate_fee","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","init","into","into","into","ne","new","serialize","setup","to_owned","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Batch","BatchDatabase","BatchOperations","Config","ConfigurableDatabase","Database","any","begin_batch","check_descriptor_checksum","commit_batch","del_last_index","del_path_from_script_pubkey","del_raw_tx","del_script_pubkey_from_path","del_tx","del_utxo","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","memory","set_last_index","set_raw_tx","set_script_pubkey","set_tx","set_utxo","AnyBatch","AnyDatabase","AnyDatabaseConfig","Memory","Memory","Memory","Sled","Sled","Sled","SledDbConfiguration","begin_batch","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_descriptor_checksum","commit_batch","del_last_index","del_last_index","del_path_from_script_pubkey","del_path_from_script_pubkey","del_raw_tx","del_raw_tx","del_script_pubkey_from_path","del_script_pubkey_from_path","del_tx","del_tx","del_utxo","del_utxo","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","init","init","init","init","into","into","into","into","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","path","serialize","serialize","set_last_index","set_last_index","set_raw_tx","set_raw_tx","set_script_pubkey","set_script_pubkey","set_tx","set_tx","set_utxo","set_utxo","tree_name","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","MemoryDatabase","begin_batch","borrow","borrow_mut","check_descriptor_checksum","commit_batch","default","del_last_index","del_path_from_script_pubkey","del_raw_tx","del_script_pubkey_from_path","del_tx","del_utxo","deref","deref_mut","drop","fmt","from","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","init","into","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","new","set_last_index","set_raw_tx","set_script_pubkey","set_tx","set_utxo","try_from","try_into","type_id","vzip","Bare","DerivedDescriptor","DerivedDescriptorKey","Descriptor","ExtendedDescriptor","ExtractPolicy","HdKeyPaths","IntoWalletDescriptor","KeyMap","Legacy","Miniscript","Pkh","ScriptContext","Segwitv0","Sh","Wpkh","Wsh","address","as_enum","as_enum","as_inner","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branches","check_global_consensus_validity","check_global_consensus_validity","check_global_consensus_validity","check_global_policy_validity","check_global_policy_validity","check_global_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_policy_validity","check_local_policy_validity","check_local_policy_validity","check_local_validity","check_terminal_non_malleable","check_terminal_non_malleable","check_terminal_non_malleable","check_witness","check_witness","check_witness","checksum","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","derive","desc_type","drop","drop","drop","drop","drop","encode","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","error","explicit_script","ext","extract_policy","extract_policy","extract_policy","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","for_each_key","from","from","from","from","from","from_ast","from_str","from_str","from_str_insane","from_tree","from_tree","get_leaf_pk","get_leaf_pk_pkh","get_leaf_pkh","get_nth_child","get_nth_pk","get_nth_pk_pkh","get_nth_pkh","get_satisfaction","has_mixed_timelocks","has_repeated_keys","hash","hash","hash","hash","hash_to_hash160","init","init","init","init","init","into","into","into","into","into","into_inner","into_wallet_descriptor","is_deriveable","is_non_malleable","is_uncompressed","iter","iter_pk","iter_pk_pkh","iter_pkh","lift","lift","lift_check","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_weight","max_satisfaction_witness_elements","ne","new","new_bare","new_pk","new_pkh","new_sh","new_sh_sortedmulti","new_sh_wpkh","new_sh_wsh","new_sh_wsh_sortedmulti","new_wpkh","new_wsh","new_wsh_sortedmulti","node","other_top_level_checks","parse","parse_descriptor","parse_insane","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","policy","requires_sig","sanity_check","sanity_check","satisfy","satisfy_malleable","script_code","script_pubkey","script_size","serialized_len","template","to_owned","to_owned","to_owned","to_owned","to_owned","to_pubkeyhash","to_public_key","to_string","to_string","to_string","to_string_with_secret","top_level_checks","top_level_type_check","translate_pk","translate_pk","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","ty","type_id","type_id","type_id","type_id","type_id","unsigned_script_sig","vzip","vzip","vzip","vzip","vzip","within_resource_limits","get_checksum","Base58","Bip32","DuplicatedKeys","Error","HardenedDerivationXpub","Hex","InvalidDescriptorCharacter","InvalidDescriptorChecksum","InvalidHdKeyPath","Key","Miniscript","Pk","Policy","borrow","borrow_mut","deref","deref_mut","drop","fmt","fmt","from","from","from","from","from","from","from","from","init","into","to_string","try_from","try_into","type_id","vzip","AbsoluteTimelock","AddOnLeaf","AddOnPartialComplete","BuildSatisfaction","Complete","Condition","ConditionMap","FoldedConditionMap","Hash160Preimage","Hash256Preimage","IncompatibleConditions","IndexOutOfRange","MixedTimelockUnits","Multisig","None","None","NotEnoughItemsSelected","Partial","PartialComplete","PkOrF","Policy","PolicyError","Psbt","PsbtTimelocks","RelativeTimelock","Ripemd160Preimage","Satisfaction","SatisfiableItem","Sha256Preimage","Signature","SignatureKey","Thresh","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","contribution","csv","default","default","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","drop","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","get_condition","hash","id","id","init","init","init","init","init","init","init","into","into","into","into","into","into","into","is_leaf","is_leaf","is_null","item","ne","ne","partial_cmp","requires_path","satisfaction","serialize","serialize","serialize","serialize","serialize","timelock","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","current_height","input_max_height","psbt","condition","conditions","conditions","items","items","m","m","n","n","sorted","sorted","hash","hash","hash","hash","items","keys","threshold","threshold","value","value","0","0","0","0","0","0","0","0","0","1","1","1","1","1","1","2","2","2","Bip44","Bip44Public","Bip49","Bip49Public","Bip84","Bip84Public","DescriptorTemplate","DescriptorTemplateOut","P2Pkh","P2Wpkh","P2Wpkh_P2Sh","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","build","build","build","build","build","build","build","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","drop","drop","drop","from","from","from","from","from","from","from","from","from","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Bip32","DerivableKey","DescriptorKey","DescriptorPublicKey","DescriptorSecretKey","DescriptorSinglePriv","DescriptorSinglePub","Entropy","Error","ExtScriptContext","ExtendedKey","GeneratableDefaultOptions","GeneratableKey","GeneratedKey","IntoDescriptorKey","InvalidChecksum","InvalidNetwork","InvalidScriptContext","KeyError","KeyMap","Legacy","Message","Miniscript","Options","Private","PrivateKeyGenerateOptions","Public","ScriptContext","ScriptContextEnum","Segwitv0","SinglePriv","SinglePub","SortedMultiVec","ValidNetworks","XPrv","XPub","any_network","as_enum","as_public","bip39","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_global_consensus_validity","check_global_consensus_validity","check_global_policy_validity","check_global_policy_validity","check_global_validity","check_global_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_policy_validity","check_local_policy_validity","check_local_validity","check_local_validity","check_terminal_non_malleable","check_witness","check_witness","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","compressed","default","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","derive","derive_public_key","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","encode","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_public","from_secret","from_str","from_str","from_tree","full_derivation_path","generate","generate_default","generate_with_entropy","generate_with_entropy_default","has_secret","hash","hash","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_extended_key","into_extended_key","into_extended_key","into_key","into_xprv","into_xpub","is_deriveable","is_legacy","is_legacy","is_segwit_v0","is_segwit_v0","is_uncompressed","k","key","key","lift","mainnet_network","master_fingerprint","max_satisfaction_size","max_satisfaction_size","max_satisfaction_witness_elements","merge_networks","ne","ne","ne","new","origin","origin","other_top_level_checks","other_top_level_checks","override_valid_networks","partial_cmp","partial_cmp","partial_cmp","pks","sanity_check","satisfy","script_size","sorted_node","test_networks","to_owned","to_owned","to_owned","to_owned","to_owned","to_pubkeyhash","to_string","to_string","to_string","to_string","top_level_checks","top_level_checks","top_level_type_check","top_level_type_check","translate_pk","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","ChineseSimplified","ChineseTraditional","English","French","Italian","Japanese","Korean","Language","Mnemonic","MnemonicType","MnemonicWithPassphrase","Seed","Spanish","Words12","Words15","Words18","Words21","Words24","as_bytes","as_ref","as_ref","base32_len","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_base32","checksum_bits","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","default","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","entropy","entropy_bits","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_key_size","for_phrase","for_word_count","from","from","from","from","from_entropy","from_language_code","from_phrase","generate_with_entropy","init","init","init","init","into","into","into","into","into_descriptor_key","into_descriptor_key","into_extended_key","into_extended_key","into_phrase","language","new","new","phrase","to_hex","to_hex","to_owned","to_owned","to_owned","to_owned","to_string","to_string","total_bits","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","validate","vzip","vzip","vzip","vzip","word_count","wordlist","wordmap","write_base32","zeroize","zeroize","zeroize","AddressIndex","IsDust","LastUnused","New","Peek","Reset","Wallet","add_address_validator","add_signer","address_validator","borrow","borrow","borrow_mut","borrow_mut","broadcast","build_fee_bump","build_tx","client","coin_selection","deref","deref","deref_mut","deref_mut","drop","drop","export","finalize_psbt","fmt","fmt","from","from","get_address","get_balance","get_descriptor_for_keychain","get_psbt_input","get_utxo","init","init","into","into","is_dust","is_mine","list_transactions","list_unspent","network","new","new_offline","policies","public_descriptor","secp_ctx","sign","signer","sync","time","try_from","try_from","try_into","try_into","tx_builder","type_id","type_id","vzip","vzip","AddressValidator","AddressValidatorError","ConnectionError","InvalidScript","Message","TimeoutError","UserRejected","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","fmt","fmt","from","init","into","ne","to_owned","to_string","try_from","try_into","type_id","validate","vzip","BranchAndBoundCoinSelection","CoinSelectionAlgorithm","CoinSelectionResult","DefaultCoinSelectionAlgorithm","LargestFirstCoinSelection","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","coin_select","coin_select","coin_select","default","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","fee_amount","fmt","fmt","fmt","from","from","from","init","init","init","into","into","into","local_selected_amount","new","selected","selected_amount","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","WalletExport","blockheight","borrow","borrow_mut","change_descriptor","deref","deref_mut","descriptor","deserialize","drop","export_wallet","fmt","from","from_str","init","into","label","serialize","to_string","try_from","try_into","type_id","vzip","0","Dummy","Fingerprint","InputIndexOutOfRange","InvalidKey","InvalidNonWitnessUtxo","MissingHdKeypath","MissingKey","MissingNonWitnessUtxo","MissingWitnessScript","MissingWitnessUtxo","PkHash","SignOptions","Signer","SignerError","SignerId","SignerOrdering","SignersContainer","UserCanceled","add_external","as_key_map","assume_height","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","default","default","default","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","descriptor_secret_key","drop","drop","drop","drop","drop","eq","eq","eq","equivalent","equivalent","equivalent","find","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","hash","id","ids","init","init","init","init","init","into","into","into","into","into","ne","ne","new","partial_cmp","partial_cmp","remove","sign","sign_whole_tx","signers","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","trust_witness_utxo","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","get_timestamp","Bip69Lexicographic","BumpFee","ChangeAllowed","ChangeForbidden","ChangeSpendPolicy","CreateTx","OnlyChange","Shuffle","TxBuilder","TxBuilderContext","TxOrdering","Untouched","add_foreign_utxo","add_global_xpubs","add_recipient","add_unspendable","add_utxo","add_utxos","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","change_policy","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","coin_selection","default","default","default","default","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","do_not_spend_change","drain_wallet","drop","drop","drop","drop","drop","enable_rbf","enable_rbf_with_sequence","eq","eq","equivalent","equivalent","fee_absolute","fee_rate","finish","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","hash","hash","include_output_redeem_witness_script","init","init","init","init","init","into","into","into","into","into","maintain_single_recipient","manually_selected_only","nlocktime","only_spend_change","only_witness_utxo","ordering","partial_cmp","partial_cmp","policy_path","set_recipients","set_single_recipient","sighash","sort_tx","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unspendable","version","vzip","vzip","vzip","vzip","vzip"],"q":["bdk","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::Error","","","","bdk::Utxo","","bdk::blockchain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::any","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::compact_filters","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::electrum","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::esplora","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database::any","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database::memory","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::checksum","bdk::descriptor::error","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy::BuildSatisfaction","","","bdk::descriptor::policy::Satisfaction","","","","","","","","","","","bdk::descriptor::policy::SatisfiableItem","","","","","","","","","","bdk::descriptor::template","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::keys","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::keys::bip39","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::address_validator","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::coin_selection","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::export","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::signer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::time","bdk::wallet::tx_builder","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Error that can be returned to fail the validation of an …","BIP32 error","Branch and bound coin selection tries to avoid needing a …","Branch and bound coin selection possible attempts with …","Descriptor checksum mismatch","Compact filters client error)","Error related to the parsing and usage of descriptors","Electrum client error","Encoding error","Errors that can be thrown by the Wallet","Esplora client error","External","Fee rate","When bumping a tx the fee rate requested is lower than …","When bumping a tx the absolute fee requested is lower …","A UTXO owned by another wallet.","Generic error","Hex decoding error","Wallet’s UTXO set is not enough to cover recipient’s …","Internal, usually used for change outputs","Requested outpoint doesn’t exist in the tx (vout …","Error while extracting and manipulating policies","Progress value must be between 0.0 (included) and 100.0 …","Wrong number of bytes found when trying to convert to u32","Trying to replace a tx that has a sequence >= 0xFFFFFFFE","Error serializing or deserializing JSON data","Error while working with keys","Types of keychains","A UTXO owned by the local wallet.","An unspent output owned by a Wallet.","Miniscript error","In order to use the TxBuilder::add_global_xpubs option …","Cannot build a tx without recipients","manually_selected_only option is selected but no utxo has …","Output created is under the dust limit, 546 satoshis","Progress update error (maybe the channel has been closed)","Partially signed bitcoin transaction error","This error is thrown when trying to convert Bare and …","An ECDSA error","Signing error","Found multiple outputs when single_recipient option has …","single_recipient option is selected but neither …","Sled database error","Spending policy is not compatible with this KeychainKind","Happens when trying to bump a transaction that is already …","A wallet transaction","Thrown when a tx is not found in the internal database","Happens when trying to spend an UTXO that is not in the …","An unspent transaction output (UTXO).","A [Utxo] with its satisfaction_weight.","Return [KeychainKind] as a byte","","Return the value as satoshi/vbyte","","Blockchain backends","","","","","","","","","","","","","","","","","","","","","","","","","","","","Database types","","","Create a new [FeeRate] with the default min relay fee …","","","","","","","","","","","","","","","Descriptors","Macro to write full descriptors with code","","","","","","","","","","","","","","","","","","","","Fee value (sats)","","","","","","","","","Macro to write descriptor fragments with code","","","","","","","","","","","","","","","","","","","","","","","","Create a new instance of [FeeRate] given a float fee rate …","Create a new instance of [FeeRate] given a float fee rate …","","Confirmed in block height, None means unconfirmed","","","","","","","","","","","","","","","","","","","Type of keychain","Key formats","","","","","","Get the location of the UTXO","Reference to a transaction output","","Received value (sats)","The weight of the witness data and scriptSig expressed in …","Sent value (sats)","","","","Timestamp","","","","","","","","Optional transaction","","","","","","","","","","","","","","","Transaction id","Get the TxOut of the UTXO","Transaction output","","","","","","","","The UTXO","Get the version of BDK at runtime","","","","","","","","Wallet","","Sats available for spending","Sats needed for some transaction","Required fee rate (satoshi/vbyte)","Required fee absolute value (satoshi)","The location of the output.","The information about the input we require to add it to a …","Can compute accurate fees for the transactions found …","Trait that defines the actions that must be supported by …","Capabilities that can be supported by a [Blockchain] …","Type that contains the configuration","Trait for [Blockchain] types that can be created given a …","Can recover the full history of a wallet and not only the …","Can fetch any historical transaction given its txid","Type that implements [Progress] and logs at level INFO …","Type that implements [Progress] and drops every update …","Trait for types that can receive and process progress …","Data sent with a progress update over a [channel]","Runtime-checked blockchain types","","","","","","","Broadcast a transaction","","","","","","","Compact Filters","","","","","","","","","","Electrum","","","Esplora","Estimate the fee rate required to confirm a transaction …","","","","","Create a new instance given a configuration","Return the set of [Capability] supported by this backend","Return the current height","Fetch a transaction from the blockchain given its txid","","","","","","","","Create a nwe instance of [LogProgress]","Create a new instance of [NoopProgress]","Shortcut to create a [channel] (pair of [Sender] and […","Setup the backend and populate the internal database for …","Populate the internal database with transactions and UTXOs","","","","","","","","","","","","","Send a new progress update","","","","","","Type that can contain any of the [Blockchain] types …","Type that can contain any of the blockchain …","Compact filters client","Compact filters client","Electrum client","Electrum client","Esplora client","Esplora client","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Invalid BIP158 filter","Data to connect to a Bitcoin P2P peer","Structure implementing the required blockchain traits","Configuration for a [CompactFiltersBlockchain]","An error that can occur during sync with a […","The data stored in the block filters storage are corrupted","Internal database error","Wrapper for [crate::error::Error]","The compact filter returned is invalid","The compact filter headers returned are invalid","The headers returned are invalid","A peer sent an invalid or unexpected response","Internal I/O error","Container for unconfirmed, but valid Bitcoin transactions","The peer is missing a block in the valid chain","No peers have been specified","A peer is not connected","A Bitcoin peer","The peer doesn’t advertise the BLOOM service flag","Internal system time error","A peer took too long to reply to one of our messages","Add a transaction to the mempool","Peer address such as 127.0.0.1:18333","","","","","","","","","","","","","","","","","","Connect to a peer over a plaintext TCP connection","Connect to a peer through a SOCKS5 proxy, optionally by …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the mempool used by this peer","Return the Bitcoin [Network] in use","Look-up a transaction in the mempool given an [Inventory] …","","Return the [VersionMessage] sent by the peer","Return whether or not the mempool contains a transaction …","","","","","","","","","","","","","Return whether or not the peer is still connected","Return the list of transactions contained in the mempool","","","Network used","Create a new empty mempool","Construct a new instance given a list of peers, a path to …","List of peers to try to connect to for asking headers and …","Waits for a specific incoming Bitcoin message, optionally …","Send a raw Bitcoin message to the peer","","","","Optionally skip initial skip_blocks blocks (default: 0)","Optional socks5 proxy","Optional socks5 proxy credentials","Storage dir to save partially downloaded headers and full …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Wrapper over an Electrum Client that implements the …","Configuration for an [ElectrumBlockchain]","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Request retry count","","","URL of the socks5 proxy server or a Tor service","Request timeout (seconds)","","","","","","","","URL of the Electrum server (such as ElectrumX, Esplora, …","","","Invalid Bitcoin data returned","Structure that implements the logic to sync with Esplora","Configuration for an [EsploraBlockchain]","Errors that can happen during a sync with […","Header hash not found","Header height not found","Invalid Hex data returned","Invalid number returned","Error with the HTTP call","Transaction not found","Base URL of the esplora service","","","","","","","","","","Number of parallel requests sent to the esplora service …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a new instance of the client from a base URL","","","","","","","","","","","","","","","","","Container for the operations","Trait for a database that supports batch operations","Trait for operations that can be batched","Type that contains the configuration","Trait for [Database] types that can be created given a …","Trait for reading data from a database","Runtime-checked database types","Create a new batch container","Read and checks the descriptor checksum for a given …","Consume and apply a batch of operations","Delete the last derivation index for a keychain.","Delete the data related to a specific script_pubkey, …","Delete a raw transaction given its [Txid]","Delete a script_pubkey given the keychain and its child …","Delete the metadata of a transaction and optionally the …","Delete a [LocalUtxo] given its [OutPoint]","Create a new instance given a configuration","Return the last defivation index for a keychain.","Fetch the keychain and child number of a given …","Fetch a raw transaction given its [Txid]","Fetch a script_pubkey given the child number of a …","Fetch the transaction metadata and optionally also the …","Fetch a [LocalUtxo] given its [OutPoint]","Increment the last derivation index for a keychain and …","Return the list of raw transactions","Return the list of script_pubkeys","Return the list of transactions metadata","Return the list of [LocalUtxo]s","In-memory ephemeral database","Store the last derivation index for a given keychain.","Store a raw transaction","Store a script_pubkey along with its keychain and child …","Store the metadata of a transaction","Store a [LocalUtxo]","Type that contains any of the [BatchDatabase::Batch] …","Type that can contain any of the [Database] types defined …","Type that can contain any of the database configurations …","In-memory ephemeral database","In-memory ephemeral database","Memory database has no config","Simple key-value embedded database based on [sled]","Simple key-value embedded database based on [sled]","Simple key-value embedded database based on [sled]","Configuration type for a [sled::Tree] database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Main directory of the db","","","","","","","","","","","","","Name of the database tree, a separated namespace for the …","","","","","","","","","","","","","","","","","In-memory ephemeral database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a new empty database","","","","","","","","","","A raw scriptpubkey (including pay-to-pubkey) under Legacy …","Alias for a [Descriptor] that contains extended derived …","Extended [DescriptorPublicKey] that has been derived","Script descriptor","Alias for a [Descriptor] that can contain extended keys …","Trait implemented on [Descriptor]s to add a method to …","Alias for the type of maps that represent derivation …","Trait for types which can be converted into an […","Alias type for a map of public key to secret key","Legacy ScriptContext To be used as P2SH scripts For …","Top-level script AST type","Pay-to-PubKey-Hash","The ScriptContext for Miniscript. Additional type …","Segwitv0 ScriptContext","Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)","Pay-to-Witness-PubKey-Hash","Pay-to-Witness-ScriptHash with Segwitv0 context","Computes the Bitcoin address of the descriptor, if one …","","","Get a reference to the inner AstElem representing the …","","","","","","","","","","","Enumerates all child nodes of the current AST node (self) …","Depending on script Context, some of the Terminals might …","","","Depending on script Context, some of the script resource …","","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It …","","","Policy rules at the Miniscript satisfaction time. It is …","","","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","","","Check whether the given satisfaction is valid under the …","","","Descriptor checksum","","","","","","","","","","","","","","","","","","","","","","","","","","","Derives all wildcard keys in the descriptor using the …","Get the [DescriptorType] of [Descriptor]","","","","","","Encode as a Bitcoin script","","","","","","","","","","","Descriptor errors","Computes the “witness script” of the descriptor, i.e. …","Additional information helpful for extra analysis.","Extract the spending [policy]","","","","","","","","","","","","","","","","","","Add type information(Type and Extdata) to Miniscript …","","","Attempt to parse an insane(scripts don’t clear sanity …","Parse an expression tree into a descriptor","Parse an expression tree into a Miniscript. As a general …","Returns Vec with cloned version of all public keys from …","Returns Vec of [PkPkh] entries, representing either …","Returns Vec with hashes of all public keys from the …","Returns child node with given index, if any","Returns Option::Some with cloned n’th public key from …","Returns Option::Some with hash of n’th public key or …","Returns Option::Some with hash of n’th public key from …","Returns satisfying witness and scriptSig to spend an …","Whether the miniscript contains a combination of timelocks","Whether the miniscript has repeated Pk or Pkh","","","","","","","","","","","","","","","","Extracts the AstElem representing the root of the …","Convert to wallet descriptor","Whether or not the descriptor has any wildcards","Whether the miniscript is malleable","","Creates a new [Iter] iterator that will iterate over all […","Creates a new [PkIter] iterator that will iterate over …","Creates a new [PkPkhIter] iterator that will iterate over …","Creates a new [PkhIter] iterator that will iterate over …","","","Lifting corresponds conversion of miniscript into Policy […","Depending on script context, the size of a satifaction …","","","Maximum size, in bytes, of a satisfying witness. For …","Computes an upper bound on the weight of a satisfying …","Maximum number of witness elements used to satisfy the …","","Construct a new derived key","Create a new bare descriptor from witness script Errors …","Create a new pk descriptor","Create a new PkH descriptor","Create a new sh for a given redeem script Errors when …","Create a new sh sortedmulti descriptor with threshold k …","Create a new sh wrapped wpkh from Pk. Errors when …","Create a new sh wrapped wsh descriptor with witness script…","Create a new sh wrapped wsh sortedmulti descriptor from …","Create a new Wpkh descriptor Will return Err if …","Create a new wsh descriptor from witness script Errors …","Create a new wsh sorted multi descriptor Errors when …","A node in the Abstract Syntax Tree(","Other top level checks that are context specific","Attempt to parse a Script into Miniscript representation. …","Parse a descriptor that may contain secret keys","Attempt to parse an insane(scripts don’t clear sanity …","","","","","","Descriptor policy","Whether all spend paths of miniscript require a signature","Whether the descriptor is safe Checks whether all the …","Check whether the underlying Miniscript is safe under the …","Attempt to produce non-malleable satisfying witness for …","Attempt to produce a malleable satisfying witness for the …","Get the scriptCode of a transaction output.","Computes the scriptpubkey of the descriptor","Size, in bytes of the script-pubkey. If this Miniscript …","","Descriptor templates","","","","","","","","","","","Serialize a descriptor to string with its secret keys","Check top level consensus rules.","Check whether the top-level is type B","Convert a descriptor using abstract keys to one using …","This will panic if translatefpk returns an uncompressed …","","","","","","","","","","","The correctness and malleability type information for the …","","","","","","Computes the scriptSig that will be in place for an …","","","","","","Whether the miniscript can exceed the resource …","Compute the checksum of a descriptor","Error during base58 decoding","BIP32 error","The descriptor contains multiple keys with the same BIP32 …","Errors related to the parsing and usage of descriptors","The descriptor contains hardened derivation steps on …","Hex decoding error","Invalid character found in the descriptor checksum","The provided descriptor doesn’t match its checksum","Invalid HD Key path, such as having a wildcard but a …","Error thrown while working with keys","Miniscript error","Key-related error","Error while extracting and manipulating policies","","","","","","","","","","","","","","","","","","","","","","","Absolute timeclock timestamp","Can not add to an item that is [Satisfaction::None] or […","Can not add to an item that is […","Options to build the satisfaction field in the policy","Can satisfy the policy item","An extra condition that must be satisfied but that is out …","Type for a map of sets of [Condition] items keyed by each …","Type for a map of folded sets of [Condition] items keyed …","SHA256 then RIPEMD160 preimage hash","Double SHA256 preimage hash","Incompatible conditions (not currently used)","Index out of range for an item to satisfy a […","Can not merge CSV or timelock values unless both are less …","Multi-signature public keys with threshold count","Cannot satisfy or contribute to the policy item","Don’t generate satisfaction field","Not enough items are selected to satisfy a […","Only a partial satisfaction of some kind of threshold …","Can reach the threshold of some kind of threshold policy","Raw public key or extended key fingerprint","Descriptor spending policy","Errors that can happen while extracting and manipulating …","Analyze the given PSBT to check for existing signatures","Like Psbt variant and also check for expired timelocks","Relative timelock locktime","RIPEMD160 preimage hash","Represent if and how much a policy item is satisfied by …","An item that needs to be satisfied","SHA256 preimage hash","Signature for a raw public key","Signature for an extended key fingerprint","Threshold items with threshold count","","","","","","","","","","","","","","","","","","","","","","","","","","","","How the wallet’s descriptor can satisfy this policy node","Optional CheckSequenceVerify condition","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the conditions that are set by the spending policy …","","Returns a unique id for the [SatisfiableItem]","Identifier for this policy node","","","","","","","","","","","","","","","Returns whether the [SatisfiableItem] is a leaf item","Returns whether the [Satisfaction] is a leaf item","Returns true if there are no extra conditions to verify","Type of this policy node","","","","Return whether or not a specific path in the policy tree …","How much a given PSBT already satisfies this policy node …","","","","","","Optional timelock condition","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Current blockchain height","The highest confirmation height between the inputs CSV …","Given PSBT","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","The items that can be satisfied by the descriptor or are …","The items that can be satisfied by the descriptor","Threshold","Threshold","Total number of items","Total number of items","Whether the items are sorted in lexicographic order (used …","Whether the items are sorted in lexicographic order (used …","The digest value","The digest value","The digest value","The digest value","The policy items","The raw public key or extended key fingerprint","The required threshold count","The required threshold count","The timestamp value","The locktime value","","","","","","","","","","","","","","","","","","","BIP44 template. Expands to pkh(key/44\'/0\'/0\'/{0,1}/*)","BIP44 public template. Expands to pkh(key/{0,1}/*)","BIP49 template. Expands to sh(wpkh(key/49\'/0\'/0\'/{0,1}/*))","BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))","BIP84 template. Expands to wpkh(key/84\'/0\'/0\'/{0,1}/*)","BIP84 public template. Expands to wpkh(key/{0,1}/*)","Trait for descriptor templates that can be built into a …","Type alias for the return type of [DescriptorTemplate], …","P2PKH template. Expands to a descriptor pkh(key)","P2WPKH template. Expands to a descriptor wpkh(key)","P2WPKH-P2SH template. Expands to a descriptor …","","","","","","","","","","","","","","","","","","","Build the complete descriptor","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","BIP32 error","Trait for keys that can be derived.","Container for public or secret keys","The MiniscriptKey corresponding to Descriptors. This can …","A Secret Key that can be either a single key or an Xprv","A Single Descriptor Secret Key with optional origin …","A Single Descriptor Key with optional origin information","Type specifying the amount of entropy required e.g. …","Returned error in case of failure","Trait that adds extra useful methods to [ScriptContext]s","Enum for extended keys that can be either xprv or xpub","Trait that allows generating a key with the default …","Trait for keys that can be generated","Output of a [GeneratableKey] key generation","Trait for objects that can be turned into a public or …","The key has an invalid checksum","The key is not valid for the given network","The key cannot exist in the given script context","Errors thrown while working with keys","Alias type for a map of public key to secret key","Legacy scripts","Custom error message","Miniscript error","Extra options required by the generate_with_entropy","A private extended key, aka an xprv","Options for generating a [PrivateKey]","A public extended key, aka an xpub","The ScriptContext for Miniscript. Additional type …","Enum representation of the known valid [ScriptContext]s","Segwitv0 scripts","Single Secret Key","Single Public Key","Contents of a “sortedmulti” descriptor","Set of valid networks for a key","Xprv","Xpub","Create a set containing mainnet, testnet and regtest","Returns the [ScriptContext] as a [ScriptContextEnum]","Return the public version of this key, by applying either …","BIP-0039","","","","","","","","","","","","","","","","","","","","","","","Depending on script Context, some of the Terminals might …","Depending on script Context, some of the Terminals might …","Depending on script Context, some of the script resource …","Depending on script Context, some of the script resource …","Check the consensus + policy(if not disabled) rules that …","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It …","Consensus rules at the Miniscript satisfaction time. It …","Policy rules at the Miniscript satisfaction time. It is …","Policy rules at the Miniscript satisfaction time. It is …","Check the consensus + policy(if not disabled) rules …","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","Check whether the given satisfaction is valid under the …","Check whether the given satisfaction is valid under the …","","","","","","","","","","","","","","Whether the generated key should be “compressed” or …","","","","","","","","","","","","","","","","","","","","","","","","","If this public key has a wildcard, replace it by the …","Computes the public key corresponding to this descriptor …","","","","","","","","","","","","Encode as a Bitcoin script","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create an instance given a public key and a set of valid …","Create an instance given a secret key and a set of valid …","","","Parse an expression tree into a SortedMultiVec","Full path, from the master key","Generate a key given the options with a random entropy","Generate a key with the default options and a random …","Generate a key given the extra options and the entropy","Generate a key with the default options and a given …","Return whether or not the key contains the private data","","","","","","","","","","","","","","","","","","","","","","","","","Turn the key into a [DescriptorKey] within the requested […","Consume self and turn it into a [DescriptorKey] by adding …","","","","","","Consume self and turn it into an [ExtendedKey]","","","Consumes self and returns the key","Transform the [ExtendedKey] into an ExtendedPrivKey for …","Transform the [ExtendedKey] into an ExtendedPubKey for the…","Whether or not the key has a wildcards","Returns whether the script context is Legacy","Returns whether the script context is […","Returns whether the script context is Segwitv0","Returns whether the script context is […","","signatures required","The key","The key","","Create a set only containing mainnet","The fingerprint of the master key associated with this key","Depending on script context, the size of a satifaction …","Maximum size, in bytes, of a satisfying witness. In …","Maximum number of witness elements used to satisfy the …","Compute the intersection of two sets","","","","Create a new instance of SortedMultiVec given a list of …","Origin information","Origin information","Other top level checks that are context specific","Other top level checks that are context specific","Override the computed set of valid networks","","","","public keys inside sorted Multi","utility function to sanity a sorted multi vec","Attempt to produce a satisfying witness for the witness …","Size, in bytes of the script-pubkey. If this Miniscript …","Create Terminal::Multi containing sorted pubkeys","Create a set containing testnet and regtest","","","","","","","","","","","Check top level consensus rules.","Check top level consensus rules.","Check whether the top-level is type B","Check whether the top-level is type B","This will panic if translatefpk returns an uncompressed …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The language determines which words will be used in a …","The primary type in this crate, most tasks require …","Determines the number of words that will be present in a …","Type for a BIP39 mnemonic with an optional passphrase","The secret value used to derive HD wallet addresses from …","","","","","","","Get the seed value as a byte slice","","","","","","","","","","","","","Return the number of checksum bits","","","","","","","","","","","","","","","","","","","","","","","","","Get the original entropy value of the mnemonic phrase as …","Return the number of entropy bits","","","","","","","","","","","","Get a MnemonicType for a mnemonic phrase representing the …","Get a MnemonicType for an existing mnemonic phrase","Get a MnemonicType for a mnemonic phrase with a specific …","","","","","Create a Mnemonic from pre-generated entropy","Construct a word list from its language code. Returns None…","Create a Mnemonic from an existing mnemonic phrase","","","","","","","","","","","","","","Consume the Mnemonic and return the phrase as a String.","Get the Language","Generates a new Mnemonic","Generates the seed from the Mnemonic and the password.","Get the mnemonic phrase as a string reference.","Outputs the hash in hexadecimal form","Outputs the hash in hexadecimal form","","","","","","","Return the number of entropy+checksum bits","","","","","","","","","","","","","Validate a mnemonic phrase","","","","","Return the number of words","Get the word list for this language","Get a [WordMap][WordMap] that allows word -> index …","","","","","The address index selection strategy to use to derived an …","Trait to check if a value is below the dust limit","Return the address for the current descriptor index if it …","Return a new address after incrementing the current …","Return the address for a specific descriptor index. Does …","Return the address for a specific descriptor index and …","A Bitcoin wallet","Add an address validator","Add an external signer","Address validation callbacks","","","","","Broadcast a transaction to the network","Bump the fee of a transaction previously created with …","Start building a transaction.","Return a reference to the internal blockchain client","Coin selection","","","","","","","Wallet export","Try to finalize a PSBT","","","","","Return a derived address using the external descriptor, …","Return the balance, meaning the sum of this wallet’s …","Returns the descriptor used to create adddresses for a …","get the corresponding PSBT Input for a LocalUtxo","Returns the UTXO owned by this wallet corresponding to …","","","","","Check whether or not a value is below dust limit","Return whether or not a script is part of this wallet …","Return the list of transactions made and received by the …","Return the list of unspent outputs of this wallet","Get the Bitcoin network the wallet is using.","Create a new “online” wallet","Create a new “offline” wallet","Return the spending policies for the wallet’s descriptor","Return the “public” version of the wallet’s …","Return the secp256k1 context used for all signing …","Sign a transaction with all the wallet’s signers, in …","Generalized signers","Sync the internal database with the blockchain","Cross-platform time","","","","","Transaction builder","","","","","Trait to build address validators","Errors that can be returned to fail the validation of an …","Network connection error","Invalid script","A custom error message","Network request timeout error","User rejected the address","","","","","","","","","","","","","","","","","","","","","Validate or inspect an address","","Branch and bound coin selection","Trait for generalized coin selection algorithms","Result of a successful coin selection","Default coin selection algorithm used by TxBuilder if not …","Simple and dumb coin selection","","","","","","","","","Perform the coin selection","","","","","","","","","","","","","","Total fee amount in satoshi","","","","","","","","","","","","","The total value of the inputs selected from the local …","Create new instance with target size for change output","List of outputs selected for use as inputs","The total value of the inputs selected.","","","","","","","","","","","","","","Structure that contains the export of a wallet","Earliest block to rescan when looking for the wallet’s …","","","Return the internal descriptor, if present","","","Return the external descriptor","","","Export a wallet","","","","","","Arbitrary label for the wallet","","","","","","","","Dummy identifier","The fingerprint of a BIP32 extended key","Input index is out of range","The private key in use has the right fingerprint but …","The non_witness_utxo specified is invalid","The fingerprint and derivation path are missing from the …","The private key is missing for the required public key","The non_witness_utxo field of the transaction is required …","The witness_script field of the transaction is requied to …","The witness_utxo field of the transaction is required to …","Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA …","Options for a software signer","Trait for signers","Signing error","Identifier of a signer in the SignersContainers. Used as …","Defines the order in which signers are called","Container for multiple signers","The user canceled the operation","Adds an external signer to the container for the …","Create a map of public keys to secret keys","Whether the wallet should assume a specific height has …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the secret key for the signer","","","","","","","","","","","","Finds the signer with lowest ordering for a given id in …","","","","","","","","","","","","","","","","Return the [SignerId] for this signer","Returns the list of identifiers of all the signers in the …","","","","","","","","","","","","","Default constructor","","","Removes a signer from the container and returns it","Sign a PSBT","Return whether or not the signer signs the whole …","Returns the list of signers in the container, sorted by …","","","","","","","Whether the signer should trust the witness_utxo, if the …","","","","","","","","","","","","","","","","","","","","","Return the current timestamp in seconds","BIP69 / Lexicographic","Marker type to indicate the [TxBuilder] is being used to …","Use both change and non-change outputs (default)","Only use non-change outputs (see […","Policy regarding the use of change outputs when creating …","Marker type to indicate the [TxBuilder] is being used to …","Only use change outputs (see [TxBuilder::only_spend_change…","Randomized (default)","A transaction builder","Context in which the [TxBuilder] is valid","Ordering of the transaction’s inputs and outputs","Unchanged","Add a foreign UTXO i.e. a UTXO not owned by this wallet.","Fill-in the PSBT_GLOBAL_XPUB field with the extended keys …","Add a recipient to the internal list","Add a utxo to the internal list of unspendable utxos","Add a utxo to the internal list of utxos that must be …","Add the list of outpoints to the internal list of UTXOs …","","","","","","","","","","","Set a specific [ChangeSpendPolicy]. See […","","","","","","","","","","","","","Choose the coin selection algorithm","","","","","","","","","","","","","","","Do not spend change outputs","Spend all the available inputs. This respects filters …","","","","","","Enable signaling RBF","Enable signaling RBF with a specific nSequence value","","","","","Set an absolute fee","Set a custom fee rate","Finish the building the transaction.","","","","","","","","","","","","","Fill-in the psbt::Output::redeem_script and …","","","","","","","","","","","Bump the fees of a transaction made with …","Only spend utxos added by add_utxo.","Use a specific nLockTime while creating the transaction","Only spend change outputs","Only Fill-in the psbt::Input::witness_utxo field when …","Choose the ordering for inputs and outputs of the …","","","Set the policy path to use while creating the transaction …","Replace the recipients already added with a new list","Set a single recipient that will get all the selected …","Sign with a specific sig hash","Sort transaction inputs and outputs by [TxOrdering] …","","","","","","","","","","","","","","","","","","","","","Replace the internal list of unspendable utxos with a new …","Build a transaction with a specific version","","","","",""],"i":[1,1,1,1,1,1,1,1,1,0,1,2,0,1,1,3,1,1,1,2,1,1,1,1,1,1,1,0,3,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,2,2,4,2,0,1,2,4,5,6,3,7,1,2,4,5,6,3,7,2,2,4,5,6,3,7,2,4,5,6,3,7,0,4,7,4,1,2,4,5,6,3,7,1,2,4,5,6,3,7,0,0,2,5,7,1,2,4,5,6,3,7,2,4,5,6,3,7,2,5,7,7,1,1,2,4,5,6,3,7,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,4,5,6,3,7,4,4,2,7,1,2,4,5,6,3,7,1,2,4,5,6,3,7,8,8,9,10,5,0,4,5,6,3,7,3,5,4,7,6,7,2,5,7,7,2,4,5,6,3,7,1,7,1,2,4,5,6,3,7,1,2,4,5,6,3,7,7,3,5,1,2,4,5,6,3,7,6,0,1,2,4,5,6,3,7,0,2,11,11,12,13,14,14,15,0,0,16,0,15,15,0,0,0,0,0,15,17,18,15,17,18,19,15,17,18,15,17,18,0,15,17,18,15,17,18,15,17,18,0,15,15,0,19,15,15,17,18,16,19,19,19,15,15,17,18,15,17,18,0,0,0,19,19,15,17,18,15,17,18,15,17,18,15,17,18,20,17,18,15,17,18,0,0,21,22,21,22,21,22,21,22,21,22,21,22,22,21,22,21,22,22,21,22,22,21,22,21,21,21,21,22,22,22,22,21,21,21,21,21,22,21,22,22,22,21,21,22,21,22,21,22,21,22,21,22,23,0,0,0,0,23,23,23,23,23,23,23,23,0,23,23,23,0,23,23,23,24,25,24,26,27,25,28,23,24,26,27,25,28,23,27,25,28,25,28,26,26,24,24,26,27,25,28,23,24,26,27,25,28,23,25,28,24,26,27,25,28,23,25,28,27,24,26,27,25,28,23,23,24,26,27,25,28,23,23,23,23,23,23,27,27,27,26,26,24,27,26,24,24,26,27,25,28,23,24,26,27,25,28,23,26,24,25,28,28,24,27,28,26,26,25,28,27,28,25,25,28,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,0,0,29,30,29,30,29,30,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,29,29,29,29,30,29,30,30,30,30,29,30,30,30,29,30,29,30,29,30,30,29,30,31,0,0,0,31,31,31,31,31,31,32,33,32,31,33,32,31,33,32,32,32,33,32,31,33,32,31,32,33,32,31,32,33,33,32,31,31,33,32,31,31,31,31,31,33,33,33,33,33,32,31,33,32,31,32,33,32,33,32,31,33,32,31,33,32,31,33,32,31,33,32,31,34,0,0,35,0,0,0,34,36,34,37,37,37,37,37,37,35,36,36,36,36,36,36,36,36,36,36,36,0,37,37,37,37,37,0,0,0,38,39,40,38,39,40,0,39,38,39,41,40,38,39,41,40,39,39,38,39,38,39,38,39,38,39,38,39,38,39,38,39,41,40,38,39,41,40,41,40,38,39,41,40,39,41,40,38,38,38,39,39,39,41,40,40,40,39,39,39,39,39,39,39,39,38,39,41,40,38,39,41,40,39,39,39,39,41,41,40,38,39,38,39,38,39,38,39,38,39,41,38,39,41,40,38,39,41,40,38,39,41,40,38,39,41,40,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,43,0,0,0,0,0,0,0,0,0,0,43,0,0,43,43,43,43,44,45,46,47,43,44,45,46,47,43,44,45,46,46,48,44,45,48,45,48,48,44,45,48,44,45,48,48,44,45,48,44,45,0,47,43,44,45,46,47,43,44,45,46,47,43,44,45,46,47,47,43,44,45,46,47,43,44,45,46,43,43,47,43,44,45,46,46,47,43,44,45,46,47,43,44,45,46,0,43,46,49,43,46,47,47,43,43,44,45,46,46,43,46,47,43,44,45,46,46,43,46,46,43,46,46,46,46,46,46,46,46,43,46,46,47,44,45,46,47,47,43,44,45,46,47,43,44,45,46,46,50,43,46,47,46,46,46,46,43,46,46,48,44,45,46,43,46,43,47,43,43,43,43,43,43,43,43,43,43,43,46,48,46,43,46,47,43,44,45,46,0,46,43,46,46,46,43,43,46,47,0,47,43,44,45,46,47,47,47,43,46,43,48,48,43,46,47,43,44,45,46,47,43,44,45,46,46,47,43,44,45,46,43,47,43,44,45,46,46,0,51,51,51,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,52,53,53,0,54,0,0,0,52,52,53,53,53,52,54,55,53,54,54,0,0,0,55,55,52,52,0,0,52,52,52,52,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,55,56,52,54,57,58,55,58,57,58,56,58,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,58,53,58,53,56,52,54,57,58,53,53,55,56,52,54,54,57,57,58,53,55,57,58,52,57,56,52,54,57,58,53,55,56,52,54,57,58,53,55,52,54,58,57,58,53,58,57,57,56,52,54,57,58,58,56,52,54,57,58,55,53,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,59,59,59,60,61,62,61,62,61,62,61,62,61,62,63,64,65,66,67,68,68,67,69,70,71,72,73,74,75,76,77,78,79,74,75,76,77,78,79,75,77,79,0,0,0,0,0,0,0,0,0,0,0,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,80,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,81,0,0,0,0,0,0,82,82,0,0,0,0,0,0,81,81,81,0,0,83,81,81,82,84,0,84,0,0,83,85,86,0,0,85,86,0,87,85,0,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,83,90,91,86,92,83,90,91,86,92,91,86,92,90,90,84,88,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,86,86,84,88,89,83,90,81,91,86,92,93,85,91,83,91,86,92,83,91,86,92,89,83,90,81,81,91,91,86,86,92,93,85,85,91,84,84,84,88,89,83,90,81,81,81,91,86,92,93,85,89,89,86,85,91,86,82,94,82,94,84,86,92,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,95,96,88,88,89,86,85,96,84,88,88,84,84,86,87,83,87,83,86,91,92,93,91,0,86,48,91,91,0,91,86,92,91,92,93,48,48,89,91,86,92,91,91,91,91,91,0,83,90,91,86,92,86,81,91,86,85,48,48,48,48,91,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,97,97,97,97,97,97,97,0,0,0,0,0,97,98,98,98,98,98,99,100,99,99,97,100,98,99,97,100,98,99,99,98,97,100,98,99,97,100,98,99,97,98,97,100,98,99,97,100,98,99,97,100,100,98,99,99,100,98,97,97,100,100,100,100,98,98,99,99,99,98,98,98,97,100,98,99,100,97,100,100,97,100,98,99,97,100,98,99,100,99,100,99,100,100,100,99,100,100,99,97,100,98,99,100,98,98,97,100,98,99,97,100,98,99,97,100,98,99,100,97,100,98,99,98,97,97,99,97,100,99,0,0,101,101,101,101,0,102,102,0,102,101,102,101,102,102,102,102,0,102,101,102,101,102,101,0,102,102,101,102,101,102,102,102,102,102,102,101,102,101,103,102,102,102,102,102,102,102,102,102,102,0,102,0,102,101,102,101,0,102,101,102,101,0,0,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,105,104,0,0,0,0,0,106,107,108,106,107,108,107,107,109,107,108,107,108,106,107,108,106,107,108,106,107,108,106,106,107,108,106,107,108,106,107,108,106,107,108,106,108,106,106,107,106,107,108,106,107,108,106,107,108,106,107,108,0,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,111,112,112,113,113,113,113,113,113,113,113,112,0,0,0,0,0,0,113,114,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,111,111,114,115,112,113,111,114,115,112,113,111,114,115,116,112,113,111,114,115,112,113,111,112,113,111,114,112,113,113,111,114,115,112,112,112,113,111,114,114,115,112,116,114,112,113,111,114,115,112,113,111,114,115,112,111,114,112,111,114,116,116,114,112,113,111,114,115,113,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,0,117,0,118,118,0,0,118,117,0,0,0,117,119,119,119,119,119,119,120,121,119,117,118,120,121,119,117,118,119,120,121,119,117,118,120,121,119,117,118,117,118,119,120,121,117,118,120,121,119,117,118,120,121,119,117,118,119,119,120,121,119,117,118,119,119,117,118,117,118,119,119,119,120,121,119,117,118,120,121,119,117,118,117,118,119,120,121,119,117,118,120,121,119,117,118,119,119,119,119,119,119,117,118,119,119,119,119,117,120,121,119,117,118,120,121,119,117,118,120,121,119,117,118,120,121,119,117,118,119,119,120,121,119,117,118],"f":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],["u8",15]],[[]],[[],["f32",15]],[[],["usize",15]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["result",4],["vec",3]]],[[],["keychainkind",4]],[[],["feerate",3]],[[],["localutxo",3]],[[],["weightedutxo",3]],[[],["utxo",4]],[[],["transactiondetails",3]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[]],[[],["transactiondetails",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["keychainkind",4]],["bool",15]],[[["feerate",3]],["bool",15]],[[["localutxo",3]],["bool",15]],[[["weightedutxo",3]],["bool",15]],[[["utxo",4]],["bool",15]],[[["transactiondetails",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],null,[[["error",4]]],[[["error",3]]],[[["error",4]]],[[["error",4]]],[[]],[[["esploraerror",4]]],[[["error",4]]],[[["error",4]]],[[["policyerror",4]]],[[["signererror",4]]],[[["keyerror",4]],["error",4]],[[["compactfilterserror",4]]],[[["error",4]]],[[["addressvalidatorerror",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[]],[[]],[[]],[[]],[[]],[[]],[[["f32",15]]],[[["f32",15]]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["derivationpath",3],["option",4],["keysource",6]],[["descriptorkey",4],["result",4],["keyerror",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[["network",4],["secp256k1",3]],[["result",4],["descriptorerror",4]]],[[["network",4],["secp256k1",3]],[["result",4],["descriptorerror",4]]],null,null,[[["feerate",3]],["bool",15]],[[["localutxo",3]],["bool",15]],[[["weightedutxo",3]],["bool",15]],[[["utxo",4]],["bool",15]],[[["transactiondetails",3]],["bool",15]],[[],["outpoint",3]],null,[[["feerate",3]],[["ordering",4],["option",4]]],null,null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["txout",3]],null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,[[],["str",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[],["result",4]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["capability",4]],[[],["noopprogress",3]],[[],["logprogress",3]],[[]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["capability",4]],["bool",15]],[[],["bool",15]],null,[[["usize",15]],[["error",4],["feerate",3],["result",4]]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[],[["result",4],["error",4]]],[[],[["hashset",3],["capability",4]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["logprogress",3]],[[],["noopprogress",3]],[[]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["option",4],["string",3],["f32",15]],[["error",4],["result",4]]],[[["option",4],["string",3],["f32",15]],[["error",4],["result",4]]],[[["option",4],["string",3],["f32",15]],[["error",4],["result",4]]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["anyblockchainconfig",4]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["anyblockchainconfig",4]],["bool",15]],[[["usize",15]],[["error",4],["feerate",3],["result",4]]],[[["formatter",3]],["result",6]],[[["compactfiltersblockchain",3]]],[[["esplorablockchain",3]]],[[["electrumblockchain",3]]],[[]],[[["compactfiltersblockchainconfig",3]]],[[["esplorablockchainconfig",3]]],[[["electrumblockchainconfig",3]]],[[]],[[],[["result",4],["error",4]]],[[],[["hashset",3],["capability",4]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["anyblockchainconfig",4]],["bool",15]],[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["transaction",3]]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["bitcoinpeerconfig",3]],[[],["compactfiltersblockchainconfig",3]],[[]],[[]],[[["arc",3],["mempool",3],["network",4],["tosocketaddrs",8]],[["result",4],["compactfilterserror",4]]],[[["tosocketaddrs",8],["arc",3],["totargetaddr",8],["mempool",3],["network",4],["option",4]],[["result",4],["compactfilterserror",4]]],[[],["mempool",3]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["bitcoinpeerconfig",3]],["bool",15]],[[["compactfiltersblockchainconfig",3]],["bool",15]],[[["usize",15]],[["error",4],["feerate",3],["result",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[["error",3]]],[[["systemtimeerror",3]]],[[]],[[["error",3]]],[[["error",4]]],[[["error",4]]],[[],[["result",4],["error",4]]],[[],[["hashset",3],["capability",4]]],[[],[["error",4],["u32",15],["result",4]]],[[],[["arc",3],["mempool",3]]],[[],["network",4]],[[["inventory",4]],[["transaction",3],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["versionmessage",3]],[[["txid",3]],["bool",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[],[["transaction",3],["vec",3]]],[[["bitcoinpeerconfig",3]],["bool",15]],[[["compactfiltersblockchainconfig",3]],["bool",15]],null,[[]],[[["peer",3],["asref",8],["option",4],["path",3],["usize",15],["vec",3]],[["result",4],["compactfilterserror",4]]],null,[[["str",15],["option",4],["duration",3]],[["compactfilterserror",4],["option",4],["result",4]]],[[["networkmessage",4]],[["result",4],["compactfilterserror",4]]],[[],["result",4]],[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],null,null,null,null,[[]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["electrumblockchainconfig",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["electrumblockchainconfig",3]],["bool",15]],[[["usize",15]],[["error",4],["feerate",3],["result",4]]],[[["formatter",3]],["result",6]],[[["client",3]]],[[]],[[]],[[],[["result",4],["error",4]]],[[],[["hashset",3],["capability",4]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["electrumblockchainconfig",3]],["bool",15]],null,[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],null,null,[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["esplorablockchainconfig",3]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["esplorablockchainconfig",3]],["bool",15]],[[["usize",15]],[["error",4],["feerate",3],["result",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[["error",4]]],[[["error",4]]],[[]],[[["parseinterror",3]]],[[["error",3]]],[[],[["result",4],["error",4]]],[[],[["hashset",3],["capability",4]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[["esplorablockchainconfig",3]],["bool",15]],[[["option",4],["str",15],["u8",15]]],[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],null,null,null,null,null,null,null,[[]],[[["asref",8],["keychainkind",4]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["txid",3],["bool",15]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["error",4],["result",4],["option",4]]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["txid",3],["bool",15]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4]],[["error",4],["u32",15],["result",4]]],[[],[["error",4],["result",4],["vec",3]]],[[["option",4],["keychainkind",4]],[["result",4],["error",4],["vec",3]]],[[["bool",15]],[["error",4],["vec",3],["result",4]]],[[],[["result",4],["vec",3],["error",4]]],null,[[["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["script",3],["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["asref",8],["keychainkind",4]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["txid",3],["bool",15]],[["option",4],["error",4],["result",4]]],[[["txid",3],["bool",15]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["error",4],["result",4],["option",4]]],[[["outpoint",3]],[["error",4],["result",4],["option",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[["tree",3]]],[[["memorydatabase",3]]],[[]],[[]],[[["sleddbconfiguration",3]]],[[]],[[]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["txid",3],["bool",15]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4]],[["error",4],["u32",15],["result",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[],[["error",4],["result",4],["vec",3]]],[[["option",4],["keychainkind",4]],[["result",4],["error",4],["vec",3]]],[[["bool",15]],[["error",4],["vec",3],["result",4]]],[[],[["result",4],["vec",3],["error",4]]],null,[[],["result",4]],[[],["result",4]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["script",3],["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["script",3],["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],null,[[]],[[]],[[]],[[["asref",8],["keychainkind",4]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[],["memorydatabase",3]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["txid",3],["bool",15]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["error",4],["result",4],["option",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["txid",3],["bool",15]],[["option",4],["error",4],["result",4]]],[[["outpoint",3]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4]],[["error",4],["u32",15],["result",4]]],[[],["usize",15]],[[]],[[],[["error",4],["result",4],["vec",3]]],[[["option",4],["keychainkind",4]],[["result",4],["error",4],["vec",3]]],[[["bool",15]],[["error",4],["vec",3],["result",4]]],[[],[["result",4],["vec",3],["error",4]]],[[]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["script",3],["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["network",4]],[["address",3],["error",4],["result",4]]],[[],["scriptcontextenum",4]],[[],["scriptcontextenum",4]],[[],["terminal",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["vec",3],["miniscript",3],["global",3]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["terminal",4]],[["result",4],["scriptcontexterror",4]]],[[["terminal",4]],[["result",4],["scriptcontexterror",4]]],[[["terminal",4]],[["result",4],["scriptcontexterror",4]]],[[],[["result",4],["scriptcontexterror",4]]],[[],[["result",4],["scriptcontexterror",4]]],[[],[["result",4],["scriptcontexterror",4]]],null,[[],["deriveddescriptorkey",3]],[[],["descriptor",4]],[[],["legacy",4]],[[],["segwitv0",4]],[[],["miniscript",3]],[[]],[[]],[[]],[[]],[[]],[[],["ordering",4]],[[["descriptor",4]],["ordering",4]],[[["legacy",4]],["ordering",4]],[[["segwitv0",4]],["ordering",4]],[[["miniscript",3]],["ordering",4]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["u32",15]],[["descriptor",4],["descriptorpublickey",4]]],[[],["descriptortype",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["script",3]],[[],["bool",15]],[[["descriptor",4]],["bool",15]],[[["legacy",4]],["bool",15]],[[["segwitv0",4]],["bool",15]],[[["miniscript",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[],["script",3]],null,[[["buildsatisfaction",4],["secp256k1",3],["signerscontainer",3]],[["descriptorerror",4],["option",4],["result",4]]],[[["buildsatisfaction",4],["secp256k1",3],["signerscontainer",3]],[["result",4],["option",4],["error",4]]],[[["buildsatisfaction",4],["secp256k1",3],["signerscontainer",3]],[["result",4],["option",4],["error",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[],["bool",15]],[[],["bool",15]],[[]],[[]],[[]],[[]],[[]],[[["terminal",4]],[["miniscript",3],["result",4],["error",4]]],[[["str",15]],[["result",4],["descriptor",4],["error",4]]],[[["str",15]],[["miniscript",3],["result",4],["error",4]]],[[["str",15]],[["miniscript",3],["result",4],["error",4]]],[[["tree",3]],[["result",4],["descriptor",4],["error",4]]],[[["tree",3]],[["miniscript",3],["result",4],["error",4]]],[[],[["vec",3],["global",3]]],[[],[["global",3],["pkpkh",4],["vec",3]]],[[],[["vec",3],["global",3]]],[[["usize",15]],[["miniscript",3],["option",4]]],[[["usize",15]],["option",4]],[[["usize",15]],[["pkpkh",4],["option",4]]],[[["usize",15]],["option",4]],[[],[["result",4],["error",4]]],[[],["bool",15]],[[],["bool",15]],[[]],[[]],[[]],[[]],[[],["hash",3]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[],["terminal",4]],[[["network",4],["secp256k1",3]],[["result",4],["descriptorerror",4]]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["iter",3]],[[],["pkiter",3]],[[],["pkpkhiter",3]],[[],["pkhiter",3]],[[],[["error",4],["result",4],["policy",4]]],[[],[["error",4],["result",4],["policy",4]]],[[],[["lifterror",4],["result",4]]],[[["miniscript",3]],[["usize",15],["option",4]]],[[["miniscript",3]],[["usize",15],["option",4]]],[[["miniscript",3]],[["usize",15],["option",4]]],[[],[["usize",15],["result",4],["error",4]]],[[],[["usize",15],["result",4],["error",4]]],[[],[["usize",15],["result",4],["error",4]]],[[["descriptor",4]],["bool",15]],[[["descriptorpublickey",4],["secp256k1",3]],["deriveddescriptorkey",3]],[[["barectx",4],["miniscript",3]],[["result",4],["descriptor",4],["error",4]]],[[],["descriptor",4]],[[],["descriptor",4]],[[["legacy",4],["miniscript",3]],[["result",4],["descriptor",4],["error",4]]],[[["usize",15],["vec",3],["global",3]],[["result",4],["descriptor",4],["error",4]]],[[],[["result",4],["descriptor",4],["error",4]]],[[["segwitv0",4],["miniscript",3]],[["result",4],["descriptor",4],["error",4]]],[[["usize",15],["vec",3],["global",3]],[["result",4],["descriptor",4],["error",4]]],[[],[["result",4],["descriptor",4],["error",4]]],[[["segwitv0",4],["miniscript",3]],[["result",4],["descriptor",4],["error",4]]],[[["usize",15],["vec",3],["global",3]],[["result",4],["descriptor",4],["error",4]]],null,[[["miniscript",3]],[["result",4],["error",4]]],[[["script",3]],[["result",4],["miniscript",3],["error",4]]],[[["secp256k1",3],["str",15]],[["error",4],["result",4]]],[[["script",3]],[["result",4],["miniscript",3],["error",4]]],[[],[["option",4],["ordering",4]]],[[["descriptor",4]],[["ordering",4],["option",4]]],[[["legacy",4]],[["ordering",4],["option",4]]],[[["segwitv0",4]],[["ordering",4],["option",4]]],[[["miniscript",3]],[["ordering",4],["option",4]]],null,[[],["bool",15]],[[],[["result",4],["error",4]]],[[],[["result",4],["analysiserror",4]]],[[],[["result",4],["vec",3],["error",4]]],[[],[["result",4],["vec",3],["error",4]]],[[],["script",3]],[[],["script",3]],[[],["usize",15]],[[],["usize",15]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["publickey",3]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[["hashmap",3]],["string",3]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[],[["result",4],["descriptor",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["script",3]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[["str",15]],[["result",4],["descriptorerror",4],["string",3]]],null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["keyerror",4]],["error",4]],[[["error",4]]],[[["error",4]]],[[["policyerror",4]]],[[]],[[],["usize",15]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["pkorf",3]],[[],["satisfiableitem",4]],[[],["satisfaction",4]],[[],["policy",3]],[[],["condition",3]],[[],["buildsatisfaction",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[["condition",3]],["ordering",4]],null,null,[[],["pkorf",3]],[[],["condition",3]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["condition",3]],["bool",15]],[[["policyerror",4]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[["bool",15]]],[[["satisfiableitem",4]]],[[]],[[]],[[]],[[]],[[["btreemap",3]],[["result",4],["condition",3],["policyerror",4]]],[[]],[[],["string",3]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[["condition",3]],["bool",15]],[[["policyerror",4]],["bool",15]],[[["condition",3]],[["ordering",4],["option",4]]],[[],["bool",15]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[["secp256k1",3],["network",4]],[["error",4],["result",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],["validnetworks",6]],[[],["scriptcontextenum",4]],[[["secp256k1",3]],[["descriptorpublickey",4],["descriptorkeyparseerror",3],["result",4]]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]],[[["terminal",4]],[["result",4],["scriptcontexterror",4]]],[[],[["result",4],["scriptcontexterror",4]]],[[],[["result",4],["scriptcontexterror",4]]],[[],["scriptcontextenum",4]],[[],["privatekeygenerateoptions",3]],[[],["sortedmultivec",3]],[[],["descriptorpublickey",4]],[[],["descriptorsinglepub",3]],[[]],[[]],[[]],[[]],[[]],[[["sortedmultivec",3]],["ordering",4]],[[["descriptorpublickey",4]],["ordering",4]],[[["descriptorsinglepub",3]],["ordering",4]],null,[[]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["u32",15]],["descriptorpublickey",4]],[[["secp256k1",3]],[["publickey",3],["result",4],["conversionerror",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["script",3]],[[["scriptcontextenum",4]],["bool",15]],[[["sortedmultivec",3]],["bool",15]],[[["descriptorpublickey",4]],["bool",15]],[[["descriptorsinglepub",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[],["bool",15]],[[["extendedprivkey",3]]],[[["extendedpubkey",3]]],[[]],[[]],[[]],[[]],[[]],[[]],[[["error",4]]],[[["error",4]]],[[]],[[]],[[]],[[]],[[]],[[["descriptorpublickey",4],["validnetworks",6]]],[[["descriptorsecretkey",4],["validnetworks",6]]],[[["str",15]],[["descriptorpublickey",4],["result",4]]],[[["str",15]],[["descriptorsecretkey",4],["result",4]]],[[["tree",3]],[["sortedmultivec",3],["result",4],["error",4]]],[[],["derivationpath",3]],[[],[["generatedkey",3],["result",4]]],[[],[["generatedkey",3],["result",4]]],[[],[["generatedkey",3],["result",4]]],[[],[["generatedkey",3],["result",4]]],[[],["bool",15]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["descriptorkey",4],["result",4],["keyerror",4]]],[[["derivationpath",3],["option",4],["keysource",6]],[["descriptorkey",4],["result",4],["keyerror",4]]],[[],[["descriptorkey",4],["result",4],["keyerror",4]]],[[["derivationpath",3],["option",4],["keysource",6]],[["descriptorkey",4],["result",4],["keyerror",4]]],[[],[["descriptorkey",4],["result",4],["keyerror",4]]],[[],[["descriptorkey",4],["result",4],["keyerror",4]]],[[],[["descriptorkey",4],["result",4],["keyerror",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[]],[[["network",4]],[["extendedprivkey",3],["option",4]]],[[["network",4],["secp256k1",3]],["extendedpubkey",3]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,null,null,[[],[["error",4],["result",4],["policy",4]]],[[],["validnetworks",6]],[[],["fingerprint",3]],[[["miniscript",3]],[["usize",15],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[["validnetworks",6]],["validnetworks",6]],[[["sortedmultivec",3]],["bool",15]],[[["descriptorpublickey",4]],["bool",15]],[[["descriptorsinglepub",3]],["bool",15]],[[["usize",15],["vec",3],["global",3]],[["sortedmultivec",3],["result",4],["error",4]]],null,null,[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[["validnetworks",6]]],[[["sortedmultivec",3]],[["ordering",4],["option",4]]],[[["descriptorpublickey",4]],[["ordering",4],["option",4]]],[[["descriptorsinglepub",3]],[["ordering",4],["option",4]]],null,[[],[["result",4],["error",4]]],[[],[["result",4],["vec",3],["error",4]]],[[],["usize",15]],[[],["terminal",4]],[[],["validnetworks",6]],[[]],[[]],[[]],[[]],[[]],[[],["descriptorpublickey",4]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[],[["sortedmultivec",3],["result",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[],["str",15]],[[]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["result",4],["vec",3]]],[[],["u8",15]],[[],["language",4]],[[],["mnemonic",3]],[[],["mnemonictype",4]],[[],["seed",3]],[[]],[[]],[[]],[[]],[[],["language",4]],[[],["mnemonictype",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[],["usize",15]],[[["language",4]],["bool",15]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["formatter",3]],[["result",4],["error",3]]],[[["usize",15]],[["result",4],["error",3],["mnemonictype",4]]],[[["str",15]],[["result",4],["error",3],["mnemonictype",4]]],[[["usize",15]],[["result",4],["error",3],["mnemonictype",4]]],[[]],[[]],[[]],[[]],[[["language",4]],[["result",4],["mnemonic",3],["error",3]]],[[["str",15]],[["option",4],["language",4]]],[[["str",15],["language",4]],[["result",4],["mnemonic",3],["error",3]]],[[],[["generatedkey",3],["result",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[["derivationpath",3],["option",4],["keysource",6]],[["descriptorkey",4],["result",4],["keyerror",4]]],[[["derivationpath",3],["option",4],["keysource",6]],[["descriptorkey",4],["result",4],["keyerror",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[],["string",3]],[[],["language",4]],[[["language",4],["mnemonictype",4]],["mnemonic",3]],[[["str",15],["mnemonic",3]],["seed",3]],[[],["str",15]],[[],["string",3]],[[],["string",3]],[[]],[[]],[[]],[[]],[[],["string",3]],[[],["string",3]],[[],["usize",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["str",15],["language",4]],[["result",4],["error",3]]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["wordlist",3]],[[],["wordmap",3]],[[],["result",4]],[[]],[[]],[[]],null,null,null,null,null,null,null,[[["arc",3],["addressvalidator",8]]],[[["signerordering",3],["signer",8],["arc",3],["keychainkind",4]]],null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4],["txid",3]]],[[["txid",3]],[["result",4],["error",4],["txbuilder",3]]],[[],[["txbuilder",3],["defaultcoinselectionalgorithm",6],["createtx",3]]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["psbt",3],["signoptions",3]],[["error",4],["bool",15],["result",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[["addressindex",4]],[["address",3],["error",4],["result",4]]],[[],[["error",4],["result",4],["u64",15]]],[[["keychainkind",4]],["extendeddescriptor",6]],[[["bool",15],["sighashtype",4],["localutxo",3],["option",4]],[["result",4],["input",3],["error",4]]],[[["outpoint",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[],["bool",15]],[[["script",3]],[["error",4],["bool",15],["result",4]]],[[["bool",15]],[["error",4],["vec",3],["result",4]]],[[],[["result",4],["vec",3],["error",4]]],[[],["network",4]],[[["network",4],["intowalletdescriptor",8],["option",4]],[["result",4],["error",4]]],[[["network",4],["intowalletdescriptor",8],["option",4]],[["result",4],["error",4]]],[[["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[],["secp256k1",3]],[[["psbt",3],["signoptions",3]],[["error",4],["bool",15],["result",4]]],null,[[["u32",15],["option",4],["progress",8]],[["error",4],["result",4]]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null,null,null,null,null,null,null,[[]],[[]],[[],["addressvalidatorerror",4]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["addressvalidatorerror",4]],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[],["usize",15]],[[]],[[["addressvalidatorerror",4]],["bool",15]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[["script",3],["hdkeypaths",6],["keychainkind",4]],[["result",4],["addressvalidatorerror",4]]],[[]],null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["largestfirstcoinselection",3]],[[]],[[["weightedutxo",3],["feerate",3],["vec",3],["u64",15],["f32",15]],[["error",4],["result",4],["coinselectionresult",3]]],[[["weightedutxo",3],["feerate",3],["vec",3],["u64",15],["f32",15]],[["error",4],["result",4],["coinselectionresult",3]]],[[["weightedutxo",3],["feerate",3],["vec",3],["u64",15],["f32",15]],[["error",4],["result",4],["coinselectionresult",3]]],[[],["largestfirstcoinselection",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["u64",15]],[[["u64",15]]],null,[[],["u64",15]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],null,null,[[]],[[]],[[],[["option",4],["string",3]]],[[["usize",15]]],[[["usize",15]]],[[],["string",3]],[[],["result",4]],[[["usize",15]]],[[["wallet",3],["bool",15],["str",15]],[["str",15],["result",4]]],[[["formatter",3]],["result",6]],[[]],[[["str",15]],["result",4]],[[],["usize",15]],[[]],null,[[],["result",4]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["signerordering",3],["signer",8],["arc",3],["signerid",4]],[["option",4],["arc",3]]],[[["secp256k1",3]],["keymap",6]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["signerid",4]],[[],["signererror",4]],[[],["signerordering",3]],[[],["signerscontainer",3]],[[],["signoptions",3]],[[]],[[]],[[]],[[]],[[]],[[["signerid",4]],["ordering",4]],[[["signerordering",3]],["ordering",4]],[[]],[[],["signerscontainer",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],[["option",4],["descriptorsecretkey",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["signerid",4]],["bool",15]],[[["signererror",4]],["bool",15]],[[["signerordering",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["signerid",4]],[["arc",3],["option",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["fingerprint",3]],["signerid",4]],[[["hash",3]],["signerid",4]],[[]],[[]],[[]],[[]],[[["keymap",6]],["signerscontainer",3]],[[]],[[]],[[["secp256k1",3]],["signerid",4]],[[],[["vec",3],["signerid",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[["signerid",4]],["bool",15]],[[["signerordering",3]],["bool",15]],[[]],[[["signerid",4]],[["ordering",4],["option",4]]],[[["signerordering",3]],[["ordering",4],["option",4]]],[[["signerordering",3],["signerid",4]],[["option",4],["arc",3]]],[[["option",4],["partiallysignedtransaction",3],["usize",15],["secp256k1",3]],[["result",4],["signererror",4]]],[[],["bool",15]],[[],[["arc",3],["vec",3]]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[],["u64",15]],null,null,null,null,null,null,null,null,null,null,null,null,[[["outpoint",3],["usize",15],["input",3]],[["error",4],["result",4]]],[[]],[[["script",3],["u64",15]]],[[["outpoint",3]]],[[["outpoint",3]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["changespendpolicy",4]]],[[],["createtx",3]],[[],["bumpfee",3]],[[]],[[],["txordering",4]],[[],["changespendpolicy",4]],[[]],[[]],[[]],[[]],[[]],[[["txordering",4]],["ordering",4]],[[["changespendpolicy",4]],["ordering",4]],[[["coinselectionalgorithm",8]],[["txbuilder",3],["coinselectionalgorithm",8]]],[[],["createtx",3]],[[],["bumpfee",3]],[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["u32",15]]],[[["txordering",4]],["bool",15]],[[["changespendpolicy",4]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["u64",15]]],[[["feerate",3]]],[[],[["error",4],["result",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[],[["error",4],["result",4]]],[[]],[[["u32",15]]],[[]],[[]],[[["txordering",4]]],[[["txordering",4]],[["ordering",4],["option",4]]],[[["changespendpolicy",4]],[["ordering",4],["option",4]]],[[["btreemap",3],["string",3],["vec",3],["keychainkind",4]]],[[["vec",3]]],[[["script",3]]],[[["sighashtype",4]]],[[["transaction",3]]],[[]],[[]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["vec",3],["outpoint",3]]],[[["i32",15]]],[[]],[[]],[[]],[[]],[[]]],"p":[[4,"Error"],[4,"KeychainKind"],[4,"Utxo"],[3,"FeeRate"],[3,"LocalUtxo"],[3,"WeightedUtxo"],[3,"TransactionDetails"],[6,"MnemonicWithPassphrase"],[6,"DescriptorTemplateOut"],[6,"ExtendedDescriptor"],[13,"InsufficientFunds"],[13,"FeeRateTooLow"],[13,"FeeTooLow"],[13,"Foreign"],[4,"Capability"],[8,"ConfigurableBlockchain"],[3,"NoopProgress"],[3,"LogProgress"],[8,"Blockchain"],[8,"Progress"],[4,"AnyBlockchain"],[4,"AnyBlockchainConfig"],[4,"CompactFiltersError"],[3,"Mempool"],[3,"BitcoinPeerConfig"],[3,"Peer"],[3,"CompactFiltersBlockchain"],[3,"CompactFiltersBlockchainConfig"],[3,"ElectrumBlockchain"],[3,"ElectrumBlockchainConfig"],[4,"EsploraError"],[3,"EsploraBlockchainConfig"],[3,"EsploraBlockchain"],[8,"BatchDatabase"],[8,"ConfigurableDatabase"],[8,"Database"],[8,"BatchOperations"],[4,"AnyBatch"],[4,"AnyDatabase"],[4,"AnyDatabaseConfig"],[3,"SledDbConfiguration"],[3,"MemoryDatabase"],[4,"Descriptor"],[4,"Legacy"],[4,"Segwitv0"],[3,"Miniscript"],[3,"DerivedDescriptorKey"],[8,"ScriptContext"],[8,"ExtractPolicy"],[8,"IntoWalletDescriptor"],[4,"Error"],[4,"SatisfiableItem"],[4,"PolicyError"],[4,"Satisfaction"],[4,"BuildSatisfaction"],[3,"PkOrF"],[3,"Policy"],[3,"Condition"],[13,"PsbtTimelocks"],[13,"Complete"],[13,"Partial"],[13,"PartialComplete"],[13,"Sha256Preimage"],[13,"Hash256Preimage"],[13,"Ripemd160Preimage"],[13,"Hash160Preimage"],[13,"Thresh"],[13,"Multisig"],[13,"AbsoluteTimelock"],[13,"RelativeTimelock"],[3,"P2Pkh"],[3,"P2Wpkh_P2Sh"],[3,"P2Wpkh"],[3,"Bip44"],[3,"Bip44Public"],[3,"Bip49"],[3,"Bip49Public"],[3,"Bip84"],[3,"Bip84Public"],[8,"DescriptorTemplate"],[4,"KeyError"],[8,"GeneratableKey"],[4,"ScriptContextEnum"],[4,"ExtendedKey"],[4,"DescriptorSecretKey"],[4,"DescriptorPublicKey"],[8,"ExtScriptContext"],[3,"GeneratedKey"],[4,"DescriptorKey"],[3,"PrivateKeyGenerateOptions"],[3,"SortedMultiVec"],[3,"DescriptorSinglePub"],[3,"DescriptorSinglePriv"],[8,"GeneratableDefaultOptions"],[8,"IntoDescriptorKey"],[8,"DerivableKey"],[4,"Language"],[4,"MnemonicType"],[3,"Seed"],[3,"Mnemonic"],[4,"AddressIndex"],[3,"Wallet"],[8,"IsDust"],[4,"AddressValidatorError"],[8,"AddressValidator"],[3,"CoinSelectionResult"],[3,"LargestFirstCoinSelection"],[3,"BranchAndBoundCoinSelection"],[8,"CoinSelectionAlgorithm"],[3,"WalletExport"],[3,"SignerOrdering"],[4,"SignerId"],[4,"SignerError"],[3,"SignersContainer"],[3,"SignOptions"],[8,"Signer"],[4,"TxOrdering"],[4,"ChangeSpendPolicy"],[3,"TxBuilder"],[3,"CreateTx"],[3,"BumpFee"]]}\ +"bdk":{"doc":"A modern, lightweight, descriptor-based wallet library …","t":[13,13,13,13,13,13,13,13,13,4,13,13,3,13,13,13,13,13,13,13,13,13,13,13,13,13,13,4,13,3,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,3,13,13,4,3,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,0,11,11,11,11,11,11,12,11,12,12,12,11,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,11,12,5,11,11,11,11,11,11,11,0,11,12,12,12,12,12,12,13,8,4,16,8,13,13,3,3,8,6,0,11,11,11,11,11,11,10,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,0,11,11,0,10,11,11,11,11,10,10,10,10,11,11,11,11,11,11,11,5,5,5,10,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,4,4,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,3,3,3,4,13,13,13,13,13,13,13,13,3,13,13,13,3,13,13,13,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,12,11,11,11,11,11,11,11,12,11,11,13,3,3,4,13,13,13,13,13,13,12,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,16,8,8,16,8,8,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,0,10,10,10,10,10,4,4,4,13,13,13,13,13,13,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,6,3,4,6,8,6,8,6,4,3,13,8,4,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,12,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,5,13,13,13,4,13,13,13,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,4,13,3,6,6,13,13,13,13,13,13,13,13,13,13,13,3,3,4,13,13,13,13,4,4,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,3,8,6,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,8,4,4,4,3,3,16,16,8,4,8,8,3,8,13,13,13,4,6,13,13,13,16,13,3,13,8,4,13,13,13,3,6,13,13,5,10,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,5,11,10,11,11,5,11,11,11,11,12,12,11,11,11,11,11,11,12,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,4,3,4,6,3,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,4,8,13,13,13,13,3,11,11,0,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,0,11,0,11,11,11,11,0,11,11,11,11,8,4,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,3,8,3,6,3,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,13,13,13,13,13,13,13,13,13,13,13,3,8,4,4,3,3,13,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,10,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,13,3,13,13,4,3,13,13,3,8,4,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["AddressValidator","Bip32","BnBNoExactMatch","BnBTotalTriesExceeded","ChecksumMismatch","CompactFilters","Descriptor","Electrum","Encode","Error","Esplora","External","FeeRate","FeeRateTooLow","FeeTooLow","Foreign","Generic","Hex","InsufficientFunds","Internal","InvalidOutpoint","InvalidPolicyPathError","InvalidProgressValue","InvalidU32Bytes","IrreplaceableTransaction","Json","Key","KeychainKind","Local","LocalUtxo","Miniscript","MissingKeyOrigin","NoRecipients","NoUtxosSelected","OutputBelowDustLimit","ProgressUpdateError","Psbt","ScriptDoesntHaveAddressForm","Secp256k1","Signer","SingleRecipientMultipleOutputs","SingleRecipientNoInputs","Sled","SpendingPolicyRequired","TransactionConfirmed","TransactionDetails","TransactionNotFound","UnknownUtxo","Utxo","WeightedUtxo","as_byte","as_ref","as_sat_vb","base32_len","blockchain","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_base32","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","database","default","default","default_min_relay_fee","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","descriptor","descriptor","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","drop","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","fees","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fragment","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_btc_per_kvb","from_sat_per_vb","hash","height","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into_descriptor_key","into_extended_key","into_wallet_descriptor","into_wallet_descriptor","keychain","keys","ne","ne","ne","ne","ne","outpoint","outpoint","partial_cmp","received","satisfaction_weight","sent","serialize","serialize","serialize","timestamp","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","transaction","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","txid","txout","txout","type_id","type_id","type_id","type_id","type_id","type_id","type_id","utxo","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","wallet","write_base32","available","needed","required","required","outpoint","psbt_input","AccurateFees","Blockchain","Capability","Config","ConfigurableBlockchain","FullHistory","GetAnyTx","LogProgress","NoopProgress","Progress","ProgressData","any","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone","clone","clone_into","clone_into","clone_into","compact_filters","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","electrum","eq","equivalent","esplora","estimate_fee","fmt","from","from","from","from_config","get_capabilities","get_height","get_tx","hash","init","init","init","into","into","into","log_progress","noop_progress","progress","setup","sync","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update","update","update","vzip","vzip","vzip","AnyBlockchain","AnyBlockchainConfig","CompactFilters","CompactFilters","Electrum","Electrum","Esplora","Esplora","borrow","borrow","borrow_mut","borrow_mut","broadcast","clone","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eq","estimate_fee","fmt","from","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","into","into","ne","serialize","setup","sync","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Bip158","BitcoinPeerConfig","CompactFiltersBlockchain","CompactFiltersBlockchainConfig","CompactFiltersError","DataCorruption","Db","Global","InvalidFilter","InvalidFilterHeader","InvalidHeaders","InvalidResponse","Io","Mempool","MissingBlock","NoPeers","NotConnected","Peer","PeerBloomDisabled","Time","Timeout","add_tx","address","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone","clone_into","clone_into","connect","connect_proxy","default","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","drop","drop","eq","eq","estimate_fee","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_mempool","get_network","get_tx","get_tx","get_version","has_tx","init","init","init","init","init","init","into","into","into","into","into","into","is_connected","iter_txs","ne","ne","network","new","new","peers","recv","send","serialize","serialize","setup","skip_blocks","socks5","socks5_credentials","storage_dir","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","ElectrumBlockchain","ElectrumBlockchainConfig","borrow","borrow","borrow_mut","borrow_mut","broadcast","clone","clone_into","deref","deref","deref_mut","deref_mut","deserialize","drop","drop","eq","estimate_fee","fmt","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","into","into","ne","retry","serialize","setup","socks5","timeout","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","url","vzip","vzip","BitcoinEncoding","EsploraBlockchain","EsploraBlockchainConfig","EsploraError","HeaderHashNotFound","HeaderHeightNotFound","Hex","Parsing","Reqwest","TransactionNotFound","base_url","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","broadcast","clone","clone_into","concurrency","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","drop","drop","drop","eq","estimate_fee","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from_config","get_capabilities","get_height","get_tx","init","init","init","into","into","into","ne","new","serialize","setup","to_owned","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Batch","BatchDatabase","BatchOperations","Config","ConfigurableDatabase","Database","any","begin_batch","check_descriptor_checksum","commit_batch","del_last_index","del_path_from_script_pubkey","del_raw_tx","del_script_pubkey_from_path","del_tx","del_utxo","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","memory","set_last_index","set_raw_tx","set_script_pubkey","set_tx","set_utxo","AnyBatch","AnyDatabase","AnyDatabaseConfig","Memory","Memory","Memory","Sled","Sled","Sled","SledDbConfiguration","begin_batch","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_descriptor_checksum","commit_batch","del_last_index","del_last_index","del_path_from_script_pubkey","del_path_from_script_pubkey","del_raw_tx","del_raw_tx","del_script_pubkey_from_path","del_script_pubkey_from_path","del_tx","del_tx","del_utxo","del_utxo","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","init","init","init","init","into","into","into","into","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","path","serialize","serialize","set_last_index","set_last_index","set_raw_tx","set_raw_tx","set_script_pubkey","set_script_pubkey","set_tx","set_tx","set_utxo","set_utxo","tree_name","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","MemoryDatabase","begin_batch","borrow","borrow_mut","check_descriptor_checksum","commit_batch","default","del_last_index","del_path_from_script_pubkey","del_raw_tx","del_script_pubkey_from_path","del_tx","del_utxo","deref","deref_mut","drop","fmt","from","from_config","get_last_index","get_path_from_script_pubkey","get_raw_tx","get_script_pubkey_from_path","get_tx","get_utxo","increment_last_index","init","into","iter_raw_txs","iter_script_pubkeys","iter_txs","iter_utxos","new","set_last_index","set_raw_tx","set_script_pubkey","set_tx","set_utxo","try_from","try_into","type_id","vzip","Bare","DerivedDescriptor","DerivedDescriptorKey","Descriptor","ExtendedDescriptor","ExtractPolicy","HdKeyPaths","IntoWalletDescriptor","KeyMap","Legacy","Miniscript","Pkh","ScriptContext","Segwitv0","Sh","Wpkh","Wsh","address","as_enum","as_enum","as_inner","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branches","check_global_consensus_validity","check_global_consensus_validity","check_global_consensus_validity","check_global_policy_validity","check_global_policy_validity","check_global_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_policy_validity","check_local_policy_validity","check_local_policy_validity","check_local_validity","check_terminal_non_malleable","check_terminal_non_malleable","check_terminal_non_malleable","check_witness","check_witness","check_witness","checksum","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","derive","desc_type","drop","drop","drop","drop","drop","encode","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","error","explicit_script","ext","extract_policy","extract_policy","extract_policy","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","for_each_key","from","from","from","from","from","from_ast","from_str","from_str","from_str_insane","from_tree","from_tree","get_leaf_pk","get_leaf_pk_pkh","get_leaf_pkh","get_nth_child","get_nth_pk","get_nth_pk_pkh","get_nth_pkh","get_satisfaction","has_mixed_timelocks","has_repeated_keys","hash","hash","hash","hash","hash_to_hash160","init","init","init","init","init","into","into","into","into","into","into_inner","into_wallet_descriptor","is_deriveable","is_non_malleable","is_uncompressed","iter","iter_pk","iter_pk_pkh","iter_pkh","lift","lift","lift_check","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_weight","max_satisfaction_witness_elements","ne","new","new_bare","new_pk","new_pkh","new_sh","new_sh_sortedmulti","new_sh_wpkh","new_sh_wsh","new_sh_wsh_sortedmulti","new_wpkh","new_wsh","new_wsh_sortedmulti","node","other_top_level_checks","parse","parse_descriptor","parse_insane","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","policy","requires_sig","sanity_check","sanity_check","satisfy","satisfy_malleable","script_code","script_pubkey","script_size","serialized_len","template","to_owned","to_owned","to_owned","to_owned","to_owned","to_pubkeyhash","to_public_key","to_string","to_string","to_string","to_string_with_secret","top_level_checks","top_level_type_check","translate_pk","translate_pk","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","ty","type_id","type_id","type_id","type_id","type_id","unsigned_script_sig","vzip","vzip","vzip","vzip","vzip","within_resource_limits","get_checksum","Base58","Bip32","DuplicatedKeys","Error","HardenedDerivationXpub","Hex","InvalidDescriptorCharacter","InvalidDescriptorChecksum","InvalidHdKeyPath","Key","Miniscript","Pk","Policy","borrow","borrow_mut","deref","deref_mut","drop","fmt","fmt","from","from","from","from","from","from","from","from","init","into","to_string","try_from","try_into","type_id","vzip","AbsoluteTimelock","AddOnLeaf","AddOnPartialComplete","BuildSatisfaction","Complete","Condition","ConditionMap","FoldedConditionMap","Hash160Preimage","Hash256Preimage","IncompatibleConditions","IndexOutOfRange","MixedTimelockUnits","Multisig","None","None","NotEnoughItemsSelected","Partial","PartialComplete","PkOrF","Policy","PolicyError","Psbt","PsbtTimelocks","RelativeTimelock","Ripemd160Preimage","Satisfaction","SatisfiableItem","Sha256Preimage","Signature","SignatureKey","Thresh","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","contribution","csv","default","default","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","drop","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","get_condition","hash","id","id","init","init","init","init","init","init","init","into","into","into","into","into","into","into","is_leaf","is_leaf","is_null","item","ne","ne","partial_cmp","requires_path","satisfaction","serialize","serialize","serialize","serialize","serialize","timelock","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","current_height","input_max_height","psbt","condition","conditions","conditions","items","items","m","m","n","n","sorted","sorted","hash","hash","hash","hash","items","keys","threshold","threshold","value","value","0","0","0","0","0","0","0","0","0","1","1","1","1","1","1","2","2","2","Bip44","Bip44Public","Bip49","Bip49Public","Bip84","Bip84Public","DescriptorTemplate","DescriptorTemplateOut","P2Pkh","P2Wpkh","P2Wpkh_P2Sh","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","build","build","build","build","build","build","build","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","drop","drop","drop","from","from","from","from","from","from","from","from","from","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Bip32","DerivableKey","DescriptorKey","DescriptorPublicKey","DescriptorSecretKey","DescriptorSinglePriv","DescriptorSinglePub","Entropy","Error","ExtScriptContext","ExtendedKey","GeneratableDefaultOptions","GeneratableKey","GeneratedKey","IntoDescriptorKey","InvalidChecksum","InvalidNetwork","InvalidScriptContext","KeyError","KeyMap","Legacy","Message","Miniscript","Options","Private","PrivateKeyGenerateOptions","Public","ScriptContext","ScriptContextEnum","Segwitv0","SinglePriv","SinglePub","SortedMultiVec","ValidNetworks","XPrv","XPub","any_network","as_enum","as_public","bip39","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_global_consensus_validity","check_global_consensus_validity","check_global_policy_validity","check_global_policy_validity","check_global_validity","check_global_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_policy_validity","check_local_policy_validity","check_local_validity","check_local_validity","check_terminal_non_malleable","check_witness","check_witness","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","compressed","default","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","derive","derive_public_key","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","drop","encode","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_public","from_secret","from_str","from_str","from_tree","full_derivation_path","generate","generate_default","generate_with_entropy","generate_with_entropy_default","has_secret","hash","hash","init","init","init","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into","into","into","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_extended_key","into_extended_key","into_extended_key","into_key","into_xprv","into_xpub","is_deriveable","is_legacy","is_legacy","is_segwit_v0","is_segwit_v0","is_uncompressed","k","key","key","lift","mainnet_network","master_fingerprint","max_satisfaction_size","max_satisfaction_size","max_satisfaction_witness_elements","merge_networks","ne","ne","ne","new","origin","origin","other_top_level_checks","other_top_level_checks","override_valid_networks","partial_cmp","partial_cmp","partial_cmp","pks","sanity_check","satisfy","script_size","sorted_node","test_networks","to_owned","to_owned","to_owned","to_owned","to_owned","to_pubkeyhash","to_string","to_string","to_string","to_string","top_level_checks","top_level_checks","top_level_type_check","top_level_type_check","translate_pk","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","ChineseSimplified","ChineseTraditional","English","French","Italian","Japanese","Korean","Language","Mnemonic","MnemonicType","MnemonicWithPassphrase","Seed","Spanish","Words12","Words15","Words18","Words21","Words24","as_bytes","as_ref","as_ref","base32_len","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_base32","checksum_bits","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","default","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","entropy","entropy_bits","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_key_size","for_phrase","for_word_count","from","from","from","from","from_entropy","from_language_code","from_phrase","generate_with_entropy","init","init","init","init","into","into","into","into","into_descriptor_key","into_descriptor_key","into_extended_key","into_extended_key","into_phrase","language","new","new","phrase","to_hex","to_hex","to_owned","to_owned","to_owned","to_owned","to_string","to_string","total_bits","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","validate","vzip","vzip","vzip","vzip","word_count","wordlist","wordmap","write_base32","zeroize","zeroize","zeroize","AddressIndex","IsDust","LastUnused","New","Peek","Reset","Wallet","add_address_validator","add_signer","address_validator","borrow","borrow","borrow_mut","borrow_mut","broadcast","build_fee_bump","build_tx","client","coin_selection","deref","deref","deref_mut","deref_mut","drop","drop","export","finalize_psbt","fmt","fmt","from","from","get_address","get_balance","get_descriptor_for_keychain","get_psbt_input","get_utxo","init","init","into","into","is_dust","is_mine","list_transactions","list_unspent","network","new","new_offline","policies","public_descriptor","secp_ctx","sign","signer","sync","time","try_from","try_from","try_into","try_into","tx_builder","type_id","type_id","vzip","vzip","AddressValidator","AddressValidatorError","ConnectionError","InvalidScript","Message","TimeoutError","UserRejected","borrow","borrow_mut","clone","clone_into","deref","deref_mut","drop","eq","equivalent","fmt","fmt","from","init","into","ne","to_owned","to_string","try_from","try_into","type_id","validate","vzip","BranchAndBoundCoinSelection","CoinSelectionAlgorithm","CoinSelectionResult","DefaultCoinSelectionAlgorithm","LargestFirstCoinSelection","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","coin_select","coin_select","coin_select","default","default","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","fee_amount","fmt","fmt","fmt","from","from","from","init","init","init","into","into","into","local_selected_amount","new","selected","selected_amount","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","WalletExport","blockheight","borrow","borrow_mut","change_descriptor","deref","deref_mut","descriptor","deserialize","drop","export_wallet","fmt","from","from_str","init","into","label","serialize","to_string","try_from","try_into","type_id","vzip","0","Dummy","Fingerprint","InputIndexOutOfRange","InvalidKey","InvalidNonWitnessUtxo","MissingHdKeypath","MissingKey","MissingNonWitnessUtxo","MissingWitnessScript","MissingWitnessUtxo","PkHash","SignOptions","Signer","SignerError","SignerId","SignerOrdering","SignersContainer","UserCanceled","add_external","as_key_map","assume_height","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","default","default","default","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","descriptor_secret_key","drop","drop","drop","drop","drop","eq","eq","eq","equivalent","equivalent","equivalent","find","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","hash","id","ids","init","init","init","init","init","into","into","into","into","into","ne","ne","new","partial_cmp","partial_cmp","remove","sign","sign_whole_tx","signers","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","trust_witness_utxo","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","get_timestamp","Bip69Lexicographic","BumpFee","ChangeAllowed","ChangeForbidden","ChangeSpendPolicy","CreateTx","OnlyChange","Shuffle","TxBuilder","TxBuilderContext","TxOrdering","Untouched","add_foreign_utxo","add_global_xpubs","add_recipient","add_unspendable","add_utxo","add_utxos","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","change_policy","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","coin_selection","default","default","default","default","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","do_not_spend_change","drain_wallet","drop","drop","drop","drop","drop","enable_rbf","enable_rbf_with_sequence","eq","eq","equivalent","equivalent","fee_absolute","fee_rate","finish","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","hash","hash","include_output_redeem_witness_script","init","init","init","init","init","into","into","into","into","into","maintain_single_recipient","manually_selected_only","nlocktime","only_spend_change","only_witness_utxo","ordering","partial_cmp","partial_cmp","policy_path","set_recipients","set_single_recipient","sighash","sort_tx","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unspendable","version","vzip","vzip","vzip","vzip","vzip"],"q":["bdk","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::Error","","","","bdk::Utxo","","bdk::blockchain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::any","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::compact_filters","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::electrum","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::blockchain::esplora","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database::any","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::database::memory","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::checksum","bdk::descriptor::error","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy::BuildSatisfaction","","","bdk::descriptor::policy::Satisfaction","","","","","","","","","","","bdk::descriptor::policy::SatisfiableItem","","","","","","","","","","bdk::descriptor::template","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::keys","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::keys::bip39","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::address_validator","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::coin_selection","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::export","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::signer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::time","bdk::wallet::tx_builder","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Error that can be returned to fail the validation of an …","BIP32 error","Branch and bound coin selection tries to avoid needing a …","Branch and bound coin selection possible attempts with …","Descriptor checksum mismatch","Compact filters client error)","Error related to the parsing and usage of descriptors","Electrum client error","Encoding error","Errors that can be thrown by the Wallet","Esplora client error","External","Fee rate","When bumping a tx the fee rate requested is lower than …","When bumping a tx the absolute fee requested is lower …","A UTXO owned by another wallet.","Generic error","Hex decoding error","Wallet’s UTXO set is not enough to cover recipient’s …","Internal, usually used for change outputs","Requested outpoint doesn’t exist in the tx (vout …","Error while extracting and manipulating policies","Progress value must be between 0.0 (included) and 100.0 …","Wrong number of bytes found when trying to convert to u32","Trying to replace a tx that has a sequence >= 0xFFFFFFFE","Error serializing or deserializing JSON data","Error while working with keys","Types of keychains","A UTXO owned by the local wallet.","An unspent output owned by a Wallet.","Miniscript error","In order to use the TxBuilder::add_global_xpubs option …","Cannot build a tx without recipients","manually_selected_only option is selected but no utxo has …","Output created is under the dust limit, 546 satoshis","Progress update error (maybe the channel has been closed)","Partially signed bitcoin transaction error","This error is thrown when trying to convert Bare and …","An ECDSA error","Signing error","Found multiple outputs when single_recipient option has …","single_recipient option is selected but neither …","Sled database error","Spending policy is not compatible with this KeychainKind","Happens when trying to bump a transaction that is already …","A wallet transaction","Thrown when a tx is not found in the internal database","Happens when trying to spend an UTXO that is not in the …","An unspent transaction output (UTXO).","A [Utxo] with its satisfaction_weight.","Return [KeychainKind] as a byte","","Return the value as satoshi/vbyte","","Blockchain backends","","","","","","","","","","","","","","","","","","","","","","","","","","","","Database types","","","Create a new [FeeRate] with the default min relay fee …","","","","","","","","","","","","","","","Descriptors","Macro to write full descriptors with code","","","","","","","","","","","","","","","","","","","","Fee value (sats)","","","","","","","","","Macro to write descriptor fragments with code","","","","","","","","","","","","","","","","","","","","","","","","Create a new instance of [FeeRate] given a float fee rate …","Create a new instance of [FeeRate] given a float fee rate …","","Confirmed in block height, None means unconfirmed","","","","","","","","","","","","","","","","","","","Type of keychain","Key formats","","","","","","Get the location of the UTXO","Reference to a transaction output","","Received value (sats)","The weight of the witness data and scriptSig expressed in …","Sent value (sats)","","","","Timestamp","","","","","","","","Optional transaction","","","","","","","","","","","","","","","Transaction id","Get the TxOut of the UTXO","Transaction output","","","","","","","","The UTXO","Get the version of BDK at runtime","","","","","","","","Wallet","","Sats available for spending","Sats needed for some transaction","Required fee rate (satoshi/vbyte)","Required fee absolute value (satoshi)","The location of the output.","The information about the input we require to add it to a …","Can compute accurate fees for the transactions found …","Trait that defines the actions that must be supported by …","Capabilities that can be supported by a [Blockchain] …","Type that contains the configuration","Trait for [Blockchain] types that can be created given a …","Can recover the full history of a wallet and not only the …","Can fetch any historical transaction given its txid","Type that implements [Progress] and logs at level INFO …","Type that implements [Progress] and drops every update …","Trait for types that can receive and process progress …","Data sent with a progress update over a [channel]","Runtime-checked blockchain types","","","","","","","Broadcast a transaction","","","","","","","Compact Filters","","","","","","","","","","Electrum","","","Esplora","Estimate the fee rate required to confirm a transaction …","","","","","Create a new instance given a configuration","Return the set of [Capability] supported by this backend","Return the current height","Fetch a transaction from the blockchain given its txid","","","","","","","","Create a nwe instance of [LogProgress]","Create a new instance of [NoopProgress]","Shortcut to create a [channel] (pair of [Sender] and […","Setup the backend and populate the internal database for …","Populate the internal database with transactions and UTXOs","","","","","","","","","","","","","Send a new progress update","","","","","","Type that can contain any of the [Blockchain] types …","Type that can contain any of the blockchain …","Compact filters client","Compact filters client","Electrum client","Electrum client","Esplora client","Esplora client","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Invalid BIP158 filter","Data to connect to a Bitcoin P2P peer","Structure implementing the required blockchain traits","Configuration for a [CompactFiltersBlockchain]","An error that can occur during sync with a […","The data stored in the block filters storage are corrupted","Internal database error","Wrapper for [crate::error::Error]","The compact filter returned is invalid","The compact filter headers returned are invalid","The headers returned are invalid","A peer sent an invalid or unexpected response","Internal I/O error","Container for unconfirmed, but valid Bitcoin transactions","The peer is missing a block in the valid chain","No peers have been specified","A peer is not connected","A Bitcoin peer","The peer doesn’t advertise the BLOOM service flag","Internal system time error","A peer took too long to reply to one of our messages","Add a transaction to the mempool","Peer address such as 127.0.0.1:18333","","","","","","","","","","","","","","","","","","Connect to a peer over a plaintext TCP connection","Connect to a peer through a SOCKS5 proxy, optionally by …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the mempool used by this peer","Return the Bitcoin [Network] in use","Look-up a transaction in the mempool given an [Inventory] …","","Return the [VersionMessage] sent by the peer","Return whether or not the mempool contains a transaction …","","","","","","","","","","","","","Return whether or not the peer is still connected","Return the list of transactions contained in the mempool","","","Network used","Create a new empty mempool","Construct a new instance given a list of peers, a path to …","List of peers to try to connect to for asking headers and …","Waits for a specific incoming Bitcoin message, optionally …","Send a raw Bitcoin message to the peer","","","","Optionally skip initial skip_blocks blocks (default: 0)","Optional socks5 proxy","Optional socks5 proxy credentials","Storage dir to save partially downloaded headers and full …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Wrapper over an Electrum Client that implements the …","Configuration for an [ElectrumBlockchain]","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Request retry count","","","URL of the socks5 proxy server or a Tor service","Request timeout (seconds)","","","","","","","","URL of the Electrum server (such as ElectrumX, Esplora, …","","","Invalid Bitcoin data returned","Structure that implements the logic to sync with Esplora","Configuration for an [EsploraBlockchain]","Errors that can happen during a sync with […","Header hash not found","Header height not found","Invalid Hex data returned","Invalid number returned","Error with the HTTP call","Transaction not found","Base URL of the esplora service","","","","","","","","","","Number of parallel requests sent to the esplora service …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a new instance of the client from a base URL","","","","","","","","","","","","","","","","","Container for the operations","Trait for a database that supports batch operations","Trait for operations that can be batched","Type that contains the configuration","Trait for [Database] types that can be created given a …","Trait for reading data from a database","Runtime-checked database types","Create a new batch container","Read and checks the descriptor checksum for a given …","Consume and apply a batch of operations","Delete the last derivation index for a keychain.","Delete the data related to a specific script_pubkey, …","Delete a raw transaction given its [Txid]","Delete a script_pubkey given the keychain and its child …","Delete the metadata of a transaction and optionally the …","Delete a [LocalUtxo] given its [OutPoint]","Create a new instance given a configuration","Return the last defivation index for a keychain.","Fetch the keychain and child number of a given …","Fetch a raw transaction given its [Txid]","Fetch a script_pubkey given the child number of a …","Fetch the transaction metadata and optionally also the …","Fetch a [LocalUtxo] given its [OutPoint]","Increment the last derivation index for a keychain and …","Return the list of raw transactions","Return the list of script_pubkeys","Return the list of transactions metadata","Return the list of [LocalUtxo]s","In-memory ephemeral database","Store the last derivation index for a given keychain.","Store a raw transaction","Store a script_pubkey along with its keychain and child …","Store the metadata of a transaction","Store a [LocalUtxo]","Type that contains any of the [BatchDatabase::Batch] …","Type that can contain any of the [Database] types defined …","Type that can contain any of the database configurations …","In-memory ephemeral database","In-memory ephemeral database","Memory database has no config","Simple key-value embedded database based on [sled]","Simple key-value embedded database based on [sled]","Simple key-value embedded database based on [sled]","Configuration type for a [sled::Tree] database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Main directory of the db","","","","","","","","","","","","","Name of the database tree, a separated namespace for the …","","","","","","","","","","","","","","","","","In-memory ephemeral database","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a new empty database","","","","","","","","","","A raw scriptpubkey (including pay-to-pubkey) under Legacy …","Alias for a [Descriptor] that contains extended derived …","Extended [DescriptorPublicKey] that has been derived","Script descriptor","Alias for a [Descriptor] that can contain extended keys …","Trait implemented on [Descriptor]s to add a method to …","Alias for the type of maps that represent derivation …","Trait for types which can be converted into an […","Alias type for a map of public key to secret key","Legacy ScriptContext To be used as P2SH scripts For …","Top-level script AST type","Pay-to-PubKey-Hash","The ScriptContext for Miniscript. Additional type …","Segwitv0 ScriptContext","Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)","Pay-to-Witness-PubKey-Hash","Pay-to-Witness-ScriptHash with Segwitv0 context","Computes the Bitcoin address of the descriptor, if one …","","","Get a reference to the inner AstElem representing the …","","","","","","","","","","","Enumerates all child nodes of the current AST node (self) …","Depending on script Context, some of the Terminals might …","","","Depending on script Context, some of the script resource …","","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It …","","","Policy rules at the Miniscript satisfaction time. It is …","","","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","","","Check whether the given satisfaction is valid under the …","","","Descriptor checksum","","","","","","","","","","","","","","","","","","","","","","","","","","","Derives all wildcard keys in the descriptor using the …","Get the [DescriptorType] of [Descriptor]","","","","","","Encode as a Bitcoin script","","","","","","","","","","","Descriptor errors","Computes the “witness script” of the descriptor, i.e. …","Additional information helpful for extra analysis.","Extract the spending [policy]","","","","","","","","","","","","","","","","","","Add type information(Type and Extdata) to Miniscript …","","","Attempt to parse an insane(scripts don’t clear sanity …","Parse an expression tree into a descriptor","Parse an expression tree into a Miniscript. As a general …","Returns Vec with cloned version of all public keys from …","Returns Vec of [PkPkh] entries, representing either …","Returns Vec with hashes of all public keys from the …","Returns child node with given index, if any","Returns Option::Some with cloned n’th public key from …","Returns Option::Some with hash of n’th public key or …","Returns Option::Some with hash of n’th public key from …","Returns satisfying witness and scriptSig to spend an …","Whether the miniscript contains a combination of timelocks","Whether the miniscript has repeated Pk or Pkh","","","","","","","","","","","","","","","","Extracts the AstElem representing the root of the …","Convert to wallet descriptor","Whether or not the descriptor has any wildcards","Whether the miniscript is malleable","","Creates a new [Iter] iterator that will iterate over all […","Creates a new [PkIter] iterator that will iterate over …","Creates a new [PkPkhIter] iterator that will iterate over …","Creates a new [PkhIter] iterator that will iterate over …","","","Lifting corresponds conversion of miniscript into Policy […","Depending on script context, the size of a satifaction …","","","Maximum size, in bytes, of a satisfying witness. For …","Computes an upper bound on the weight of a satisfying …","Maximum number of witness elements used to satisfy the …","","Construct a new derived key","Create a new bare descriptor from witness script Errors …","Create a new pk descriptor","Create a new PkH descriptor","Create a new sh for a given redeem script Errors when …","Create a new sh sortedmulti descriptor with threshold k …","Create a new sh wrapped wpkh from Pk. Errors when …","Create a new sh wrapped wsh descriptor with witness script…","Create a new sh wrapped wsh sortedmulti descriptor from …","Create a new Wpkh descriptor Will return Err if …","Create a new wsh descriptor from witness script Errors …","Create a new wsh sorted multi descriptor Errors when …","A node in the Abstract Syntax Tree(","Other top level checks that are context specific","Attempt to parse a Script into Miniscript representation. …","Parse a descriptor that may contain secret keys","Attempt to parse an insane(scripts don’t clear sanity …","","","","","","Descriptor policy","Whether all spend paths of miniscript require a signature","Whether the descriptor is safe Checks whether all the …","Check whether the underlying Miniscript is safe under the …","Attempt to produce non-malleable satisfying witness for …","Attempt to produce a malleable satisfying witness for the …","Get the scriptCode of a transaction output.","Computes the scriptpubkey of the descriptor","Size, in bytes of the script-pubkey. If this Miniscript …","","Descriptor templates","","","","","","","","","","","Serialize a descriptor to string with its secret keys","Check top level consensus rules.","Check whether the top-level is type B","Convert a descriptor using abstract keys to one using …","This will panic if translatefpk returns an uncompressed …","","","","","","","","","","","The correctness and malleability type information for the …","","","","","","Computes the scriptSig that will be in place for an …","","","","","","Whether the miniscript can exceed the resource …","Compute the checksum of a descriptor","Error during base58 decoding","BIP32 error","The descriptor contains multiple keys with the same BIP32 …","Errors related to the parsing and usage of descriptors","The descriptor contains hardened derivation steps on …","Hex decoding error","Invalid character found in the descriptor checksum","The provided descriptor doesn’t match its checksum","Invalid HD Key path, such as having a wildcard but a …","Error thrown while working with keys","Miniscript error","Key-related error","Error while extracting and manipulating policies","","","","","","","","","","","","","","","","","","","","","","","Absolute timeclock timestamp","Can not add to an item that is [Satisfaction::None] or […","Can not add to an item that is […","Options to build the satisfaction field in the policy","Can satisfy the policy item","An extra condition that must be satisfied but that is out …","Type for a map of sets of [Condition] items keyed by each …","Type for a map of folded sets of [Condition] items keyed …","SHA256 then RIPEMD160 preimage hash","Double SHA256 preimage hash","Incompatible conditions (not currently used)","Index out of range for an item to satisfy a […","Can not merge CSV or timelock values unless both are less …","Multi-signature public keys with threshold count","Cannot satisfy or contribute to the policy item","Don’t generate satisfaction field","Not enough items are selected to satisfy a […","Only a partial satisfaction of some kind of threshold …","Can reach the threshold of some kind of threshold policy","Raw public key or extended key fingerprint","Descriptor spending policy","Errors that can happen while extracting and manipulating …","Analyze the given PSBT to check for existing signatures","Like Psbt variant and also check for expired timelocks","Relative timelock locktime","RIPEMD160 preimage hash","Represent if and how much a policy item is satisfied by …","An item that needs to be satisfied","SHA256 preimage hash","Signature for a raw public key","Signature for an extended key fingerprint","Threshold items with threshold count","","","","","","","","","","","","","","","","","","","","","","","","","","","","How the wallet’s descriptor can satisfy this policy node","Optional CheckSequenceVerify condition","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the conditions that are set by the spending policy …","","Returns a unique id for the [SatisfiableItem]","Identifier for this policy node","","","","","","","","","","","","","","","Returns whether the [SatisfiableItem] is a leaf item","Returns whether the [Satisfaction] is a leaf item","Returns true if there are no extra conditions to verify","Type of this policy node","","","","Return whether or not a specific path in the policy tree …","How much a given PSBT already satisfies this policy node …","","","","","","Optional timelock condition","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Current blockchain height","The highest confirmation height between the inputs CSV …","Given PSBT","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","The items that can be satisfied by the descriptor or are …","The items that can be satisfied by the descriptor","Threshold","Threshold","Total number of items","Total number of items","Whether the items are sorted in lexicographic order (used …","Whether the items are sorted in lexicographic order (used …","The digest value","The digest value","The digest value","The digest value","The policy items","The raw public key or extended key fingerprint","The required threshold count","The required threshold count","The timestamp value","The locktime value","","","","","","","","","","","","","","","","","","","BIP44 template. Expands to pkh(key/44\'/0\'/0\'/{0,1}/*)","BIP44 public template. Expands to pkh(key/{0,1}/*)","BIP49 template. Expands to sh(wpkh(key/49\'/0\'/0\'/{0,1}/*))","BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))","BIP84 template. Expands to wpkh(key/84\'/0\'/0\'/{0,1}/*)","BIP84 public template. Expands to wpkh(key/{0,1}/*)","Trait for descriptor templates that can be built into a …","Type alias for the return type of [DescriptorTemplate], …","P2PKH template. Expands to a descriptor pkh(key)","P2WPKH template. Expands to a descriptor wpkh(key)","P2WPKH-P2SH template. Expands to a descriptor …","","","","","","","","","","","","","","","","","","","Build the complete descriptor","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","BIP32 error","Trait for keys that can be derived.","Container for public or secret keys","The MiniscriptKey corresponding to Descriptors. This can …","A Secret Key that can be either a single key or an Xprv","A Single Descriptor Secret Key with optional origin …","A Single Descriptor Key with optional origin information","Type specifying the amount of entropy required e.g. …","Returned error in case of failure","Trait that adds extra useful methods to [ScriptContext]s","Enum for extended keys that can be either xprv or xpub","Trait that allows generating a key with the default …","Trait for keys that can be generated","Output of a [GeneratableKey] key generation","Trait for objects that can be turned into a public or …","The key has an invalid checksum","The key is not valid for the given network","The key cannot exist in the given script context","Errors thrown while working with keys","Alias type for a map of public key to secret key","Legacy scripts","Custom error message","Miniscript error","Extra options required by the generate_with_entropy","A private extended key, aka an xprv","Options for generating a [PrivateKey]","A public extended key, aka an xpub","The ScriptContext for Miniscript. Additional type …","Enum representation of the known valid [ScriptContext]s","Segwitv0 scripts","Single Secret Key","Single Public Key","Contents of a “sortedmulti” descriptor","Set of valid networks for a key","Xprv","Xpub","Create a set containing mainnet, testnet and regtest","Returns the [ScriptContext] as a [ScriptContextEnum]","Return the public version of this key, by applying either …","BIP-0039","","","","","","","","","","","","","","","","","","","","","","","Depending on script Context, some of the Terminals might …","Depending on script Context, some of the Terminals might …","Depending on script Context, some of the script resource …","Depending on script Context, some of the script resource …","Check the consensus + policy(if not disabled) rules that …","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It …","Consensus rules at the Miniscript satisfaction time. It …","Policy rules at the Miniscript satisfaction time. It is …","Policy rules at the Miniscript satisfaction time. It is …","Check the consensus + policy(if not disabled) rules …","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","Check whether the given satisfaction is valid under the …","Check whether the given satisfaction is valid under the …","","","","","","","","","","","","","","Whether the generated key should be “compressed” or …","","","","","","","","","","","","","","","","","","","","","","","","","If this public key has a wildcard, replace it by the …","Computes the public key corresponding to this descriptor …","","","","","","","","","","","","Encode as a Bitcoin script","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create an instance given a public key and a set of valid …","Create an instance given a secret key and a set of valid …","","","Parse an expression tree into a SortedMultiVec","Full path, from the master key","Generate a key given the options with a random entropy","Generate a key with the default options and a random …","Generate a key given the extra options and the entropy","Generate a key with the default options and a given …","Return whether or not the key contains the private data","","","","","","","","","","","","","","","","","","","","","","","","","Turn the key into a [DescriptorKey] within the requested […","Consume self and turn it into a [DescriptorKey] by adding …","","","","","","Consume self and turn it into an [ExtendedKey]","","","Consumes self and returns the key","Transform the [ExtendedKey] into an ExtendedPrivKey for …","Transform the [ExtendedKey] into an ExtendedPubKey for the…","Whether or not the key has a wildcards","Returns whether the script context is Legacy","Returns whether the script context is […","Returns whether the script context is Segwitv0","Returns whether the script context is […","","signatures required","The key","The key","","Create a set only containing mainnet","The fingerprint of the master key associated with this key","Depending on script context, the size of a satifaction …","Maximum size, in bytes, of a satisfying witness. In …","Maximum number of witness elements used to satisfy the …","Compute the intersection of two sets","","","","Create a new instance of SortedMultiVec given a list of …","Origin information","Origin information","Other top level checks that are context specific","Other top level checks that are context specific","Override the computed set of valid networks","","","","public keys inside sorted Multi","utility function to sanity a sorted multi vec","Attempt to produce a satisfying witness for the witness …","Size, in bytes of the script-pubkey. If this Miniscript …","Create Terminal::Multi containing sorted pubkeys","Create a set containing testnet and regtest","","","","","","","","","","","Check top level consensus rules.","Check top level consensus rules.","Check whether the top-level is type B","Check whether the top-level is type B","This will panic if translatefpk returns an uncompressed …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The language determines which words will be used in a …","The primary type in this crate, most tasks require …","Determines the number of words that will be present in a …","Type for a BIP39 mnemonic with an optional passphrase","The secret value used to derive HD wallet addresses from …","","","","","","","Get the seed value as a byte slice","","","","","","","","","","","","","Return the number of checksum bits","","","","","","","","","","","","","","","","","","","","","","","","","Get the original entropy value of the mnemonic phrase as …","Return the number of entropy bits","","","","","","","","","","","","Get a MnemonicType for a mnemonic phrase representing the …","Get a MnemonicType for an existing mnemonic phrase","Get a MnemonicType for a mnemonic phrase with a specific …","","","","","Create a Mnemonic from pre-generated entropy","Construct a word list from its language code. Returns None…","Create a Mnemonic from an existing mnemonic phrase","","","","","","","","","","","","","","Consume the Mnemonic and return the phrase as a String.","Get the Language","Generates a new Mnemonic","Generates the seed from the Mnemonic and the password.","Get the mnemonic phrase as a string reference.","Outputs the hash in hexadecimal form","Outputs the hash in hexadecimal form","","","","","","","Return the number of entropy+checksum bits","","","","","","","","","","","","","Validate a mnemonic phrase","","","","","Return the number of words","Get the word list for this language","Get a [WordMap][WordMap] that allows word -> index …","","","","","The address index selection strategy to use to derived an …","Trait to check if a value is below the dust limit","Return the address for the current descriptor index if it …","Return a new address after incrementing the current …","Return the address for a specific descriptor index. Does …","Return the address for a specific descriptor index and …","A Bitcoin wallet","Add an address validator","Add an external signer","Address validation callbacks","","","","","Broadcast a transaction to the network","Bump the fee of a transaction previously created with …","Start building a transaction.","Return a reference to the internal blockchain client","Coin selection","","","","","","","Wallet export","Try to finalize a PSBT","","","","","Return a derived address using the external descriptor, …","Return the balance, meaning the sum of this wallet’s …","Returns the descriptor used to create adddresses for a …","get the corresponding PSBT Input for a LocalUtxo","Returns the UTXO owned by this wallet corresponding to …","","","","","Check whether or not a value is below dust limit","Return whether or not a script is part of this wallet …","Return the list of transactions made and received by the …","Return the list of unspent outputs of this wallet","Get the Bitcoin network the wallet is using.","Create a new “online” wallet","Create a new “offline” wallet","Return the spending policies for the wallet’s descriptor","Return the “public” version of the wallet’s …","Return the secp256k1 context used for all signing …","Sign a transaction with all the wallet’s signers, in …","Generalized signers","Sync the internal database with the blockchain","Cross-platform time","","","","","Transaction builder","","","","","Trait to build address validators","Errors that can be returned to fail the validation of an …","Network connection error","Invalid script","A custom error message","Network request timeout error","User rejected the address","","","","","","","","","","","","","","","","","","","","","Validate or inspect an address","","Branch and bound coin selection","Trait for generalized coin selection algorithms","Result of a successful coin selection","Default coin selection algorithm used by TxBuilder if not …","Simple and dumb coin selection","","","","","","","","","Perform the coin selection","","","","","","","","","","","","","","Total fee amount in satoshi","","","","","","","","","","","","","The total value of the inputs selected from the local …","Create new instance with target size for change output","List of outputs selected for use as inputs","The total value of the inputs selected.","","","","","","","","","","","","","","Structure that contains the export of a wallet","Earliest block to rescan when looking for the wallet’s …","","","Return the internal descriptor, if present","","","Return the external descriptor","","","Export a wallet","","","","","","Arbitrary label for the wallet","","","","","","","","Dummy identifier","The fingerprint of a BIP32 extended key","Input index is out of range","The private key in use has the right fingerprint but …","The non_witness_utxo specified is invalid","The fingerprint and derivation path are missing from the …","The private key is missing for the required public key","The non_witness_utxo field of the transaction is required …","The witness_script field of the transaction is requied to …","The witness_utxo field of the transaction is required to …","Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA …","Options for a software signer","Trait for signers","Signing error","Identifier of a signer in the SignersContainers. Used as …","Defines the order in which signers are called","Container for multiple signers","The user canceled the operation","Adds an external signer to the container for the …","Create a map of public keys to secret keys","Whether the wallet should assume a specific height has …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the secret key for the signer","","","","","","","","","","","","Finds the signer with lowest ordering for a given id in …","","","","","","","","","","","","","","","","Return the [SignerId] for this signer","Returns the list of identifiers of all the signers in the …","","","","","","","","","","","","","Default constructor","","","Removes a signer from the container and returns it","Sign a PSBT","Return whether or not the signer signs the whole …","Returns the list of signers in the container, sorted by …","","","","","","","Whether the signer should trust the witness_utxo, if the …","","","","","","","","","","","","","","","","","","","","","Return the current timestamp in seconds","BIP69 / Lexicographic","Marker type to indicate the [TxBuilder] is being used to …","Use both change and non-change outputs (default)","Only use non-change outputs (see […","Policy regarding the use of change outputs when creating …","Marker type to indicate the [TxBuilder] is being used to …","Only use change outputs (see [TxBuilder::only_spend_change…","Randomized (default)","A transaction builder","Context in which the [TxBuilder] is valid","Ordering of the transaction’s inputs and outputs","Unchanged","Add a foreign UTXO i.e. a UTXO not owned by this wallet.","Fill-in the PSBT_GLOBAL_XPUB field with the extended keys …","Add a recipient to the internal list","Add a utxo to the internal list of unspendable utxos","Add a utxo to the internal list of utxos that must be …","Add the list of outpoints to the internal list of UTXOs …","","","","","","","","","","","Set a specific [ChangeSpendPolicy]. See […","","","","","","","","","","","","","Choose the coin selection algorithm","","","","","","","","","","","","","","","Do not spend change outputs","Spend all the available inputs. This respects filters …","","","","","","Enable signaling RBF","Enable signaling RBF with a specific nSequence value","","","","","Set an absolute fee","Set a custom fee rate","Finish the building the transaction.","","","","","","","","","","","","","Fill-in the psbt::Output::redeem_script and …","","","","","","","","","","","Bump the fees of a transaction made with …","Only spend utxos added by add_utxo.","Use a specific nLockTime while creating the transaction","Only spend change outputs","Only Fill-in the psbt::Input::witness_utxo field when …","Choose the ordering for inputs and outputs of the …","","","Set the policy path to use while creating the transaction …","Replace the recipients already added with a new list","Set a single recipient that will get all the selected …","Sign with a specific sig hash","Sort transaction inputs and outputs by [TxOrdering] …","","","","","","","","","","","","","","","","","","","","","Replace the internal list of unspendable utxos with a new …","Build a transaction with a specific version","","","","",""],"i":[1,1,1,1,1,1,1,1,1,0,1,2,0,1,1,3,1,1,1,2,1,1,1,1,1,1,1,0,3,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,2,2,4,2,0,1,2,4,5,6,3,7,1,2,4,5,6,3,7,2,2,4,5,6,3,7,2,4,5,6,3,7,0,4,7,4,1,2,4,5,6,3,7,1,2,4,5,6,3,7,0,0,2,5,7,1,2,4,5,6,3,7,2,4,5,6,3,7,2,5,7,7,1,1,2,4,5,6,3,7,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,4,5,6,3,7,4,4,2,7,1,2,4,5,6,3,7,1,2,4,5,6,3,7,8,8,9,10,5,0,4,5,6,3,7,3,5,4,7,6,7,2,5,7,7,2,4,5,6,3,7,1,7,1,2,4,5,6,3,7,1,2,4,5,6,3,7,7,3,5,1,2,4,5,6,3,7,6,0,1,2,4,5,6,3,7,0,2,11,11,12,13,14,14,15,0,0,16,0,15,15,0,0,0,0,0,15,17,18,15,17,18,19,15,17,18,15,17,18,0,15,17,18,15,17,18,15,17,18,0,15,15,0,19,15,15,17,18,16,19,19,19,15,15,17,18,15,17,18,0,0,0,19,19,15,17,18,15,17,18,15,17,18,15,17,18,20,17,18,15,17,18,0,0,21,22,21,22,21,22,21,22,21,22,21,22,22,21,22,21,22,22,21,22,22,21,22,21,21,21,21,22,22,22,22,21,21,21,21,21,22,21,22,22,22,21,21,22,21,22,21,22,21,22,21,22,23,0,0,0,0,23,23,23,23,23,23,23,23,0,23,23,23,0,23,23,23,24,25,24,26,27,25,28,23,24,26,27,25,28,23,27,25,28,25,28,26,26,24,24,26,27,25,28,23,24,26,27,25,28,23,25,28,24,26,27,25,28,23,25,28,27,24,26,27,25,28,23,23,24,26,27,25,28,23,23,23,23,23,23,27,27,27,26,26,24,27,26,24,24,26,27,25,28,23,24,26,27,25,28,23,26,24,25,28,28,24,27,28,26,26,25,28,27,28,25,25,28,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,24,26,27,25,28,23,0,0,29,30,29,30,29,30,30,29,30,29,30,30,29,30,30,29,30,29,29,30,29,29,29,29,29,30,29,30,30,30,30,29,30,30,30,29,30,29,30,29,30,30,29,30,31,0,0,0,31,31,31,31,31,31,32,33,32,31,33,32,31,33,32,32,32,33,32,31,33,32,31,32,33,32,31,32,33,33,32,31,31,33,32,31,31,31,31,31,33,33,33,33,33,32,31,33,32,31,32,33,32,33,32,31,33,32,31,33,32,31,33,32,31,33,32,31,34,0,0,35,0,0,0,34,36,34,37,37,37,37,37,37,35,36,36,36,36,36,36,36,36,36,36,36,0,37,37,37,37,37,0,0,0,38,39,40,38,39,40,0,39,38,39,41,40,38,39,41,40,39,39,38,39,38,39,38,39,38,39,38,39,38,39,38,39,41,40,38,39,41,40,41,40,38,39,41,40,39,41,40,38,38,38,39,39,39,41,40,40,40,39,39,39,39,39,39,39,39,38,39,41,40,38,39,41,40,39,39,39,39,41,41,40,38,39,38,39,38,39,38,39,38,39,41,38,39,41,40,38,39,41,40,38,39,41,40,38,39,41,40,0,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,43,0,0,0,0,0,0,0,0,0,0,43,0,0,43,43,43,43,44,45,46,47,43,44,45,46,47,43,44,45,46,46,48,44,45,48,45,48,48,44,45,48,44,45,48,48,44,45,48,44,45,0,47,43,44,45,46,47,43,44,45,46,47,43,44,45,46,47,47,43,44,45,46,47,43,44,45,46,43,43,47,43,44,45,46,46,47,43,44,45,46,47,43,44,45,46,0,43,46,49,43,46,47,47,43,43,44,45,46,46,43,46,47,43,44,45,46,46,43,46,46,43,46,46,46,46,46,46,46,46,43,46,46,47,44,45,46,47,47,43,44,45,46,47,43,44,45,46,46,50,43,46,47,46,46,46,46,43,46,46,48,44,45,46,43,46,43,47,43,43,43,43,43,43,43,43,43,43,43,46,48,46,43,46,47,43,44,45,46,0,46,43,46,46,46,43,43,46,47,0,47,43,44,45,46,47,47,47,43,46,43,48,48,43,46,47,43,44,45,46,47,43,44,45,46,46,47,43,44,45,46,43,47,43,44,45,46,46,0,51,51,51,0,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,51,52,53,53,0,54,0,0,0,52,52,53,53,53,52,54,55,53,54,54,0,0,0,55,55,52,52,0,0,52,52,52,52,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,55,56,52,54,57,58,55,58,57,58,56,58,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,58,53,58,53,56,52,54,57,58,53,53,55,56,52,54,54,57,57,58,53,55,57,58,52,57,56,52,54,57,58,53,55,56,52,54,57,58,53,55,52,54,58,57,58,53,58,57,57,56,52,54,57,58,58,56,52,54,57,58,55,53,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,56,52,54,57,58,53,55,59,59,59,60,61,62,61,62,61,62,61,62,61,62,63,64,65,66,67,68,68,67,69,70,71,72,73,74,75,76,77,78,79,74,75,76,77,78,79,75,77,79,0,0,0,0,0,0,0,0,0,0,0,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,80,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,71,72,73,74,75,76,77,78,79,81,0,0,0,0,0,0,82,82,0,0,0,0,0,0,81,81,81,0,0,83,81,81,82,84,0,84,0,0,83,85,86,0,0,85,86,0,87,85,0,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,83,90,91,86,92,83,90,91,86,92,91,86,92,90,90,84,88,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,86,86,84,88,89,83,90,81,91,86,92,93,85,91,83,91,86,92,83,91,86,92,89,83,90,81,81,91,91,86,86,92,93,85,85,91,84,84,84,88,89,83,90,81,81,81,91,86,92,93,85,89,89,86,85,91,86,82,94,82,94,84,86,92,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,95,96,88,88,89,86,85,96,84,88,88,84,84,86,87,83,87,83,86,91,92,93,91,0,86,48,91,91,0,91,86,92,91,92,93,48,48,89,91,86,92,91,91,91,91,91,0,83,90,91,86,92,86,81,91,86,85,48,48,48,48,91,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,84,88,89,83,90,81,91,86,92,93,85,97,97,97,97,97,97,97,0,0,0,0,0,97,98,98,98,98,98,99,100,99,99,97,100,98,99,97,100,98,99,99,98,97,100,98,99,97,100,98,99,97,98,97,100,98,99,97,100,98,99,97,100,100,98,99,99,100,98,97,97,100,100,100,100,98,98,99,99,99,98,98,98,97,100,98,99,100,97,100,100,97,100,98,99,97,100,98,99,100,99,100,99,100,100,100,99,100,100,99,97,100,98,99,100,98,98,97,100,98,99,97,100,98,99,97,100,98,99,100,97,100,98,99,98,97,97,99,97,100,99,0,0,101,101,101,101,0,102,102,0,102,101,102,101,102,102,102,102,0,102,101,102,101,102,101,0,102,102,101,102,101,102,102,102,102,102,102,101,102,101,103,102,102,102,102,102,102,102,102,102,102,0,102,0,102,101,102,101,0,102,101,102,101,0,0,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,104,105,104,0,0,0,0,0,106,107,108,106,107,108,107,107,109,107,108,107,108,106,107,108,106,107,108,106,107,108,106,106,107,108,106,107,108,106,107,108,106,107,108,106,108,106,106,107,106,107,108,106,107,108,106,107,108,106,107,108,0,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,110,111,112,112,113,113,113,113,113,113,113,113,112,0,0,0,0,0,0,113,114,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,111,111,114,115,112,113,111,114,115,112,113,111,114,115,116,112,113,111,114,115,112,113,111,112,113,111,114,112,113,113,111,114,115,112,112,112,113,111,114,114,115,112,116,114,112,113,111,114,115,112,113,111,114,115,112,111,114,112,111,114,116,116,114,112,113,111,114,115,113,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,112,113,111,114,115,0,117,0,118,118,0,0,118,117,0,0,0,117,119,119,119,119,119,119,120,121,119,117,118,120,121,119,117,118,119,120,121,119,117,118,120,121,119,117,118,117,118,119,120,121,117,118,120,121,119,117,118,120,121,119,117,118,119,119,120,121,119,117,118,119,119,117,118,117,118,119,119,119,120,121,119,117,118,120,121,119,117,118,117,118,119,120,121,119,117,118,120,121,119,117,118,119,119,119,119,119,119,117,118,119,119,119,119,117,120,121,119,117,118,120,121,119,117,118,120,121,119,117,118,120,121,119,117,118,119,119,120,121,119,117,118],"f":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],["u8",15]],[[]],[[],["f32",15]],[[],["usize",15]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["vec",3],["result",4]]],[[],["keychainkind",4]],[[],["feerate",3]],[[],["localutxo",3]],[[],["weightedutxo",3]],[[],["utxo",4]],[[],["transactiondetails",3]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[]],[[],["transactiondetails",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["keychainkind",4]],["bool",15]],[[["feerate",3]],["bool",15]],[[["localutxo",3]],["bool",15]],[[["weightedutxo",3]],["bool",15]],[[["utxo",4]],["bool",15]],[[["transactiondetails",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],null,[[]],[[["error",4]]],[[["compactfilterserror",4]]],[[["error",4]]],[[["esploraerror",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["addressvalidatorerror",4]]],[[["policyerror",4]]],[[["error",3]]],[[["signererror",4]]],[[["error",4]]],[[["keyerror",4]],["error",4]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[]],[[]],[[]],[[]],[[]],[[]],[[["f32",15]]],[[["f32",15]]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["option",4],["derivationpath",3],["keysource",6]],[["descriptorkey",4],["keyerror",4],["result",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[["network",4],["secp256k1",3]],[["descriptorerror",4],["result",4]]],[[["network",4],["secp256k1",3]],[["descriptorerror",4],["result",4]]],null,null,[[["feerate",3]],["bool",15]],[[["localutxo",3]],["bool",15]],[[["weightedutxo",3]],["bool",15]],[[["utxo",4]],["bool",15]],[[["transactiondetails",3]],["bool",15]],[[],["outpoint",3]],null,[[["feerate",3]],[["ordering",4],["option",4]]],null,null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["txout",3]],null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],null,[[],["str",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,[[],["result",4]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["capability",4]],[[],["noopprogress",3]],[[],["logprogress",3]],[[]],[[]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["capability",4]],["bool",15]],[[],["bool",15]],null,[[["usize",15]],[["error",4],["feerate",3],["result",4]]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[],[["result",4],["error",4]]],[[],[["hashset",3],["capability",4]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["logprogress",3]],[[],["noopprogress",3]],[[]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["option",4],["string",3],["f32",15]],[["error",4],["result",4]]],[[["option",4],["string",3],["f32",15]],[["error",4],["result",4]]],[[["option",4],["string",3],["f32",15]],[["error",4],["result",4]]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["anyblockchainconfig",4]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["anyblockchainconfig",4]],["bool",15]],[[["usize",15]],[["error",4],["feerate",3],["result",4]]],[[["formatter",3]],["result",6]],[[]],[[["compactfiltersblockchain",3]]],[[["esplorablockchain",3]]],[[["electrumblockchain",3]]],[[["esplorablockchainconfig",3]]],[[]],[[["electrumblockchainconfig",3]]],[[["compactfiltersblockchainconfig",3]]],[[],[["result",4],["error",4]]],[[],[["hashset",3],["capability",4]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["anyblockchainconfig",4]],["bool",15]],[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["transaction",3]]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["bitcoinpeerconfig",3]],[[],["compactfiltersblockchainconfig",3]],[[]],[[]],[[["arc",3],["mempool",3],["network",4],["tosocketaddrs",8]],[["result",4],["compactfilterserror",4]]],[[["arc",3],["totargetaddr",8],["mempool",3],["network",4],["option",4],["tosocketaddrs",8]],[["result",4],["compactfilterserror",4]]],[[],["mempool",3]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["bitcoinpeerconfig",3]],["bool",15]],[[["compactfiltersblockchainconfig",3]],["bool",15]],[[["usize",15]],[["error",4],["feerate",3],["result",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[["systemtimeerror",3]]],[[["error",4]]],[[["error",4]]],[[["error",3]]],[[["error",3]]],[[],[["result",4],["error",4]]],[[],[["hashset",3],["capability",4]]],[[],[["error",4],["u32",15],["result",4]]],[[],[["arc",3],["mempool",3]]],[[],["network",4]],[[["inventory",4]],[["transaction",3],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["versionmessage",3]],[[["txid",3]],["bool",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[],[["transaction",3],["vec",3]]],[[["bitcoinpeerconfig",3]],["bool",15]],[[["compactfiltersblockchainconfig",3]],["bool",15]],null,[[]],[[["peer",3],["option",4],["path",3],["asref",8],["usize",15],["vec",3]],[["result",4],["compactfilterserror",4]]],null,[[["str",15],["option",4],["duration",3]],[["result",4],["option",4],["compactfilterserror",4]]],[[["networkmessage",4]],[["result",4],["compactfilterserror",4]]],[[],["result",4]],[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],null,null,null,null,[[]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["electrumblockchainconfig",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["electrumblockchainconfig",3]],["bool",15]],[[["usize",15]],[["error",4],["feerate",3],["result",4]]],[[["formatter",3]],["result",6]],[[["client",3]]],[[]],[[]],[[],[["result",4],["error",4]]],[[],[["hashset",3],["capability",4]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["electrumblockchainconfig",3]],["bool",15]],null,[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],null,null,[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],null,[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["result",4]]],[[],["esplorablockchainconfig",3]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["esplorablockchainconfig",3]],["bool",15]],[[["usize",15]],[["error",4],["feerate",3],["result",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[["error",3]]],[[["parseinterror",3]]],[[["error",4]]],[[["error",4]]],[[],[["result",4],["error",4]]],[[],[["hashset",3],["capability",4]]],[[],[["error",4],["u32",15],["result",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[["esplorablockchainconfig",3]],["bool",15]],[[["option",4],["str",15],["u8",15]]],[[],["result",4]],[[["progress",8],["usize",15],["option",4]],[["error",4],["result",4]]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],null,null,null,null,null,null,null,[[]],[[["asref",8],["keychainkind",4]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["txid",3],["bool",15]],[["error",4],["result",4],["option",4]]],[[["outpoint",3]],[["error",4],["option",4],["result",4]]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["txid",3],["bool",15]],[["error",4],["result",4],["option",4]]],[[["outpoint",3]],[["error",4],["option",4],["result",4]]],[[["keychainkind",4]],[["error",4],["u32",15],["result",4]]],[[],[["error",4],["vec",3],["result",4]]],[[["option",4],["keychainkind",4]],[["result",4],["error",4],["vec",3]]],[[["bool",15]],[["result",4],["error",4],["vec",3]]],[[],[["error",4],["vec",3],["result",4]]],null,[[["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["script",3],["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["asref",8],["keychainkind",4]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["txid",3],["bool",15]],[["error",4],["result",4],["option",4]]],[[["txid",3],["bool",15]],[["error",4],["result",4],["option",4]]],[[["outpoint",3]],[["error",4],["option",4],["result",4]]],[[["outpoint",3]],[["error",4],["option",4],["result",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[["tree",3]]],[[["memorydatabase",3]]],[[]],[[]],[[["sleddbconfiguration",3]]],[[]],[[]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["txid",3],["bool",15]],[["error",4],["result",4],["option",4]]],[[["outpoint",3]],[["error",4],["option",4],["result",4]]],[[["keychainkind",4]],[["error",4],["u32",15],["result",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[],[["error",4],["vec",3],["result",4]]],[[["option",4],["keychainkind",4]],[["result",4],["error",4],["vec",3]]],[[["bool",15]],[["result",4],["error",4],["vec",3]]],[[],[["error",4],["vec",3],["result",4]]],null,[[],["result",4]],[[],["result",4]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["script",3],["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["script",3],["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],null,[[]],[[]],[[]],[[["asref",8],["keychainkind",4]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[],["memorydatabase",3]],[[["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["txid",3],["bool",15]],[["error",4],["result",4],["option",4]]],[[["outpoint",3]],[["error",4],["option",4],["result",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["script",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["option",4],["result",4]]],[[["txid",3],["bool",15]],[["error",4],["result",4],["option",4]]],[[["outpoint",3]],[["error",4],["option",4],["result",4]]],[[["keychainkind",4]],[["error",4],["u32",15],["result",4]]],[[],["usize",15]],[[]],[[],[["error",4],["vec",3],["result",4]]],[[["option",4],["keychainkind",4]],[["result",4],["error",4],["vec",3]]],[[["bool",15]],[["result",4],["error",4],["vec",3]]],[[],[["error",4],["vec",3],["result",4]]],[[]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transaction",3]],[["error",4],["result",4]]],[[["script",3],["u32",15],["keychainkind",4]],[["error",4],["result",4]]],[[["transactiondetails",3]],[["error",4],["result",4]]],[[["localutxo",3]],[["error",4],["result",4]]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["network",4]],[["address",3],["error",4],["result",4]]],[[],["scriptcontextenum",4]],[[],["scriptcontextenum",4]],[[],["terminal",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["vec",3],["miniscript",3],["global",3]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["terminal",4]],[["scriptcontexterror",4],["result",4]]],[[["terminal",4]],[["scriptcontexterror",4],["result",4]]],[[["terminal",4]],[["scriptcontexterror",4],["result",4]]],[[],[["scriptcontexterror",4],["result",4]]],[[],[["scriptcontexterror",4],["result",4]]],[[],[["scriptcontexterror",4],["result",4]]],null,[[],["deriveddescriptorkey",3]],[[],["descriptor",4]],[[],["legacy",4]],[[],["segwitv0",4]],[[],["miniscript",3]],[[]],[[]],[[]],[[]],[[]],[[],["ordering",4]],[[["descriptor",4]],["ordering",4]],[[["legacy",4]],["ordering",4]],[[["segwitv0",4]],["ordering",4]],[[["miniscript",3]],["ordering",4]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["u32",15]],[["descriptor",4],["descriptorpublickey",4]]],[[],["descriptortype",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["script",3]],[[],["bool",15]],[[["descriptor",4]],["bool",15]],[[["legacy",4]],["bool",15]],[[["segwitv0",4]],["bool",15]],[[["miniscript",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[],["script",3]],null,[[["buildsatisfaction",4],["secp256k1",3],["signerscontainer",3]],[["option",4],["result",4],["descriptorerror",4]]],[[["buildsatisfaction",4],["secp256k1",3],["signerscontainer",3]],[["result",4],["option",4],["error",4]]],[[["buildsatisfaction",4],["secp256k1",3],["signerscontainer",3]],[["result",4],["option",4],["error",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[],["bool",15]],[[],["bool",15]],[[]],[[]],[[]],[[]],[[]],[[["terminal",4]],[["miniscript",3],["result",4],["error",4]]],[[["str",15]],[["result",4],["descriptor",4],["error",4]]],[[["str",15]],[["miniscript",3],["result",4],["error",4]]],[[["str",15]],[["miniscript",3],["result",4],["error",4]]],[[["tree",3]],[["result",4],["descriptor",4],["error",4]]],[[["tree",3]],[["miniscript",3],["result",4],["error",4]]],[[],[["vec",3],["global",3]]],[[],[["vec",3],["pkpkh",4],["global",3]]],[[],[["vec",3],["global",3]]],[[["usize",15]],[["miniscript",3],["option",4]]],[[["usize",15]],["option",4]],[[["usize",15]],[["option",4],["pkpkh",4]]],[[["usize",15]],["option",4]],[[],[["error",4],["result",4]]],[[],["bool",15]],[[],["bool",15]],[[]],[[]],[[]],[[]],[[],["hash",3]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[],["terminal",4]],[[["network",4],["secp256k1",3]],[["descriptorerror",4],["result",4]]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["iter",3]],[[],["pkiter",3]],[[],["pkpkhiter",3]],[[],["pkhiter",3]],[[],[["error",4],["result",4],["policy",4]]],[[],[["error",4],["result",4],["policy",4]]],[[],[["lifterror",4],["result",4]]],[[["miniscript",3]],[["option",4],["usize",15]]],[[["miniscript",3]],[["option",4],["usize",15]]],[[["miniscript",3]],[["option",4],["usize",15]]],[[],[["result",4],["usize",15],["error",4]]],[[],[["result",4],["usize",15],["error",4]]],[[],[["result",4],["usize",15],["error",4]]],[[["descriptor",4]],["bool",15]],[[["descriptorpublickey",4],["secp256k1",3]],["deriveddescriptorkey",3]],[[["barectx",4],["miniscript",3]],[["result",4],["descriptor",4],["error",4]]],[[],["descriptor",4]],[[],["descriptor",4]],[[["legacy",4],["miniscript",3]],[["result",4],["descriptor",4],["error",4]]],[[["usize",15],["vec",3],["global",3]],[["result",4],["descriptor",4],["error",4]]],[[],[["result",4],["descriptor",4],["error",4]]],[[["segwitv0",4],["miniscript",3]],[["result",4],["descriptor",4],["error",4]]],[[["usize",15],["vec",3],["global",3]],[["result",4],["descriptor",4],["error",4]]],[[],[["result",4],["descriptor",4],["error",4]]],[[["segwitv0",4],["miniscript",3]],[["result",4],["descriptor",4],["error",4]]],[[["usize",15],["vec",3],["global",3]],[["result",4],["descriptor",4],["error",4]]],null,[[["miniscript",3]],[["result",4],["error",4]]],[[["script",3]],[["miniscript",3],["result",4],["error",4]]],[[["secp256k1",3],["str",15]],[["error",4],["result",4]]],[[["script",3]],[["miniscript",3],["result",4],["error",4]]],[[],[["option",4],["ordering",4]]],[[["descriptor",4]],[["ordering",4],["option",4]]],[[["legacy",4]],[["ordering",4],["option",4]]],[[["segwitv0",4]],[["ordering",4],["option",4]]],[[["miniscript",3]],[["ordering",4],["option",4]]],null,[[],["bool",15]],[[],[["result",4],["error",4]]],[[],[["analysiserror",4],["result",4]]],[[],[["vec",3],["result",4],["error",4]]],[[],[["vec",3],["result",4],["error",4]]],[[],["script",3]],[[],["script",3]],[[],["usize",15]],[[],["usize",15]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["publickey",3]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[["hashmap",3]],["string",3]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[],[["result",4],["descriptor",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["script",3]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[["str",15]],[["descriptorerror",4],["result",4],["string",3]]],null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[["policyerror",4]]],[[["keyerror",4]],["error",4]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[],["usize",15]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["pkorf",3]],[[],["satisfiableitem",4]],[[],["satisfaction",4]],[[],["policy",3]],[[],["condition",3]],[[],["buildsatisfaction",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[["condition",3]],["ordering",4]],null,null,[[],["pkorf",3]],[[],["condition",3]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["condition",3]],["bool",15]],[[["policyerror",4]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[["bool",15]]],[[]],[[]],[[["satisfiableitem",4]]],[[]],[[]],[[]],[[["btreemap",3]],[["condition",3],["policyerror",4],["result",4]]],[[]],[[],["string",3]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,[[["condition",3]],["bool",15]],[[["policyerror",4]],["bool",15]],[[["condition",3]],[["ordering",4],["option",4]]],[[],["bool",15]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[],[["descriptortemplateout",6],["descriptorerror",4],["result",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[["secp256k1",3],["network",4]],[["result",4],["error",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],["validnetworks",6]],[[],["scriptcontextenum",4]],[[["secp256k1",3]],[["descriptorkeyparseerror",3],["result",4],["descriptorpublickey",4]]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["miniscript",3]],[["scriptcontexterror",4],["result",4]]],[[["terminal",4]],[["scriptcontexterror",4],["result",4]]],[[],[["scriptcontexterror",4],["result",4]]],[[],[["scriptcontexterror",4],["result",4]]],[[],["scriptcontextenum",4]],[[],["privatekeygenerateoptions",3]],[[],["sortedmultivec",3]],[[],["descriptorpublickey",4]],[[],["descriptorsinglepub",3]],[[]],[[]],[[]],[[]],[[]],[[["sortedmultivec",3]],["ordering",4]],[[["descriptorpublickey",4]],["ordering",4]],[[["descriptorsinglepub",3]],["ordering",4]],null,[[]],[[["usize",15]]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["u32",15]],["descriptorpublickey",4]],[[["secp256k1",3]],[["result",4],["publickey",3],["conversionerror",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["script",3]],[[["scriptcontextenum",4]],["bool",15]],[[["sortedmultivec",3]],["bool",15]],[[["descriptorpublickey",4]],["bool",15]],[[["descriptorsinglepub",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[],["bool",15]],[[["extendedpubkey",3]]],[[]],[[["extendedprivkey",3]]],[[]],[[]],[[]],[[]],[[]],[[["error",4]]],[[["error",4]]],[[]],[[]],[[]],[[]],[[]],[[["descriptorpublickey",4],["validnetworks",6]]],[[["descriptorsecretkey",4],["validnetworks",6]]],[[["str",15]],[["descriptorpublickey",4],["result",4]]],[[["str",15]],[["result",4],["descriptorsecretkey",4]]],[[["tree",3]],[["sortedmultivec",3],["result",4],["error",4]]],[[],["derivationpath",3]],[[],[["result",4],["generatedkey",3]]],[[],[["result",4],["generatedkey",3]]],[[],[["result",4],["generatedkey",3]]],[[],[["result",4],["generatedkey",3]]],[[],["bool",15]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["descriptorkey",4],["keyerror",4],["result",4]]],[[["option",4],["derivationpath",3],["keysource",6]],[["descriptorkey",4],["keyerror",4],["result",4]]],[[],[["descriptorkey",4],["keyerror",4],["result",4]]],[[["option",4],["derivationpath",3],["keysource",6]],[["descriptorkey",4],["keyerror",4],["result",4]]],[[],[["descriptorkey",4],["keyerror",4],["result",4]]],[[],[["descriptorkey",4],["keyerror",4],["result",4]]],[[],[["descriptorkey",4],["keyerror",4],["result",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[]],[[["network",4]],[["option",4],["extendedprivkey",3]]],[[["network",4],["secp256k1",3]],["extendedpubkey",3]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],null,null,null,[[],[["error",4],["result",4],["policy",4]]],[[],["validnetworks",6]],[[],["fingerprint",3]],[[["miniscript",3]],[["option",4],["usize",15]]],[[],["usize",15]],[[],["usize",15]],[[["validnetworks",6]],["validnetworks",6]],[[["sortedmultivec",3]],["bool",15]],[[["descriptorpublickey",4]],["bool",15]],[[["descriptorsinglepub",3]],["bool",15]],[[["usize",15],["vec",3],["global",3]],[["sortedmultivec",3],["result",4],["error",4]]],null,null,[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[["validnetworks",6]]],[[["sortedmultivec",3]],[["ordering",4],["option",4]]],[[["descriptorpublickey",4]],[["ordering",4],["option",4]]],[[["descriptorsinglepub",3]],[["ordering",4],["option",4]]],null,[[],[["result",4],["error",4]]],[[],[["vec",3],["result",4],["error",4]]],[[],["usize",15]],[[],["terminal",4]],[[],["validnetworks",6]],[[]],[[]],[[]],[[]],[[]],[[],["descriptorpublickey",4]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[],[["sortedmultivec",3],["result",4]]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[],["str",15]],[[]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["vec",3],["result",4]]],[[],["u8",15]],[[],["language",4]],[[],["mnemonic",3]],[[],["mnemonictype",4]],[[],["seed",3]],[[]],[[]],[[]],[[]],[[],["language",4]],[[],["mnemonictype",4]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["usize",15]]],[[]],[[["usize",15]]],[[]],[[],["usize",15]],[[["language",4]],["bool",15]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["formatter",3]],[["error",3],["result",4]]],[[["usize",15]],[["result",4],["error",3],["mnemonictype",4]]],[[["str",15]],[["result",4],["error",3],["mnemonictype",4]]],[[["usize",15]],[["result",4],["error",3],["mnemonictype",4]]],[[]],[[]],[[]],[[]],[[["language",4]],[["result",4],["mnemonic",3],["error",3]]],[[["str",15]],[["language",4],["option",4]]],[[["str",15],["language",4]],[["result",4],["mnemonic",3],["error",3]]],[[],[["result",4],["generatedkey",3]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[["option",4],["derivationpath",3],["keysource",6]],[["descriptorkey",4],["keyerror",4],["result",4]]],[[["option",4],["derivationpath",3],["keysource",6]],[["descriptorkey",4],["keyerror",4],["result",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[],[["result",4],["extendedkey",4],["keyerror",4]]],[[],["string",3]],[[],["language",4]],[[["language",4],["mnemonictype",4]],["mnemonic",3]],[[["str",15],["mnemonic",3]],["seed",3]],[[],["str",15]],[[],["string",3]],[[],["string",3]],[[]],[[]],[[]],[[]],[[],["string",3]],[[],["string",3]],[[],["usize",15]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["str",15],["language",4]],[["result",4],["error",3]]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["wordlist",3]],[[],["wordmap",3]],[[],["result",4]],[[]],[[]],[[]],null,null,null,null,null,null,null,[[["arc",3],["addressvalidator",8]]],[[["signerordering",3],["signer",8],["arc",3],["keychainkind",4]]],null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["error",4],["txid",3],["result",4]]],[[["txid",3]],[["txbuilder",3],["error",4],["result",4]]],[[],[["txbuilder",3],["defaultcoinselectionalgorithm",6],["createtx",3]]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["psbt",3],["signoptions",3]],[["error",4],["bool",15],["result",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[["addressindex",4]],[["address",3],["error",4],["result",4]]],[[],[["result",4],["error",4],["u64",15]]],[[["keychainkind",4]],["extendeddescriptor",6]],[[["option",4],["bool",15],["sighashtype",4],["localutxo",3]],[["input",3],["error",4],["result",4]]],[[["outpoint",3]],[["error",4],["option",4],["result",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[],["bool",15]],[[["script",3]],[["error",4],["bool",15],["result",4]]],[[["bool",15]],[["result",4],["error",4],["vec",3]]],[[],[["error",4],["vec",3],["result",4]]],[[],["network",4]],[[["network",4],["option",4],["intowalletdescriptor",8]],[["result",4],["error",4]]],[[["network",4],["option",4],["intowalletdescriptor",8]],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["keychainkind",4]],[["result",4],["error",4],["option",4]]],[[],["secp256k1",3]],[[["psbt",3],["signoptions",3]],[["error",4],["bool",15],["result",4]]],null,[[["option",4],["u32",15],["progress",8]],[["error",4],["result",4]]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],null,null,null,null,null,null,null,[[]],[[]],[[],["addressvalidatorerror",4]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["addressvalidatorerror",4]],["bool",15]],[[],["bool",15]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[],["usize",15]],[[]],[[["addressvalidatorerror",4]],["bool",15]],[[]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[["script",3],["hdkeypaths",6],["keychainkind",4]],[["addressvalidatorerror",4],["result",4]]],[[]],null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["largestfirstcoinselection",3]],[[]],[[["weightedutxo",3],["feerate",3],["vec",3],["u64",15],["f32",15]],[["error",4],["result",4],["coinselectionresult",3]]],[[["weightedutxo",3],["feerate",3],["vec",3],["u64",15],["f32",15]],[["error",4],["result",4],["coinselectionresult",3]]],[[["weightedutxo",3],["feerate",3],["vec",3],["u64",15],["f32",15]],[["error",4],["result",4],["coinselectionresult",3]]],[[],["largestfirstcoinselection",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],null,[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["u64",15]],[[["u64",15]]],null,[[],["u64",15]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],null,null,[[]],[[]],[[],[["option",4],["string",3]]],[[["usize",15]]],[[["usize",15]]],[[],["string",3]],[[],["result",4]],[[["usize",15]]],[[["wallet",3],["bool",15],["str",15]],[["str",15],["result",4]]],[[["formatter",3]],["result",6]],[[]],[[["str",15]],["result",4]],[[],["usize",15]],[[]],null,[[],["result",4]],[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["signerordering",3],["signer",8],["arc",3],["signerid",4]],[["arc",3],["option",4]]],[[["secp256k1",3]],["keymap",6]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["signerid",4]],[[],["signererror",4]],[[],["signerordering",3]],[[],["signerscontainer",3]],[[],["signoptions",3]],[[]],[[]],[[]],[[]],[[]],[[["signerid",4]],["ordering",4]],[[["signerordering",3]],["ordering",4]],[[]],[[],["signerscontainer",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],[["option",4],["descriptorsecretkey",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["signerid",4]],["bool",15]],[[["signererror",4]],["bool",15]],[[["signerordering",3]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["signerid",4]],[["arc",3],["option",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[["fingerprint",3]],["signerid",4]],[[["hash",3]],["signerid",4]],[[]],[[]],[[]],[[["keymap",6]],["signerscontainer",3]],[[]],[[]],[[["secp256k1",3]],["signerid",4]],[[],[["vec",3],["signerid",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[["signerid",4]],["bool",15]],[[["signerordering",3]],["bool",15]],[[]],[[["signerid",4]],[["ordering",4],["option",4]]],[[["signerordering",3]],[["ordering",4],["option",4]]],[[["signerordering",3],["signerid",4]],[["arc",3],["option",4]]],[[["secp256k1",3],["partiallysignedtransaction",3],["usize",15],["option",4]],[["result",4],["signererror",4]]],[[],["bool",15]],[[],[["arc",3],["vec",3]]],[[]],[[]],[[]],[[]],[[]],[[],["string",3]],null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[]],[[]],[[]],[[]],[[]],[[],["u64",15]],null,null,null,null,null,null,null,null,null,null,null,null,[[["outpoint",3],["usize",15],["input",3]],[["error",4],["result",4]]],[[]],[[["script",3],["u64",15]]],[[["outpoint",3]]],[[["outpoint",3]],[["error",4],["result",4]]],[[],[["error",4],["result",4]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["changespendpolicy",4]]],[[],["createtx",3]],[[],["bumpfee",3]],[[]],[[],["txordering",4]],[[],["changespendpolicy",4]],[[]],[[]],[[]],[[]],[[]],[[["txordering",4]],["ordering",4]],[[["changespendpolicy",4]],["ordering",4]],[[["coinselectionalgorithm",8]],[["txbuilder",3],["coinselectionalgorithm",8]]],[[],["createtx",3]],[[],["bumpfee",3]],[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["u32",15]]],[[["txordering",4]],["bool",15]],[[["changespendpolicy",4]],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[["u64",15]]],[[["feerate",3]]],[[],[["result",4],["error",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[],[["error",4],["result",4]]],[[]],[[["u32",15]]],[[]],[[]],[[["txordering",4]]],[[["txordering",4]],[["ordering",4],["option",4]]],[[["changespendpolicy",4]],[["ordering",4],["option",4]]],[[["btreemap",3],["string",3],["vec",3],["keychainkind",4]]],[[["vec",3]]],[[["script",3]]],[[["sighashtype",4]]],[[["transaction",3]]],[[]],[[]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["vec",3],["outpoint",3]]],[[["i32",15]]],[[]],[[]],[[]],[[]],[[]]],"p":[[4,"Error"],[4,"KeychainKind"],[4,"Utxo"],[3,"FeeRate"],[3,"LocalUtxo"],[3,"WeightedUtxo"],[3,"TransactionDetails"],[6,"MnemonicWithPassphrase"],[6,"DescriptorTemplateOut"],[6,"ExtendedDescriptor"],[13,"InsufficientFunds"],[13,"FeeRateTooLow"],[13,"FeeTooLow"],[13,"Foreign"],[4,"Capability"],[8,"ConfigurableBlockchain"],[3,"NoopProgress"],[3,"LogProgress"],[8,"Blockchain"],[8,"Progress"],[4,"AnyBlockchain"],[4,"AnyBlockchainConfig"],[4,"CompactFiltersError"],[3,"Mempool"],[3,"BitcoinPeerConfig"],[3,"Peer"],[3,"CompactFiltersBlockchain"],[3,"CompactFiltersBlockchainConfig"],[3,"ElectrumBlockchain"],[3,"ElectrumBlockchainConfig"],[4,"EsploraError"],[3,"EsploraBlockchainConfig"],[3,"EsploraBlockchain"],[8,"BatchDatabase"],[8,"ConfigurableDatabase"],[8,"Database"],[8,"BatchOperations"],[4,"AnyBatch"],[4,"AnyDatabase"],[4,"AnyDatabaseConfig"],[3,"SledDbConfiguration"],[3,"MemoryDatabase"],[4,"Descriptor"],[4,"Legacy"],[4,"Segwitv0"],[3,"Miniscript"],[3,"DerivedDescriptorKey"],[8,"ScriptContext"],[8,"ExtractPolicy"],[8,"IntoWalletDescriptor"],[4,"Error"],[4,"SatisfiableItem"],[4,"PolicyError"],[4,"Satisfaction"],[4,"BuildSatisfaction"],[3,"PkOrF"],[3,"Policy"],[3,"Condition"],[13,"PsbtTimelocks"],[13,"Complete"],[13,"Partial"],[13,"PartialComplete"],[13,"Sha256Preimage"],[13,"Hash256Preimage"],[13,"Ripemd160Preimage"],[13,"Hash160Preimage"],[13,"Thresh"],[13,"Multisig"],[13,"AbsoluteTimelock"],[13,"RelativeTimelock"],[3,"P2Pkh"],[3,"P2Wpkh_P2Sh"],[3,"P2Wpkh"],[3,"Bip44"],[3,"Bip44Public"],[3,"Bip49"],[3,"Bip49Public"],[3,"Bip84"],[3,"Bip84Public"],[8,"DescriptorTemplate"],[4,"KeyError"],[8,"GeneratableKey"],[4,"ScriptContextEnum"],[4,"ExtendedKey"],[4,"DescriptorSecretKey"],[4,"DescriptorPublicKey"],[8,"ExtScriptContext"],[3,"GeneratedKey"],[4,"DescriptorKey"],[3,"PrivateKeyGenerateOptions"],[3,"SortedMultiVec"],[3,"DescriptorSinglePub"],[3,"DescriptorSinglePriv"],[8,"GeneratableDefaultOptions"],[8,"IntoDescriptorKey"],[8,"DerivableKey"],[4,"Language"],[4,"MnemonicType"],[3,"Seed"],[3,"Mnemonic"],[4,"AddressIndex"],[3,"Wallet"],[8,"IsDust"],[4,"AddressValidatorError"],[8,"AddressValidator"],[3,"CoinSelectionResult"],[3,"LargestFirstCoinSelection"],[3,"BranchAndBoundCoinSelection"],[8,"CoinSelectionAlgorithm"],[3,"WalletExport"],[3,"SignerOrdering"],[4,"SignerId"],[4,"SignerError"],[3,"SignersContainer"],[3,"SignOptions"],[8,"Signer"],[4,"TxOrdering"],[4,"ChangeSpendPolicy"],[3,"TxBuilder"],[3,"CreateTx"],[3,"BumpFee"]]}\ }'); if (window.initSearch) {window.initSearch(searchIndex)}; \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/any.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/any.rs.html index 044cc4902b..532ee260dc 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/any.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/any.rs.html @@ -1,7 +1,7 @@ any.rs - source
  1
+                Change settings
  1
   2
   3
   4
@@ -247,7 +247,7 @@
 244
 245
 246
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/mod.rs.html
index 0364654b3e..2526e70836 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/mod.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/mod.rs.html
@@ -1,7 +1,7 @@
 mod.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -570,7 +570,7 @@
 567
 568
 569
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/peer.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/peer.rs.html
index 729b9dd5c1..3a80f1ab18 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/peer.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/peer.rs.html
@@ -1,7 +1,7 @@
 peer.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -573,7 +573,7 @@
 570
 571
 572
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/store.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/store.rs.html
index 3eed2b5e21..0419dc2422 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/store.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/store.rs.html
@@ -1,7 +1,7 @@
 store.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -851,7 +851,7 @@
 848
 849
 850
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/sync.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/sync.rs.html
index 0de7515a2b..446035b943 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/sync.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/sync.rs.html
@@ -1,7 +1,7 @@
 sync.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -297,7 +297,7 @@
 294
 295
 296
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html
index e4afdf32e1..5a1c9e435f 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html
@@ -1,7 +1,7 @@
 electrum.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -178,7 +178,7 @@
 175
 176
 177
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html
index f261009873..8faef9bcf7 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html
@@ -1,7 +1,7 @@
 esplora.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -417,7 +417,7 @@
 414
 415
 416
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/mod.rs.html
index d5f540a11f..a65fcc4c19 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/mod.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/mod.rs.html
@@ -1,7 +1,7 @@
 mod.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -242,7 +242,7 @@
 239
 240
 241
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/utils.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/utils.rs.html
index afc312d70c..df93c9a96a 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/utils.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/utils.rs.html
@@ -1,7 +1,7 @@
 utils.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -385,7 +385,7 @@
 382
 383
 384
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/database/any.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/database/any.rs.html
index 3e125e66a5..31145a5071 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/database/any.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/database/any.rs.html
@@ -1,7 +1,7 @@
 any.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -367,7 +367,7 @@
 364
 365
 366
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/database/keyvalue.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/database/keyvalue.rs.html
index 2d1b3124f1..cca6f468df 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/database/keyvalue.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/database/keyvalue.rs.html
@@ -1,7 +1,7 @@
 keyvalue.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -469,7 +469,7 @@
 466
 467
 468
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html
index 8b6958b6d7..69bad97bce 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html
@@ -1,7 +1,7 @@
 memory.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -585,7 +585,7 @@
 582
 583
 584
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/database/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/database/mod.rs.html
index 534f9e9270..d8613a732f 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/database/mod.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/database/mod.rs.html
@@ -1,7 +1,7 @@
 mod.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -371,7 +371,7 @@
 368
 369
 370
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/checksum.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/checksum.rs.html
index 43795cce7b..0b3f7699ac 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/checksum.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/checksum.rs.html
@@ -1,7 +1,7 @@
 checksum.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -114,7 +114,7 @@
 111
 112
 113
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/derived.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/derived.rs.html
index 524153239b..ee4ee52e91 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/derived.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/derived.rs.html
@@ -1,7 +1,7 @@
 derived.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -151,7 +151,7 @@
 148
 149
 150
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/dsl.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/dsl.rs.html
index 29ef65b103..92bf28642b 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/dsl.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/dsl.rs.html
@@ -1,7 +1,7 @@
 dsl.rs - source
 
 
   1
+                Change settings
   1
    2
    3
    4
@@ -1045,7 +1045,7 @@
 1042
 1043
 1044
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/error.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/error.rs.html
index e2eb9ff609..ad3c728983 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/error.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/error.rs.html
@@ -1,7 +1,7 @@
 error.rs - source
 
 
 1
+                Change settings
 1
  2
  3
  4
@@ -70,7 +70,7 @@
 67
 68
 69
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/mod.rs.html
index 8c8911cb84..183f46c553 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/mod.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/mod.rs.html
@@ -1,7 +1,7 @@
 mod.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -805,7 +805,7 @@
 802
 803
 804
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/policy.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/policy.rs.html
index 57c3081c3c..129fbe23da 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/policy.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/policy.rs.html
@@ -1,7 +1,7 @@
 policy.rs - source
 
 
   1
+                Change settings
   1
    2
    3
    4
@@ -1610,7 +1610,7 @@
 1607
 1608
 1609
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/template.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/template.rs.html
index d429d32ddb..c4a86b5a00 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/template.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/template.rs.html
@@ -1,7 +1,7 @@
 template.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -727,7 +727,7 @@
 724
 725
 726
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/error.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/error.rs.html
index fd283fa65b..a7ba076bc3 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/error.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/error.rs.html
@@ -1,7 +1,7 @@
 error.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -192,7 +192,7 @@
 189
 190
 191
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/keys/bip39.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/keys/bip39.rs.html
index 82f39b447c..8933dbddd2 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/keys/bip39.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/keys/bip39.rs.html
@@ -1,7 +1,7 @@
 bip39.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -191,7 +191,7 @@
 188
 189
 190
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/keys/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/keys/mod.rs.html
index 97d050d48b..74a1ba2926 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/keys/mod.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/keys/mod.rs.html
@@ -1,7 +1,7 @@
 mod.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -921,7 +921,7 @@
 918
 919
 920
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html
index f2ea1a8cce..4c17eaa7d1 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html
@@ -1,7 +1,7 @@
 lib.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -267,7 +267,7 @@
 264
 265
 266
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/psbt/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/psbt/mod.rs.html
index 1ef18e6337..22be052bb5 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/psbt/mod.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/psbt/mod.rs.html
@@ -1,7 +1,7 @@
 mod.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -122,7 +122,7 @@
 119
 120
 121
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/types.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/types.rs.html
index b7de2742b4..6dd494b8cb 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/types.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/types.rs.html
@@ -1,7 +1,7 @@
 types.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -180,7 +180,7 @@
 177
 178
 179
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html
index e6927d6074..ea1ed4c680 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html
@@ -1,7 +1,7 @@
 address_validator.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -155,7 +155,7 @@
 152
 153
 154
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/coin_selection.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/coin_selection.rs.html
index 88079cc114..83126f7477 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/coin_selection.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/coin_selection.rs.html
@@ -1,7 +1,7 @@
 coin_selection.rs - source
 
 
   1
+                Change settings
   1
    2
    3
    4
@@ -1039,7 +1039,7 @@
 1036
 1037
 1038
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/export.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/export.rs.html
index dff852d613..448ed010b4 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/export.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/export.rs.html
@@ -1,7 +1,7 @@
 export.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -347,7 +347,7 @@
 344
 345
 346
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html
index 6d02199c1d..d545e262b7 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html
@@ -1,7 +1,7 @@
 mod.rs - source
 
 
   1
+                Change settings
   1
    2
    3
    4
@@ -3811,7 +3811,7 @@
 3808
 3809
 3810
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/signer.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/signer.rs.html
index 0a95291221..8b8d1c078f 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/signer.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/signer.rs.html
@@ -1,7 +1,7 @@
 signer.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -754,7 +754,7 @@
 751
 752
 753
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/time.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/time.rs.html
index 9107d1689a..5bd26891f5 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/time.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/time.rs.html
@@ -1,7 +1,7 @@
 time.rs - source
 
 
 1
+                Change settings
 1
  2
  3
  4
@@ -74,7 +74,7 @@
 71
 72
 73
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/tx_builder.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/tx_builder.rs.html
index e5034f6dc3..256c287528 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/tx_builder.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/tx_builder.rs.html
@@ -1,7 +1,7 @@
 tx_builder.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -851,10 +851,7 @@
 848
 849
 850
-851
-852
-853
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
@@ -976,9 +973,6 @@
 #[derive(Debug)]
 pub struct TxBuilder<'a, B, D, Cs, Ctx> {
     pub(crate) wallet: &'a Wallet<B, D>,
-    // params and coin_selection are Options not becasue they are optionally set (they are always
-    // there) but because `.finish()` uses `Option::take` to get an owned value from a &mut self.
-    // They are only `None` after `.finish()` is called.
     pub(crate) params: TxParams,
     pub(crate) coin_selection: Cs,
     pub(crate) phantom: PhantomData<Ctx>,
diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/utils.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/utils.rs.html
index 8488db2780..ef941e236c 100644
--- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/utils.rs.html
+++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/utils.rs.html
@@ -1,7 +1,7 @@
 utils.rs - source
 
 
  1
+                Change settings
  1
   2
   3
   4
@@ -267,7 +267,7 @@
 264
 265
 266
-
+
 // Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-- 
2.49.0