From f92fbdb2c8f73539f5ed4f98308d7a87ebad98f5 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 6 Jun 2021 02:24:32 +0000 Subject: [PATCH] Publish autogenerated nightly docs --- static/docs-rs/bdk/nightly/latest/ayu.css | 2 +- .../docs-rs/bdk/nightly/latest/bdk/all.html | 7 +- .../blockchain/any/enum.AnyBlockchain.html | 67 +++--- .../any/enum.AnyBlockchainConfig.html | 69 +++---- .../latest/bdk/blockchain/any/index.html | 7 +- .../enum.CompactFiltersError.html | 69 +++---- .../bdk/blockchain/compact_filters/index.html | 7 +- .../compact_filters/peer/struct.Mempool.html | 1 + .../compact_filters/peer/struct.Peer.html | 1 + .../struct.BitcoinPeerConfig.html | 63 +++--- .../struct.CompactFiltersBlockchain.html | 67 +++--- ...struct.CompactFiltersBlockchainConfig.html | 65 +++--- .../compact_filters/struct.Mempool.html | 57 +++--- .../compact_filters/struct.Peer.html | 61 +++--- .../latest/bdk/blockchain/electrum/index.html | 7 +- .../electrum/struct.ElectrumBlockchain.html | 65 +++--- .../struct.ElectrumBlockchainConfig.html | 65 +++--- .../bdk/blockchain/enum.Capability.html | 65 +++--- .../blockchain/esplora/enum.EsploraError.html | 67 +++--- .../latest/bdk/blockchain/esplora/index.html | 7 +- .../esplora/struct.EsploraBlockchain.html | 67 +++--- .../struct.EsploraBlockchainConfig.html | 65 +++--- .../bdk/blockchain/fn.log_progress.html | 7 +- .../bdk/blockchain/fn.noop_progress.html | 7 +- .../latest/bdk/blockchain/fn.progress.html | 7 +- .../nightly/latest/bdk/blockchain/index.html | 7 +- .../bdk/blockchain/struct.LogProgress.html | 55 +++-- .../bdk/blockchain/struct.NoopProgress.html | 55 +++-- .../bdk/blockchain/trait.Blockchain.html | 21 +- .../trait.ConfigurableBlockchain.html | 11 +- .../latest/bdk/blockchain/trait.Progress.html | 9 +- .../bdk/blockchain/type.ProgressData.html | 7 +- .../bdk/database/any/enum.AnyBatch.html | 69 +++---- .../bdk/database/any/enum.AnyDatabase.html | 105 +++++----- .../database/any/enum.AnyDatabaseConfig.html | 53 +++-- .../latest/bdk/database/any/index.html | 7 +- .../any/struct.SledDbConfiguration.html | 51 +++-- .../nightly/latest/bdk/database/index.html | 7 +- .../latest/bdk/database/memory/index.html | 7 +- .../memory/struct.MemoryDatabase.html | 109 +++++----- .../bdk/database/trait.BatchDatabase.html | 13 +- .../bdk/database/trait.BatchOperations.html | 29 ++- .../database/trait.ConfigurableDatabase.html | 11 +- .../latest/bdk/database/trait.Database.html | 31 ++- .../descriptor/checksum/fn.get_checksum.html | 7 +- .../latest/bdk/descriptor/checksum/index.html | 7 +- .../descriptor/derived/enum.Descriptor.html | 1 + .../derived/enum.DescriptorPublicKey.html | 1 + .../bdk/descriptor/derived/enum.Legacy.html | 1 + .../bdk/descriptor/derived/enum.Segwitv0.html | 1 + .../derived/struct.DerivedDescriptorKey.html | 1 + .../descriptor/derived/struct.Miniscript.html | 1 + .../derived/trait.ScriptContext.html | 1 + .../bdk/descriptor/derived/type.KeyMap.html | 1 + .../bdk/descriptor/enum.Descriptor.html | 165 ++++++++------- .../latest/bdk/descriptor/enum.Legacy.html | 113 +++++----- .../latest/bdk/descriptor/enum.Segwitv0.html | 113 +++++----- .../bdk/descriptor/error/enum.Error.html | 73 ++++--- .../latest/bdk/descriptor/error/index.html | 7 +- .../nightly/latest/bdk/descriptor/index.html | 7 +- .../policy/enum.BuildSatisfaction.html | 55 +++-- .../descriptor/policy/enum.PolicyError.html | 67 +++--- .../descriptor/policy/enum.Satisfaction.html | 61 +++--- .../policy/enum.SatisfiableItem.html | 63 +++--- .../latest/bdk/descriptor/policy/index.html | 7 +- .../descriptor/policy/struct.Condition.html | 89 ++++---- .../bdk/descriptor/policy/struct.PkOrF.html | 59 +++--- .../bdk/descriptor/policy/struct.Policy.html | 63 +++--- .../descriptor/policy/type.ConditionMap.html | 7 +- .../policy/type.FoldedConditionMap.html | 7 +- .../struct.DerivedDescriptorKey.html | 113 +++++----- .../bdk/descriptor/struct.Miniscript.html | 193 +++++++++--------- .../latest/bdk/descriptor/template/index.html | 7 +- .../bdk/descriptor/template/struct.Bip44.html | 47 +++-- .../template/struct.Bip44Public.html | 47 +++-- .../bdk/descriptor/template/struct.Bip49.html | 47 +++-- .../template/struct.Bip49Public.html | 47 +++-- .../bdk/descriptor/template/struct.Bip84.html | 47 +++-- .../template/struct.Bip84Public.html | 47 +++-- .../bdk/descriptor/template/struct.P2Pkh.html | 47 +++-- .../descriptor/template/struct.P2Wpkh.html | 47 +++-- .../template/struct.P2Wpkh_P2Sh.html | 47 +++-- .../template/trait.DescriptorTemplate.html | 11 +- .../template/type.DescriptorTemplateOut.html | 9 +- .../bdk/descriptor/trait.ExtractPolicy.html | 9 +- .../trait.IntoWalletDescriptor.html | 11 +- .../bdk/descriptor/trait.ScriptContext.html | 31 ++- .../descriptor/type.DerivedDescriptor.html | 7 +- .../descriptor/type.ExtendedDescriptor.html | 9 +- .../bdk/descriptor/type.HdKeyPaths.html | 7 +- .../latest/bdk/descriptor/type.KeyMap.html | 7 +- .../bdk/nightly/latest/bdk/enum.Error.html | 91 ++++----- .../nightly/latest/bdk/enum.KeychainKind.html | 83 ++++---- .../bdk/nightly/latest/bdk/enum.Utxo.html | 63 +++--- .../nightly/latest/bdk/error/enum.Error.html | 1 + .../bdk/nightly/latest/bdk/fn.version.html | 7 +- .../docs-rs/bdk/nightly/latest/bdk/index.html | 7 +- .../latest/bdk/keys/bip39/enum.Language.html | 69 +++---- .../bdk/keys/bip39/enum.MnemonicType.html | 75 ++++--- .../nightly/latest/bdk/keys/bip39/index.html | 7 +- .../bdk/keys/bip39/struct.Mnemonic.html | 101 +++++---- .../latest/bdk/keys/bip39/struct.Seed.html | 85 ++++---- .../bip39/type.MnemonicWithPassphrase.html | 11 +- .../latest/bdk/keys/enum.DescriptorKey.html | 55 +++-- .../bdk/keys/enum.DescriptorPublicKey.html | 111 +++++----- .../bdk/keys/enum.DescriptorSecretKey.html | 57 +++--- .../latest/bdk/keys/enum.ExtendedKey.html | 59 +++--- .../latest/bdk/keys/enum.KeyError.html | 65 +++--- .../bdk/keys/enum.ScriptContextEnum.html | 65 +++--- .../latest/bdk/keys/fn.any_network.html | 7 +- .../latest/bdk/keys/fn.mainnet_network.html | 7 +- .../latest/bdk/keys/fn.merge_networks.html | 7 +- .../latest/bdk/keys/fn.test_networks.html | 7 +- .../bdk/nightly/latest/bdk/keys/index.html | 7 +- .../bdk/keys/struct.DescriptorSinglePriv.html | 45 ++-- .../bdk/keys/struct.DescriptorSinglePub.html | 83 ++++---- .../latest/bdk/keys/struct.GeneratedKey.html | 55 +++-- .../struct.PrivateKeyGenerateOptions.html | 57 +++--- .../bdk/keys/struct.SortedMultiVec.html | 109 +++++----- .../latest/bdk/keys/trait.DerivableKey.html | 13 +- .../bdk/keys/trait.ExtScriptContext.html | 13 +- .../keys/trait.GeneratableDefaultOptions.html | 13 +- .../latest/bdk/keys/trait.GeneratableKey.html | 17 +- .../bdk/keys/trait.IntoDescriptorKey.html | 21 +- .../latest/bdk/keys/trait.ScriptContext.html | 31 ++- .../nightly/latest/bdk/keys/type.KeyMap.html | 7 +- .../latest/bdk/keys/type.ValidNetworks.html | 7 +- .../nightly/latest/bdk/macro.descriptor!.html | 1 + .../nightly/latest/bdk/macro.descriptor.html | 7 +- .../nightly/latest/bdk/macro.fragment!.html | 1 + .../nightly/latest/bdk/macro.fragment.html | 7 +- .../nightly/latest/bdk/struct.FeeRate.html | 79 ++++--- .../nightly/latest/bdk/struct.LocalUtxo.html | 65 +++--- .../latest/bdk/struct.TransactionDetails.html | 67 +++--- .../latest/bdk/struct.WeightedUtxo.html | 59 +++--- .../latest/bdk/types/enum.KeychainKind.html | 1 + .../nightly/latest/bdk/types/enum.Utxo.html | 1 + .../latest/bdk/types/struct.FeeRate.html | 1 + .../latest/bdk/types/struct.LocalUtxo.html | 1 + .../bdk/types/struct.TransactionDetails.html | 1 + .../latest/bdk/types/struct.WeightedUtxo.html | 1 + .../enum.AddressValidatorError.html | 75 ++++--- .../bdk/wallet/address_validator/index.html | 7 +- .../trait.AddressValidator.html | 9 +- .../bdk/wallet/coin_selection/index.html | 36 ++-- .../struct.BranchAndBoundCoinSelection.html | 51 +++-- .../struct.CoinSelectionResult.html | 49 +++-- .../struct.LargestFirstCoinSelection.html | 59 +++--- .../trait.CoinSelectionAlgorithm.html | 9 +- .../type.DefaultCoinSelectionAlgorithm.html | 7 +- .../latest/bdk/wallet/enum.AddressIndex.html | 45 ++-- .../latest/bdk/wallet/export/index.html | 7 +- .../wallet/export/struct.WalletExport.html | 61 +++--- .../bdk/nightly/latest/bdk/wallet/index.html | 7 +- .../bdk/wallet/signer/enum.SignerError.html | 75 ++++--- .../bdk/wallet/signer/enum.SignerId.html | 87 ++++---- .../latest/bdk/wallet/signer/index.html | 7 +- .../bdk/wallet/signer/struct.SignOptions.html | 57 +++--- .../wallet/signer/struct.SignerOrdering.html | 81 ++++---- .../signer/struct.SignersContainer.html | 73 ++++--- .../bdk/wallet/signer/trait.Signer.html | 15 +- .../latest/bdk/wallet/struct.AddressInfo.html | 63 +++--- .../latest/bdk/wallet/struct.Wallet.html | 91 ++++----- .../bdk/wallet/time/fn.get_timestamp.html | 7 +- .../nightly/latest/bdk/wallet/time/index.html | 7 +- .../latest/bdk/wallet/trait.IsDust.html | 9 +- .../tx_builder/enum.ChangeSpendPolicy.html | 85 ++++---- .../wallet/tx_builder/enum.TxOrdering.html | 87 ++++---- .../latest/bdk/wallet/tx_builder/index.html | 7 +- .../bdk/wallet/tx_builder/struct.BumpFee.html | 57 +++--- .../wallet/tx_builder/struct.CreateTx.html | 57 +++--- .../wallet/tx_builder/struct.TxBuilder.html | 125 ++++++------ .../tx_builder/trait.TxBuilderContext.html | 7 +- .../latest/bdk/wallet/utils/trait.IsDust.html | 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 | 2 +- static/docs-rs/bdk/nightly/latest/rustdoc.css | 2 +- .../bdk/nightly/latest/search-index.js | 2 +- .../docs-rs/bdk/nightly/latest/settings.html | 7 +- .../bdk/nightly/latest/sidebar-items.js | 1 - .../latest/src/bdk/blockchain/any.rs.html | 7 +- .../blockchain/compact_filters/mod.rs.html | 7 +- .../blockchain/compact_filters/peer.rs.html | 7 +- .../blockchain/compact_filters/store.rs.html | 7 +- .../blockchain/compact_filters/sync.rs.html | 7 +- .../src/bdk/blockchain/electrum.rs.html | 7 +- .../latest/src/bdk/blockchain/esplora.rs.html | 7 +- .../latest/src/bdk/blockchain/mod.rs.html | 7 +- .../latest/src/bdk/blockchain/utils.rs.html | 7 +- .../latest/src/bdk/database/any.rs.html | 7 +- .../latest/src/bdk/database/keyvalue.rs.html | 7 +- .../latest/src/bdk/database/memory.rs.html | 7 +- .../latest/src/bdk/database/mod.rs.html | 7 +- .../src/bdk/descriptor/checksum.rs.html | 7 +- .../latest/src/bdk/descriptor/derived.rs.html | 7 +- .../latest/src/bdk/descriptor/dsl.rs.html | 7 +- .../latest/src/bdk/descriptor/error.rs.html | 7 +- .../latest/src/bdk/descriptor/mod.rs.html | 7 +- .../latest/src/bdk/descriptor/policy.rs.html | 7 +- .../src/bdk/descriptor/template.rs.html | 9 +- .../bdk/nightly/latest/src/bdk/error.rs.html | 7 +- .../nightly/latest/src/bdk/keys/bip39.rs.html | 7 +- .../nightly/latest/src/bdk/keys/mod.rs.html | 17 +- .../bdk/nightly/latest/src/bdk/lib.rs.html | 7 +- .../nightly/latest/src/bdk/psbt/mod.rs.html | 7 +- .../latest/src/bdk/testutils/mod.rs.html | 7 +- .../bdk/nightly/latest/src/bdk/types.rs.html | 7 +- .../src/bdk/wallet/address_validator.rs.html | 7 +- .../src/bdk/wallet/coin_selection.rs.html | 43 ++-- .../latest/src/bdk/wallet/export.rs.html | 7 +- .../nightly/latest/src/bdk/wallet/mod.rs.html | 7 +- .../latest/src/bdk/wallet/signer.rs.html | 7 +- .../latest/src/bdk/wallet/time.rs.html | 7 +- .../latest/src/bdk/wallet/tx_builder.rs.html | 25 ++- .../latest/src/bdk/wallet/utils.rs.html | 7 +- 216 files changed, 3433 insertions(+), 3570 deletions(-) delete mode 100644 static/docs-rs/bdk/nightly/latest/sidebar-items.js diff --git a/static/docs-rs/bdk/nightly/latest/ayu.css b/static/docs-rs/bdk/nightly/latest/ayu.css index e4b2af2f76..6d013803d8 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,.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;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#000 !important;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;}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-input:disabled{background-color:#3e3e3e;}.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;}.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 span.struct,.content a.struct,.block a.current.struct{}#titles>button:hover,#titles>button.selected{}.content span.type,.content a.type,.block a.current.type{}.content span.union,.content a.union,.block a.current.union{}pre.rust .lifetime{}.stab.unstable{}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 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 a.attr,.content a.derive,.content a.macro{}.stab.portability{}.content span.primitive,.content a.primitive,.block a.current.primitive{}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{}pre.rust .kw-2,pre.rust .prelude-ty{}.content span.trait,.content a.trait,.block a.current.trait{}.search-results a:focus span{}a.result-trait:focus{}a.result-traitalias:focus{}a.result-mod:focus,a.result-externcrate:focus{}a.result-mod:focus{}a.result-externcrate:focus{}a.result-enum:focus{}a.result-struct:focus{}a.result-union:focus{}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{}a.result-type:focus{}a.result-foreigntype:focus{}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{}a.result-constant:focus,a.result-static:focus{}a.result-primitive:focus{}a.result-keyword:focus{}@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{border-color:#5c6773;background-color:#0f1419;color:#fff;}#theme-picker>img,#settings-menu>img{filter:invert(100);}#copy-path{color:#fff;}#copy-path>img{filter:invert(70%);}#copy-path:hover>img{filter:invert(100%);}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button: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 .result-name span.alias{color:#c5c5c5;}.search-results .result-name 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,h4{color:white;}h1.fqn{border-bottom-color:#5c6773;}h1.fqn a{color:#fff;}h2,h3,h4{border-bottom-color:#5c6773;}h4{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;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#000 !important;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;}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-input:disabled{background-color:#3e3e3e;}.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;}.notable-traits-tooltiptext .notable{border-bottom-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;}.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 span.struct,.content a.struct,.block a.current.struct{}#titles>button:hover,#titles>button.selected{}.content span.type,.content a.type,.block a.current.type{}.content span.union,.content a.union,.block a.current.union{}pre.rust .lifetime{}.stab.unstable{}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 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 a.attr,.content a.derive,.content a.macro{}.stab.portability{}.content span.primitive,.content a.primitive,.block a.current.primitive{}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{}pre.rust .kw-2,pre.rust .prelude-ty{}.content span.trait,.content a.trait,.block a.current.trait{}.search-results a:focus span{}a.result-trait:focus{}a.result-traitalias:focus{}a.result-mod:focus,a.result-externcrate:focus{}a.result-mod:focus{}a.result-externcrate:focus{}a.result-enum:focus{}a.result-struct:focus{}a.result-union:focus{}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{}a.result-type:focus{}a.result-foreigntype:focus{}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{}a.result-constant:focus,a.result-static:focus{}a.result-primitive:focus{}a.result-keyword:focus{}@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{border-color:#5c6773;background-color:#0f1419;color:#fff;}#theme-picker>img,#settings-menu>img{filter:invert(100);}#copy-path{color:#fff;}#copy-path>img{filter:invert(70%);}#copy-path:hover>img{filter:invert(100%);}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button: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 .result-name span.alias{color:#c5c5c5;}.search-results .result-name 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/all.html b/static/docs-rs/bdk/nightly/latest/bdk/all.html index 8efbd7e63a..d9498ee622 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/all.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/all.html @@ -1,7 +1,6 @@ List of all items in this crate -

List of all items[] +

List of all items[] -

Structs

Enums

Traits

Macros

Functions

Typedefs

- \ No newline at end of file +

Structs

Enums

Traits

Macros

Functions

Typedefs

\ 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 5a16ddb452..e6d643a828 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,7 +1,7 @@ AnyBlockchain in bdk::blockchain::any - Rust -

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

pub enum AnyBlockchain {
+

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

pub enum AnyBlockchain {
     Electrum(ElectrumBlockchain),
     Esplora(EsploraBlockchain),
     CompactFilters(CompactFiltersBlockchain),
@@ -13,37 +13,36 @@
 
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

-

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

-

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

-

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

Type that contains the configuration

-

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

Create a new instance given a configuration

-

impl From<CompactFiltersBlockchain> for AnyBlockchain[src]

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

Performs the conversion.

-

impl From<ElectrumBlockchain> for AnyBlockchain[src]

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

Performs the conversion.

-

impl From<EsploraBlockchain> for AnyBlockchain[src]

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

Performs the conversion.

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

Return the set of Capability supported by this backend

+

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

+

Populate the internal database with transactions and UTXOs Read more

+

Fetch a transaction from the blockchain given its txid

+

Broadcast a transaction

+

Return the current height

+

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

+

Type that contains the configuration

+

Create a new instance given a configuration

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 2db9334895..087a96feca 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,7 +1,7 @@ AnyBlockchainConfig in bdk::blockchain::any - Rust -

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

pub enum AnyBlockchainConfig {
+

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

pub enum AnyBlockchainConfig {
     Electrum(ElectrumBlockchainConfig),
     Esplora(EsploraBlockchainConfig),
     CompactFilters(CompactFiltersBlockchainConfig),
@@ -35,40 +35,39 @@ will find this particularly useful.

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

-

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

-

impl From<CompactFiltersBlockchainConfig> for AnyBlockchainConfig[src]

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

Performs the conversion.

-

impl From<ElectrumBlockchainConfig> for AnyBlockchainConfig[src]

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

Performs the conversion.

-

impl From<EsploraBlockchainConfig> for AnyBlockchainConfig[src]

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

Performs the conversion.

-

impl PartialEq<AnyBlockchainConfig> for AnyBlockchainConfig[src]

fn eq(&self, other: &AnyBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

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

-

fn ne(&self, other: &AnyBlockchainConfig) -> bool[src]

This method tests for !=.

-

impl Serialize for AnyBlockchainConfig[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 StructuralPartialEq for AnyBlockchainConfig[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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 f1ea3b2ce9..bf80e35bd1 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]

Expand description

Runtime-checked blockchain types

+

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

@@ -44,5 +44,4 @@ blockchain type supported using a single line of code:

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

-
- \ No newline at end of file +
\ No newline at end of file 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 2f08e44cf2..189a669ed9 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 {
+

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

pub enum CompactFiltersError {
 
Show variants InvalidResponse, InvalidHeaders, InvalidFilterHeader, @@ -35,38 +35,37 @@
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

-

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

-

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

-

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

-

impl From<CompactFiltersError> for Error[src]

fn from(other: CompactFiltersError) -> Self[src]

Performs the conversion.

-

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for CompactFiltersError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<SystemTimeError> for CompactFiltersError[src]

fn from(err: SystemTimeError) -> Self[src]

Performs the conversion.

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

Formats the value using the given formatter. Read more

+

Formats the value using the given formatter. Read more

+

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

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

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

+
👎 Deprecated since 1.42.0:

use the Display impl or to_string()

+
👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

Converts the given value to a String. Read more

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 091cda8205..9367fdaf49 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.
Expand description

Compact Filters

+

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.

@@ -36,5 +36,4 @@ desirable to use multiple threads at once to sync in parallel.

Peer

A Bitcoin peer

Enums

CompactFiltersError

An error that can occur during sync with a CompactFiltersBlockchain

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/peer/struct.Mempool.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/peer/struct.Mempool.html index cd04378cbe..744f72d99d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/peer/struct.Mempool.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/peer/struct.Mempool.html @@ -2,6 +2,7 @@ + Redirection

Redirecting to ../../../../bdk/blockchain/compact_filters/struct.Mempool.html...

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/peer/struct.Peer.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/peer/struct.Peer.html index 11332c3bdb..4a3da2bc20 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/peer/struct.Peer.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/peer/struct.Peer.html @@ -2,6 +2,7 @@ + Redirection

Redirecting to ../../../../bdk/blockchain/compact_filters/struct.Peer.html...

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 6948dac573..1869ef8f1e 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,7 +1,7 @@ BitcoinPeerConfig in bdk::blockchain::compact_filters - Rust -

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

pub struct BitcoinPeerConfig {
+

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

pub struct BitcoinPeerConfig {
     pub address: String,
     pub socks5: Option<String>,
     pub socks5_credentials: Option<(String, String)>,
@@ -10,37 +10,36 @@
                        Fieldsaddress: 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

-

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

-

impl PartialEq<BitcoinPeerConfig> for BitcoinPeerConfig[src]

fn eq(&self, other: &BitcoinPeerConfig) -> bool[src]

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

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

-

fn ne(&self, other: &BitcoinPeerConfig) -> bool[src]

This method tests for !=.

-

impl Serialize for BitcoinPeerConfig[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 StructuralPartialEq for BitcoinPeerConfig[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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 9790a4d0b2..b4c8306943 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,46 +1,45 @@ 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.
Expand description

Structure implementing the required blockchain traits

+

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

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 in parallel. It’s currently recommended to only connect to a single peer to avoid inconsistencies in the data returned, optionally with multiple connections in parallel to speed-up the sync process.

-

Trait Implementations

impl Blockchain for CompactFiltersBlockchain[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 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

-

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

-

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

type Config = CompactFiltersBlockchainConfig

Type that contains the configuration

-

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

Create a new instance given a configuration

-

impl Debug for CompactFiltersBlockchain[src]

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

Formats the value using the given formatter. Read more

-

impl From<CompactFiltersBlockchain> for AnyBlockchain[src]

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

Performs the conversion.

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

Return the set of Capability supported by this backend

+

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

+

Fetch a transaction from the blockchain given its txid

+

Broadcast a transaction

+

Return the current height

+

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

+

Populate the internal database with transactions and UTXOs Read more

+

Type that contains the configuration

+

Create a new instance given a configuration

+

Formats the value using the given formatter. Read more

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 2af3dfde9f..5b352adfb3 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,7 +1,7 @@ CompactFiltersBlockchainConfig in bdk::blockchain::compact_filters - Rust -

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

pub struct CompactFiltersBlockchainConfig {
+

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

pub struct CompactFiltersBlockchainConfig {
     pub peers: Vec<BitcoinPeerConfig>,
     pub network: Network,
     pub storage_dir: String,
@@ -12,38 +12,37 @@
 
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

-

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

-

impl From<CompactFiltersBlockchainConfig> for AnyBlockchainConfig[src]

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

Performs the conversion.

-

impl PartialEq<CompactFiltersBlockchainConfig> for CompactFiltersBlockchainConfig[src]

fn eq(&self, other: &CompactFiltersBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Performs the conversion.

+

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

-

fn ne(&self, other: &CompactFiltersBlockchainConfig) -> bool[src]

This method tests for !=.

-

impl Serialize for CompactFiltersBlockchainConfig[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 StructuralPartialEq for CompactFiltersBlockchainConfig[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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 f5c1e1162b..6a4c76f7fb 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,37 +1,36 @@ 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.
Expand description

Container for unconfirmed, but valid Bitcoin transactions

+

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

-

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

Add a transaction to the mempool

+

Implementations

Create a new empty mempool

+

Add a transaction to the mempool

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

-

pub fn get_tx(&self, inventory: &Inventory) -> Option<Transaction>[src]

Look-up a transaction in the mempool given an [Inventory] request

-

pub fn has_tx(&self, txid: &Txid) -> bool[src]

Return whether or not the mempool contains a transaction with a given txid

-

pub fn iter_txs(&self) -> Vec<Transaction>[src]

Return the list of transactions contained in the mempool

-

Trait Implementations

impl Debug for Mempool[src]

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

Formats the value using the given formatter. Read more

-

impl Default for Mempool[src]

fn default() -> Mempool[src]

Returns the “default value” for a type. Read more

-

Auto Trait Implementations

impl RefUnwindSafe for Mempool

impl Send for Mempool

impl Sync for Mempool

impl Unpin for Mempool

impl UnwindSafe for Mempool

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Look-up a transaction in the mempool given an [Inventory] request

+

Return whether or not the mempool contains a transaction with a given txid

+

Return the list of transactions contained in the mempool

+

Trait Implementations

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 c9512e5465..fe6e5e746c 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,40 +1,39 @@ 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.
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

+

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

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 +

Connect to a peer through a SOCKS5 proxy, optionally by using some credentials, specified as a tuple of (username, password)

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 get_version(&self) -> &VersionMessage[src]

Return the [VersionMessage] sent by the peer

-

pub fn get_network(&self) -> Network[src]

Return the Bitcoin [Network] in use

-

pub fn get_mempool(&self) -> Arc<Mempool>[src]

Return the mempool used by this peer

-

pub fn is_connected(&self) -> bool[src]

Return whether or not the peer is still connected

-

pub fn send(&self, payload: NetworkMessage) -> Result<(), CompactFiltersError>[src]

Send a raw Bitcoin message to the peer

-

pub fn recv(
    &self,
    wait_for: &'static str,
    timeout: Option<Duration>
) -> Result<Option<NetworkMessage>, CompactFiltersError>
[src]

Waits for a specific incoming Bitcoin message, optionally with a timeout

-

Trait Implementations

impl Debug for Peer[src]

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

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

impl !RefUnwindSafe for Peer

impl Send for Peer

impl Sync for Peer

impl Unpin for Peer

impl !UnwindSafe for Peer

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Return the [VersionMessage] sent by the peer

+

Return the Bitcoin [Network] in use

+

Return the mempool used by this peer

+

Return whether or not the peer is still connected

+

Send a raw Bitcoin message to the peer

+

Waits for a specific incoming Bitcoin message, optionally with a timeout

+

Trait Implementations

Formats the value using the given formatter. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 42b09dc7bf..451829b8c3 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.
Expand description

Electrum

+

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.

@@ -12,5 +12,4 @@ querying the inner client.

Structs

ElectrumBlockchain

Wrapper over an Electrum Client that implements the required blockchain traits

ElectrumBlockchainConfig

Configuration for an ElectrumBlockchain

-
- \ No newline at end of file +
\ No newline at end of file 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 2d3d61b90c..3726b0be2b 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,39 +1,38 @@ ElectrumBlockchain in bdk::blockchain::electrum - Rust -

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

+

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

-

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

-

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

-

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

-

impl ConfigurableBlockchain for ElectrumBlockchain[src]

type Config = ElectrumBlockchainConfig

Type that contains the configuration

-

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

Create a new instance given a configuration

-

impl From<Client> for ElectrumBlockchain[src]

fn from(client: Client) -> Self[src]

Performs the conversion.

-

impl From<ElectrumBlockchain> for AnyBlockchain[src]

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

Performs the conversion.

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

Return the set of Capability supported by this backend

+

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

+

Fetch a transaction from the blockchain given its txid

+

Broadcast a transaction

+

Return the current height

+

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

+

Populate the internal database with transactions and UTXOs Read more

+

Type that contains the configuration

+

Create a new instance given a configuration

+

Performs the conversion.

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 87cbbd9bd6..76ea07e89f 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,7 +1,7 @@ ElectrumBlockchainConfig in bdk::blockchain::electrum - Rust -

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

pub struct ElectrumBlockchainConfig {
+

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

pub struct ElectrumBlockchainConfig {
     pub url: String,
     pub socks5: Option<String>,
     pub retry: u8,
@@ -13,38 +13,37 @@
 
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

-

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

-

impl From<ElectrumBlockchainConfig> for AnyBlockchainConfig[src]

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

Performs the conversion.

-

impl PartialEq<ElectrumBlockchainConfig> for ElectrumBlockchainConfig[src]

fn eq(&self, other: &ElectrumBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Performs the conversion.

+

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

-

fn ne(&self, other: &ElectrumBlockchainConfig) -> bool[src]

This method tests for !=.

-

impl Serialize for ElectrumBlockchainConfig[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 StructuralPartialEq for ElectrumBlockchainConfig[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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 f65107a134..359ddfbdce 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,7 +1,7 @@ Capability in bdk::blockchain - Rust -

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

pub enum Capability {
+

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

pub enum Capability {
     FullHistory,
     GetAnyTx,
     AccurateFees,
@@ -11,38 +11,37 @@
 
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

-

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

-

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 PartialEq<Capability> for Capability[src]

fn eq(&self, other: &Capability) -> bool[src]

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Feeds this value into the given Hasher. Read more

+

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

+

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 Copy for Capability[src]

impl Eq for Capability[src]

impl StructuralEq for Capability[src]

impl StructuralPartialEq for Capability[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.

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

This method tests for !=.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 0f94499c28..5c548d5be6 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 {
+

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

pub enum EsploraError {
     Reqwest(Error),
     Parsing(ParseIntError),
     BitcoinEncoding(Error),
@@ -19,37 +19,36 @@
 
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

-

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

-

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

-

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

-

impl From<Error> for EsploraError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for EsploraError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for EsploraError[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<EsploraError> for Error[src]

fn from(err: EsploraError) -> Self[src]

Performs the conversion.

-

impl From<ParseIntError> for EsploraError[src]

fn from(err: ParseIntError) -> Self[src]

Performs the conversion.

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

Formats the value using the given formatter. Read more

+

Formats the value using the given formatter. Read more

+

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

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

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

+
👎 Deprecated since 1.42.0:

use the Display impl or to_string()

+
👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

Converts the given value to a String. Read more

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 d153cf5176..463050b792 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,7 +1,7 @@ bdk::blockchain::esplora - Rust -

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

This is supported on crate feature esplora only.
Expand description

Esplora

+

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

@@ -12,5 +12,4 @@ populate the wallet’s databaseEsploraBlockchainConfig

Configuration for an EsploraBlockchain

Enums

EsploraError

Errors that can happen during a sync with EsploraBlockchain

-
- \ No newline at end of file +
\ No newline at end of file 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 997b1b1ea3..c3ce69255d 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,40 +1,39 @@ EsploraBlockchain in bdk::blockchain::esplora - Rust -

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

+

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

-

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

-

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

-

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

-

impl ConfigurableBlockchain for EsploraBlockchain[src]

type Config = EsploraBlockchainConfig

Type that contains the configuration

-

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

Create a new instance given a configuration

-

impl Debug for EsploraBlockchain[src]

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

Formats the value using the given formatter. Read more

-

impl From<EsploraBlockchain> for AnyBlockchain[src]

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

Performs the conversion.

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Implementations

Create a new instance of the client from a base URL

+

Trait Implementations

Return the set of Capability supported by this backend

+

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

+

Fetch a transaction from the blockchain given its txid

+

Broadcast a transaction

+

Return the current height

+

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

+

Populate the internal database with transactions and UTXOs Read more

+

Type that contains the configuration

+

Create a new instance given a configuration

+

Formats the value using the given formatter. Read more

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 1c6f1d1d5e..0b2ea8b8e8 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,7 +1,7 @@ EsploraBlockchainConfig in bdk::blockchain::esplora - Rust -

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

pub struct EsploraBlockchainConfig {
+

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.
Expand description

Configuration for an EsploraBlockchain

@@ -9,38 +9,37 @@ Fieldsbase_url: String

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

-

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

-

impl From<EsploraBlockchainConfig> for AnyBlockchainConfig[src]

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

Performs the conversion.

-

impl PartialEq<EsploraBlockchainConfig> for EsploraBlockchainConfig[src]

fn eq(&self, other: &EsploraBlockchainConfig) -> bool[src]

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Performs the conversion.

+

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

-

fn ne(&self, other: &EsploraBlockchainConfig) -> bool[src]

This method tests for !=.

-

impl Serialize for EsploraBlockchainConfig[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 StructuralPartialEq for EsploraBlockchainConfig[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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 373097b51c..e72a77ae46 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,5 @@ log_progress in bdk::blockchain - Rust -

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 +

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 434d2b2899..11e88f73bf 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,5 @@ noop_progress in bdk::blockchain - Rust -

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 +

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 389fa983ad..040d0fce23 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,5 @@ progress in bdk::blockchain - Rust -

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 +

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 6ad7a7a4be..2a69758c3e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/index.html @@ -1,7 +1,7 @@ bdk::blockchain - Rust -

Module bdk::blockchain[][src]

Expand description

Blockchain backends

+

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 @@ -28,5 +28,4 @@ progress

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

Type Definitions

ProgressData

Data sent with a progress update over a channel

-
- \ No newline at end of file +
\ No newline at end of file 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 a1406b6fe7..ba7348f2cf 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,33 +1,32 @@ LogProgress in bdk::blockchain - Rust -

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

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

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

pub struct LogProgress;
Expand description

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

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Send a new progress update Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 e63d872bbe..4443be5412 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,33 +1,32 @@ NoopProgress in bdk::blockchain - Rust -

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

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

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

pub struct NoopProgress;
Expand description

Type that implements Progress and drops every update received

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Send a new progress update Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 218f830bfd..13a36731d3 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 {
+

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>; @@ -11,19 +11,19 @@ fn sync<D: BatchDatabase, P: 'static + Progress>(
        &self,
        stop_gap: Option<usize>,
        database: &mut D,
        progress_update: P
    ) -> Result<(), Error> { ... } }
Expand description

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

+

Required methods

Return the set of Capability supported by this backend

+

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

-

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

+

Fetch a transaction from the blockchain given its txid

+

Broadcast a transaction

+

Return the current height

+

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

+

Provided methods

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,4 @@ 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.

-

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]

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]

- \ No newline at end of file +

Implementations on Foreign Types

Implementors

This is supported on crate feature compact_filters only.
This is supported on crate feature electrum only.
This is supported on crate feature esplora only.
\ 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 8be9001912..9f8aabff36 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,10 @@ ConfigurableBlockchain in bdk::blockchain - Rust -

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

pub trait ConfigurableBlockchain: Blockchain + Sized {
+

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

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

Trait for Blockchain types that can be created given a configuration

-

Associated Types

type Config: Debug[src]

Type that contains the configuration

-

Required methods

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

Create a new instance given a configuration

-

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.
- \ No newline at end of file +

Associated Types

Type that contains the configuration

+

Required methods

Create a new instance given a configuration

+

Implementors

This is supported on crate feature compact_filters only.
This is supported on crate feature electrum only.
This is supported on crate feature esplora only.
\ 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 f22a8b8f8a..6fcab364da 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,11 @@ Progress in bdk::blockchain - Rust -

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

pub trait Progress: Send {
+

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

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

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.

-

Implementations on Foreign Types

impl Progress for Sender<ProgressData>[src]

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

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]

- \ No newline at end of file +

Implementations on Foreign Types

Implementors

\ 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 5b4c46e25b..166d832449 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,5 @@ ProgressData in bdk::blockchain - Rust -

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 +

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 62321e9944..dd5e9c818b 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,7 +1,7 @@ AnyBatch in bdk::database::any - Rust -

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

pub enum AnyBatch {
+

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

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

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

@@ -9,39 +9,38 @@ 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.

-

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 +

Trait Implementations

Store a script_pubkey along with its keychain and child number.

+

Store a LocalUtxo

+

Store a raw transaction

+

Store the metadata of a transaction

+

Store the last derivation index for a given keychain.

+

Delete a script_pubkey given the keychain and its child number.

+

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

-

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.

-

impl From<<MemoryDatabase as BatchDatabase>::Batch> for AnyBatch[src]

fn from(inner: <MemoryDatabase as BatchDatabase>::Batch) -> Self[src]

Performs the conversion.

-

impl From<<Tree as BatchDatabase>::Batch> for AnyBatch[src]

fn from(inner: <Tree as BatchDatabase>::Batch) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

impl !RefUnwindSafe for AnyBatch

impl !Send for AnyBatch

impl !Sync for AnyBatch

impl Unpin for AnyBatch

impl !UnwindSafe for AnyBatch

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Delete a LocalUtxo given its [OutPoint]

+

Delete a raw transaction given its [Txid]

+

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

+

Delete the last derivation index for a keychain.

+

Performs the conversion.

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 c19df097b8..463b76f42e 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,7 +1,7 @@ AnyDatabase in bdk::database::any - Rust -

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

pub enum AnyDatabase {
+

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

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

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

@@ -11,57 +11,56 @@ 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

-

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.

-

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 +

Trait Implementations

Container for the operations

+

Create a new batch container

+

Consume and apply a batch of operations

+

Store a script_pubkey along with its keychain and child number.

+

Store a LocalUtxo

+

Store a raw transaction

+

Store the metadata of a transaction

+

Store the last derivation index for a given keychain.

+

Delete a script_pubkey given the keychain and its child number.

+

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

-

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.

-

impl ConfigurableDatabase for AnyDatabase[src]

type Config = AnyDatabaseConfig

Type that contains the configuration

-

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

Create a new instance given a configuration

-

impl Database for AnyDatabase[src]

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. Read more

-

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 Read more

-

impl Debug for AnyDatabase[src]

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

Formats the value using the given formatter. Read more

-

impl From<MemoryDatabase> for AnyDatabase[src]

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

Performs the conversion.

-

impl From<Tree> for AnyDatabase[src]

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

Performs the conversion.

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Delete a LocalUtxo given its [OutPoint]

+

Delete a raw transaction given its [Txid]

+

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

+

Delete the last derivation index for a keychain.

+

Type that contains the configuration

+

Create a new instance given a configuration

+

Read and checks the descriptor checksum for a given keychain. Read more

+

Return the list of script_pubkeys

+

Return the list of LocalUtxos

+

Return the list of raw transactions

+

Return the list of transactions metadata

+

Fetch a script_pubkey given the child number of a keychain.

+

Fetch the keychain and child number of a given script_pubkey

+

Fetch a LocalUtxo given its [OutPoint]

+

Fetch a raw transaction given its [Txid]

+

Fetch the transaction metadata and optionally also the raw transaction

+

Return the last defivation index for a keychain.

+

Increment the last derivation index for a keychain and return it Read more

+

Formats the value using the given formatter. Read more

+

Performs the conversion.

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 ccb09abfe5..8f4ab7f293 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,7 +1,7 @@ AnyDatabaseConfig in bdk::database::any - Rust -

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

pub enum AnyDatabaseConfig {
+

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

pub enum AnyDatabaseConfig {
     Memory(()),
     Sled(SledDbConfiguration),
 }
Expand description

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

@@ -12,30 +12,29 @@ 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

-

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.

-

impl Serialize for AnyDatabaseConfig[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

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Performs the conversion.

+

Performs the conversion.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 8c600ff511..87db6a05b0 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]

Expand description

Runtime-checked database types

+

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

@@ -26,5 +26,4 @@ database supported using a single line of code:

AnyBatch

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

AnyDatabase

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

AnyDatabaseConfig

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

-
- \ No newline at end of file +
\ No newline at end of file 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 95da62645f..ccc0b30366 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,36 +1,35 @@ SledDbConfiguration in bdk::database::any - Rust -

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

pub struct SledDbConfiguration {
+

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

pub struct SledDbConfiguration {
     pub path: String,
     pub tree_name: String,
 }
Expand description

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

-

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

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Performs the conversion.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 2d91564e69..129a79e05d 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]

Expand description

Database types

+

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. @@ -19,5 +19,4 @@ this library automatically implements all the required traits for [sled::T BatchOperations

Trait for operations that can be batched

ConfigurableDatabase

Trait for Database types that can be created given a configuration

Database

Trait for reading data from a database

-
- \ No newline at end of file +
\ No newline at end of file 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 3de3ac8a56..7a790abb6a 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,9 @@ bdk::database::memory - Rust -

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

Expand description

In-memory ephemeral database

+

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

MemoryDatabase

In-memory ephemeral database

-
- \ No newline at end of file +
\ 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 1fb243815a..42eeab7506 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,65 +1,64 @@ MemoryDatabase in bdk::database::memory - Rust -

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

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

In-memory ephemeral database

+

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

-

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

-

impl BatchOperations for MemoryDatabase[src]

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    path: 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,
    path: 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 +

Implementations

Create a new empty database

+

Trait Implementations

Container for the operations

+

Create a new batch container

+

Consume and apply a batch of operations

+

Store a script_pubkey along with its keychain and child number.

+

Store a LocalUtxo

+

Store a raw transaction

+

Store the metadata of a transaction

+

Store the last derivation index for a given keychain.

+

Delete a script_pubkey given the keychain and its child number.

+

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

-

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.

-

impl ConfigurableDatabase for MemoryDatabase[src]

type Config = ()

Type that contains the configuration

-

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

Create a new instance given a configuration

-

impl Database for MemoryDatabase[src]

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. Read more

-

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,
    path: 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 Read more

-

impl Debug for MemoryDatabase[src]

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

Formats the value using the given formatter. Read more

-

impl Default for MemoryDatabase[src]

fn default() -> MemoryDatabase[src]

Returns the “default value” for a type. Read more

-

impl From<<MemoryDatabase as BatchDatabase>::Batch> for AnyBatch[src]

fn from(inner: <MemoryDatabase as BatchDatabase>::Batch) -> Self[src]

Performs the conversion.

-

impl From<MemoryDatabase> for AnyDatabase[src]

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

Performs the conversion.

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Delete a LocalUtxo given its [OutPoint]

+

Delete a raw transaction given its [Txid]

+

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

+

Delete the last derivation index for a keychain.

+

Type that contains the configuration

+

Create a new instance given a configuration

+

Read and checks the descriptor checksum for a given keychain. Read more

+

Return the list of script_pubkeys

+

Return the list of LocalUtxos

+

Return the list of raw transactions

+

Return the list of transactions metadata

+

Fetch a script_pubkey given the child number of a keychain.

+

Fetch the keychain and child number of a given script_pubkey

+

Fetch a LocalUtxo given its [OutPoint]

+

Fetch a raw transaction given its [Txid]

+

Fetch the transaction metadata and optionally also the raw transaction

+

Return the last defivation index for a keychain.

+

Increment the last derivation index for a keychain and return it Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Performs the conversion.

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 c8bfc3d5c8..8892f8420e 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,13 @@ BatchDatabase in bdk::database - Rust -

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

pub trait BatchDatabase: Database {
+

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>; }
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

-

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

-

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]

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]

- \ No newline at end of file +

Associated Types

Container for the operations

+

Required methods

Create a new batch container

+

Consume and apply a batch of operations

+

Implementations on Foreign Types

Implementors

\ 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 04a7e878d6..006d706cc4 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 {
+

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>; @@ -16,17 +16,16 @@ }
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

Store a script_pubkey along with its keychain and child number.

+

Store a LocalUtxo

+

Store a raw transaction

+

Store the metadata of a transaction

+

Store the last derivation index for a given keychain.

+

Delete a script_pubkey given the keychain and its child number.

+

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.

-

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]

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]

- \ No newline at end of file +

Delete a LocalUtxo given its [OutPoint]

+

Delete a raw transaction given its [Txid]

+

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

+

Delete the last derivation index for a keychain.

+

Implementations on Foreign Types

Implementors

\ 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 60cdba28b7..02a5d494df 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,10 @@ ConfigurableDatabase in bdk::database - Rust -

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

pub trait ConfigurableDatabase: Database + Sized {
+

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

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

Trait for Database types that can be created given a configuration

-

Associated Types

type Config: Debug[src]

Type that contains the configuration

-

Required methods

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

Create a new instance given a configuration

-

Implementations on Foreign Types

impl ConfigurableDatabase for Tree[src]

type Config = SledDbConfiguration

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

Implementors

- \ No newline at end of file +

Associated Types

Type that contains the configuration

+

Required methods

Create a new instance given a configuration

+

Implementations on Foreign Types

Implementors

\ 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 fd1e0161be..9b419d8f24 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 {
+

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>; @@ -16,21 +16,20 @@
fn increment_last_index(
        &mut self,
        keychain: KeychainKind
    ) -> Result<u32, Error>; }
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

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

+

Return the list of script_pubkeys

+

Return the list of LocalUtxos

+

Return the list of raw transactions

+

Return the list of transactions metadata

+

Fetch a script_pubkey given the child number of a keychain.

+

Fetch the keychain and child number of a given script_pubkey

+

Fetch a LocalUtxo given its [OutPoint]

+

Fetch a raw transaction given its [Txid]

+

Fetch the transaction metadata and optionally also the raw transaction

+

Return the last defivation index for a keychain.

+

Increment the last derivation index for a keychain and return it

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

-

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]

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]

- \ No newline at end of file +

Implementations on Foreign Types

Implementors

\ 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 da8b7e1c07..496811cc97 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,5 @@ get_checksum in bdk::descriptor::checksum - Rust -

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 +

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 a7dac14281..839ed46205 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,9 @@ bdk::descriptor::checksum - Rust -

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

Expand description

Descriptor checksum

+

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

get_checksum

Compute the checksum of a descriptor

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Descriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Descriptor.html index 2318e3b5a5..d0003f40ac 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Descriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Descriptor.html @@ -2,6 +2,7 @@ + Redirection

Redirecting to ../../../bdk/descriptor/enum.Descriptor.html...

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.DescriptorPublicKey.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.DescriptorPublicKey.html index efa50bda99..05f9388e84 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.DescriptorPublicKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.DescriptorPublicKey.html @@ -2,6 +2,7 @@ + Redirection

Redirecting to ../../../bdk/keys/enum.DescriptorPublicKey.html...

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Legacy.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Legacy.html index 6a8fc6fb08..fb2dd3bea5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Legacy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Legacy.html @@ -2,6 +2,7 @@ + Redirection

Redirecting to ../../../bdk/descriptor/enum.Legacy.html...

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Segwitv0.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Segwitv0.html index a2ec252187..194aba17ab 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Segwitv0.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/enum.Segwitv0.html @@ -2,6 +2,7 @@ + Redirection

Redirecting to ../../../bdk/descriptor/enum.Segwitv0.html...

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/struct.DerivedDescriptorKey.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/struct.DerivedDescriptorKey.html index 0ce34a2c9e..3d9e091385 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/struct.DerivedDescriptorKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/struct.DerivedDescriptorKey.html @@ -2,6 +2,7 @@ + Redirection

Redirecting to ../../../bdk/descriptor/struct.DerivedDescriptorKey.html...

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/struct.Miniscript.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/struct.Miniscript.html index 7dc17f702e..ca1ccb5a6e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/struct.Miniscript.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/struct.Miniscript.html @@ -2,6 +2,7 @@ + Redirection

Redirecting to ../../../bdk/descriptor/struct.Miniscript.html...

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/trait.ScriptContext.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/trait.ScriptContext.html index 0ef9f67f38..08af1d1289 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/trait.ScriptContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/trait.ScriptContext.html @@ -2,6 +2,7 @@ + Redirection

Redirecting to ../../../bdk/keys/trait.ScriptContext.html...

diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/type.KeyMap.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/type.KeyMap.html index f034c17350..2fdaa9d33d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/type.KeyMap.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/derived/type.KeyMap.html @@ -2,6 +2,7 @@ + Redirection

Redirecting to ../../../bdk/keys/type.KeyMap.html...

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 8b8210eb47..4fbc67d0cb 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,7 +1,7 @@ Descriptor in bdk::descriptor - Rust -

Enum bdk::descriptor::Descriptor[]

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

Enum bdk::descriptor::Descriptor[]

pub enum Descriptor<Pk> where
    Pk: MiniscriptKey, 
{ Bare(Bare<Pk>), Pkh(Pkh<Pk>), Wpkh(Wpkh<Pk>), @@ -15,44 +15,44 @@
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

-

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 +

Implementations

Create a new pk descriptor

+

Create a new PkH descriptor

+

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

-

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

Create a new sh wrapped wpkh from Pk. +

Create a new sh wrapped wpkh from Pk. Errors when uncompressed keys are supplied

-

pub fn new_sh(ms: Miniscript<Pk, Legacy>) -> Result<Descriptor<Pk>, Error>

Create a new sh for a given redeem script +

Create a new sh for a given redeem script Errors when miniscript exceeds resource limits under p2sh context or does not type check at the top level

-

pub fn new_wsh(ms: Miniscript<Pk, Segwitv0>) -> Result<Descriptor<Pk>, Error>

Create a new wsh descriptor from witness script +

Create a new wsh descriptor from witness script Errors when miniscript exceeds resource limits under p2sh context or does not type check at the top level

-

pub fn new_sh_wsh(ms: Miniscript<Pk, Segwitv0>) -> Result<Descriptor<Pk>, Error>

Create a new sh wrapped wsh descriptor with witness script +

Create a new sh wrapped wsh descriptor with witness script Errors when miniscript exceeds resource limits under wsh context or does not type check at the top level

-

pub fn new_bare(ms: Miniscript<Pk, BareCtx>) -> Result<Descriptor<Pk>, Error>

Create a new bare descriptor from witness script +

Create a new bare descriptor from witness script Errors when miniscript exceeds resource limits under bare context or does not type check at the top level

-

pub fn new_sh_sortedmulti(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<Descriptor<Pk>, Error>

Create a new sh sortedmulti descriptor with threshold k +

Create a new sh sortedmulti descriptor with threshold k and Vec of pks. Errors when miniscript exceeds resource limits under p2sh context

-

pub fn new_sh_wsh_sortedmulti(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<Descriptor<Pk>, Error>

Create a new sh wrapped wsh sortedmulti descriptor from threshold +

Create a new sh wrapped wsh sortedmulti descriptor from threshold k and Vec of pks Errors when miniscript exceeds resource limits under segwit context

-

pub fn new_wsh_sortedmulti(
    k: usize,
    pks: Vec<Pk, Global>
) -> Result<Descriptor<Pk>, Error>

Create a new wsh sorted multi descriptor +

Create a new wsh sorted multi descriptor Errors when miniscript exceeds resource limits under p2sh context

-

pub fn desc_type(&self) -> DescriptorType

Get the [DescriptorType] of Descriptor

-

impl Descriptor<DescriptorPublicKey>

pub fn is_deriveable(&self) -> bool

Whether or not the descriptor has any wildcards

-

pub fn derive(&self, index: u32) -> Descriptor<DescriptorPublicKey>

Derives all wildcard keys in the descriptor using the supplied index

+

Get the [DescriptorType] of Descriptor

+

Whether or not the descriptor has any wildcards

+

Derives all wildcard keys in the descriptor using the supplied index

Panics if given an index ≥ 2^31

-

pub fn parse_descriptor<C>(
    secp: &Secp256k1<C>,
    s: &str
) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error> where
    C: Signing, 

Parse a descriptor that may contain secret keys

+

Parse a descriptor that may contain secret keys

Internally turns every secret key found into the corresponding public key and then returns a a descriptor that only contains public keys and a map to lookup the secret key given a public key.

-

pub fn to_string_with_secret(
    &self,
    key_map: &HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>
) -> String

Serialize a descriptor to string with its secret keys

-

Trait Implementations

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

pub fn clone(&self) -> Descriptor<Pk>

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<Pk> Debug for Descriptor<Pk> where
    Pk: MiniscriptKey, 

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

Formats the value using the given formatter. Read more

-

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

pub fn sanity_check(&self) -> Result<(), Error>

Whether the descriptor is safe +

Serialize a descriptor to string with its secret keys

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Whether the descriptor is safe Checks whether all the spend paths in the descriptor are possible on the bitcoin network under the current standardness and consensus rules Also checks whether the descriptor requires signauture on all spend paths @@ -60,99 +60,98 @@ And whether the script is malleable. In general, all the guarantees of miniscript hold only for safe scripts. All the analysis guarantees of miniscript only hold safe scripts. The signer may not be able to find satisfactions even if one exists

-

pub fn address(&self, network: Network) -> Result<Address, Error> where
    Pk: ToPublicKey, 

Computes the Bitcoin address of the descriptor, if one exists

-

pub fn script_pubkey(&self) -> Script where
    Pk: ToPublicKey, 

Computes the scriptpubkey of the descriptor

-

pub fn unsigned_script_sig(&self) -> Script where
    Pk: ToPublicKey, 

Computes the scriptSig that will be in place for an unsigned +

Computes the Bitcoin address of the descriptor, if one exists

+

Computes the scriptpubkey of the descriptor

+

Computes the scriptSig that will be in place for an unsigned input spending an output with this descriptor. For pre-segwit descriptors, which use the scriptSig for signatures, this returns the empty script.

This is used in Segwit transactions to produce an unsigned transaction whose txid will not change during signing (since only the witness data will change).

-

pub fn explicit_script(&self) -> Script where
    Pk: ToPublicKey, 

Computes the “witness script” of the descriptor, i.e. the underlying +

Computes the “witness script” of the descriptor, i.e. the underlying script before any hashing is done. For Bare, Pkh and Wpkh this is the scriptPubkey; for ShWpkh and Sh this is the redeemScript; for the others it is the witness script.

-

pub fn get_satisfaction<S>(
    &self,
    satisfier: S
) -> Result<(Vec<Vec<u8, Global>, Global>, Script), Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Returns satisfying witness and scriptSig to spend an +

Returns satisfying witness and scriptSig to spend an output controlled by the given descriptor if it possible to construct one using the satisfier S.

-

pub fn max_satisfaction_weight(&self) -> Result<usize, Error>

Computes an upper bound on the weight of a satisfying witness to the +

Computes an upper bound on the weight of a satisfying witness to the transaction. Assumes all signatures are 73 bytes, including push opcode and sighash suffix. Includes the weight of the VarInts encoding the scriptSig and witness stack length.

-

pub fn script_code(&self) -> Script where
    Pk: ToPublicKey, 

Get the scriptCode of a transaction output.

+

Get the scriptCode of a transaction output.

The scriptCode is the Script of the previous transaction output being serialized in the sighash when evaluating a CHECKSIG & co. OP code.

-

fn satisfy<S>(&self, txin: &mut TxIn, satisfier: S) -> Result<(), Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Attempts to produce a satisfying witness and scriptSig to spend an +

Attempts to produce a satisfying witness and scriptSig to spend an output controlled by the given descriptor; add the data to a given TxIn output. Read more

-

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

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

Formats the value using the given formatter. Read more

-

impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

fn extract_policy(
    &self,
    signers: &SignersContainer,
    build_sat: BuildSatisfaction<'_>,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, Error>
[src]

Extract the spending policy

-

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

pub fn for_each_key<'a, F>(&'a self, pred: F) -> bool where
    F: FnMut(ForEach<'a, Pk>) -> bool,
    Pk: 'a,
    <Pk as MiniscriptKey>::Hash: 'a, 

Run a predicate on every key in the descriptor, returning whether +

Formats the value using the given formatter. Read more

+

Extract the spending policy

+

Run a predicate on every key in the descriptor, returning whether the predicate returned true for every key Read more

-

fn for_any_key<'a, F>(&'a self, pred: F) -> bool where
    F: FnMut(ForEach<'a, Pk>) -> bool,
    Pk: 'a,
    <Pk as MiniscriptKey>::Hash: 'a, 

Run a predicate on every key in the descriptor, returning whether +

Run a predicate on every key in the descriptor, returning whether the predicate returned true for any key Read more

-

impl<Pk> FromStr 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

type Err = Error

The associated error which can be returned from parsing.

-

pub fn from_str(s: &str) -> Result<Descriptor<Pk>, Error>

Parses a string s to return a value of this type. 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

-

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 +

The associated error which can be returned from parsing.

+

Parses a string s to return a value of this type. Read more

+

Parse an expression tree into a descriptor

+

Convert the object into an abstract policy

+

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

+

Compares and returns the maximum of two values. Read more

+

Compares and returns the minimum of two values. Read more

+

Restrict a value to a certain interval. Read more

+

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 <= +

This method tests for !=.

+

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

+

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

+

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 >= +

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

+

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 +

Convert a descriptor using abstract keys to one using specific keys This will panic if translatefpk returns an uncompressed key when converting to a Segwit descriptor. To prevent this panic, ensure translatefpk returns an error in this case instead.

-

type Output = Descriptor<Q>

The associated output type. This must be Self

-

fn translate_pk_infallible<Fpk, Fpkh>(
    &self,
    translatefpk: Fpk,
    translatefpkh: Fpkh
) -> Self::Output where
    Fpk: FnMut(&P) -> Q,
    Fpkh: FnMut(&<P as MiniscriptKey>::Hash) -> <Q as MiniscriptKey>::Hash, 

Calls translate_pk with conversion functions that cannot fail

-

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

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

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

Auto Trait Implementations

impl<Pk> RefUnwindSafe for Descriptor<Pk> where
    Pk: RefUnwindSafe,
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe

impl<Pk> Send for Descriptor<Pk> where
    Pk: Send + Sync,
    <Pk as MiniscriptKey>::Hash: Send + Sync

impl<Pk> Sync for Descriptor<Pk> where
    Pk: Send + Sync,
    <Pk as MiniscriptKey>::Hash: Send + Sync

impl<Pk> Unpin for Descriptor<Pk> where
    Pk: Unpin,
    <Pk as MiniscriptKey>::Hash: Unpin

impl<Pk> UnwindSafe for Descriptor<Pk> where
    Pk: RefUnwindSafe + UnwindSafe,
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe + 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

-

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.

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

The associated output type. This must be Self

+

Calls translate_pk with conversion functions that cannot fail

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<P, Q, T> TranslatePk1<P, Q> for T where
    P: MiniscriptKey,
    T: TranslatePk<P, Q>,
    Q: MiniscriptKey<Hash = <P as MiniscriptKey>::Hash>, 

fn translate_pk1<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
    Fpk: FnMut(&P) -> Result<Q, E>, 

Translate a struct from one generic to another where the +

Converts the given value to a String. Read more

+

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

fn translate_pk1_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
    Fpk: FnMut(&P) -> Q, 

Translate a struct from one generic to another where the +

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

impl<P, Q, T> TranslatePk2<P, Q> for T where
    P: MiniscriptKey<Hash = P>,
    T: TranslatePk<P, Q>,
    Q: MiniscriptKey, 

fn translate_pk2<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
    Fpk: Fn(&P) -> Result<Q, E>, 

Translate a struct from one generic to another where the +

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

fn translate_pk2_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
    Fpk: Fn(&P) -> Q, 

Translate a struct from one generic to another where the +

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

impl<P, Q, T> TranslatePk3<P, Q> for T where
    P: MiniscriptKey + ToPublicKey,
    T: TranslatePk<P, Q>,
    Q: MiniscriptKey<Hash = Hash>, 

fn translate_pk3<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
    Fpk: FnMut(&P) -> Result<Q, E>, 

Translate a struct from one generic to another where the +

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

fn translate_pk3_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
    Fpk: FnMut(&P) -> Q, 

Translate a struct from one generic to another where the +

Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 a6bb06e9a1..83b9b2748b 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,30 +1,30 @@ Legacy in bdk::descriptor - Rust -

Enum bdk::descriptor::Legacy[]

pub enum Legacy {}
Expand description

Legacy ScriptContext +

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

-

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

-

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 +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Feeds this value into the given Hasher. Read more

+

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

+

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

+

Compares and returns the maximum of two values. Read more

+

Compares and returns the minimum of two values. Read more

+

Restrict a value to a certain interval. Read more

+

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 <= +

This method tests for !=.

+

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

+

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

+

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 >= +

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

+

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, +

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 @@ -32,10 +32,10 @@ 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. Read more

-

pub 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 +

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. Read more

-

pub 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 +

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 @@ -45,17 +45,17 @@ 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. Read more

-

pub 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. +

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. Read more

-

pub 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. +

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 Read more

-

pub 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.

-

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 +

Depending on script context, the size of a satifaction witness may slightly differ.

+

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) @@ -63,40 +63,39 @@ 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. Read more

-

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 +

Check the consensus + policy(if not disabled) rules that are not based satisfaction Read more

-

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 +

Check the consensus + policy(if not disabled) rules including the ones for satisfaction Read more

-

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.

-

impl Eq for Legacy

impl StructuralEq for Legacy

impl StructuralPartialEq for Legacy

Auto Trait Implementations

impl RefUnwindSafe for Legacy

impl Send for Legacy

impl Sync for Legacy

impl Unpin for Legacy

impl UnwindSafe for Legacy

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.

-

impl<Ctx> ExtScriptContext for Ctx where
    Ctx: 'static + ScriptContext
[src]

pub fn as_enum() -> ScriptContextEnum[src]

Returns the ScriptContext as a ScriptContextEnum

-

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

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Check whether the top-level is type B

+

Other top level checks that are context specific

+

Check top level consensus rules.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Returns the ScriptContext as a ScriptContextEnum

+

Returns whether the script context is Legacy

+

Returns whether the script context is Segwitv0

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 955eaaceb4..aa43d21ae8 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,27 +1,27 @@ Segwitv0 in bdk::descriptor - Rust -

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

-

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 +

Enum bdk::descriptor::Segwitv0[]

pub enum Segwitv0 {}
Expand description

Segwitv0 ScriptContext

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Feeds this value into the given Hasher. Read more

+

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

+

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

+

Compares and returns the maximum of two values. Read more

+

Compares and returns the minimum of two values. Read more

+

Restrict a value to a certain interval. Read more

+

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 <= +

This method tests for !=.

+

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

+

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

+

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 >= +

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

+

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, +

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 @@ -29,10 +29,10 @@ 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. Read more

-

pub 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 +

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. Read more

-

pub 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 +

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 @@ -42,11 +42,11 @@ 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. Read more

-

pub 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. +

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. Read more

-

pub 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 +

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) @@ -54,46 +54,45 @@ 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. Read more

-

pub 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. +

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 Read more

-

pub 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.

-

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 +

Depending on script context, the size of a satifaction witness may slightly differ.

+

Check the consensus + policy(if not disabled) rules that are not based satisfaction Read more

-

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 +

Check the consensus + policy(if not disabled) rules including the ones for satisfaction Read more

-

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.

-

impl Eq for Segwitv0

impl StructuralEq for Segwitv0

impl StructuralPartialEq for Segwitv0

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.

-

impl<Ctx> ExtScriptContext for Ctx where
    Ctx: 'static + ScriptContext
[src]

pub fn as_enum() -> ScriptContextEnum[src]

Returns the ScriptContext as a ScriptContextEnum

-

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

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Check whether the top-level is type B

+

Other top level checks that are context specific

+

Check top level consensus rules.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Returns the ScriptContext as a ScriptContextEnum

+

Returns whether the script context is Legacy

+

Returns whether the script context is Segwitv0

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 d013f12b63..7b7540e5ed 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 {
+

Enum bdk::descriptor::error::Error[][src]

pub enum Error {
     InvalidHdKeyPath,
     InvalidDescriptorChecksum,
     HardenedDerivationXpub,
@@ -29,40 +29,39 @@
 
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

-

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

-

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

-

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<Error> for Error[src]

fn from(err: Error) -> Self[src]

Performs the conversion.

-

impl From<KeyError> for Error[src]

fn from(key_error: KeyError) -> Error[src]

Performs the conversion.

-

impl From<PolicyError> for Error[src]

fn from(err: PolicyError) -> Self[src]

Performs the conversion.

-

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

Formats the value using the given formatter. Read more

+

Formats the value using the given formatter. Read more

+

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

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

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

+
👎 Deprecated since 1.42.0:

use the Display impl or to_string()

+
👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

Converts the given value to a String. Read more

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 b8b0df90e3..f3cc041faa 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,7 @@ bdk::descriptor::error - Rust -

Module bdk::descriptor::error[][src]

Expand description

Descriptor errors

+

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 +
\ 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 6f89c2b38f..6811e379a4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/index.html @@ -1,7 +1,7 @@ bdk::descriptor - Rust -

Module bdk::descriptor[][src]

Expand description

Descriptors

+

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

@@ -33,5 +33,4 @@ For example, disallowing uncompressed keys in Segwit context

HdKeyPaths

Alias for the type of maps that represent derivation paths in a psbt::Input or psbt::Output

KeyMap

Alias type for a map of public key to secret key

-
- \ No newline at end of file +
\ No newline at end of file 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 3502c5ff0f..f0fbd35e6e 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> {
+

Enum bdk::descriptor::policy::BuildSatisfaction[][src]

pub enum BuildSatisfaction<'a> {
     None,
     Psbt(&'a Psbt),
     PsbtTimelocks {
@@ -19,32 +19,31 @@
 
current_height: u32

Current blockchain height

input_max_height: u32

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

-

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

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 8af2c334bb..247f35621d 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,7 +1,7 @@ PolicyError in bdk::descriptor::policy - Rust -

Enum bdk::descriptor::policy::PolicyError[][src]

pub enum PolicyError {
+

Enum bdk::descriptor::policy::PolicyError[][src]

pub enum PolicyError {
     NotEnoughItemsSelected(String),
     IndexOutOfRange(usize),
     AddOnLeaf,
@@ -17,38 +17,37 @@
 
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

-

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

-

fn description(&self) -> &str1.0.0[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

-

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

-

impl From<PolicyError> for Error[src]

fn from(err: PolicyError) -> Self[src]

Performs the conversion.

-

impl From<PolicyError> for Error[src]

fn from(err: PolicyError) -> Self[src]

Performs the conversion.

-

impl PartialEq<PolicyError> for PolicyError[src]

fn eq(&self, other: &PolicyError) -> bool[src]

This method tests for self and other values to be equal, and is used +

Trait Implementations

Formats the value using the given formatter. Read more

+

Formats the value using the given formatter. Read more

+

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

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

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

+
👎 Deprecated since 1.42.0:

use the Display impl or to_string()

+
👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

+

Performs the conversion.

+

Performs the conversion.

+

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

-

fn ne(&self, other: &PolicyError) -> bool[src]

This method tests for !=.

-

impl Eq for PolicyError[src]

impl StructuralEq for PolicyError[src]

impl StructuralPartialEq for PolicyError[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.

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

This method tests for !=.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

Converts the given value to a String. Read more

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 1b49aa82ce..deefd5eea3 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]

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

-

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

-

impl From<bool> for Satisfaction[src]

fn from(other: bool) -> Self[src]

Performs the conversion.

-

impl Serialize for Satisfaction[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

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Implementations

Returns whether the Satisfaction is a leaf item

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Performs the conversion.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 aab644afde..e38d57f19a 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]

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

-

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

-

impl Debug for SatisfiableItem[src]

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

Formats the value using the given formatter. Read more

-

impl From<SatisfiableItem> for Policy[src]

fn from(other: SatisfiableItem) -> Self[src]

Performs the conversion.

-

impl Serialize for SatisfiableItem[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

-

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Implementations

Returns whether the SatisfiableItem is a leaf item

+

Returns a unique id for the SatisfiableItem

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Performs the conversion.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 e2f8d7f6e5..8a8e313fbd 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]

Expand description

Descriptor policy

+

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.

@@ -29,5 +29,4 @@ in a more human-readable format.

Type Definitions

ConditionMap

Type for a map of sets of Condition items keyed by each set’s index

FoldedConditionMap

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 +
\ No newline at end of file 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 82f5699e4d..a91da7237a 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,59 +1,58 @@ Condition in bdk::descriptor::policy - Rust -

Struct bdk::descriptor::policy::Condition[][src]

pub struct Condition {
+

Struct bdk::descriptor::policy::Condition[][src]

pub struct Condition {
     pub csv: Option<u32>,
     pub timelock: Option<u32>,
 }
Expand description

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

-

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

-

impl Default for Condition[src]

fn default() -> Condition[src]

Returns the “default value” for a type. Read more

-

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

-

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 +

Implementations

Returns true if there are no extra conditions to verify

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Feeds this value into the given Hasher. Read more

+

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

+

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

+

Compares and returns the maximum of two values. Read more

+

Compares and returns the minimum of two values. Read more

+

Restrict a value to a certain interval. Read more

+

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 <= +

This method tests for !=.

+

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

+

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

+

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 >= +

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

+

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

-

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.

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 09f7c287bf..35978c7867 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,35 +1,34 @@ PkOrF in bdk::descriptor::policy - Rust -

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

-

impl Serialize for PkOrF[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

-

Auto Trait Implementations

impl RefUnwindSafe for PkOrF

impl Send for PkOrF

impl Sync for PkOrF

impl Unpin for PkOrF

impl UnwindSafe for PkOrF

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Struct bdk::descriptor::policy::PkOrF[][src]

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

Raw public key or extended key fingerprint

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 0a2ab007df..9f611b9670 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,7 +1,7 @@ Policy in bdk::descriptor::policy - Rust -

Struct bdk::descriptor::policy::Policy[][src]

pub struct Policy {
+

Struct bdk::descriptor::policy::Policy[][src]

pub struct Policy {
     pub id: String,
     pub item: SatisfiableItem,
     pub satisfaction: Satisfaction,
@@ -12,41 +12,40 @@
 
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 +

Implementations

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 on that.

-

pub fn get_condition(
    &self,
    path: &BTreeMap<String, Vec<usize>>
) -> Result<Condition, PolicyError>
[src]

Return the conditions that are set by the spending policy for a given path in the +

Return the conditions that are set by the spending policy for a given path in the policy tree

-

Trait Implementations

impl Clone for Policy[src]

fn clone(&self) -> Policy[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 Policy[src]

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

Formats the value using the given formatter. Read more

-

impl From<SatisfiableItem> for Policy[src]

fn from(other: SatisfiableItem) -> Self[src]

Performs the conversion.

-

impl Serialize for Policy[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

-

Auto Trait Implementations

impl RefUnwindSafe for Policy

impl Send for Policy

impl Sync for Policy

impl Unpin for Policy

impl UnwindSafe for Policy

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<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Performs the conversion.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 5d48690202..9d42262384 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,5 @@ ConditionMap in bdk::descriptor::policy - Rust -

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 +

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 149d541083..cda0982c40 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,5 @@ FoldedConditionMap in bdk::descriptor::policy - Rust -

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 +

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 efc21b1806..000c8b7eff 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,78 +1,77 @@ DerivedDescriptorKey in bdk::descriptor - Rust -

Struct bdk::descriptor::DerivedDescriptorKey[][src]

pub struct DerivedDescriptorKey<'s>(_, _);
Expand description

Extended DescriptorPublicKey that has been derived

+

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

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

+

Methods from Deref<Target = DescriptorPublicKey>

The fingerprint of the master key associated with this key

+

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 to the wildcard type (hardened or normal)

-

pub fn is_deriveable(&self) -> bool

Whether or not the key has a wildcards

-

pub fn derive_public_key<C>(
    &self,
    secp: &Secp256k1<C>
) -> Result<PublicKey, ConversionError> where
    C: Verification, 

Computes the public key corresponding to this descriptor key

+

Whether or not the key has a wildcards

+

Computes the public key corresponding to this descriptor key

Will return an error if the descriptor key has any hardened derivation steps in its path, or if the key has any wildcards.

To ensure there are no wildcards, call .derive(0) or similar; to avoid hardened derivation steps, start from a DescriptorSecretKey and call as_public, or call TranslatePk2::translate_pk2 with some function which has access to secret key data.

-

Trait Implementations

impl<'s> Clone for DerivedDescriptorKey<'s>[src]

fn clone(&self) -> DerivedDescriptorKey<'s>[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<'s> Debug for DerivedDescriptorKey<'s>[src]

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

Formats the value using the given formatter. Read more

-

impl<'s> Deref for DerivedDescriptorKey<'s>[src]

type Target = DescriptorPublicKey

The resulting type after dereferencing.

-

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

-

impl<'s> Display for DerivedDescriptorKey<'s>[src]

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

Formats the value using the given formatter. Read more

-

impl<'s> Hash for DerivedDescriptorKey<'s>[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<'s> MiniscriptKey for DerivedDescriptorKey<'s>[src]

type Hash = Self

The associated Hash type with the publicKey

-

fn to_pubkeyhash(&self) -> Self::Hash[src]

Converts an object to PublicHash

-

fn is_uncompressed(&self) -> bool[src]

Check if the publicKey is uncompressed. The default +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

The resulting type after dereferencing.

+

Dereferences the value.

+

Formats the value using the given formatter. Read more

+

Feeds this value into the given Hasher. Read more

+

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

+

The associated Hash type with the publicKey

+

Converts an object to PublicHash

+

Check if the publicKey is uncompressed. The default implementation returns false Read more

-

fn serialized_len(&self) -> usize[src]

Computes the size of a public key when serialized in a script, +

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

-

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 +

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

+

Compares and returns the maximum of two values. Read more

+

Compares and returns the minimum of two values. Read more

+

Restrict a value to a certain interval. Read more

+

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 <= +

This method tests for !=.

+

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

+

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

+

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 >= +

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

+

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

-

impl<'s> Eq for DerivedDescriptorKey<'s>[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.

-

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

-

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an +

Converts an object to a public key

+

Converts a hashed version of the public key to a hash160 hash. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Performs the conversion.

+

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

-

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an +

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

-

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

-

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

-

type Init = T

The type for initializers.

-

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

-

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

-

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

-

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

-

impl<T> Same<T> for T

type Output = T

Should always be Self

-

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

-

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

-

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

+

Performs the conversion.

+

The alignment of pointer.

+

The type for initializers.

+

Initializes a with the given initializer. Read more

+

Dereferences the given pointer. Read more

+

Mutably dereferences the given pointer. Read more

+

Drops the object pointed to by the given pointer. Read more

+

Should always be Self

+

The resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

-

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

-

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

-

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

- \ No newline at end of file +

Converts the given value to a String. Read more

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+
\ No newline at end of file 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 3b72ed14bd..6cd93aa046 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,7 +1,7 @@ Miniscript in bdk::descriptor - Rust -

Struct bdk::descriptor::Miniscript[]

pub struct Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 
{ +

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, @@ -11,12 +11,12 @@ Fieldsnode: 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

-

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

-

pub fn has_repeated_keys(&self) -> bool

Whether the miniscript has repeated Pk or Pkh

-

pub fn sanity_check(&self) -> Result<(), AnalysisError>

Check whether the underlying Miniscript is safe under the current context +

Implementations

Whether all spend paths of miniscript require a signature

+

Whether the miniscript is malleable

+

Whether the miniscript can exceed the resource limits(Opcodes, Stack limit etc)

+

Whether the miniscript contains a combination of timelocks

+

Whether the miniscript has repeated Pk or Pkh

+

Check whether the underlying Miniscript is safe under the current context Lifting these polices would create a semantic representation that does not represent the underlying semantics when miniscript is spent. Signing logic may not find satisfaction even if one exists.

@@ -24,81 +24,81 @@ Signing logic may not find satisfaction even if one exists.

Use this function to check whether the guarantees of library hold. Most functions of the library like would still work, but results cannot be relied upon

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Iterator-related extensions for Miniscript

-

pub fn iter(&self) -> Iter<'_, Pk, Ctx>

Creates a new [Iter] iterator that will iterate over all Miniscript items within +

Iterator-related extensions for Miniscript

+

Creates a new [Iter] iterator that will iterate over all Miniscript items within AST by traversing its branches. For the specific algorithm please see [Iter::next] function.

-

pub fn iter_pk(&self) -> PkIter<'_, Pk, Ctx>

Creates a new [PkIter] iterator that will iterate over all plain public keys (and not +

Creates a new [PkIter] iterator that will iterate over all plain public keys (and not key hash values) present in Miniscript items within AST by traversing all its branches. For the specific algorithm please see [PkIter::next] function.

-

pub fn iter_pkh(&self) -> PkhIter<'_, Pk, Ctx>

Creates a new [PkhIter] iterator that will iterate over all public keys hashes (and not +

Creates a new [PkhIter] iterator that will iterate over all public keys hashes (and not plain public keys) present in Miniscript items within AST by traversing all its branches. For the specific algorithm please see [PkhIter::next] function.

-

pub fn iter_pk_pkh(&self) -> PkPkhIter<'_, Pk, Ctx>

Creates a new [PkPkhIter] iterator that will iterate over all plain public keys and +

Creates a new [PkPkhIter] iterator that will iterate over all plain public keys and key hash values present in Miniscript items within AST by traversing all its branches. For the specific algorithm please see [PkPkhIter::next] function.

-

pub fn branches(&self) -> Vec<&Miniscript<Pk, Ctx>, Global>

Enumerates all child nodes of the current AST node (self) and returns a Vec referencing +

Enumerates all child nodes of the current AST node (self) and returns a Vec referencing them.

-

pub fn get_nth_child(&self, n: usize) -> Option<&Miniscript<Pk, Ctx>>

Returns child node with given index, if any

-

pub fn get_leaf_pk(&self) -> Vec<Pk, Global>

Returns Vec with cloned version of all public keys from the current miniscript item, +

Returns child node with given index, if any

+

Returns Vec with cloned version of all public keys from the current miniscript item, if any. Otherwise returns an empty Vec.

NB: The function analyzes only single miniscript item and not any of its descendants in AST. To obtain a list of all public keys within AST use Miniscript::iter_pk() function, for example miniscript.iter_pubkeys().collect().

-

pub fn get_leaf_pkh(&self) -> Vec<<Pk as MiniscriptKey>::Hash, Global>

Returns Vec with hashes of all public keys from the current miniscript item, if any. +

Returns Vec with hashes of all public keys from the current miniscript item, if any. Otherwise returns an empty Vec.

For each public key the function computes hash; for each hash of the public key the function returns its cloned copy.

NB: The function analyzes only single miniscript item and not any of its descendants in AST. To obtain a list of all public key hashes within AST use Miniscript::iter_pkh() function, for example miniscript.iter_pubkey_hashes().collect().

-

pub fn get_leaf_pk_pkh(&self) -> Vec<PkPkh<Pk>, Global>

Returns Vec of [PkPkh] entries, representing either public keys or public key +

Returns Vec of [PkPkh] entries, representing either public keys or public key hashes, depending on the data from the current miniscript item. If there is no public keys or hashes, the function returns an empty Vec.

NB: The function analyzes only single miniscript item and not any of its descendants in AST. To obtain a list of all public keys or hashes within AST use Miniscript::iter_pk_pkh() function, for example miniscript.iter_pubkeys_and_hashes().collect().

-

pub fn get_nth_pk(&self, n: usize) -> Option<Pk>

Returns Option::Some with cloned n’th public key from the current miniscript item, +

Returns Option::Some with cloned n’th public key from the current miniscript item, if any. Otherwise returns Option::None.

NB: The function analyzes only single miniscript item and not any of its descendants in AST.

-

pub fn get_nth_pkh(&self, n: usize) -> Option<<Pk as MiniscriptKey>::Hash>

Returns Option::Some with hash of n’th public key from the current miniscript item, +

Returns Option::Some with hash of n’th public key from the current miniscript item, if any. Otherwise returns Option::None.

For each public key the function computes hash; for each hash of the public key the function returns it cloned copy.

NB: The function analyzes only single miniscript item and not any of its descendants in AST.

-

pub fn get_nth_pk_pkh(&self, n: usize) -> Option<PkPkh<Pk>>

Returns Option::Some with hash of n’th public key or hash from the current miniscript item, +

Returns Option::Some with hash of n’th public key or hash from the current miniscript item, if any. Otherwise returns Option::None.

NB: The function analyzes only single miniscript item and not any of its descendants in AST.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn from_ast(t: Terminal<Pk, Ctx>) -> Result<Miniscript<Pk, Ctx>, Error>

Add type information(Type and Extdata) to Miniscript based on +

Add type information(Type and Extdata) to Miniscript based on AstElem fragment. Dependent on display and clone because of Error Display code of type_check.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn into_inner(self) -> Terminal<Pk, Ctx>

Extracts the AstElem representing the root of the miniscript

-

pub fn as_inner(&self) -> &Terminal<Pk, Ctx>

Get a reference to the inner AstElem representing the root of miniscript

-

impl<Ctx> Miniscript<PublicKey, Ctx> where
    Ctx: ScriptContext

pub fn parse_insane(
    script: &Script
) -> Result<Miniscript<PublicKey, Ctx>, Error>

Attempt to parse an insane(scripts don’t clear sanity checks) +

Extracts the AstElem representing the root of the miniscript

+

Get a reference to the inner AstElem representing the root of miniscript

+

Attempt to parse an insane(scripts don’t clear sanity checks) script into a Miniscript representation. Use this to parse scripts with repeated pubkeys, timelock mixing, malleable scripts without sig or scripts that can exceed resource limits. Some of the analysis guarantees of miniscript are lost when dealing with insane scripts. In general, in a multi-party setting users should only accept sane scripts.

-

pub fn parse(script: &Script) -> Result<Miniscript<PublicKey, Ctx>, Error>

Attempt to parse a Script into Miniscript representation. +

Attempt to parse a Script into Miniscript representation. This function will fail parsing for scripts that do not clear the Miniscript::sanity_check checks. Use Miniscript::parse_insane to parse such scripts.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn encode(&self) -> Script where
    Pk: ToPublicKey, 

Encode as a Bitcoin script

-

pub fn script_size(&self) -> usize

Size, in bytes of the script-pubkey. If this Miniscript is used outside +

Encode as a Bitcoin script

+

Size, in bytes of the script-pubkey. If this Miniscript is used outside of segwit (e.g. in a bare or P2SH descriptor), this quantity should be multiplied by 4 to compute the weight.

In general, it is not recommended to use this function directly, but to instead call the corresponding function on a Descriptor, which will handle the segwit/non-segwit technicalities for you.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn max_satisfaction_witness_elements(&self) -> Result<usize, Error>

Maximum number of witness elements used to satisfy the Miniscript +

Maximum number of witness elements used to satisfy the Miniscript fragment, including the witness script itself. Used to estimate the weight of the VarInt that specifies this number in a serialized transaction.

This function may returns Error when the Miniscript is impossible to satisfy

-

pub fn max_satisfaction_size(&self) -> Result<usize, Error>

Maximum size, in bytes, of a satisfying witness. For Segwit outputs +

Maximum size, in bytes, of a satisfying witness. For Segwit outputs one_cost should be set to 2, since the number 1 requires two bytes to encode. For non-segwit outputs one_cost should be set to 1, since OP_1 is available in scriptSigs.

@@ -108,18 +108,18 @@ will handle the segwit/non-segwit technicalities for you.

All signatures are assumed to be 73 bytes in size, including the length prefix (segwit) or push opcode (pre-segwit) and sighash postfix.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn from_str_insane(s: &str) -> Result<Miniscript<Pk, Ctx>, Error> where
    Pk: FromStr,
    <Pk as MiniscriptKey>::Hash: FromStr,
    <Pk as FromStr>::Err: ToString,
    <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

Attempt to parse an insane(scripts don’t clear sanity checks) +

Attempt to parse an insane(scripts don’t clear sanity checks) from string into a Miniscript representation. Use this to parse scripts with repeated pubkeys, timelock mixing, malleable scripts without sig or scripts that can exceed resource limits. Some of the analysis guarantees of miniscript are lost when dealing with insane scripts. In general, in a multi-party setting users should only accept sane scripts.

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn satisfy<S>(
    &self,
    satisfier: S
) -> Result<Vec<Vec<u8, Global>, Global>, Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Attempt to produce non-malleable satisfying witness for the +

Attempt to produce non-malleable satisfying witness for the witness script represented by the parse tree

-

pub fn satisfy_malleable<S>(
    &self,
    satisfier: S
) -> Result<Vec<Vec<u8, Global>, Global>, Error> where
    Pk: ToPublicKey,
    S: Satisfier<Pk>, 

Attempt to produce a malleable satisfying witness for the +

Attempt to produce a malleable satisfying witness for the witness script represented by the parse tree

-

impl<Pk, Ctx> Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

pub fn lift_check(&self) -> Result<(), LiftError>

Lifting corresponds conversion of miniscript into Policy +

Lifting corresponds conversion of miniscript into Policy [policy.semantic.Policy] for human readable or machine analysis. However, naively lifting miniscripts can result in incorrect interpretations that don’t correspond underlying semantics when @@ -129,93 +129,92 @@ This can occur if the miniscript contains a

  • Timelock combination
  • Contains a spend that exceeds resource limits
  • -

    Trait Implementations

    impl<Pk, Ctx> Clone for Miniscript<Pk, Ctx> where
        Ctx: Clone + ScriptContext,
        Pk: Clone + MiniscriptKey, 

    pub fn clone(&self) -> Miniscript<Pk, Ctx>

    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<Pk, Ctx> Debug for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

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

    Formats the value using the given formatter. Read more

    -

    impl<Pk, Ctx> Display for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

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

    Formats the value using the given formatter. Read more

    -

    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]

    Extract the spending policy

    -

    impl<Pk, Ctx> ForEachKey<Pk> for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn for_each_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Extract the spending policy

    +

    Run a predicate on every key in the descriptor, returning whether the predicate returned true for every key Read more

    -

    fn for_any_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether +

    Run a predicate on every key in the descriptor, returning whether the predicate returned true for any key Read more

    -

    impl<Pk, Ctx> FromStr for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey + FromStr,
        <Pk as MiniscriptKey>::Hash: FromStr,
        <Pk as FromStr>::Err: ToString,
        <<Pk as MiniscriptKey>::Hash as FromStr>::Err: ToString

    Parse a Miniscript from string and perform sanity checks +

    Parse a Miniscript from string and perform sanity checks See Miniscript::from_str_insane to parse scripts from string that do not clear the Miniscript::sanity_check checks.

    -

    type Err = Error

    The associated error which can be returned from parsing.

    -

    pub fn from_str(s: &str) -> Result<Miniscript<Pk, Ctx>, Error>

    Parses a string s to return a value of this type. Read more

    -

    impl<Pk, Ctx> FromTree for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        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<Miniscript<Pk, Ctx>, Error>

    Parse an expression tree into a Miniscript. As a general rule, this +

    The associated error which can be returned from parsing.

    +

    Parses a string s to return a value of this type. Read more

    +

    Parse an expression tree into a Miniscript. As a general rule, this should not be called directly; rather go through the descriptor API.

    -

    impl<Pk, Ctx> Hash for Miniscript<Pk, Ctx> where
        Ctx: Hash + ScriptContext,
        Pk: Hash + MiniscriptKey, 

    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<Pk, Ctx> Liftable<Pk> for Miniscript<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 Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Ord of Miniscript must depend only on node and not the type information. +

    Feeds this value into the given Hasher. Read more

    +

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

    +

    Convert the object into an abstract policy

    +

    Ord 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.

    -

    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

    -

    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. +

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

    +

    Compares and returns the maximum of two values. Read more

    +

    Compares and returns the minimum of two values. Read more

    +

    Restrict a value to a certain interval. Read more

    +

    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.

    -

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

    This method tests for self and other values to be equal, and is used +

    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<Pk, Ctx> PartialOrd<Miniscript<Pk, Ctx>> for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    PartialOrd of Miniscript must depend only on node and not the type information. +

    This method tests for !=.

    +

    PartialOrd 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.

    -

    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 <= +

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

    +

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

    +

    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 >= +

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

    +

    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 +

    This will panic if translatefpk returns an uncompressed key when converting to a Segwit descriptor. To prevent this panic, ensure translatefpk returns an error in this case instead.

    -

    type Output = Miniscript<Q, Ctx>

    The associated output type. This must be Self

    -

    fn translate_pk_infallible<Fpk, Fpkh>(
        &self,
        translatefpk: Fpk,
        translatefpkh: Fpkh
    ) -> Self::Output where
        Fpk: FnMut(&P) -> Q,
        Fpkh: FnMut(&<P as MiniscriptKey>::Hash) -> <Q as MiniscriptKey>::Hash, 

    Calls translate_pk with conversion functions that cannot fail

    -

    impl<Pk, Ctx> Eq for Miniscript<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    Eq of Miniscript must depend only on node and not the type information. +

    The associated output type. This must be Self

    +

    Calls translate_pk with conversion functions that cannot fail

    +

    Eq 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.

    -

    Auto Trait Implementations

    impl<Pk, Ctx> RefUnwindSafe for Miniscript<Pk, Ctx> where
        Ctx: RefUnwindSafe,
        Pk: RefUnwindSafe,
        <Pk as MiniscriptKey>::Hash: RefUnwindSafe

    impl<Pk, Ctx> Send for Miniscript<Pk, Ctx> where
        Ctx: Send + Sync,
        Pk: Send + Sync,
        <Pk as MiniscriptKey>::Hash: Send + Sync

    impl<Pk, Ctx> Sync for Miniscript<Pk, Ctx> where
        Ctx: Send + Sync,
        Pk: Send + Sync,
        <Pk as MiniscriptKey>::Hash: Send + Sync

    impl<Pk, Ctx> Unpin for Miniscript<Pk, Ctx> where
        Ctx: Unpin,
        Pk: Unpin,
        <Pk as MiniscriptKey>::Hash: Unpin

    impl<Pk, Ctx> UnwindSafe for Miniscript<Pk, Ctx> where
        Ctx: RefUnwindSafe + UnwindSafe,
        Pk: RefUnwindSafe + UnwindSafe,
        <Pk as MiniscriptKey>::Hash: RefUnwindSafe + 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

    -

    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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<P, Q, T> TranslatePk1<P, Q> for T where
        P: MiniscriptKey,
        T: TranslatePk<P, Q>,
        Q: MiniscriptKey<Hash = <P as MiniscriptKey>::Hash>, 

    fn translate_pk1<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
        Fpk: FnMut(&P) -> Result<Q, E>, 

    Translate a struct from one generic to another where the +

    Converts the given value to a String. Read more

    +

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    fn translate_pk1_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
        Fpk: FnMut(&P) -> Q, 

    Translate a struct from one generic to another where the +

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    impl<P, Q, T> TranslatePk2<P, Q> for T where
        P: MiniscriptKey<Hash = P>,
        T: TranslatePk<P, Q>,
        Q: MiniscriptKey, 

    fn translate_pk2<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
        Fpk: Fn(&P) -> Result<Q, E>, 

    Translate a struct from one generic to another where the +

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    fn translate_pk2_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
        Fpk: Fn(&P) -> Q, 

    Translate a struct from one generic to another where the +

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    impl<P, Q, T> TranslatePk3<P, Q> for T where
        P: MiniscriptKey + ToPublicKey,
        T: TranslatePk<P, Q>,
        Q: MiniscriptKey<Hash = Hash>, 

    fn translate_pk3<Fpk, E>(&self, translatefpk: Fpk) -> Result<Self::Output, E> where
        Fpk: FnMut(&P) -> Result<Q, E>, 

    Translate a struct from one generic to another where the +

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    fn translate_pk3_infallible<Fpk>(&self, translatefpk: Fpk) -> Self::Output where
        Fpk: FnMut(&P) -> Q, 

    Translate a struct from one generic to another where the +

    Translate a struct from one generic to another where the translation for Pk is provided by translatefpk Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 a3cfa1bc41..607a25b182 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,7 +1,7 @@ bdk::descriptor::template - Rust -

    Module bdk::descriptor::template[][src]

    Expand description

    Descriptor templates

    +

    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

    @@ -18,5 +18,4 @@ used. See the documentation of each template for an example.

    DescriptorTemplate

    Trait for descriptor templates that can be built into a full descriptor

    Type Definitions

    DescriptorTemplateOut

    Type alias for the return type of DescriptorTemplate, descriptor! and others

    -
    - \ No newline at end of file +
    \ No newline at end of file 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 72bd1271ed..d799bb4882 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);
    Expand description

    BIP44 template. Expands to pkh(key/44'/0'/0'/{0,1}/*)

    +

    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,27 +18,26 @@ 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

    -

    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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Build the complete descriptor

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    Convert to wallet descriptor

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 771abb5d0d..79e020c5e8 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);
    Expand description

    BIP44 public template. Expands to pkh(key/{0,1}/*)

    +

    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,27 +21,26 @@ 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

    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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    Convert to wallet descriptor

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 3e41fb8fd4..de17902705 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);
    Expand description

    BIP49 template. Expands to sh(wpkh(key/49'/0'/0'/{0,1}/*))

    +

    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,27 +18,26 @@ 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

    -

    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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Build the complete descriptor

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    Convert to wallet descriptor

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 cf6e29aa74..552b0c193e 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);
    Expand description

    BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))

    +

    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,27 +21,26 @@ 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

    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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    Convert to wallet descriptor

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 015c297a63..e7ed59add3 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);
    Expand description

    BIP84 template. Expands to wpkh(key/84'/0'/0'/{0,1}/*)

    +

    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,27 +18,26 @@ 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

    -

    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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Build the complete descriptor

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    Convert to wallet descriptor

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 3d53197ea7..5a3678c7a3 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);
    Expand description

    BIP84 public template. Expands to wpkh(key/{0,1}/*)

    +

    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,27 +21,26 @@ 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

    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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    Convert to wallet descriptor

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 168613350f..39f209bb9d 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);
    Expand description

    P2PKH template. Expands to a descriptor pkh(key)

    +

    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,27 +19,26 @@
         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

    -

    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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Build the complete descriptor

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    Convert to wallet descriptor

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 6f2643c3a6..25c434e929 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);
    Expand description

    P2WPKH template. Expands to a descriptor wpkh(key)

    +

    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,27 +19,26 @@
         wallet.get_address(New)?.to_string(),
         "tb1q4525hmgw265tl3drrl8jjta7ayffu6jf68ltjd"
     );
    -

    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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    Convert to wallet descriptor

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 7c04ff1a62..760985620d 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);
    Expand description

    P2WPKH-P2SH template. Expands to a descriptor sh(wpkh(key))

    +

    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,27 +19,26 @@
         wallet.get_address(New)?.to_string(),
         "2NB4ox5VDRw1ecUv6SnT3VQHPXveYztRqk5"
     );
    -

    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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> IntoWalletDescriptor for T where
        T: DescriptorTemplate
    [src]

    pub fn into_wallet_descriptor(
        Self,
        &Secp256k1<All>,
        Network
    ) -> Result<(Descriptor<DescriptorPublicKey>, HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>), Error>
    [src]

    Convert to wallet descriptor

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    Convert to wallet descriptor

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 fdcf321930..52f09fb287 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,7 +1,7 @@ DescriptorTemplate in bdk::descriptor::template - Rust -

    Trait bdk::descriptor::template::DescriptorTemplate[][src]

    pub trait DescriptorTemplate {
    +

    Trait bdk::descriptor::template::DescriptorTemplate[][src]

    pub trait DescriptorTemplate {
         fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>;
     }
    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 @@ -9,7 +9,7 @@ passed directly to the WalletExample

     use bdk::descriptor::error::Error as DescriptorError;
    -use bdk::keys::{KeyError, IntoDescriptorKey};
    +use bdk::keys::{IntoDescriptorKey, KeyError};
     use bdk::miniscript::Legacy;
     use bdk::template::{DescriptorTemplate, DescriptorTemplateOut};
     
    @@ -20,6 +20,5 @@ passed directly to the WalletOk(bdk::descriptor!(pkh(self.0))?)
         }
     }
    -

    Required methods

    fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

    Build the complete descriptor

    -

    Implementors

    - \ No newline at end of file +

    Required methods

    Build the complete descriptor

    +

    Implementors

    \ 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 74e189d666..3a57eeea60 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,6 @@ DescriptorTemplateOut in bdk::descriptor::template - Rust -

    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 +

    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

    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 abb5c177d7..a8851e781c 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,8 @@ ExtractPolicy in bdk::descriptor - Rust -

    Trait bdk::descriptor::ExtractPolicy[][src]

    pub trait ExtractPolicy {
    +

    Trait bdk::descriptor::ExtractPolicy[][src]

    pub trait ExtractPolicy {
         fn extract_policy(
            &self,
            signers: &SignersContainer,
            psbt: BuildSatisfaction<'_>,
            secp: &Secp256k1<All>
        ) -> Result<Option<Policy>, DescriptorError>; }
    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]

    Extract the spending policy

    -

    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]

    - \ No newline at end of file +

    Required methods

    Extract the spending policy

    +

    Implementors

    \ 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 45336a68cc..cf3b174d04 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,10 @@ IntoWalletDescriptor in bdk::descriptor - Rust -

    Trait bdk::descriptor::IntoWalletDescriptor[][src]

    pub trait IntoWalletDescriptor {
    +

    Trait bdk::descriptor::IntoWalletDescriptor[][src]

    pub trait IntoWalletDescriptor {
         fn into_wallet_descriptor(
            self,
            secp: &Secp256k1<All>,
            network: Network
        ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>; }
    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]

    Convert to wallet descriptor

    -

    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]

    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 +

    Required methods

    Convert to wallet descriptor

    +

    Implementations on Foreign Types

    Implementors

    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]

    - \ No newline at end of file +
    \ 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 2a9b2740a0..0faeed47f2 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 {
    +

    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
    ; @@ -29,7 +29,7 @@ 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

    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.

    -

    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 +

    Depending on script context, the size of a satifaction witness may slightly differ.

    +

    Provided methods

    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 +

    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 +

    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,20 @@ 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. +

    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. +

    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 +

    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 +

    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.

    -

    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, 

    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, 

    - \ No newline at end of file +

    Check whether the top-level is type B

    +

    Other top level checks that are context specific

    +

    Check top level consensus rules.

    +

    Implementations on Foreign Types

    Implementors

    \ 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 6267a7ac4f..8bf772dd6d 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,5 @@ DerivedDescriptor in bdk::descriptor - Rust -

    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 +

    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 4ebe186463..ea2eb351e3 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,6 @@ ExtendedDescriptor in bdk::descriptor - Rust -

    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 +

    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

    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 c537488823..2e81053329 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,6 @@ HdKeyPaths in bdk::descriptor - Rust -

    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 +

    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 +
    \ 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 3b57e254ce..435c3f5b34 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,9 @@ KeyMap in bdk::descriptor - Rust -

    Type Definition bdk::descriptor::KeyMap[]

    type KeyMap = HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>;
    Expand description

    Alias type for a map of public key to secret key

    +

    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 +
    \ 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 2089b5cb5b..439b649fc7 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 {
    +

    Enum bdk::Error[][src]

    pub enum Error {
     
    Show variants InvalidU32Bytes(Vec<u8>), Generic(String), ScriptDoesntHaveAddressForm, @@ -98,49 +98,48 @@ explicit origin provided

    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

    -

    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

    -

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    -

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -

    impl From<AddressValidatorError> for Error[src]

    fn from(err: AddressValidatorError) -> Self[src]

    Performs the conversion.

    -

    impl From<CompactFiltersError> for Error[src]

    fn from(other: CompactFiltersError) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for CompactFiltersError[src]

    This is supported on crate feature compact_filters only.

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for Error[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<EsploraError> for Error[src]

    fn from(err: EsploraError) -> Self[src]

    Performs the conversion.

    -

    impl From<KeyError> for Error[src]

    fn from(key_error: KeyError) -> Error[src]

    Performs the conversion.

    -

    impl From<PolicyError> for Error[src]

    fn from(err: PolicyError) -> Self[src]

    Performs the conversion.

    -

    impl From<SignerError> for Error[src]

    fn from(err: SignerError) -> Self[src]

    Performs the conversion.

    -

    Auto Trait Implementations

    impl !RefUnwindSafe for Error

    impl Send for Error

    impl Sync for Error

    impl Unpin for Error

    impl !UnwindSafe for Error

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    Formats the value using the given formatter. Read more

    +

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

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

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

    +
    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +
    This is supported on crate feature compact_filters only.

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 4533ff0215..a94a6b3317 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html @@ -1,7 +1,7 @@ KeychainKind in bdk - Rust -

    Enum bdk::KeychainKind[][src]

    pub enum KeychainKind {
    +

    Enum bdk::KeychainKind[][src]

    pub enum KeychainKind {
         External,
         Internal,
     }
    Expand description

    Types of keychains

    @@ -9,48 +9,47 @@ 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

    -

    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

    -

    impl Debug for KeychainKind[src]

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

    Formats the value using the given formatter. Read more

    -

    impl<'de> Deserialize<'de> for KeychainKind[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 Hash for KeychainKind[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 PartialEq<KeychainKind> for KeychainKind[src]

    fn eq(&self, other: &KeychainKind) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Implementations

    Return KeychainKind as a byte

    +

    Trait Implementations

    Performs the conversion.

    +

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    +

    Feeds this value into the given Hasher. Read more

    +

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

    +

    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 Serialize for KeychainKind[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 KeychainKind[src]

    impl Eq for KeychainKind[src]

    impl StructuralEq for KeychainKind[src]

    impl StructuralPartialEq for KeychainKind[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> Base32Len for T where
        T: AsRef<[u8]>, 

    pub fn base32_len(&self) -> usize

    Calculate the base32 serialized length

    -

    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<'f, T> CheckBase32<Vec<u5, Global>> for T where
        T: AsRef<[u8]>, 

    type Err = Error

    Error type if conversion fails

    -

    pub fn check_base32(
        self
    ) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>

    Check if all values are in range and return array-like struct of u5 values

    -

    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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    This method tests for !=.

    +

    Serialize this value into the given Serde serializer. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Calculate the base32 serialized length

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Error type if conversion fails

    +

    Check if all values are in range and return array-like struct of u5 values

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToBase32 for T where
        T: AsRef<[u8]>, 

    pub fn write_base32<W>(
        &self,
        writer: &mut W
    ) -> Result<(), <W as WriteBase32>::Err> where
        W: WriteBase32, 

    Encode as base32 and write it to the supplied writer +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more

    -

    fn to_base32(&self) -> Vec<u5, Global>

    Convert Self to base32 vector

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Convert Self to base32 vector

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 638ac04dcc..7f88c3d053 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html @@ -1,7 +1,7 @@ Utxo in bdk - Rust -

    Enum bdk::Utxo[][src]

    pub enum Utxo {
    +

    Enum bdk::Utxo[][src]

    pub enum Utxo {
         Local(LocalUtxo),
         Foreign {
             outpoint: OutPoint,
    @@ -14,37 +14,36 @@
     
    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

    -

    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

    -

    impl Debug for Utxo[src]

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

    Formats the value using the given formatter. Read more

    -

    impl PartialEq<Utxo> for Utxo[src]

    fn eq(&self, other: &Utxo) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Implementations

    Get the location of the UTXO

    +

    Get the TxOut of the UTXO

    +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

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

    -

    fn ne(&self, other: &Utxo) -> bool[src]

    This method tests for !=.

    -

    impl StructuralPartialEq for Utxo[src]

    Auto Trait Implementations

    impl RefUnwindSafe for Utxo

    impl Send for Utxo

    impl Sync for Utxo

    impl Unpin for Utxo

    impl UnwindSafe for Utxo

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    This method tests for !=.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/error/enum.Error.html b/static/docs-rs/bdk/nightly/latest/bdk/error/enum.Error.html index 113a951037..9abf6d4a9c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/error/enum.Error.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/error/enum.Error.html @@ -2,6 +2,7 @@ + Redirection

    Redirecting to ../../bdk/enum.Error.html...

    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 355986d9a2..8d4a1c9389 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,5 @@ version in bdk - Rust -

    Function bdk::version[][src]

    pub fn version() -> &'static str
    Expand description

    Get the version of BDK at runtime

    -
    - \ No newline at end of file +

    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 32feaed14e..bbf47c9d3d 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]

    Expand description

    A modern, lightweight, descriptor-based wallet library written in Rust.

    +

    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.

      @@ -172,5 +172,4 @@ BDK.

      Utxo

      An unspent transaction output (UTXO).

      Functions

      version

      Get the version of BDK at runtime

      -
    - \ No newline at end of file +
    \ No newline at end of file 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 5e14ab4296..1709d1b999 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 {
    +

    Enum bdk::keys::bip39::Language[]

    pub enum Language {
         English,
         ChineseSimplified,
         ChineseTraditional,
    @@ -16,44 +16,43 @@ determines the binary value of each word when a 
                        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 +

    English
    ChineseSimplified
    ChineseTraditional
    French
    Italian
    Japanese
    Korean
    Spanish

    Implementations

    Construct a word list from its language code. Returns None if the language code is not valid or not supported.

    -

    pub fn wordlist(&self) -> &'static WordList

    Get the word list for this language

    -

    pub fn wordmap(&self) -> &'static WordMap

    Get a [WordMap][WordMap] that allows word -> index lookups in the word list

    +

    Get the word list for this language

    +

    Get a [WordMap][WordMap] that allows word -> index lookups in the word list

    The index of an individual word in the word list is used as the binary value of that word when the phrase is turned into a [Seed][Seed].

    -

    Trait Implementations

    impl Clone for Language

    pub fn clone(&self) -> Language

    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 Language

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

    Formats the value using the given formatter. Read more

    -

    impl Default for Language

    pub fn default() -> Language

    Returns the “default value” for a type. Read more

    -

    impl PartialEq<Language> for Language

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

    This method tests for self and other values to be equal, and is used +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    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 Zeroize for Language

    pub fn zeroize(&mut self)

    Zero out this object from memory using Rust intrinsics which ensure the +

    This method tests for !=.

    +

    Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler. Read more

    -

    impl Copy for Language

    impl StructuralPartialEq for Language

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 f79c72dca6..81b9db8ab3 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,7 +1,7 @@ MnemonicType in bdk::keys::bip39 - Rust -

    Enum bdk::keys::bip39::MnemonicType[]

    pub enum MnemonicType {
    +

    Enum bdk::keys::bip39::MnemonicType[]

    pub enum MnemonicType {
         Words12,
         Words15,
         Words18,
    @@ -24,7 +24,7 @@ passing arbitrary usize values:

    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

    +
    Words12
    Words15
    Words18
    Words21
    Words24

    Implementations

    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 of kind ErrorKind::InvalidWordLength.

    Example

    @@ -32,7 +32,7 @@ of kind ErrorKind::InvalidWordLength.

    use bip39::{MnemonicType}; let mnemonic_type = MnemonicType::for_word_count(12).unwrap();
    -

    pub fn for_key_size(size: usize) -> Result<MnemonicType, Error>

    Get a MnemonicType for a mnemonic phrase representing the given key size as bits

    +

    Get a MnemonicType for a mnemonic phrase representing the given key size as bits

    Specifying a key size not provided for by the BIP39 standard will return an Error of kind ErrorKind::InvalidKeysize.

    Example

    @@ -40,7 +40,7 @@ of kind ErrorKind::InvalidKeysize.

    use bip39::{MnemonicType}; let mnemonic_type = MnemonicType::for_key_size(128).unwrap();
    -

    pub fn for_phrase(phrase: &str) -> Result<MnemonicType, Error>

    Get a MnemonicType for an existing mnemonic phrase

    +

    Get a MnemonicType for an existing mnemonic phrase

    This can be used when you need information about a mnemonic phrase based on the number of words, for example you can get the entropy value using MnemonicType::entropy_bits.

    Specifying a phrase that does not match one of the standard BIP39 phrase lengths will return @@ -55,7 +55,7 @@ other way.

    let mnemonic_type = MnemonicType::for_phrase(test_mnemonic).unwrap(); let entropy_bits = mnemonic_type.entropy_bits();
    -

    pub fn total_bits(&self) -> usize

    Return the number of entropy+checksum bits

    +

    Return the number of entropy+checksum bits

    Example

     use bip39::{MnemonicType};
    @@ -65,7 +65,7 @@ other way.

    let mnemonic_type = MnemonicType::for_phrase(test_mnemonic).unwrap(); let total_bits = mnemonic_type.total_bits();
    -

    pub fn entropy_bits(&self) -> usize

    Return the number of entropy bits

    +

    Return the number of entropy bits

    Example

     use bip39::{MnemonicType};
    @@ -75,7 +75,7 @@ other way.

    let mnemonic_type = MnemonicType::for_phrase(test_mnemonic).unwrap(); let entropy_bits = mnemonic_type.entropy_bits();
    -

    pub fn checksum_bits(&self) -> u8

    Return the number of checksum bits

    +

    Return the number of checksum bits

    Example

     use bip39::{MnemonicType};
    @@ -85,7 +85,7 @@ other way.

    let mnemonic_type = MnemonicType::for_phrase(test_mnemonic).unwrap(); let checksum_bits = mnemonic_type.checksum_bits();
    -

    pub fn word_count(&self) -> usize

    Return the number of words

    +

    Return the number of words

    Example

     use bip39::{MnemonicType};
    @@ -93,35 +93,34 @@ other way.

    let mnemonic_type = MnemonicType::Words12; let word_count = mnemonic_type.word_count();
    -

    Trait Implementations

    impl Clone for MnemonicType

    pub fn clone(&self) -> MnemonicType

    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 MnemonicType

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

    Formats the value using the given formatter. Read more

    -

    impl Default for MnemonicType

    pub fn default() -> MnemonicType

    Returns the “default value” for a type. Read more

    -

    impl Display for MnemonicType

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

    Formats the value using the given formatter. Read more

    -

    impl Copy for MnemonicType

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 8a3c6112cb..0b04015641 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,7 +1,7 @@ bdk::keys::bip39 - Rust -

    Module bdk::keys::bip39[][src]

    This is supported on crate feature keys-bip39 only.
    Expand description

    BIP-0039

    +

    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.

    @@ -11,5 +11,4 @@ determines the binary value of each word when a
    MnemonicType

    Determines the number of words that will be present in a Mnemonic phrase

    Type Definitions

    MnemonicWithPassphrase

    Type for a BIP39 mnemonic with an optional passphrase

    -
    - \ No newline at end of file +
    \ No newline at end of file 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 42e26a1b42..d493b2651e 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.
    Expand description

    The primary type in this crate, most tasks require creating or using one.

    +

    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

    Generates a new Mnemonic

    Use Mnemonic::phrase() to get an str slice of the generated phrase.

    Example

    @@ -24,7 +24,7 @@ but beware that the entropy value is not the same thing as an H
     println!("phrase: {}", phrase);
     
     assert_eq!(phrase.split(" ").count(), 12);
    -

    pub fn from_entropy(entropy: &[u8], lang: Language) -> Result<Mnemonic, Error>

    Create a Mnemonic from pre-generated entropy

    +

    Create a Mnemonic from pre-generated entropy

    Example

     use bip39::{Mnemonic, MnemonicType, Language};
    @@ -34,7 +34,7 @@ but beware that the entropy value is not the same thing as an H
     
     assert_eq!("crop cash unable insane eight faith inflict route frame loud box vibrant", mnemonic.phrase());
     assert_eq!("33E46BB13A746EA41CDDE45C90846A79", format!("{:X}", mnemonic));
    -

    pub fn from_phrase(phrase: &str, lang: Language) -> Result<Mnemonic, Error>

    Create a Mnemonic from an existing mnemonic phrase

    +

    Create a Mnemonic from an existing mnemonic phrase

    The phrase supplied will be checked for word length and validated according to the checksum specified in BIP0039

    Example

    @@ -45,7 +45,7 @@ specified in BIP0039

    let mnemonic = Mnemonic::from_phrase(phrase, Language::English).unwrap(); assert_eq!(phrase, mnemonic.phrase());
    -

    pub fn validate(phrase: &str, lang: Language) -> Result<(), Error>

    Validate a mnemonic phrase

    +

    Validate a mnemonic phrase

    The phrase supplied will be checked for word length and validated according to the checksum specified in BIP0039.

    Example

    @@ -55,9 +55,9 @@ specified in BIP0039.

    let test_mnemonic = "park remain person kitchen mule spell knee armed position rail grid ankle"; assert!(Mnemonic::validate(test_mnemonic, Language::English).is_ok());
    -

    pub fn phrase(&self) -> &str

    Get the mnemonic phrase as a string reference.

    -

    pub fn into_phrase(self) -> String

    Consume the Mnemonic and return the phrase as a String.

    -

    pub fn entropy(&self) -> &[u8]

    Get the original entropy value of the mnemonic phrase as a slice.

    +

    Get the mnemonic phrase as a string reference.

    +

    Consume the Mnemonic and return the phrase as a String.

    +

    Get the original entropy value of the mnemonic phrase as a slice.

    Example

     use bip39::{Mnemonic, Language};
    @@ -69,50 +69,49 @@ specified in BIP0039.

    let entropy: &[u8] = mnemonic.entropy();

    Note: You shouldn’t use the generated entropy as secrets, for that generate a new Seed from the Mnemonic.

    -

    pub fn language(&self) -> Language

    Get the Language

    -

    Trait Implementations

    impl AsRef<str> for Mnemonic

    pub fn as_ref(&self) -> &str

    Performs the conversion.

    -

    impl Clone for Mnemonic

    pub fn clone(&self) -> Mnemonic

    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 Mnemonic

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

    Formats the value using the given formatter. Read more

    -

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for Mnemonic[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 +

    Get the Language

    +

    Trait Implementations

    Performs the conversion.

    +

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Consume self and turn it into an ExtendedKey Read more

    +

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

    -

    impl Display for Mnemonic

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

    Formats the value using the given formatter. Read more

    -

    impl Drop for Mnemonic

    pub fn drop(&mut self)

    Executes the destructor for this type. Read more

    -

    impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

    type Entropy = [u8; 32]

    Type specifying the amount of entropy required e.g. [u8;32]

    -

    type Options = (MnemonicType, Language)

    Extra options required by the generate_with_entropy

    -

    type Error = Option<ErrorKind>

    Returned error in case of failure

    -

    fn generate_with_entropy(
        (mnemonic_type, language): Self::Options,
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Generate a key given the extra options and the entropy

    -

    fn generate(
        options: Self::Options
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Generate a key given the options with a random entropy

    -

    impl LowerHex for Mnemonic

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

    Formats the value using the given formatter.

    -

    impl UpperHex for Mnemonic

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

    Formats the value using the given formatter.

    -

    impl Zeroize for Mnemonic

    pub fn zeroize(&mut self)

    Zero out this object from memory using Rust intrinsics which ensure the +

    Formats the value using the given formatter. Read more

    +

    Executes the destructor for this type. Read more

    +

    Type specifying the amount of entropy required e.g. [u8;32]

    +

    Extra options required by the generate_with_entropy

    +

    Returned error in case of failure

    +

    Generate a key given the extra options and the entropy

    +

    Generate a key given the options with a random entropy

    +

    Formats the value using the given formatter.

    +

    Formats the value using the given formatter.

    +

    Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler. 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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToHex for T where
        T: LowerHex

    pub fn to_hex(&self) -> String

    Outputs the hash in hexadecimal form

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    Outputs the hash in hexadecimal form

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 3a98c55ef1..446bad1dec 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.
    Expand description

    The secret value used to derive HD wallet addresses from a Mnemonic phrase.

    +

    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,50 +9,49 @@ 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.

    -

    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

    -

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

    Performs copy-assignment from source. Read more

    -

    impl Debug for Seed

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

    Formats the value using the given formatter. Read more

    -

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for Seed[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 +

    Implementations

    Generates the seed from the Mnemonic and the password.

    +

    Get the seed value as a byte slice

    +

    Trait Implementations

    Performs the conversion.

    +

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Consume self and turn it into an ExtendedKey Read more

    +

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

    -

    impl Drop for Seed

    pub fn drop(&mut self)

    Executes the destructor for this type. Read more

    -

    impl LowerHex for Seed

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

    Formats the value using the given formatter.

    -

    impl UpperHex for Seed

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

    Formats the value using the given formatter.

    -

    impl Zeroize for Seed

    pub fn zeroize(&mut self)

    Zero out this object from memory using Rust intrinsics which ensure the +

    Executes the destructor for this type. Read more

    +

    Formats the value using the given formatter.

    +

    Formats the value using the given formatter.

    +

    Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler. Read more

    -

    Auto Trait Implementations

    impl RefUnwindSafe for Seed

    impl Send for Seed

    impl Sync for Seed

    impl Unpin for Seed

    impl UnwindSafe for Seed

    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> Base32Len for T where
        T: AsRef<[u8]>, 

    pub fn base32_len(&self) -> usize

    Calculate the base32 serialized length

    -

    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<'f, T> CheckBase32<Vec<u5, Global>> for T where
        T: AsRef<[u8]>, 

    type Err = Error

    Error type if conversion fails

    -

    pub fn check_base32(
        self
    ) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>

    Check if all values are in range and return array-like struct of u5 values

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Calculate the base32 serialized length

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Error type if conversion fails

    +

    Check if all values are in range and return array-like struct of u5 values

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToBase32 for T where
        T: AsRef<[u8]>, 

    pub fn write_base32<W>(
        &self,
        writer: &mut W
    ) -> Result<(), <W as WriteBase32>::Err> where
        W: WriteBase32, 

    Encode as base32 and write it to the supplied writer +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more

    -

    fn to_base32(&self) -> Vec<u5, Global>

    Convert Self to base32 vector

    -

    impl<T> ToHex for T where
        T: LowerHex

    pub fn to_hex(&self) -> String

    Outputs the hash in hexadecimal form

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Convert Self to base32 vector

    +

    Outputs the hash in hexadecimal form

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 0623ba2c11..eda0082f52 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,9 +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.
    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 +

    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

    Consume self and turn it into an ExtendedKey Read more

    +

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

    -
    - \ No newline at end of file +
    \ No newline at end of file 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 032a4527f0..82242ede19 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,34 +1,33 @@ DescriptorKey in bdk::keys - Rust -

    Enum bdk::keys::DescriptorKey[][src]

    pub enum DescriptorKey<Ctx: ScriptContext> {
    +

    Enum bdk::keys::DescriptorKey[][src]

    pub enum DescriptorKey<Ctx: ScriptContext> {
         // some variants omitted
     }
    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

    -

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

    The “identity” conversion is used internally by some bdk::fragments

    -

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    -

    Auto Trait Implementations

    impl<Ctx> RefUnwindSafe for DescriptorKey<Ctx> where
        Ctx: RefUnwindSafe

    impl<Ctx> Send for DescriptorKey<Ctx> where
        Ctx: Send

    impl<Ctx> Sync for DescriptorKey<Ctx> where
        Ctx: Sync

    impl<Ctx> Unpin for DescriptorKey<Ctx> where
        Ctx: Unpin

    impl<Ctx> UnwindSafe for DescriptorKey<Ctx> where
        Ctx: 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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Implementations

    Create an instance given a public key and a set of valid networks

    +

    Create an instance given a secret key and a set of valid networks

    +

    Override the computed set of valid networks

    +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    The “identity” conversion is used internally by some bdk::fragments

    +

    Turn the key into a DescriptorKey within the requested ScriptContext

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 9f06aff0de..efc4365fa7 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,7 +1,7 @@ DescriptorPublicKey in bdk::keys - Rust -

    Enum bdk::keys::DescriptorPublicKey[]

    pub enum DescriptorPublicKey {
    +

    Enum bdk::keys::DescriptorPublicKey[]

    pub enum DescriptorPublicKey {
         SinglePub(DescriptorSinglePub),
         XPub(DescriptorXKey<ExtendedPubKey>),
     }
    Expand description

    The MiniscriptKey corresponding to Descriptors. This can @@ -10,75 +10,74 @@ 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

    -

    pub fn full_derivation_path(&self) -> DerivationPath

    Full path, from the master key

    +

    Implementations

    The fingerprint of the master key associated with this key

    +

    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 to the wildcard type (hardened or normal)

    -

    pub fn is_deriveable(&self) -> bool

    Whether or not the key has a wildcards

    -

    pub fn derive(self, index: u32) -> DescriptorPublicKey

    If this public key has a wildcard, replace it by the given index

    +

    Whether or not the key has a wildcards

    +

    If this public key has a wildcard, replace it by the given index

    Panics if given an index ≥ 2^31

    -

    pub fn derive_public_key<C>(
        &self,
        secp: &Secp256k1<C>
    ) -> Result<PublicKey, ConversionError> where
        C: Verification, 

    Computes the public key corresponding to this descriptor key

    +

    Computes the public key corresponding to this descriptor key

    Will return an error if the descriptor key has any hardened derivation steps in its path, or if the key has any wildcards.

    To ensure there are no wildcards, call .derive(0) or similar; to avoid hardened derivation steps, start from a DescriptorSecretKey and call as_public, or call TranslatePk2::translate_pk2 with some function which has access to secret key data.

    -

    Trait Implementations

    impl Clone for DescriptorPublicKey

    pub fn clone(&self) -> DescriptorPublicKey

    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 DescriptorPublicKey

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

    Formats the value using the given formatter. Read more

    -

    impl Display for DescriptorPublicKey

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

    Formats the value using the given formatter. Read more

    -

    impl FromStr for DescriptorPublicKey

    type Err = DescriptorKeyParseError

    The associated error which can be returned from parsing.

    -

    pub fn from_str(
        s: &str
    ) -> Result<DescriptorPublicKey, <DescriptorPublicKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more

    -

    impl Hash for DescriptorPublicKey

    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<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorPublicKey[src]

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    -

    impl MiniscriptKey for DescriptorPublicKey

    type Hash = DescriptorPublicKey

    The associated Hash type with the publicKey

    -

    pub fn is_uncompressed(&self) -> bool

    Check if the publicKey is uncompressed. The default +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Formats the value using the given formatter. Read more

    +

    The associated error which can be returned from parsing.

    +

    Parses a string s to return a value of this type. Read more

    +

    Feeds this value into the given Hasher. Read more

    +

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

    +

    Turn the key into a DescriptorKey within the requested ScriptContext

    +

    The associated Hash type with the publicKey

    +

    Check if the publicKey is uncompressed. The default implementation returns false Read more

    -

    pub fn to_pubkeyhash(&self) -> DescriptorPublicKey

    Converts an object to PublicHash

    -

    fn serialized_len(&self) -> usize

    Computes the size of a public key when serialized in a script, +

    Converts an object to PublicHash

    +

    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

    -

    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 +

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

    +

    Compares and returns the maximum of two values. Read more

    +

    Compares and returns the minimum of two values. Read more

    +

    Restrict a value to a certain interval. Read more

    +

    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 <= +

    This method tests for !=.

    +

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

    +

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

    +

    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 >= +

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

    +

    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

    -

    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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 fef4029a99..014a6bf341 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,7 +1,7 @@ DescriptorSecretKey in bdk::keys - Rust -

    Enum bdk::keys::DescriptorSecretKey[]

    pub enum DescriptorSecretKey {
    +

    Enum bdk::keys::DescriptorSecretKey[]

    pub enum DescriptorSecretKey {
         SinglePriv(DescriptorSinglePriv),
         XPrv(DescriptorXKey<ExtendedPrivKey>),
     }
    Expand description

    A Secret Key that can be either a single key or an Xprv

    @@ -9,37 +9,36 @@ 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 +

    Implementations

    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 to a public key. See the documentation of [DescriptorXKey<bip32::ExtendedPrivKey>::as_public] for more details.

    -

    Trait Implementations

    impl Debug for DescriptorSecretKey

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

    Formats the value using the given formatter. Read more

    -

    impl Display for DescriptorSecretKey

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

    Formats the value using the given formatter. Read more

    -

    impl FromStr for DescriptorSecretKey

    type Err = DescriptorKeyParseError

    The associated error which can be returned from parsing.

    -

    pub fn from_str(
        s: &str
    ) -> Result<DescriptorSecretKey, <DescriptorSecretKey as FromStr>::Err>

    Parses a string s to return a value of this type. Read more

    -

    impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorSecretKey[src]

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    -

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    Formats the value using the given formatter. Read more

    +

    The associated error which can be returned from parsing.

    +

    Parses a string s to return a value of this type. Read more

    +

    Turn the key into a DescriptorKey within the requested ScriptContext

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 d8fc7a0b4c..e9cdcd2207 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,7 +1,7 @@ ExtendedKey in bdk::keys - Rust -

    Enum bdk::keys::ExtendedKey[][src]

    pub enum ExtendedKey<Ctx: ScriptContext = Legacy> {
    +

    Enum bdk::keys::ExtendedKey[][src]

    pub enum ExtendedKey<Ctx: ScriptContext = Legacy> {
         Private((ExtendedPrivKey, PhantomData<Ctx>)),
         Public((ExtendedPubKey, PhantomData<Ctx>)),
     }
    Expand description

    Enum for extended keys that can be either xprv or xpub

    @@ -12,36 +12,35 @@ or an ExtendedPubKey by using t 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

    -

    pub fn into_xprv(self, network: Network) -> Option<ExtendedPrivKey>[src]

    Transform the ExtendedKey into an ExtendedPrivKey for the +

    Implementations

    Return whether or not the key contains the private data

    +

    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 +

    Transform the ExtendedKey into an ExtendedPubKey for the given [Network]

    -

    Trait Implementations

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

    Identity conversion

    -

    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,
        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 +

    Trait Implementations

    Identity conversion

    +

    Consume self and turn it into an ExtendedKey Read more

    +

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

    -

    impl<Ctx: ScriptContext> From<ExtendedPrivKey> for ExtendedKey<Ctx>[src]

    fn from(xprv: ExtendedPrivKey) -> Self[src]

    Performs the conversion.

    -

    impl<Ctx: ScriptContext> From<ExtendedPubKey> for ExtendedKey<Ctx>[src]

    fn from(xpub: ExtendedPubKey) -> Self[src]

    Performs the conversion.

    -

    Auto Trait Implementations

    impl<Ctx> RefUnwindSafe for ExtendedKey<Ctx> where
        Ctx: RefUnwindSafe

    impl<Ctx> Send for ExtendedKey<Ctx> where
        Ctx: Send

    impl<Ctx> Sync for ExtendedKey<Ctx> where
        Ctx: Sync

    impl<Ctx> Unpin for ExtendedKey<Ctx> where
        Ctx: Unpin

    impl<Ctx> UnwindSafe for ExtendedKey<Ctx> where
        Ctx: 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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 8b965a3640..6e43b5a81f 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,7 +1,7 @@ KeyError in bdk::keys - Rust -

    Enum bdk::keys::KeyError[][src]

    pub enum KeyError {
    +

    Enum bdk::keys::KeyError[][src]

    pub enum KeyError {
         InvalidScriptContext,
         InvalidNetwork,
         InvalidChecksum,
    @@ -17,36 +17,35 @@
     
    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

    -

    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

    -

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    -

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -

    impl From<Error> for KeyError[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<Error> for KeyError[src]

    fn from(err: Error) -> Self[src]

    Performs the conversion.

    -

    impl From<KeyError> for Error[src]

    fn from(key_error: KeyError) -> Error[src]

    Performs the conversion.

    -

    impl From<KeyError> for Error[src]

    fn from(key_error: KeyError) -> Error[src]

    Performs the conversion.

    -

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    Formats the value using the given formatter. Read more

    +

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

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

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

    +
    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 90a1012013..4147f3230c 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,7 +1,7 @@ ScriptContextEnum in bdk::keys - Rust -

    Enum bdk::keys::ScriptContextEnum[][src]

    pub enum ScriptContextEnum {
    +

    Enum bdk::keys::ScriptContextEnum[][src]

    pub enum ScriptContextEnum {
         Legacy,
         Segwitv0,
     }
    Expand description

    Enum representation of the known valid ScriptContexts

    @@ -9,38 +9,37 @@ 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

    -

    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

    -

    impl Debug for ScriptContextEnum[src]

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

    Formats the value using the given formatter. Read more

    -

    impl PartialEq<ScriptContextEnum> for ScriptContextEnum[src]

    fn eq(&self, other: &ScriptContextEnum) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Implementations

    Returns whether the script context is ScriptContextEnum::Legacy

    +

    Returns whether the script context is ScriptContextEnum::Segwitv0

    +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    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 Copy for ScriptContextEnum[src]

    impl Eq for ScriptContextEnum[src]

    impl StructuralEq for ScriptContextEnum[src]

    impl StructuralPartialEq for ScriptContextEnum[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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    This method tests for !=.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 716c20ad93..b09367c391 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,5 @@ any_network in bdk::keys - Rust -

    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 +

    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 e6ed42a466..5ff18e04dd 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,5 @@ mainnet_network in bdk::keys - Rust -

    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 +

    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 5c16e92349..f17ec2114d 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,5 @@ merge_networks in bdk::keys - Rust -

    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 +

    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 f810f2d54c..eca8e6dc24 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,5 @@ test_networks in bdk::keys - Rust -

    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 +

    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 8609c458f8..1b7cd60fa9 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/index.html @@ -1,7 +1,7 @@ bdk::keys - Rust -

    Module bdk::keys[][src]

    Expand description

    Key formats

    +

    Module bdk::keys[][src]

    Expand description

    Key formats

    Modules

    bip39keys-bip39

    BIP-0039

    Structs

    @@ -36,5 +36,4 @@ For example, disallowing uncompressed keys in Segwit context

    Type Definitions

    KeyMap

    Alias type for a map of public key to secret key

    ValidNetworks

    Set of valid networks for a key

    -
    - \ No newline at end of file +
    \ No newline at end of file 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 38ef307954..fde052808d 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,33 +1,32 @@ DescriptorSinglePriv in bdk::keys - Rust -

    Struct bdk::keys::DescriptorSinglePriv[]

    pub struct DescriptorSinglePriv {
    +

    Struct bdk::keys::DescriptorSinglePriv[]

    pub struct DescriptorSinglePriv {
         pub origin: Option<(Fingerprint, DerivationPath)>,
         pub key: PrivateKey,
     }
    Expand description

    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

    -

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 3707584b39..b562c3613c 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,56 +1,55 @@ DescriptorSinglePub in bdk::keys - Rust -

    Struct bdk::keys::DescriptorSinglePub[]

    pub struct DescriptorSinglePub {
    +

    Struct bdk::keys::DescriptorSinglePub[]

    pub struct DescriptorSinglePub {
         pub origin: Option<(Fingerprint, DerivationPath)>,
         pub key: PublicKey,
     }
    Expand description

    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

    -

    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

    -

    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 +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Feeds this value into the given Hasher. Read more

    +

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

    +

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

    +

    Compares and returns the maximum of two values. Read more

    +

    Compares and returns the minimum of two values. Read more

    +

    Restrict a value to a certain interval. Read more

    +

    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 <= +

    This method tests for !=.

    +

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

    +

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

    +

    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 >= +

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

    +

    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

    -

    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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 6261dd5890..2cdcb09faa 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,33 +1,32 @@ GeneratedKey in bdk::keys - Rust -

    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

    -

    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 +

    Struct bdk::keys::GeneratedKey[][src]

    pub struct GeneratedKey<K, Ctx: ScriptContext> { /* fields omitted */ }
    Expand description

    Output of a GeneratableKey key generation

    +

    Implementations

    Consumes self and returns the key

    +

    Trait Implementations

    The resulting type after dereferencing.

    +

    Dereferences the value.

    +

    Consume self and turn it into an ExtendedKey Read more

    +

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path Read more

    -

    impl<Ctx, K> IntoDescriptorKey<Ctx> for GeneratedKey<K, Ctx> where
        Ctx: ScriptContext,
        K: IntoDescriptorKey<Ctx>, 
    [src]

    fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

    Turn the key into a DescriptorKey within the requested ScriptContext

    -

    Auto Trait Implementations

    impl<K, Ctx> RefUnwindSafe for GeneratedKey<K, Ctx> where
        Ctx: RefUnwindSafe,
        K: RefUnwindSafe

    impl<K, Ctx> Send for GeneratedKey<K, Ctx> where
        Ctx: Send,
        K: Send

    impl<K, Ctx> Sync for GeneratedKey<K, Ctx> where
        Ctx: Sync,
        K: Sync

    impl<K, Ctx> Unpin for GeneratedKey<K, Ctx> where
        Ctx: Unpin,
        K: Unpin

    impl<K, Ctx> UnwindSafe for GeneratedKey<K, Ctx> where
        Ctx: UnwindSafe,
        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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Turn the key into a DescriptorKey within the requested ScriptContext

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 ff5f1e5992..ef98d91b47 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,39 +1,38 @@ PrivateKeyGenerateOptions in bdk::keys - Rust -

    Struct bdk::keys::PrivateKeyGenerateOptions[][src]

    pub struct PrivateKeyGenerateOptions {
    +

    Struct bdk::keys::PrivateKeyGenerateOptions[][src]

    pub struct PrivateKeyGenerateOptions {
         pub compressed: bool,
     }
    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

    -

    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

    -

    impl Copy for PrivateKeyGenerateOptions[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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 8fa941af47..14956b879a 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,7 +1,7 @@ SortedMultiVec in bdk::keys - Rust -

    Struct bdk::keys::SortedMultiVec[]

    pub struct SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 
    { +

    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 @@ -9,85 +9,84 @@

    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

    +

    Implementations

    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 +

    Parse an expression tree into a SortedMultiVec

    +

    This will panic if translatefpk returns an uncompressed key when converting to a Segwit descriptor. To prevent this panic, ensure translatefpk returns an error in this case instead.

    -

    impl<Pk, Ctx> SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn sanity_check(&self) -> Result<(), Error>

    utility function to sanity a sorted multi vec

    -

    impl<Pk, Ctx> SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn sorted_node(&self) -> Terminal<Pk, Ctx> where
        Pk: ToPublicKey, 

    Create Terminal::Multi containing sorted pubkeys

    -

    pub fn encode(&self) -> Script where
        Pk: ToPublicKey, 

    Encode as a Bitcoin script

    -

    pub fn satisfy<S>(
        &self,
        satisfier: S
    ) -> Result<Vec<Vec<u8, Global>, Global>, Error> where
        Pk: ToPublicKey,
        S: Satisfier<Pk>, 

    Attempt to produce a satisfying witness for the +

    utility function to sanity a sorted multi vec

    +

    Create Terminal::Multi containing sorted pubkeys

    +

    Encode as a Bitcoin script

    +

    Attempt to produce a satisfying witness for the witness script represented by the parse tree

    -

    pub fn script_size(&self) -> usize

    Size, in bytes of the script-pubkey. If this Miniscript is used outside +

    Size, in bytes of the script-pubkey. If this Miniscript is used outside of segwit (e.g. in a bare or P2SH descriptor), this quantity should be multiplied by 4 to compute the weight.

    In general, it is not recommended to use this function directly, but to instead call the corresponding function on a Descriptor, which will handle the segwit/non-segwit technicalities for you.

    -

    pub fn max_satisfaction_witness_elements(&self) -> usize

    Maximum number of witness elements used to satisfy the Miniscript +

    Maximum number of witness elements used to satisfy the Miniscript fragment, including the witness script itself. Used to estimate the weight of the VarInt that specifies this number in a serialized transaction.

    This function may panic on malformed Miniscript objects which do not correspond to semantically sane Scripts. (Such scripts should be rejected at parse time. Any exceptions are bugs.)

    -

    pub fn max_satisfaction_size(&self) -> usize

    Maximum size, in bytes, of a satisfying witness. +

    Maximum size, in bytes, of a satisfying witness. In general, it is not recommended to use this function directly, but to instead call the corresponding function on a Descriptor, which will handle the segwit/non-segwit technicalities for you.

    All signatures are assumed to be 73 bytes in size, including the length prefix (segwit) or push opcode (pre-segwit) and sighash postfix.

    -

    Trait Implementations

    impl<Pk, Ctx> Clone for SortedMultiVec<Pk, Ctx> where
        Ctx: Clone + ScriptContext,
        Pk: Clone + MiniscriptKey, 

    pub fn clone(&self) -> SortedMultiVec<Pk, Ctx>

    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<Pk, Ctx> Debug for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

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

    Formats the value using the given formatter. Read more

    -

    impl<Pk, Ctx> Display for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

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

    Formats the value using the given formatter. Read more

    -

    impl<Pk, Ctx> ForEachKey<Pk> for SortedMultiVec<Pk, Ctx> where
        Ctx: ScriptContext,
        Pk: MiniscriptKey, 

    pub fn for_each_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Run a predicate on every key in the descriptor, returning whether the predicate returned true for every key Read more

    -

    fn for_any_key<'a, F>(&'a self, pred: F) -> bool where
        F: FnMut(ForEach<'a, Pk>) -> bool,
        Pk: 'a,
        <Pk as MiniscriptKey>::Hash: 'a, 

    Run a predicate on every key in the descriptor, returning whether +

    Run a predicate on every key in the descriptor, returning whether 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

    -

    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 +

    Convert the object into an abstract policy

    +

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

    +

    Compares and returns the maximum of two values. Read more

    +

    Compares and returns the minimum of two values. Read more

    +

    Restrict a value to a certain interval. Read more

    +

    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 <= +

    This method tests for !=.

    +

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

    +

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

    +

    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 >= +

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

    +

    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

    -

    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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 f778a8728a..efc4a80adf 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,7 +1,7 @@ DerivableKey in bdk::keys - Rust -

    Trait bdk::keys::DerivableKey[][src]

    pub trait DerivableKey<Ctx: ScriptContext = Legacy>: Sized {
    +

    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> { ... } @@ -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

    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,7 @@ like Mnemonic when the ? .into_extended_key()?; let xprv = xkey.into_xprv(Network::Bitcoin).unwrap();
    -

    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 +

    Provided methods

    Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path

    -

    Implementations on Foreign Types

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPubKey[src]

    impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPrivKey[src]

    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]

    - \ No newline at end of file +

    Implementations on Foreign Types

    Implementors

    Identity conversion

    +
    This is supported on crate feature keys-bip39 only.
    This is supported on crate feature keys-bip39 only.
    This is supported on crate feature keys-bip39 only.
    \ 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 d45cf6fac2..f5660387ce 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,13 @@ ExtScriptContext in bdk::keys - Rust -

    Trait bdk::keys::ExtScriptContext[][src]

    pub trait ExtScriptContext: ScriptContext {
    +

    Trait bdk::keys::ExtScriptContext[][src]

    pub trait ExtScriptContext: ScriptContext {
         fn as_enum() -> ScriptContextEnum;
     
         fn is_legacy() -> bool { ... }
     
    fn is_segwit_v0() -> bool { ... } }
    Expand description

    Trait that adds extra useful methods to ScriptContexts

    -

    Required methods

    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

    -

    Implementors

    - \ No newline at end of file +

    Required methods

    Provided methods

    Returns whether the script context is Legacy

    +

    Returns whether the script context is Segwitv0

    +

    Implementors

    \ 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 830badd913..9762ee8235 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,13 @@ GeneratableDefaultOptions in bdk::keys - Rust -

    Trait bdk::keys::GeneratableDefaultOptions[][src]

    pub trait GeneratableDefaultOptions<Ctx>: GeneratableKey<Ctx> where
        Ctx: ScriptContext,
        <Self as GeneratableKey<Ctx>>::Options: Default
    { +

    Trait bdk::keys::GeneratableDefaultOptions[][src]

    pub trait GeneratableDefaultOptions<Ctx>: GeneratableKey<Ctx> where
        Ctx: ScriptContext,
        <Self as GeneratableKey<Ctx>>::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> { ... } }
    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

    -

    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

    Generate a key with the default options and a given entropy

    +

    Generate a key with the default options and a random entropy

    +

    Implementors

    Automatic implementation of GeneratableDefaultOptions for GeneratableKeys where Options implements Default

    -
    - \ No newline at end of file +
    \ 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 bff7e4289d..16e9c2c040 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,7 +1,7 @@ GeneratableKey in bdk::keys - Rust -

    Trait bdk::keys::GeneratableKey[][src]

    pub trait GeneratableKey<Ctx: ScriptContext>: Sized {
    +

    Trait bdk::keys::GeneratableKey[][src]

    pub trait GeneratableKey<Ctx: ScriptContext>: Sized {
         type Entropy: AsMut<[u8]> + Default;
         type Options;
         type Error: Debug;
    @@ -14,10 +14,9 @@
     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

    -

    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

    -

    Provided methods

    fn generate(
        options: Self::Options
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
    [src]

    Generate a key given the options with a random entropy

    -

    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]

    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]

    - \ No newline at end of file +

    Associated Types

    Type specifying the amount of entropy required e.g. [u8;32]

    +

    Extra options required by the generate_with_entropy

    +

    Returned error in case of failure

    +

    Required methods

    Generate a key given the extra options and the entropy

    +

    Provided methods

    Generate a key given the options with a random entropy

    +

    Implementations on Foreign Types

    Implementors

    This is supported on crate feature keys-bip39 only.
    \ 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 d3ee51d723..7cb27fb1f9 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,7 +1,7 @@ IntoDescriptorKey in bdk::keys - Rust -

    Trait bdk::keys::IntoDescriptorKey[][src]

    pub trait IntoDescriptorKey<Ctx: ScriptContext>: Sized {
    +

    Trait bdk::keys::IntoDescriptorKey[][src]

    pub trait IntoDescriptorKey<Ctx: ScriptContext>: Sized {
         fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>;
     }
    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 @@ -22,7 +22,7 @@ checking.

     use bdk::bitcoin::PublicKey;
     
    -use bdk::keys::{DescriptorKey, KeyError, ScriptContext, IntoDescriptorKey};
    +use bdk::keys::{DescriptorKey, IntoDescriptorKey, KeyError, ScriptContext};
     
     pub struct MyKeyType {
         pubkey: PublicKey,
    @@ -39,8 +39,8 @@ checking.

    use bdk::bitcoin::PublicKey; use bdk::keys::{ - mainnet_network, DescriptorKey, DescriptorPublicKey, DescriptorSinglePub, KeyError, - ScriptContext, IntoDescriptorKey, + mainnet_network, DescriptorKey, DescriptorPublicKey, DescriptorSinglePub, + IntoDescriptorKey, KeyError, ScriptContext, }; pub struct MyKeyType { @@ -63,7 +63,7 @@ checking.

     use bdk::bitcoin::PublicKey;
     
    -use bdk::keys::{DescriptorKey, ExtScriptContext, KeyError, ScriptContext, IntoDescriptorKey};
    +use bdk::keys::{DescriptorKey, ExtScriptContext, IntoDescriptorKey, KeyError, ScriptContext};
     
     pub struct MyKeyType {
         is_legacy: bool,
    @@ -89,7 +89,7 @@ makes the compiler (correctly) fail.

    use bdk::bitcoin::PublicKey; use std::str::FromStr; -use bdk::keys::{DescriptorKey, KeyError, IntoDescriptorKey}; +use bdk::keys::{DescriptorKey, IntoDescriptorKey, KeyError}; pub struct MySegwitOnlyKeyType { pubkey: PublicKey, @@ -107,7 +107,6 @@ 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

    -

    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]

    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]

    - \ No newline at end of file +

    Required methods

    Turn the key into a DescriptorKey within the requested ScriptContext

    +

    Implementations on Foreign Types

    Implementors

    The “identity” conversion is used internally by some bdk::fragments

    +
    \ 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 8b28d83c96..99160f81c9 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 {
    +

    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
    ; @@ -29,7 +29,7 @@ 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

    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.

    -

    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 +

    Depending on script context, the size of a satifaction witness may slightly differ.

    +

    Provided methods

    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 +

    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 +

    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,20 @@ 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. +

    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. +

    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 +

    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 +

    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.

    -

    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, 

    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, 

    - \ No newline at end of file +

    Check whether the top-level is type B

    +

    Other top level checks that are context specific

    +

    Check top level consensus rules.

    +

    Implementations on Foreign Types

    Implementors

    \ 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 99d8ee1668..cfe7480fbc 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,9 @@ KeyMap in bdk::keys - Rust -

    Type Definition bdk::keys::KeyMap[]

    type KeyMap = HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>;
    Expand description

    Alias type for a map of public key to secret key

    +

    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 +
    \ 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 0b2e5a68f8..13f721ef15 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,5 @@ ValidNetworks in bdk::keys - Rust -

    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 +

    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 990e1ba2f8..976e018bd9 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor!.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor!.html @@ -2,6 +2,7 @@ + Redirection

    Redirecting to macro.descriptor.html...

    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 750710942a..a28d61d234 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]

    +

    Macro bdk::descriptor[][src]

     macro_rules! descriptor {
         ( bare ( $( $minisc:tt )* ) ) => { ... };
         ( sh ( wsh ( $( $minisc:tt )* ) ) ) => { ... };
    @@ -82,5 +82,4 @@ 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 +
    \ 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 1dbdb1fdc8..6eeebba321 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/macro.fragment!.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/macro.fragment!.html @@ -2,6 +2,7 @@ + Redirection

    Redirecting to macro.fragment.html...

    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 fa4faaeea3..0abfe52ded 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]

    +

    Macro bdk::fragment[][src]

     macro_rules! fragment {
         ( $modif:tt : $( $tail:tt )* ) => { ... };
         ( true ) => { ... };
    @@ -33,5 +33,4 @@
     

    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 +
    \ 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 5e6290fd10..325592efc0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html @@ -1,48 +1,47 @@ FeeRate in bdk - Rust -

    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

    -

    Trait Implementations

    impl Clone for FeeRate[src]

    fn clone(&self) -> FeeRate[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 FeeRate[src]

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

    Formats the value using the given formatter. Read more

    -

    impl Default for FeeRate[src]

    fn default() -> Self[src]

    Returns the “default value” for a type. Read more

    -

    impl PartialEq<FeeRate> for FeeRate[src]

    fn eq(&self, other: &FeeRate) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Struct bdk::FeeRate[][src]

    pub struct FeeRate(_);
    Expand description

    Fee rate

    +

    Implementations

    Create a new instance of FeeRate given a float fee rate in btc/kvbytes

    +

    Create a new instance of FeeRate given a float fee rate in satoshi/vbyte

    +

    Create a new FeeRate with the default min relay fee value

    +

    Return the value as satoshi/vbyte

    +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    This method tests for self and other values to be equal, and is used 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 <= +

    This method tests for !=.

    +

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

    +

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

    +

    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 >= +

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

    +

    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

    -

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 887aafdd99..5237943aaf 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html @@ -1,7 +1,7 @@ LocalUtxo in bdk - Rust -

    Struct bdk::LocalUtxo[][src]

    pub struct LocalUtxo {
    +

    Struct bdk::LocalUtxo[][src]

    pub struct LocalUtxo {
         pub outpoint: OutPoint,
         pub txout: TxOut,
         pub keychain: KeychainKind,
    @@ -10,38 +10,37 @@
                            Fieldsoutpoint: 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

    -

    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

    -

    impl PartialEq<LocalUtxo> for LocalUtxo[src]

    fn eq(&self, other: &LocalUtxo) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    +

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

    -

    fn ne(&self, other: &LocalUtxo) -> bool[src]

    This method tests for !=.

    -

    impl Serialize for LocalUtxo[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 Eq for LocalUtxo[src]

    impl StructuralEq for LocalUtxo[src]

    impl StructuralPartialEq for LocalUtxo[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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    This method tests for !=.

    +

    Serialize this value into the given Serde serializer. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 6f22f80e6f..051d5a9251 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 {
    +

    Struct bdk::TransactionDetails[][src]

    pub struct TransactionDetails {
         pub transaction: Option<Transaction>,
         pub txid: Txid,
         pub timestamp: u64,
    @@ -18,39 +18,38 @@
     
    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

    -

    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

    -

    impl<'de> Deserialize<'de> for TransactionDetails[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 PartialEq<TransactionDetails> for TransactionDetails[src]

    fn eq(&self, other: &TransactionDetails) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    +

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

    -

    fn ne(&self, other: &TransactionDetails) -> bool[src]

    This method tests for !=.

    -

    impl Serialize for TransactionDetails[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 Eq for TransactionDetails[src]

    impl StructuralEq for TransactionDetails[src]

    impl StructuralPartialEq for TransactionDetails[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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    This method tests for !=.

    +

    Serialize this value into the given Serde serializer. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 cd241a81a8..d40115413c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html @@ -1,7 +1,7 @@ WeightedUtxo in bdk - Rust -

    Struct bdk::WeightedUtxo[][src]

    pub struct WeightedUtxo {
    +

    Struct bdk::WeightedUtxo[][src]

    pub struct WeightedUtxo {
         pub satisfaction_weight: usize,
         pub utxo: Utxo,
     }
    Expand description

    A Utxo with its satisfaction_weight.

    @@ -9,35 +9,34 @@ Fieldssatisfaction_weight: usize

    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

    -

    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 +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

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

    -

    fn ne(&self, other: &WeightedUtxo) -> bool[src]

    This method tests for !=.

    -

    impl StructuralPartialEq for WeightedUtxo[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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    This method tests for !=.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/types/enum.KeychainKind.html b/static/docs-rs/bdk/nightly/latest/bdk/types/enum.KeychainKind.html index 8b0b5f9399..03524a9b17 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/types/enum.KeychainKind.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/types/enum.KeychainKind.html @@ -2,6 +2,7 @@ + Redirection

    Redirecting to ../../bdk/enum.KeychainKind.html...

    diff --git a/static/docs-rs/bdk/nightly/latest/bdk/types/enum.Utxo.html b/static/docs-rs/bdk/nightly/latest/bdk/types/enum.Utxo.html index c952bd6c0f..03f5add737 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/types/enum.Utxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/types/enum.Utxo.html @@ -2,6 +2,7 @@ + Redirection

    Redirecting to ../../bdk/enum.Utxo.html...

    diff --git a/static/docs-rs/bdk/nightly/latest/bdk/types/struct.FeeRate.html b/static/docs-rs/bdk/nightly/latest/bdk/types/struct.FeeRate.html index c8b0ec4f98..fae2b90fdc 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/types/struct.FeeRate.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/types/struct.FeeRate.html @@ -2,6 +2,7 @@ + Redirection

    Redirecting to ../../bdk/struct.FeeRate.html...

    diff --git a/static/docs-rs/bdk/nightly/latest/bdk/types/struct.LocalUtxo.html b/static/docs-rs/bdk/nightly/latest/bdk/types/struct.LocalUtxo.html index 8fb5df2e4f..eeb7867365 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/types/struct.LocalUtxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/types/struct.LocalUtxo.html @@ -2,6 +2,7 @@ + Redirection

    Redirecting to ../../bdk/struct.LocalUtxo.html...

    diff --git a/static/docs-rs/bdk/nightly/latest/bdk/types/struct.TransactionDetails.html b/static/docs-rs/bdk/nightly/latest/bdk/types/struct.TransactionDetails.html index 5db5e06868..4348bd4a45 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/types/struct.TransactionDetails.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/types/struct.TransactionDetails.html @@ -2,6 +2,7 @@ + Redirection

    Redirecting to ../../bdk/struct.TransactionDetails.html...

    diff --git a/static/docs-rs/bdk/nightly/latest/bdk/types/struct.WeightedUtxo.html b/static/docs-rs/bdk/nightly/latest/bdk/types/struct.WeightedUtxo.html index 33d2c3e496..5e7d643399 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/types/struct.WeightedUtxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/types/struct.WeightedUtxo.html @@ -2,6 +2,7 @@ + Redirection

    Redirecting to ../../bdk/struct.WeightedUtxo.html...

    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 56a8de78f9..8cb9f8baa8 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,7 +1,7 @@ AddressValidatorError in bdk::wallet::address_validator - Rust -

    Enum bdk::wallet::address_validator::AddressValidatorError[][src]

    pub enum AddressValidatorError {
    +

    Enum bdk::wallet::address_validator::AddressValidatorError[][src]

    pub enum AddressValidatorError {
         UserRejected,
         ConnectionError,
         TimeoutError,
    @@ -15,43 +15,42 @@
     
    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

    -

    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

    -

    impl Error for AddressValidatorError[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

    -

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    -

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -

    impl From<AddressValidatorError> for Error[src]

    fn from(err: AddressValidatorError) -> Self[src]

    Performs the conversion.

    -

    impl PartialEq<AddressValidatorError> for AddressValidatorError[src]

    fn eq(&self, other: &AddressValidatorError) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Formats the value using the given formatter. Read more

    +

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

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

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

    +
    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +

    Performs the conversion.

    +

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

    -

    fn ne(&self, other: &AddressValidatorError) -> bool[src]

    This method tests for !=.

    -

    impl Eq for AddressValidatorError[src]

    impl StructuralEq for AddressValidatorError[src]

    impl StructuralPartialEq for AddressValidatorError[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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    This method tests for !=.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 a07ab4b18a..4243f443aa 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]

    Expand description

    Address validation callbacks

    +

    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 @@ -45,5 +45,4 @@ successfully to continue.

    AddressValidatorError

    Errors that can be returned to fail the validation of an address

    Traits

    AddressValidator

    Trait to build address validators

    -
    - \ No newline at end of file +
    \ No newline at end of file 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 706849437f..ef54a97a5b 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,12 @@ AddressValidator in bdk::wallet::address_validator - Rust -

    Trait bdk::wallet::address_validator::AddressValidator[][src]

    pub trait AddressValidator: Send + Sync + Debug {
    +

    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>; }
    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

    -

    Implementors

    - \ No newline at end of file +

    Required methods

    Validate or inspect an address

    +

    Implementors

    \ 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 831e42839f..68148b4c3e 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]

    Expand description

    Coin selection

    +

    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 @@ -25,17 +25,25 @@ be used if it is not explicitly set.

    let mut selected_amount = 0; let mut additional_weight = 0; let all_utxos_selected = required_utxos - .into_iter().chain(optional_utxos) - .scan((&mut selected_amount, &mut additional_weight), |(selected_amount, additional_weight), weighted_utxo| { - **selected_amount += weighted_utxo.utxo.txout().value; - **additional_weight += TXIN_BASE_WEIGHT + weighted_utxo.satisfaction_weight; - Some(weighted_utxo.utxo) - }) + .into_iter() + .chain(optional_utxos) + .scan( + (&mut selected_amount, &mut additional_weight), + |(selected_amount, additional_weight), weighted_utxo| { + **selected_amount += weighted_utxo.utxo.txout().value; + **additional_weight += TXIN_BASE_WEIGHT + weighted_utxo.satisfaction_weight; + Some(weighted_utxo.utxo) + }, + ) .collect::<Vec<_>>(); let additional_fees = additional_weight as f32 * fee_rate.as_sat_vb() / 4.0; - let amount_needed_with_fees = (fee_amount + additional_fees).ceil() as u64 + amount_needed; - if amount_needed_with_fees > selected_amount { - return Err(bdk::Error::InsufficientFunds{ needed: amount_needed_with_fees, available: selected_amount }); + let amount_needed_with_fees = + (fee_amount + additional_fees).ceil() as u64 + amount_needed; + if amount_needed_with_fees > selected_amount { + return Err(bdk::Error::InsufficientFunds { + needed: amount_needed_with_fees, + available: selected_amount, + }); } Ok(CoinSelectionResult { @@ -50,8 +58,7 @@ be used if it is not explicitly set.

    let to_address = Address::from_str("2N4eQYCbKUHCCTUjBJeHcJp9ok6J2GZsTDt").unwrap(); let (psbt, details) = { let mut builder = wallet.build_tx().coin_selection(AlwaysSpendEverything); - builder - .add_recipient(to_address.script_pubkey(), 50_000); + builder.add_recipient(to_address.script_pubkey(), 50_000); builder.finish()? }; @@ -66,5 +73,4 @@ be used if it is not explicitly set.

    Type Definitions

    DefaultCoinSelectionAlgorithm

    Default coin selection algorithm used by TxBuilder if not overridden

    -
    - \ No newline at end of file +
    \ No newline at end of file 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 7d182ca655..ee758922e8 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,31 +1,30 @@ BranchAndBoundCoinSelection in bdk::wallet::coin_selection - Rust -

    Struct bdk::wallet::coin_selection::BranchAndBoundCoinSelection[][src]

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

    Branch and bound coin selection

    +

    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

    -

    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

    -

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Implementations

    Create new instance with target size for change output

    +

    Trait Implementations

    Perform the coin selection Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 a786ce3ade..cde8571e50 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,35 +1,34 @@ CoinSelectionResult in bdk::wallet::coin_selection - Rust -

    Struct bdk::wallet::coin_selection::CoinSelectionResult[][src]

    pub struct CoinSelectionResult {
    +

    Struct bdk::wallet::coin_selection::CoinSelectionResult[][src]

    pub struct CoinSelectionResult {
         pub selected: Vec<Utxo>,
         pub fee_amount: f32,
     }
    Expand description

    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.

    -

    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

    -

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Implementations

    The total value of the inputs selected.

    +

    The total value of the inputs selected from the local wallet.

    +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 7cefbe66b9..9c4b1d7fca 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,37 +1,36 @@ LargestFirstCoinSelection in bdk::wallet::coin_selection - Rust -

    Struct bdk::wallet::coin_selection::LargestFirstCoinSelection[][src]

    pub struct LargestFirstCoinSelection;
    Expand description

    Simple and dumb coin selection

    +

    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

    -

    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

    -

    impl Default for LargestFirstCoinSelection[src]

    fn default() -> LargestFirstCoinSelection[src]

    Returns the “default value” for a type. Read more

    -

    impl Copy for LargestFirstCoinSelection[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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Perform the coin selection Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 c82c194a3f..4a82272b7c 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 {
    +

    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>; }
    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

    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,4 @@ weight cost
    • fee_amount: the amount of fees in satoshi already accumulated from adding outputs and the transaction’s header
    -

    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]

    - \ No newline at end of file +

    Implementors

    \ 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 db655362b0..a1ecae2cdb 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,6 @@ DefaultCoinSelectionAlgorithm in bdk::wallet::coin_selection - Rust -

    Type Definition bdk::wallet::coin_selection::DefaultCoinSelectionAlgorithm[][src]

    type DefaultCoinSelectionAlgorithm = BranchAndBoundCoinSelection;
    Expand description

    Default coin selection algorithm used by TxBuilder if not +

    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 +
    \ 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 0dd4feae0b..9feff76f99 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,7 +1,7 @@ AddressIndex in bdk::wallet - Rust -

    Enum bdk::wallet::AddressIndex[][src]

    pub enum AddressIndex {
    +

    Enum bdk::wallet::AddressIndex[][src]

    pub enum AddressIndex {
         New,
         LastUnused,
         Peek(u32),
    @@ -28,26 +28,25 @@ then the returned address and subsequent addresses returned by calls to Ad
     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

    -

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 06ed620593..1ec35df26e 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]

    Expand description

    Wallet export

    +

    Module bdk::wallet::export[][src]

    Expand description

    Wallet export

    This modules implements the wallet export format used by FullyNoded.

    Examples

    Import from JSON

    @@ -33,5 +33,4 @@
     println!("Exported: {}", export.to_string());

    Structs

    WalletExport

    Structure that contains the export of a wallet

    -
    - \ No newline at end of file +
    \ 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 ee550f0d4f..48970ba2d5 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,7 +1,7 @@ WalletExport in bdk::wallet::export - Rust -

    Struct bdk::wallet::export::WalletExport[][src]

    pub struct WalletExport {
    +

    Struct bdk::wallet::export::WalletExport[][src]

    pub struct WalletExport {
         pub blockheight: u32,
         pub label: String,
         // some fields omitted
    @@ -10,7 +10,7 @@
     

    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

    +

    Implementations

    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.

    @@ -18,33 +18,32 @@ and others.

    for the oldest transaction it knows and use that as the earliest block to rescan.

    If the database is empty or include_blockheight is false, the blockheight field returned will be 0.

    -

    pub fn descriptor(&self) -> String[src]

    Return the external descriptor

    -

    pub fn change_descriptor(&self) -> Option<String>[src]

    Return the internal descriptor, if present

    -

    Trait Implementations

    impl Debug for WalletExport[src]

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

    Formats the value using the given formatter. Read more

    -

    impl<'de> Deserialize<'de> for WalletExport[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 FromStr for WalletExport[src]

    type Err = Error

    The associated error which can be returned from parsing.

    -

    fn from_str(s: &str) -> Result<Self, Self::Err>[src]

    Parses a string s to return a value of this type. Read more

    -

    impl Serialize for WalletExport[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 ToString for WalletExport[src]

    fn to_string(&self) -> String[src]

    Converts the given value to a String. 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

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Return the external descriptor

    +

    Return the internal descriptor, if present

    +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    Deserialize this value from the given Serde deserializer. Read more

    +

    The associated error which can be returned from parsing.

    +

    Parses a string s to return a value of this type. Read more

    +

    Serialize this value into the given Serde serializer. Read more

    +

    Converts the given value to a String. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    impl<T> DeserializeOwned for T where
        T: for<'de> Deserialize<'de>, 
    [src]

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 6183c951ab..80242be258 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html @@ -1,7 +1,7 @@ bdk::wallet - Rust -

    Module bdk::wallet[][src]

    Expand description

    Wallet

    +

    Module bdk::wallet[][src]

    Expand description

    Wallet

    This module defines the Wallet structure.

    Modules

    address_validator

    Address validation callbacks

    @@ -19,5 +19,4 @@ For convenience this automatically derefs to Address

    descriptor. See Wallet::get_address. If you’re unsure which one to use use WalletIndex::New.

    Traits

    IsDust

    Trait to check if a value is below the dust limit

    -
    - \ No newline at end of file +
    \ No newline at end of file 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 ed27f3a783..16efc546d1 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 {
    +

    Enum bdk::wallet::signer::SignerError[][src]

    pub enum SignerError {
         MissingKey,
         InvalidKey,
         UserCanceled,
    @@ -28,43 +28,42 @@
     explicitly allowed them

    To enable signing transactions with non-standard sighashes set SignOptions::allow_all_sighashes to true.

    -

    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

    -

    impl Error for SignerError[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

    -

    fn description(&self) -> &str1.0.0[src]

    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    -

    fn cause(&self) -> Option<&dyn Error>1.0.0[src]

    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    -

    impl From<SignerError> for Error[src]

    fn from(err: SignerError) -> Self[src]

    Performs the conversion.

    -

    impl PartialEq<SignerError> for SignerError[src]

    fn eq(&self, other: &SignerError) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Formats the value using the given formatter. Read more

    +

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

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

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

    +
    👎 Deprecated since 1.42.0:

    use the Display impl or to_string()

    +
    👎 Deprecated since 1.33.0:

    replaced by Error::source, which can support downcasting

    +

    Performs the conversion.

    +

    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 Eq for SignerError[src]

    impl StructuralEq for SignerError[src]

    impl StructuralPartialEq for SignerError[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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    This method tests for !=.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 1f83f275a3..8117c63b73 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,7 +1,7 @@ SignerId in bdk::wallet::signer - Rust -

    Enum bdk::wallet::signer::SignerId[][src]

    pub enum SignerId {
    +

    Enum bdk::wallet::signer::SignerId[][src]

    pub enum SignerId {
         PkHash(Hash),
         Fingerprint(Fingerprint),
         Dummy(u64),
    @@ -12,51 +12,50 @@ multiple of them

    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

    -

    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.

    -

    impl From<Hash> for SignerId[src]

    fn from(hash: Hash) -> SignerId[src]

    Performs the conversion.

    -

    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

    -

    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 +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Performs the conversion.

    +

    Performs the conversion.

    +

    Feeds this value into the given Hasher. Read more

    +

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

    +

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

    +

    Compares and returns the maximum of two values. Read more

    +

    Compares and returns the minimum of two values. Read more

    +

    Restrict a value to a certain interval. Read more

    +

    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 <= +

    This method tests for !=.

    +

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

    +

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

    +

    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 >= +

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

    +

    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

    -

    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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 2fb2a1d110..10c9f76739 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]

    Expand description

    Generalized signers

    +

    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.

    @@ -59,5 +59,4 @@ through the Wallet::add_ multiple of them

    Traits

    Signer

    Trait for signers

    -
    - \ No newline at end of file +
    \ No newline at end of file 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 87d5ac3da9..41dd6b1a5b 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,7 +1,7 @@ SignOptions in bdk::wallet::signer - Rust -

    Struct bdk::wallet::signer::SignOptions[][src]

    pub struct SignOptions {
    +

    Struct bdk::wallet::signer::SignOptions[][src]

    pub struct SignOptions {
         pub trust_witness_utxo: bool,
         pub assume_height: Option<u32>,
         pub allow_all_sighashes: bool,
    @@ -25,33 +25,32 @@ wallet use timelocks in the future to spend a coin.

    allow_all_sighashes: bool

    Whether the signer should use the sighash_type set in the PSBT when signing, no matter what its value is

    Defaults to false which will only allow signing using SIGHASH_ALL.

    -

    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

    -

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 49531b352f..b836f5591a 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,52 +1,51 @@ SignerOrdering in bdk::wallet::signer - Rust -

    Struct bdk::wallet::signer::SignerOrdering[][src]

    pub struct SignerOrdering(pub usize);
    Expand description

    Defines the order in which signers are called

    +

    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

    -

    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

    -

    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 +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

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

    +

    Compares and returns the maximum of two values. Read more

    +

    Compares and returns the minimum of two values. Read more

    +

    Restrict a value to a certain interval. Read more

    +

    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 <= +

    This method tests for !=.

    +

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

    +

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

    +

    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 >= +

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

    +

    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

    -

    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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 f44b2ac4b9..18daed153c 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,43 +1,42 @@ SignersContainer in bdk::wallet::signer - Rust -

    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 +

    Struct bdk::wallet::signer::SignersContainer[][src]

    pub struct SignersContainer(_);
    Expand description

    Container for multiple signers

    +

    Implementations

    Create a map of public keys to secret keys

    +

    Default constructor

    +

    Adds an external signer to the container for the specified id. Optionally returns the signer that was previously in the container, if any

    -

    pub fn remove(
        &mut self,
        id: SignerId,
        ordering: SignerOrdering
    ) -> Option<Arc<dyn Signer>>
    [src]

    Removes a signer from the container and returns it

    -

    pub fn ids(&self) -> Vec<&SignerId>[src]

    Returns the list of identifiers of all the signers in the container

    -

    pub fn signers(&self) -> Vec<&Arc<dyn Signer>>[src]

    Returns the list of signers in the container, sorted by lowest to highest ordering

    -

    pub fn find(&self, id: SignerId) -> Option<&Arc<dyn Signer>>[src]

    Finds the signer with lowest ordering for a given id in the container.

    -

    Trait Implementations

    impl Clone for SignersContainer[src]

    fn clone(&self) -> SignersContainer[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 SignersContainer[src]

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

    Formats the value using the given formatter. Read more

    -

    impl Default for SignersContainer[src]

    fn default() -> SignersContainer[src]

    Returns the “default value” for a type. Read more

    -

    impl From<HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>> for SignersContainer[src]

    fn from(keymap: KeyMap) -> SignersContainer[src]

    Performs the conversion.

    -

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Removes a signer from the container and returns it

    +

    Returns the list of identifiers of all the signers in the container

    +

    Returns the list of signers in the container, sorted by lowest to highest ordering

    +

    Finds the signer with lowest ordering for a given id in the container.

    +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Performs the conversion.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 284265c47f..2f197ed166 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,7 +1,7 @@ Signer in bdk::wallet::signer - Rust -

    Trait bdk::wallet::signer::Signer[][src]

    pub trait Signer: Debug + Send + Sync {
    +

    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; @@ -10,18 +10,17 @@ }
    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

    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 +

    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

    +

    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.

    -

    Provided methods

    fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

    Return the secret key for the signer

    +

    Provided methods

    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).

    -

    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]

    Implementors

    - \ No newline at end of file +

    Implementations on Foreign Types

    Implementors

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.AddressInfo.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.AddressInfo.html index 09a343d85b..9f7bde176a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.AddressInfo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.AddressInfo.html @@ -1,7 +1,7 @@ AddressInfo in bdk::wallet - Rust -

    Struct bdk::wallet::AddressInfo[][src]

    pub struct AddressInfo {
    +

    Struct bdk::wallet::AddressInfo[][src]

    pub struct AddressInfo {
         pub index: u32,
         pub address: Address,
     }
    Expand description

    A derived address and the index it was found at @@ -9,40 +9,39 @@ For convenience this automatically derefs to Address

    Fields

    index: u32

    Child index of this address

    address: Address

    Address

    -

    Methods from Deref<Target = Address>

    pub fn address_type(&self) -> Option<AddressType>

    Get the address type of the address. +

    Methods from Deref<Target = Address>

    Get the address type of the address. None if unknown or non-standard.

    -

    pub fn is_standard(&self) -> bool

    Check whether or not the address is following Bitcoin +

    Check whether or not the address is following Bitcoin standardness rules.

    Segwit addresses with unassigned witness versions or non-standard program sizes are considered non-standard.

    -

    pub fn script_pubkey(&self) -> Script

    Generates a script pubkey spending to this address

    -

    Trait Implementations

    impl Debug for AddressInfo[src]

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

    Formats the value using the given formatter. Read more

    -

    impl Deref for AddressInfo[src]

    type Target = Address

    The resulting type after dereferencing.

    -

    fn deref(&self) -> &Self::Target[src]

    Dereferences the value.

    -

    impl Display for AddressInfo[src]

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

    Formats the value using the given formatter. Read more

    -

    impl PartialEq<AddressInfo> for AddressInfo[src]

    fn eq(&self, other: &AddressInfo) -> bool[src]

    This method tests for self and other values to be equal, and is used +

    Generates a script pubkey spending to this address

    +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    The resulting type after dereferencing.

    +

    Dereferences the value.

    +

    Formats the value using the given formatter. Read more

    +

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

    -

    fn ne(&self, other: &AddressInfo) -> bool[src]

    This method tests for !=.

    -

    impl StructuralPartialEq for AddressInfo[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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    This method tests for !=.

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToString for T where
        T: Display + ?Sized
    [src]

    pub default fn to_string(&self) -> String[src]

    Converts the given value to a String. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    Converts the given value to a String. Read more

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ 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 f86c90d09d..38eb7a9ed3 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 */ }
    Expand description

    A Bitcoin wallet

    +

    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,29 +9,29 @@ 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

    -

    impl<B, D> Wallet<B, D> where
        D: BatchDatabase
    [src]

    pub fn get_address(
        &self,
        address_index: AddressIndex
    ) -> Result<AddressInfo, Error>
    [src]

    Return a derived address using the external descriptor, see AddressIndex for +

    Implementations

    Create a new “offline” wallet

    +

    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.

    -

    pub fn is_mine(&self, script: &Script) -> Result<bool, Error>[src]

    Return whether or not a script is part of this wallet (either internal or external)

    -

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

    Return the list of unspent outputs of this wallet

    +

    Return whether or not a script is part of this wallet (either internal or external)

    +

    Return the list of unspent outputs of this wallet

    Note that this methods only operate on the internal database, which first needs to be Wallet::sync manually.

    -

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

    Returns the UTXO owned by this wallet corresponding to outpoint if it exists in the +

    Returns the UTXO owned by this wallet corresponding to outpoint if it exists in the wallet’s database.

    -

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

    Return the list of transactions made and received by the wallet

    +

    Return the list of transactions made and received by the wallet

    Optionally fill the TransactionDetails::transaction field with the raw transaction if include_raw is true.

    Note that this methods only operate on the internal database, which first needs to be Wallet::sync manually.

    -

    pub fn get_balance(&self) -> Result<u64, Error>[src]

    Return the balance, meaning the sum of this wallet’s unspent outputs’ values

    +

    Return the balance, meaning the sum of this wallet’s unspent outputs’ values

    Note that this methods only operate on the internal database, which first needs to be Wallet::sync manually.

    -

    pub fn add_signer(
        &mut self,
        keychain: KeychainKind,
        ordering: SignerOrdering,
        signer: Arc<dyn Signer>
    )
    [src]

    Add an external signer

    +

    Add an external signer

    See the signer module for an example.

    -

    pub fn add_address_validator(&mut self, validator: Arc<dyn AddressValidator>)[src]

    Add an address validator

    +

    Add an address validator

    See the address_validator module for an example.

    -

    pub fn build_tx(
        &self
    ) -> TxBuilder<'_, B, D, DefaultCoinSelectionAlgorithm, CreateTx>
    [src]

    Start building a transaction.

    +

    Start building a transaction.

    This returns a blank TxBuilder from which you can specify the parameters for the transaction.

    Example

    @@ -43,7 +43,7 @@ wallet’s database.

    }; // sign and broadcast ...
    -

    pub fn build_fee_bump(
        &self,
        txid: Txid
    ) -> Result<TxBuilder<'_, B, D, DefaultCoinSelectionAlgorithm, BumpFee>, Error>
    [src]

    Bump the fee of a transaction previously created with this wallet.

    +

    Bump the fee of a transaction previously created with this wallet.

    Returns an error if the transaction is already confirmed or doesn’t explicitly signal repalce by fee (RBF). If the transaction can be fee bumped then it returns a TxBuilder pre-populated with the inputs and outputs of the original transaction.

    @@ -72,7 +72,7 @@ only output’s value in order to increase the fees.

    let _ = wallet.sign(&mut psbt, SignOptions::default())?; let fee_bumped_tx = psbt.extract_tx(); // broadcast fee_bumped_tx to replace original
    -

    pub fn sign(
        &self,
        psbt: &mut Psbt,
        sign_options: SignOptions
    ) -> Result<bool, Error>
    [src]

    Sign a transaction with all the wallet’s signers, in the order specified by every signer’s +

    Sign a transaction with all the wallet’s signers, in the order specified by every signer’s SignerOrdering

    The SignOptions can be used to tweak the behavior of the software signers, and the way the transaction is finalized at the end. Note that it can’t be guaranteed that every @@ -87,40 +87,39 @@ in this library will.

    }; let finalized = wallet.sign(&mut psbt, SignOptions::default())?; assert!(finalized, "we should have signed all the inputs");
    -

    pub fn policies(&self, keychain: KeychainKind) -> Result<Option<Policy>, Error>[src]

    Return the spending policies for the wallet’s descriptor

    -

    pub fn public_descriptor(
        &self,
        keychain: KeychainKind
    ) -> Result<Option<ExtendedDescriptor>, Error>
    [src]

    Return the “public” version of the wallet’s descriptor, meaning a new descriptor that has +

    Return the spending policies for the wallet’s descriptor

    +

    Return the “public” version of the wallet’s descriptor, meaning a new descriptor that has the same structure but with every secret key removed

    This can be used to build a watch-only version of a wallet

    -

    pub fn finalize_psbt(
        &self,
        psbt: &mut Psbt,
        sign_options: SignOptions
    ) -> Result<bool, Error>
    [src]

    Try to finalize a PSBT

    +

    Try to finalize a PSBT

    The SignOptions can be used to tweak the behavior of the finalizer.

    -

    pub fn secp_ctx(&self) -> &Secp256k1<All>[src]

    Return the secp256k1 context used for all signing operations

    -

    pub fn get_descriptor_for_keychain(
        &self,
        keychain: KeychainKind
    ) -> &ExtendedDescriptor
    [src]

    Returns the descriptor used to create adddresses for a particular keychain.

    -

    pub fn get_psbt_input(
        &self,
        utxo: LocalUtxo,
        sighash_type: Option<SigHashType>,
        only_witness_utxo: bool
    ) -> Result<Input, Error>
    [src]

    get the corresponding PSBT Input for a LocalUtxo

    -

    impl<B, D> Wallet<B, D> where
        B: Blockchain,
        D: BatchDatabase
    [src]

    pub fn new<E: IntoWalletDescriptor>(
        descriptor: E,
        change_descriptor: Option<E>,
        network: Network,
        database: D,
        client: B
    ) -> Result<Self, Error>
    [src]

    Create a new “online” wallet

    -

    pub fn sync<P: 'static + Progress>(
        &self,
        progress_update: P,
        max_address_param: Option<u32>
    ) -> Result<(), Error>
    [src]

    Sync the internal database with the blockchain

    -

    pub fn client(&self) -> &B[src]

    Return a reference to the internal blockchain client

    -

    pub fn network(&self) -> Network[src]

    Get the Bitcoin network the wallet is using.

    -

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

    Broadcast a transaction to the network

    -

    Trait Implementations

    impl<B: Debug, D: Debug> Debug for Wallet<B, D>[src]

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

    Formats the value using the given formatter. Read more

    -

    Auto Trait Implementations

    impl<B, D> !RefUnwindSafe for Wallet<B, D>

    impl<B, D> Send for Wallet<B, D> where
        B: Send,
        D: Send

    impl<B, D> !Sync for Wallet<B, D>

    impl<B, D> Unpin for Wallet<B, D> where
        B: Unpin,
        D: Unpin

    impl<B, D> !UnwindSafe for Wallet<B, D>

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Return the secp256k1 context used for all signing operations

    +

    Returns the descriptor used to create adddresses for a particular keychain.

    +

    get the corresponding PSBT Input for a LocalUtxo

    +

    Create a new “online” wallet

    +

    Sync the internal database with the blockchain

    +

    Return a reference to the internal blockchain client

    +

    Get the Bitcoin network the wallet is using.

    +

    Broadcast a transaction to the network

    +

    Trait Implementations

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 fe14156430..754450b67d 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,5 @@ get_timestamp in bdk::wallet::time - Rust -

    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 +

    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 4093ad1c26..4b13944807 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,11 @@ bdk::wallet::time - Rust -

    Module bdk::wallet::time[][src]

    Expand description

    Cross-platform time

    +

    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

    get_timestamp

    Return the current timestamp in seconds

    -
    - \ No newline at end of file +
    \ 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 1afe59411d..faac704a57 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,8 @@ IsDust in bdk::wallet - Rust -

    Trait bdk::wallet::IsDust[][src]

    pub trait IsDust {
    +

    Trait bdk::wallet::IsDust[][src]

    pub trait IsDust {
         fn is_dust(&self) -> bool;
     }
    Expand description

    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

    -

    Implementations on Foreign Types

    impl IsDust for u64[src]

    fn is_dust(&self) -> bool[src]

    Implementors

    - \ No newline at end of file +

    Required methods

    Check whether or not a value is below dust limit

    +

    Implementations on Foreign Types

    Implementors

    \ 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 f8b854c159..62116dc324 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,7 +1,7 @@ ChangeSpendPolicy in bdk::wallet::tx_builder - Rust -

    Enum bdk::wallet::tx_builder::ChangeSpendPolicy[][src]

    pub enum ChangeSpendPolicy {
    +

    Enum bdk::wallet::tx_builder::ChangeSpendPolicy[][src]

    pub enum ChangeSpendPolicy {
         ChangeAllowed,
         OnlyChange,
         ChangeForbidden,
    @@ -11,50 +11,49 @@
     
    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

    -

    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

    -

    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 +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Feeds this value into the given Hasher. Read more

    +

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

    +

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

    +

    Compares and returns the maximum of two values. Read more

    +

    Compares and returns the minimum of two values. Read more

    +

    Restrict a value to a certain interval. Read more

    +

    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 <= +

    This method tests for !=.

    +

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

    +

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

    +

    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 >= +

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

    +

    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<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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 a00d03b6ae..aaf6e03da5 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,7 +1,7 @@ TxOrdering in bdk::wallet::tx_builder - Rust -

    Enum bdk::wallet::tx_builder::TxOrdering[][src]

    pub enum TxOrdering {
    +

    Enum bdk::wallet::tx_builder::TxOrdering[][src]

    pub enum TxOrdering {
         Shuffle,
         Untouched,
         Bip69Lexicographic,
    @@ -11,51 +11,50 @@
     
    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

    -

    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

    -

    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 +

    Implementations

    Sort transaction inputs and outputs by TxOrdering variant

    +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Feeds this value into the given Hasher. Read more

    +

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

    +

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

    +

    Compares and returns the maximum of two values. Read more

    +

    Compares and returns the minimum of two values. Read more

    +

    Restrict a value to a certain interval. Read more

    +

    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 <= +

    This method tests for !=.

    +

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

    +

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

    +

    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 >= +

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

    +

    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<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.

    -

    impl<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Compare self to key and return true if they are equal.

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 c06cc614d5..0feee2dc0b 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]

    Expand description

    Transaction builder

    +

    Module bdk::wallet::tx_builder[][src]

    Expand description

    Transaction builder

    Example

     // create a TxBuilder from a wallet
    @@ -27,5 +27,4 @@ to bumping the fee of an existing one).

    TxOrdering

    Ordering of the transaction’s inputs and outputs

    Traits

    TxBuilderContext

    Context in which the TxBuilder is valid

    -
    - \ No newline at end of file +
    \ No newline at end of file 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 9874f3f90d..69eb345cff 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,34 +1,33 @@ BumpFee in bdk::wallet::tx_builder - Rust -

    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

    -

    impl TxBuilderContext for BumpFee[src]

    Auto Trait Implementations

    impl RefUnwindSafe for BumpFee

    impl Send for BumpFee

    impl Sync for BumpFee

    impl Unpin for BumpFee

    impl UnwindSafe for BumpFee

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    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

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 3a73095310..4987282d2d 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,35 +1,34 @@ CreateTx in bdk::wallet::tx_builder - Rust -

    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 +

    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

    -

    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

    -

    impl TxBuilderContext for CreateTx[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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Returns the “default value” for a type. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 96c69a092b..e8ea1ded94 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 */ }
    Expand description

    A transaction builder

    +

    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.

    @@ -13,9 +13,9 @@ as in the following example:

    let (psbt1, details) = { let mut builder = wallet.build_tx(); builder - .ordering(TxOrdering::Untouched) - .add_recipient(addr1.script_pubkey(), 50_000) - .add_recipient(addr2.script_pubkey(), 50_000); + .ordering(TxOrdering::Untouched) + .add_recipient(addr1.script_pubkey(), 50_000) + .add_recipient(addr2.script_pubkey(), 50_000); builder.finish()? }; @@ -29,13 +29,16 @@ as in the following example:

    builder.finish()? }; -assert_eq!(psbt1.global.unsigned_tx.output[..2], psbt2.global.unsigned_tx.output[..2]);
    +assert_eq!( + psbt1.global.unsigned_tx.output[..2], + psbt2.global.unsigned_tx.output[..2] +);

    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

    Set a custom fee rate

    +

    Set an absolute fee

    +

    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 @@ -75,18 +78,19 @@ multiple entries can be added to the map, one for each node that requires an exp let mut path = BTreeMap::new(); path.insert("aabbccdd".to_string(), vec![0, 1]); -let builder = wallet.build_tx() +let builder = wallet + .build_tx() .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.

    +

    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

    +

    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.

    +

    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 +121,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.

    +

    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

    +

    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

    +

    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

    +

    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

    +

    Choose the ordering for inputs and outputs of the transaction

    +

    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

    +

    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

    +

    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

    +

    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 only_witness_utxo(&mut self) -> &mut Self[src]

    Only Fill-in the psbt::Input::witness_utxo field when spending from +

    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 +

    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 +

    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

    +

    Spend all the available inputs. This respects filters like TxBuilder::unspendable and the change policy.

    +

    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.

    +

    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

    +

    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

    +

    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 +

    Replace the recipients already added with a new list

    +

    Add a recipient to the internal list

    +

    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,39 +183,38 @@ 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

    +

    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

    -

    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

    -

    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<T> From<T> for T[src]

    pub fn from(t: T) -> T[src]

    Performs the conversion.

    -

    impl<T> Instrument for T[src]

    fn instrument(self, span: Span) -> Instrumented<Self>[src]

    Instruments this type with the provided Span, returning an +

    Trait Implementations

    Returns a copy of the value. Read more

    +

    Performs copy-assignment from source. Read more

    +

    Formats the value using the given formatter. Read more

    +

    Auto Trait Implementations

    Blanket Implementations

    Gets the TypeId of self. Read more

    +

    Immutably borrows from an owned value. Read more

    +

    Mutably borrows from an owned value. Read more

    +

    Performs the conversion.

    +

    Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

    -

    fn in_current_span(self) -> Instrumented<Self>[src]

    Instruments this type with the current Span, returning an +

    Instruments this type with the current Span, returning an Instrumented wrapper. Read more

    -

    impl<T, U> Into<U> for T where
        U: From<T>, 
    [src]

    pub fn into(self) -> U[src]

    Performs the conversion.

    -

    impl<T> Pointable for T

    pub const ALIGN: usize

    The alignment of pointer.

    -

    type Init = T

    The type for initializers.

    -

    pub unsafe fn init(init: <T as Pointable>::Init) -> usize

    Initializes a with the given initializer. Read more

    -

    pub unsafe fn deref<'a>(ptr: usize) -> &'a T

    Dereferences the given pointer. Read more

    -

    pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

    Mutably dereferences the given pointer. Read more

    -

    pub unsafe fn drop(ptr: usize)

    Drops the object pointed to by the given pointer. Read more

    -

    impl<T> Same<T> for T

    type Output = T

    Should always be Self

    -

    impl<T> ToOwned for T where
        T: Clone
    [src]

    type Owned = T

    The resulting type after obtaining ownership.

    -

    pub fn to_owned(&self) -> T[src]

    Creates owned data from borrowed data, usually by cloning. Read more

    -

    pub fn clone_into(&self, target: &mut T)[src]

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

    recently added

    +

    Performs the conversion.

    +

    The alignment of pointer.

    +

    The type for initializers.

    +

    Initializes a with the given initializer. Read more

    +

    Dereferences the given pointer. Read more

    +

    Mutably dereferences the given pointer. Read more

    +

    Drops the object pointed to by the given pointer. Read more

    +

    Should always be Self

    +

    The resulting type after obtaining ownership.

    +

    Creates owned data from borrowed data, usually by cloning. Read more

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

    recently added

    Uses borrowed data to replace owned data, usually by cloning. Read more

    -

    impl<T, U> TryFrom<U> for T where
        U: Into<T>, 
    [src]

    type Error = Infallible

    The type returned in the event of a conversion error.

    -

    pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

    Performs the conversion.

    -

    impl<T, U> TryInto<U> for T where
        U: TryFrom<T>, 
    [src]

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.

    -

    pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

    Performs the conversion.

    -

    impl<V, T> VZip<V> for T where
        V: MultiLane<T>, 

    pub fn vzip(self) -> V

    - \ No newline at end of file +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +

    The type returned in the event of a conversion error.

    +

    Performs the conversion.

    +
    \ No newline at end of file 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 8cc05981e3..f306971016 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,5 @@ TxBuilderContext in bdk::wallet::tx_builder - Rust -

    Trait bdk::wallet::tx_builder::TxBuilderContext[][src]

    pub trait TxBuilderContext: Debug + Default + Clone { }
    Expand description

    Context in which the TxBuilder is valid

    -

    Implementors

    - \ No newline at end of file +

    Trait bdk::wallet::tx_builder::TxBuilderContext[][src]

    pub trait TxBuilderContext: Debug + Default + Clone { }
    Expand description

    Context in which the TxBuilder is valid

    +

    Implementors

    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/utils/trait.IsDust.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/utils/trait.IsDust.html index 71ab5675d6..c0e56858e7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/utils/trait.IsDust.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/utils/trait.IsDust.html @@ -2,6 +2,7 @@ + Redirection

    Redirecting to ../../../bdk/wallet/trait.IsDust.html...

    diff --git a/static/docs-rs/bdk/nightly/latest/dark.css b/static/docs-rs/bdk/nightly/latest/dark.css index ed5b8fab37..06bda2acb5 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,.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;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#eee !important;background-color:#616161;}.search-results a:focus span{color:#eee !important;}a.result-trait:focus{background-color:#013191;}a.result-traitalias:focus{background-color:#013191;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-mod:focus{background-color:#803a1b;}a.result-externcrate:focus{background-color:#396bac;}a.result-enum:focus{background-color:#5b4e68;}a.result-struct:focus{background-color:#194e9f;}a.result-union:focus{background-color:#b7bd49;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#4950ed;}a.result-type:focus{background-color:#38902c;}a.result-foreigntype:focus{background-color:#b200d6;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#217d1c;}a.result-constant:focus,a.result-static:focus{background-color:#0063cc;}a.result-primitive:focus{background-color:#00708a;}a.result-keyword:focus{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;}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-input: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{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{border-color:#ffb900;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(65%);}#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 .result-name span.alias{color:#fff;}.search-results .result-name 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,h4{color:#ddd;}h1.fqn{border-bottom-color:#d2d2d2;}h2,h3,h4{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;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#eee !important;background-color:#616161;}.search-results a:focus span{color:#eee !important;}a.result-trait:focus{background-color:#013191;}a.result-traitalias:focus{background-color:#013191;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-mod:focus{background-color:#803a1b;}a.result-externcrate:focus{background-color:#396bac;}a.result-enum:focus{background-color:#5b4e68;}a.result-struct:focus{background-color:#194e9f;}a.result-union:focus{background-color:#b7bd49;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#4950ed;}a.result-type:focus{background-color:#38902c;}a.result-foreigntype:focus{background-color:#b200d6;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#217d1c;}a.result-constant:focus,a.result-static:focus{background-color:#0063cc;}a.result-primitive:focus{background-color:#00708a;}a.result-keyword:focus{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;}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-input: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;}.notable-traits-tooltiptext .notable{border-bottom-color:#d2d2d2;}#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{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{border-color:#ffb900;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(65%);}#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 .result-name span.alias{color:#fff;}.search-results .result-name 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 640acaf9e3..5a5f85ee73 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,.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;}.search-results a:hover{background-color:#ddd;}.search-results a:focus{color:#000 !important;background-color:#ccc;}.search-results a:focus span{color:#000 !important;}a.result-trait:focus{background-color:#c7b6ff;}a.result-traitalias:focus{background-color:#c7b6ff;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-enum:focus{background-color:#b4d1b9;}a.result-struct:focus{background-color:#e7b1a0;}a.result-union:focus{background-color:#b7bd49;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#c6afb3;}a.result-type:focus{background-color:#ffc891;}a.result-foreigntype:focus{background-color:#f5c4ff;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#8ce488;}a.result-constant:focus,a.result-static:focus{background-color:#c3e0ff;}a.result-primitive:focus{background-color:#9aecff;}a.result-keyword:focus{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;}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-input: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{border-color:#e0e0e0;background-color:#fff;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button:focus{border-color:#717171;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(35%);}#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 .result-name span.alias{color:#000;}.search-results .result-name 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,h4{color:black;}h1.fqn{border-bottom-color:#D5D5D5;}h2,h3,h4{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;}.search-results a:hover{background-color:#ddd;}.search-results a:focus{color:#000 !important;background-color:#ccc;}.search-results a:focus span{color:#000 !important;}a.result-trait:focus{background-color:#c7b6ff;}a.result-traitalias:focus{background-color:#c7b6ff;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-enum:focus{background-color:#b4d1b9;}a.result-struct:focus{background-color:#e7b1a0;}a.result-union:focus{background-color:#b7bd49;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#c6afb3;}a.result-type:focus{background-color:#ffc891;}a.result-foreigntype:focus{background-color:#f5c4ff;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#8ce488;}a.result-constant:focus,a.result-static:focus{background-color:#c3e0ff;}a.result-primitive:focus{background-color:#9aecff;}a.result-keyword:focus{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;}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-input: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;}.notable-traits-tooltiptext .notable{border-bottom-color:#DDDDDD;}#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{border-color:#e0e0e0;background-color:#fff;}#theme-picker:hover,#theme-picker:focus,#settings-menu:hover,#settings-menu:focus,#help-button:hover,#help-button:focus{border-color:#717171;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(35%);}#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 .result-name span.alias{color:#000;}.search-results .result-name 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 bbf02d9f1a..4dc073e34c 100644 --- a/static/docs-rs/bdk/nightly/latest/main.js +++ b/static/docs-rs/bdk/nightly/latest/main.js @@ -1,4 +1,4 @@ -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:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],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});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=""}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 onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function getHelpElement(build){if(build){buildHelperPopup()}return document.getElementById("help")}function displayHelp(display,ev,help){if(display){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")){ev.preventDefault();addClass(help,"hidden");removeClass(document.body,"blur")}}}function handleEscape(ev){var help=getHelpElement(false);var search=searchState.outputElement();if(help&&!hasClass(help,"hidden")){displayHelp(false,ev,help)}else if(search&&!hasClass(search,"hidden")){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){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}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);(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 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 hideImplementations=getSettingValue("auto-hide-trait-implementations")!=="false";var hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function openImplementors(id){var list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),function(e){e.open=true})}}if(!hideImplementations){openImplementors("trait-implementations-list");openImplementors("blanket-implementations-list")}if(!hideImplementors){openImplementors("implementors-list")}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),function(e){if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});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:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],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});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=""}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 onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function getHelpElement(build){if(build){buildHelperPopup()}return document.getElementById("help")}function displayHelp(display,ev,help){if(display){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")){ev.preventDefault();addClass(help,"hidden");removeClass(document.body,"blur")}}}function handleEscape(ev){var help=getHelpElement(false);var search=searchState.outputElement();if(help&&!hasClass(help,"hidden")){displayHelp(false,ev,help)}else if(search&&!hasClass(search,"hidden")){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){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}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);(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 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 hideImplementations=getSettingValue("auto-hide-trait-implementations")!=="false";var hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function openImplementors(id){var list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),function(e){e.open=true})}}if(!hideImplementations){openImplementors("trait-implementations-list");openImplementors("blanket-implementations-list")}if(!hideImplementors){openImplementors("implementors-list")}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),function(e){if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});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"],["← / →","Switch result tab (when results focused)"],["⏎","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, \ diff --git a/static/docs-rs/bdk/nightly/latest/rustdoc.css b/static/docs-rs/bdk/nightly/latest/rustdoc.css index 102e332715..d11a851737 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;}@font-face {font-family:'Noto Sans KR';src:url("noto-sans-kr-v13-korean-regular.woff") format("woff");font-display:swap;unicode-range:U+A960-A97F,U+AC00-D7AF,U+D7B0-D7FF;}*{-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","Noto Sans KR",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,.search-results .result-name,.content table td:first-child>a,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;border-top-left-radius:5px;border-bottom-left-radius:5px;}.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;}.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;}.top-doc .docblock h1{font-size:1.3em;}.top-doc .docblock h2{font-size:1.15em;}.top-doc .docblock h3,.top-doc .docblock h4,.top-doc .docblock h5{font-size:1em;}.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):not(.methods){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;}.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{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;}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;}.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;}.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;display:none;}.search-failed.active{display:block;}.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{background:initial;margin-left:10px;padding:0;padding-left:2px;border:0;}#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;}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,details.undocumented>summary{list-style:none;}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";}@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;}#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;}#main>details.rustdoc-toggle>summary::before,#main>div>details.rustdoc-toggle>summary::before{left:-11px;}#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);}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description{padding-left:2em;}}@media print{nav.sub,.content .out-of-band{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;}} \ 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;}@font-face {font-family:'Noto Sans KR';src:url("noto-sans-kr-v13-korean-regular.woff") format("woff");font-display:swap;unicode-range:U+A960-A97F,U+AC00-D7AF,U+D7B0-D7FF;}*{-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","Noto Sans KR",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,h4{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,h4{border-bottom:1px solid;}.impl,.method,.type,.associatedconstant,.associatedtype{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}.impl,.method.trait-impl,.type.trait-impl,.associatedconstant.trait-impl,.associatedtype.trait-impl{padding-left:15px;}div.impl-items>div{padding-left:0;}h1,h2,h3,h4,.sidebar,a.source,.search-input,.search-results .result-name,.content table td:first-child>a,div.item-list .out-of-band,span.since,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,details.undocumented>summary::before,div.impl-items>div:not(.docblock):not(.item-info),.content ul.crate a.crate,a.srclink,#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-of-type{font-weight:500;}.location a:hover{text-decoration:underline;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{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;border-top-left-radius:5px;border-bottom-left-radius:5px;}.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;}.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;}.top-doc .docblock h1{font-size:1.3em;}.top-doc .docblock h2{font-size:1.15em;}.top-doc .docblock h3,.top-doc .docblock h4,.top-doc .docblock h5{font-size:1em;}.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;}.method>code,.trait-impl>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>.methods>.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):not(.method){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.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,.method>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{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;}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;}.has-srclink{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;}.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;}.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 .notable{margin:0;margin-bottom:13px;font-size:19px;font-weight:600;}.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;display:none;}.search-failed.active{display:block;}.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;}#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{background:initial;margin-left:10px;padding:0;padding-left:2px;border:0;}#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;}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,details.undocumented>summary{list-style:none;}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:3px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,.undocumented>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;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";}@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;}#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;}.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;}#main>details.rustdoc-toggle>summary::before,#main>div>details.rustdoc-toggle>summary::before{left:-11px;}#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);}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description{padding-left:2em;}}@media print{nav.sub,.content .out-of-band{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;}} \ 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 900bf3b0df..66f8560b5d 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,3,8,13,13,13,13,3,11,11,12,0,11,11,11,11,11,11,11,11,11,11,0,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,12,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,0,11,0,11,11,11,11,11,11,11,0,11,11,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,13,3,8,4,4,3,3,13,11,12,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","AddressInfo","IsDust","LastUnused","New","Peek","Reset","Wallet","add_address_validator","add_signer","address","address_validator","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","broadcast","build_fee_bump","build_tx","client","coin_selection","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","eq","export","finalize_psbt","fmt","fmt","fmt","fmt","from","from","from","get_address","get_balance","get_descriptor_for_keychain","get_psbt_input","get_utxo","index","init","init","init","into","into","into","is_dust","is_mine","list_transactions","list_unspent","ne","network","new","new_offline","policies","public_descriptor","secp_ctx","sign","signer","sync","time","to_string","try_from","try_from","try_from","try_into","try_into","try_into","tx_builder","type_id","type_id","type_id","vzip","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","NonStandardSighash","PkHash","SignOptions","Signer","SignerError","SignerId","SignerOrdering","SignersContainer","UserCanceled","add_external","allow_all_sighashes","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 …","A derived address and the index it was found at For …","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","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 …","Child index of this address","","","","","","","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 …","The psbt contains a non-SIGHASH_ALL sighash in one of its …","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 …","Whether the signer should use the sighash_type set in 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,0,101,101,101,101,0,102,102,103,0,102,101,103,102,101,103,102,102,102,102,0,102,101,103,103,102,101,103,102,101,103,103,0,102,102,101,103,103,102,101,103,102,102,102,102,102,103,102,101,103,102,101,103,104,102,102,102,103,102,102,102,102,102,102,102,0,102,0,103,102,101,103,102,101,103,0,102,101,103,102,101,103,0,0,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,106,105,0,0,0,0,0,107,108,109,107,108,109,108,108,110,108,109,108,109,107,108,109,107,108,109,107,108,109,107,107,108,109,107,108,109,107,108,109,107,108,109,107,109,107,107,108,107,108,109,107,108,109,107,108,109,107,108,109,0,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,112,113,113,114,114,114,114,114,114,114,114,114,113,0,0,0,0,0,0,114,115,116,115,116,113,114,112,115,116,113,114,112,115,116,113,114,112,115,116,113,114,112,115,116,113,112,112,115,116,113,114,112,115,116,113,114,112,115,116,117,113,114,112,115,116,113,114,112,113,114,112,115,113,114,114,112,115,116,113,113,113,114,112,115,115,116,113,117,115,113,114,112,115,116,113,114,112,115,116,113,112,115,113,112,115,117,117,115,113,114,112,115,116,114,116,113,114,112,115,116,113,114,112,115,116,113,114,112,115,116,113,114,112,115,116,0,118,0,119,119,0,0,119,118,0,0,0,118,120,120,120,120,120,120,121,122,120,118,119,121,122,120,118,119,120,121,122,120,118,119,121,122,120,118,119,118,119,120,121,122,118,119,121,122,120,118,119,121,122,120,118,119,120,120,121,122,120,118,119,120,120,118,119,118,119,120,120,120,121,122,120,118,119,121,122,120,118,119,118,119,120,121,122,120,118,119,121,122,120,118,119,120,120,120,120,120,120,118,119,120,120,120,120,118,121,122,120,118,119,121,122,120,118,119,121,122,120,118,119,121,122,120,118,119,120,120,121,122,120,118,119],"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]]],[[["esploraerror",4]]],[[["error",3]]],[[["error",4]]],[[]],[[["error",4]]],[[["error",4]]],[[["addressvalidatorerror",4]]],[[["policyerror",4]]],[[["error",4]]],[[["signererror",4]]],[[["error",4]]],[[["keyerror",4]],["error",4]],[[["error",4]]],[[["error",4]]],[[["compactfilterserror",4]]],[[["error",4]]],[[]],[[]],[[]],[[]],[[]],[[]],[[["f32",15]]],[[["f32",15]]],[[]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["option",4],["keysource",6],["derivationpath",3]],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["extendedkey",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]],[["option",4],["ordering",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]],[["result",4],["error",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]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["result",4],["u32",15],["error",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["logprogress",3]],[[],["noopprogress",3]],[[]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",4]]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",4]]],[[]],[[]],[[]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[["string",3],["option",4],["f32",15]],[["result",4],["error",4]]],[[["string",3],["option",4],["f32",15]],[["result",4],["error",4]]],[[["string",3],["option",4],["f32",15]],[["result",4],["error",4]]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[["transaction",3]],[["result",4],["error",4]]],[[],["anyblockchainconfig",4]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["anyblockchainconfig",4]],["bool",15]],[[["usize",15]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[["electrumblockchain",3]]],[[["esplorablockchain",3]]],[[["compactfiltersblockchain",3]]],[[]],[[["electrumblockchainconfig",3]]],[[["esplorablockchainconfig",3]]],[[["compactfiltersblockchainconfig",3]]],[[]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["result",4],["u32",15],["error",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["anyblockchainconfig",4]],["bool",15]],[[],["result",4]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",4]]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",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]],[["result",4],["error",4]]],[[],["bitcoinpeerconfig",3]],[[],["compactfiltersblockchainconfig",3]],[[]],[[]],[[["tosocketaddrs",8],["network",4],["mempool",3],["arc",3]],[["result",4],["compactfilterserror",4]]],[[["tosocketaddrs",8],["network",4],["totargetaddr",8],["mempool",3],["option",4],["arc",3]],[["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]],[["result",4],["feerate",3],["error",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]]],[[]],[[["error",4]]],[[["systemtimeerror",3]]],[[["error",4]]],[[["error",3]]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["result",4],["u32",15],["error",4]]],[[],[["mempool",3],["arc",3]]],[[],["network",4]],[[["inventory",4]],[["option",4],["transaction",3]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[],["versionmessage",3]],[[["txid",3]],["bool",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[],[["vec",3],["transaction",3]]],[[["bitcoinpeerconfig",3]],["bool",15]],[[["compactfiltersblockchainconfig",3]],["bool",15]],null,[[]],[[["vec",3],["path",3],["option",4],["peer",3],["usize",15],["asref",8]],[["result",4],["compactfilterserror",4]]],null,[[["str",15],["option",4],["duration",3]],[["compactfilterserror",4],["result",4],["option",4]]],[[["networkmessage",4]],[["compactfilterserror",4],["result",4]]],[[],["result",4]],[[],["result",4]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",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]],[["result",4],["error",4]]],[[],["electrumblockchainconfig",3]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[],["result",4]],[[["usize",15]]],[[["usize",15]]],[[["electrumblockchainconfig",3]],["bool",15]],[[["usize",15]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[]],[[["client",3]]],[[]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["result",4],["u32",15],["error",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["electrumblockchainconfig",3]],["bool",15]],null,[[],["result",4]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",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]],[["result",4],["error",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]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[["parseinterror",3]]],[[]],[[["error",4]]],[[["error",4]]],[[["error",3]]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["result",4],["u32",15],["error",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[["esplorablockchainconfig",3]],["bool",15]],[[["option",4],["str",15],["u8",15]]],[[],["result",4]],[[["option",4],["usize",15],["progress",8]],[["result",4],["error",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]],[["result",4],["error",4]]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[["keychainkind",4]],[["result",4],["u32",15],["error",4]]],[[],[["result",4],["vec",3],["error",4]]],[[["keychainkind",4],["option",4]],[["vec",3],["error",4],["result",4]]],[[["bool",15]],[["result",4],["vec",3],["error",4]]],[[],[["vec",3],["result",4],["error",4]]],null,[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]],[[["transaction",3]],[["result",4],["error",4]]],[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]],[[["transactiondetails",3]],[["result",4],["error",4]]],[[["localutxo",3]],[["result",4],["error",4]]],null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["asref",8],["keychainkind",4]],[["result",4],["error",4]]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]],[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",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]],[[]],[[]],[[]],[[]],[[["memorydatabase",3]]],[[["tree",3]]],[[]],[[]],[[["sleddbconfiguration",3]]],[[]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[["keychainkind",4]],[["result",4],["u32",15],["error",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[],[["result",4],["vec",3],["error",4]]],[[["keychainkind",4],["option",4]],[["vec",3],["error",4],["result",4]]],[[["bool",15]],[["result",4],["vec",3],["error",4]]],[[],[["vec",3],["result",4],["error",4]]],null,[[],["result",4]],[[],["result",4]],[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]],[[["transaction",3]],[["result",4],["error",4]]],[[["transaction",3]],[["result",4],["error",4]]],[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]],[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]],[[["transactiondetails",3]],[["result",4],["error",4]]],[[["transactiondetails",3]],[["result",4],["error",4]]],[[["localutxo",3]],[["result",4],["error",4]]],[[["localutxo",3]],[["result",4],["error",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]],[["result",4],["error",4]]],[[],[["result",4],["error",4]]],[[],["memorydatabase",3]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["error",4],["result",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[["keychainkind",4]],[["result",4],["u32",15],["error",4]]],[[],["usize",15]],[[]],[[],[["result",4],["vec",3],["error",4]]],[[["keychainkind",4],["option",4]],[["vec",3],["error",4],["result",4]]],[[["bool",15]],[["result",4],["vec",3],["error",4]]],[[],[["vec",3],["result",4],["error",4]]],[[]],[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]],[[["transaction",3]],[["result",4],["error",4]]],[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]],[[["transactiondetails",3]],[["result",4],["error",4]]],[[["localutxo",3]],[["result",4],["error",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]],[["result",4],["address",3],["error",4]]],[[],["scriptcontextenum",4]],[[],["scriptcontextenum",4]],[[],["terminal",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["vec",3],["global",3],["miniscript",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],["signerscontainer",3],["secp256k1",3]],[["option",4],["result",4],["descriptorerror",4]]],[[["buildsatisfaction",4],["signerscontainer",3],["secp256k1",3]],[["result",4],["option",4],["error",4]]],[[["buildsatisfaction",4],["signerscontainer",3],["secp256k1",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],["vec",3],["pkpkh",4]]],[[],[["global",3],["vec",3]]],[[["usize",15]],[["option",4],["miniscript",3]]],[[["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]],[[],[["result",4],["policy",4],["error",4]]],[[],[["result",4],["policy",4],["error",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]],[[["miniscript",3],["barectx",4]],[["result",4],["descriptor",4],["error",4]]],[[],["descriptor",4]],[[],["descriptor",4]],[[["legacy",4],["miniscript",3]],[["result",4],["descriptor",4],["error",4]]],[[["vec",3],["usize",15],["global",3]],[["result",4],["descriptor",4],["error",4]]],[[],[["result",4],["descriptor",4],["error",4]]],[[["miniscript",3],["segwitv0",4]],[["result",4],["descriptor",4],["error",4]]],[[["vec",3],["usize",15],["global",3]],[["result",4],["descriptor",4],["error",4]]],[[],[["result",4],["descriptor",4],["error",4]]],[[["miniscript",3],["segwitv0",4]],[["result",4],["descriptor",4],["error",4]]],[[["vec",3],["usize",15],["global",3]],[["result",4],["descriptor",4],["error",4]]],null,[[["miniscript",3]],[["result",4],["error",4]]],[[["script",3]],[["error",4],["miniscript",3],["result",4]]],[[["secp256k1",3],["str",15]],[["error",4],["result",4]]],[[["script",3]],[["error",4],["miniscript",3],["result",4]]],[[],[["ordering",4],["option",4]]],[[["descriptor",4]],[["option",4],["ordering",4]]],[[["legacy",4]],[["option",4],["ordering",4]]],[[["segwitv0",4]],[["option",4],["ordering",4]]],[[["miniscript",3]],[["option",4],["ordering",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]],[["string",3],["result",4],["descriptorerror",4]]],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]]],[[]],[[["policyerror",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["keyerror",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],["result",4],["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]],[["option",4],["ordering",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],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",4]]],[[],[["descriptortemplateout",6],["result",4],["descriptorerror",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]],[["descriptorkeyparseerror",3],["descriptorpublickey",4],["result",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]],[["publickey",3],["conversionerror",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]]],[[],["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]],[[]],[[["extendedpubkey",3]]],[[["extendedprivkey",3]]],[[]],[[]],[[]],[[]],[[]],[[["error",4]]],[[["error",4]]],[[]],[[]],[[]],[[]],[[]],[[["validnetworks",6],["descriptorpublickey",4]]],[[["descriptorsecretkey",4],["validnetworks",6]]],[[["str",15]],[["result",4],["descriptorpublickey",4]]],[[["str",15]],[["result",4],["descriptorsecretkey",4]]],[[["tree",3]],[["result",4],["error",4],["sortedmultivec",3]]],[[],["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]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["keyerror",4],["result",4],["descriptorkey",4]]],[[["option",4],["keysource",6],["derivationpath",3]],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["descriptorkey",4]]],[[["option",4],["keysource",6],["derivationpath",3]],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["extendedkey",4]]],[[],[["keyerror",4],["result",4],["extendedkey",4]]],[[],[["keyerror",4],["result",4],["extendedkey",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,[[],[["result",4],["policy",4],["error",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]],[[["vec",3],["usize",15],["global",3]],[["result",4],["error",4],["sortedmultivec",3]]],null,null,[[["miniscript",3]],[["result",4],["error",4]]],[[["miniscript",3]],[["result",4],["error",4]]],[[["validnetworks",6]]],[[["sortedmultivec",3]],[["option",4],["ordering",4]]],[[["descriptorpublickey",4]],[["option",4],["ordering",4]]],[[["descriptorsinglepub",3]],[["option",4],["ordering",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]]],[[],[["result",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]],[[],["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]],[["error",3],["mnemonictype",4],["result",4]]],[[["str",15]],[["error",3],["mnemonictype",4],["result",4]]],[[["usize",15]],[["error",3],["mnemonictype",4],["result",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]]],[[],[["result",4],["generatedkey",3]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[["option",4],["keysource",6],["derivationpath",3]],[["keyerror",4],["result",4],["descriptorkey",4]]],[[["option",4],["keysource",6],["derivationpath",3]],[["keyerror",4],["result",4],["descriptorkey",4]]],[[],[["keyerror",4],["result",4],["extendedkey",4]]],[[],[["keyerror",4],["result",4],["extendedkey",4]]],[[],["string",3]],[[],["language",4]],[[["mnemonictype",4],["language",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,null,[[["arc",3],["addressvalidator",8]]],[[["signerordering",3],["signer",8],["arc",3],["keychainkind",4]]],null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["result",4],["error",4],["txid",3]]],[[["txid",3]],[["txbuilder",3],["result",4],["error",4]]],[[],[["txbuilder",3],["defaultcoinselectionalgorithm",6],["createtx",3]]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["addressinfo",3]],["bool",15]],null,[[["signoptions",3],["psbt",3]],[["result",4],["bool",15],["error",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[["addressindex",4]],[["result",4],["addressinfo",3],["error",4]]],[[],[["error",4],["result",4],["u64",15]]],[[["keychainkind",4]],["extendeddescriptor",6]],[[["localutxo",3],["sighashtype",4],["bool",15],["option",4]],[["result",4],["input",3],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["bool",15]],[[["script",3]],[["result",4],["bool",15],["error",4]]],[[["bool",15]],[["result",4],["vec",3],["error",4]]],[[],[["vec",3],["result",4],["error",4]]],[[["addressinfo",3]],["bool",15]],[[],["network",4]],[[["network",4],["intowalletdescriptor",8],["option",4]],[["result",4],["error",4]]],[[["network",4],["intowalletdescriptor",8],["option",4]],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["keychainkind",4]],[["result",4],["error",4],["option",4]]],[[],["secp256k1",3]],[[["signoptions",3],["psbt",3]],[["result",4],["bool",15],["error",4]]],null,[[["option",4],["u32",15],["progress",8]],[["result",4],["error",4]]],null,[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["typeid",3]],[[],["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]],[[["hdkeypaths",6],["keychainkind",4],["script",3]],[["result",4],["addressvalidatorerror",4]]],[[]],null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["largestfirstcoinselection",3]],[[]],[[["f32",15],["feerate",3],["vec",3],["weightedutxo",3],["u64",15]],[["coinselectionresult",3],["error",4],["result",4]]],[[["f32",15],["feerate",3],["vec",3],["weightedutxo",3],["u64",15]],[["coinselectionresult",3],["error",4],["result",4]]],[[["f32",15],["feerate",3],["vec",3],["weightedutxo",3],["u64",15]],[["coinselectionresult",3],["error",4],["result",4]]],[[],["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,[[]],[[]],[[],[["string",3],["option",4]]],[[["usize",15]]],[[["usize",15]]],[[],["string",3]],[[],["result",4]],[[["usize",15]]],[[["bool",15],["wallet",3],["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,null,[[["signerordering",3],["signer",8],["signerid",4],["arc",3]],[["arc",3],["option",4]]],null,[[["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]]],[[],[["descriptorsecretkey",4],["option",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]],[["option",4],["arc",3]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["hash",3]],["signerid",4]],[[["fingerprint",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]],[["option",4],["ordering",4]]],[[["signerordering",3]],[["option",4],["ordering",4]]],[[["signerordering",3],["signerid",4]],[["arc",3],["option",4]]],[[["option",4],["partiallysignedtransaction",3],["usize",15],["secp256k1",3]],[["signererror",4],["result",4]]],[[],["bool",15]],[[],[["vec",3],["arc",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,[[["usize",15],["outpoint",3],["input",3]],[["result",4],["error",4]]],[[]],[[["script",3],["u64",15]]],[[["outpoint",3]]],[[["outpoint",3]],[["result",4],["error",4]]],[[],[["result",4],["error",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]],[[]],[[]],[[]],[[]],[[]],[[],[["result",4],["error",4]]],[[]],[[["u32",15]]],[[]],[[]],[[["txordering",4]]],[[["txordering",4]],[["option",4],["ordering",4]]],[[["changespendpolicy",4]],[["option",4],["ordering",4]]],[[["vec",3],["btreemap",3],["string",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"],[3,"AddressInfo"],[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,3,8,13,13,13,13,3,11,11,12,0,11,11,11,11,11,11,11,11,11,11,0,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,12,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,0,11,0,11,11,11,11,11,11,11,0,11,11,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,13,3,8,4,4,3,3,13,11,12,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","AddressInfo","IsDust","LastUnused","New","Peek","Reset","Wallet","add_address_validator","add_signer","address","address_validator","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","broadcast","build_fee_bump","build_tx","client","coin_selection","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","drop","drop","drop","eq","export","finalize_psbt","fmt","fmt","fmt","fmt","from","from","from","get_address","get_balance","get_descriptor_for_keychain","get_psbt_input","get_utxo","index","init","init","init","into","into","into","is_dust","is_mine","list_transactions","list_unspent","ne","network","new","new_offline","policies","public_descriptor","secp_ctx","sign","signer","sync","time","to_string","try_from","try_from","try_from","try_into","try_into","try_into","tx_builder","type_id","type_id","type_id","vzip","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","NonStandardSighash","PkHash","SignOptions","Signer","SignerError","SignerId","SignerOrdering","SignersContainer","UserCanceled","add_external","allow_all_sighashes","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 …","A derived address and the index it was found at For …","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","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 …","Child index of this address","","","","","","","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 …","The psbt contains a non-SIGHASH_ALL sighash in one of its …","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 …","Whether the signer should use the sighash_type set in 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,0,101,101,101,101,0,102,102,103,0,102,101,103,102,101,103,102,102,102,102,0,102,101,103,103,102,101,103,102,101,103,103,0,102,102,101,103,103,102,101,103,102,102,102,102,102,103,102,101,103,102,101,103,104,102,102,102,103,102,102,102,102,102,102,102,0,102,0,103,102,101,103,102,101,103,0,102,101,103,102,101,103,0,0,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,105,106,105,0,0,0,0,0,107,108,109,107,108,109,108,108,110,108,109,108,109,107,108,109,107,108,109,107,108,109,107,107,108,109,107,108,109,107,108,109,107,108,109,107,109,107,107,108,107,108,109,107,108,109,107,108,109,107,108,109,0,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,112,113,113,114,114,114,114,114,114,114,114,114,113,0,0,0,0,0,0,114,115,116,115,116,113,114,112,115,116,113,114,112,115,116,113,114,112,115,116,113,114,112,115,116,113,112,112,115,116,113,114,112,115,116,113,114,112,115,116,117,113,114,112,115,116,113,114,112,113,114,112,115,113,114,114,112,115,116,113,113,113,114,112,115,115,116,113,117,115,113,114,112,115,116,113,114,112,115,116,113,112,115,113,112,115,117,117,115,113,114,112,115,116,114,116,113,114,112,115,116,113,114,112,115,116,113,114,112,115,116,113,114,112,115,116,0,118,0,119,119,0,0,119,118,0,0,0,118,120,120,120,120,120,120,121,122,120,118,119,121,122,120,118,119,120,121,122,120,118,119,121,122,120,118,119,118,119,120,121,122,118,119,121,122,120,118,119,121,122,120,118,119,120,120,121,122,120,118,119,120,120,118,119,118,119,120,120,120,121,122,120,118,119,121,122,120,118,119,118,119,120,121,122,120,118,119,121,122,120,118,119,120,120,120,120,120,120,118,119,120,120,120,120,118,121,122,120,118,119,121,122,120,118,119,121,122,120,118,119,121,122,120,118,119,120,120,121,122,120,118,119],"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]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["error",4]]],[[["keyerror",4]],["error",4]],[[["signererror",4]]],[[["policyerror",4]]],[[["addressvalidatorerror",4]]],[[["error",4]]],[[["error",4]]],[[["compactfilterserror",4]]],[[["esploraerror",4]]],[[["error",3]]],[[]],[[["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]],[["keyerror",4],["descriptorkey",4],["result",4]]],[[],[["keyerror",4],["extendedkey",4],["result",4]]],[[["secp256k1",3],["network",4]],[["descriptorerror",4],["result",4]]],[[["secp256k1",3],["network",4]],[["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]],[["option",4],["ordering",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]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["u32",15],["error",4],["result",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["logprogress",3]],[[],["noopprogress",3]],[[]],[[["usize",15],["option",4],["progress",8]],[["error",4],["result",4]]],[[["usize",15],["option",4],["progress",8]],[["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]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[]],[[["compactfiltersblockchain",3]]],[[["esplorablockchain",3]]],[[["electrumblockchain",3]]],[[["esplorablockchainconfig",3]]],[[["compactfiltersblockchainconfig",3]]],[[]],[[["electrumblockchainconfig",3]]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["u32",15],["error",4],["result",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["anyblockchainconfig",4]],["bool",15]],[[],["result",4]],[[["usize",15],["option",4],["progress",8]],[["error",4],["result",4]]],[[["usize",15],["option",4],["progress",8]],[["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]],[[]],[[]],[[["tosocketaddrs",8],["arc",3],["mempool",3],["network",4]],[["result",4],["compactfilterserror",4]]],[[["tosocketaddrs",8],["arc",3],["option",4],["mempool",3],["network",4],["totargetaddr",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]],[["result",4],["feerate",3],["error",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",4]]],[[["systemtimeerror",3]]],[[["error",4]]],[[["error",3]]],[[["error",3]]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["u32",15],["error",4],["result",4]]],[[],[["arc",3],["mempool",3]]],[[],["network",4]],[[["inventory",4]],[["option",4],["transaction",3]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[],["versionmessage",3]],[[["txid",3]],["bool",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[],[["vec",3],["transaction",3]]],[[["bitcoinpeerconfig",3]],["bool",15]],[[["compactfiltersblockchainconfig",3]],["bool",15]],null,[[]],[[["option",4],["peer",3],["path",3],["vec",3],["asref",8],["usize",15]],[["result",4],["compactfilterserror",4]]],null,[[["str",15],["option",4],["duration",3]],[["option",4],["compactfilterserror",4],["result",4]]],[[["networkmessage",4]],[["result",4],["compactfilterserror",4]]],[[],["result",4]],[[],["result",4]],[[["usize",15],["option",4],["progress",8]],[["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]],[["result",4],["feerate",3],["error",4]]],[[["formatter",3]],["result",6]],[[["client",3]]],[[]],[[]],[[],[["result",4],["error",4]]],[[],[["capability",4],["hashset",3]]],[[],[["u32",15],["error",4],["result",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[["electrumblockchainconfig",3]],["bool",15]],null,[[],["result",4]],[[["usize",15],["option",4],["progress",8]],[["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]],[["result",4],["feerate",3],["error",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]]],[[],[["capability",4],["hashset",3]]],[[],[["u32",15],["error",4],["result",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[["esplorablockchainconfig",3]],["bool",15]],[[["option",4],["str",15],["u8",15]]],[[],["result",4]],[[["usize",15],["option",4],["progress",8]],[["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]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["result",4],["error",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["result",4],["error",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]],[[],[["result",4],["vec",3],["error",4]]],[[["option",4],["keychainkind",4]],[["error",4],["result",4],["vec",3]]],[[["bool",15]],[["vec",3],["error",4],["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]],[["option",4],["error",4],["result",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["result",4],["error",4],["option",4]]],[[["script",3]],[["result",4],["error",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",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]],[[]],[[]],[[]],[[["memorydatabase",3]]],[[]],[[["tree",3]]],[[]],[[["sleddbconfiguration",3]]],[[]],[[]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["result",4],["error",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[],[["result",4],["vec",3],["error",4]]],[[["option",4],["keychainkind",4]],[["error",4],["result",4],["vec",3]]],[[["bool",15]],[["vec",3],["error",4],["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]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["result",4],["error",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["formatter",3]],["result",6]],[[]],[[],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["script",3]],[["result",4],["error",4],["option",4]]],[[["txid",3]],[["result",4],["option",4],["error",4]]],[[["u32",15],["keychainkind",4]],[["error",4],["result",4],["option",4]]],[[["bool",15],["txid",3]],[["result",4],["option",4],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]],[[],["usize",15]],[[]],[[],[["result",4],["vec",3],["error",4]]],[[["option",4],["keychainkind",4]],[["error",4],["result",4],["vec",3]]],[[["bool",15]],[["vec",3],["error",4],["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],["result",4],["error",4]]],[[],["scriptcontextenum",4]],[[],["scriptcontextenum",4]],[[],["terminal",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["miniscript",3],["global",3],["vec",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],["descriptorerror",4],["result",4]]],[[["buildsatisfaction",4],["secp256k1",3],["signerscontainer",3]],[["option",4],["result",4],["error",4]]],[[["buildsatisfaction",4],["secp256k1",3],["signerscontainer",3]],[["option",4],["result",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]],[["error",4],["result",4],["miniscript",3]]],[[["str",15]],[["descriptor",4],["result",4],["error",4]]],[[["str",15]],[["error",4],["result",4],["miniscript",3]]],[[["str",15]],[["error",4],["result",4],["miniscript",3]]],[[["tree",3]],[["descriptor",4],["result",4],["error",4]]],[[["tree",3]],[["error",4],["result",4],["miniscript",3]]],[[],[["global",3],["vec",3]]],[[],[["vec",3],["global",3],["pkpkh",4]]],[[],[["global",3],["vec",3]]],[[["usize",15]],[["option",4],["miniscript",3]]],[[["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]],[[["secp256k1",3],["network",4]],[["descriptorerror",4],["result",4]]],[[],["bool",15]],[[],["bool",15]],[[],["bool",15]],[[],["iter",3]],[[],["pkiter",3]],[[],["pkpkhiter",3]],[[],["pkhiter",3]],[[],[["policy",4],["error",4],["result",4]]],[[],[["policy",4],["error",4],["result",4]]],[[],[["lifterror",4],["result",4]]],[[["miniscript",3]],[["option",4],["usize",15]]],[[["miniscript",3]],[["option",4],["usize",15]]],[[["miniscript",3]],[["option",4],["usize",15]]],[[],[["error",4],["usize",15],["result",4]]],[[],[["error",4],["usize",15],["result",4]]],[[],[["error",4],["usize",15],["result",4]]],[[["descriptor",4]],["bool",15]],[[["secp256k1",3],["descriptorpublickey",4]],["deriveddescriptorkey",3]],[[["miniscript",3],["barectx",4]],[["descriptor",4],["result",4],["error",4]]],[[],["descriptor",4]],[[],["descriptor",4]],[[["miniscript",3],["legacy",4]],[["descriptor",4],["result",4],["error",4]]],[[["global",3],["usize",15],["vec",3]],[["descriptor",4],["result",4],["error",4]]],[[],[["descriptor",4],["result",4],["error",4]]],[[["miniscript",3],["segwitv0",4]],[["descriptor",4],["result",4],["error",4]]],[[["global",3],["usize",15],["vec",3]],[["descriptor",4],["result",4],["error",4]]],[[],[["descriptor",4],["result",4],["error",4]]],[[["miniscript",3],["segwitv0",4]],[["descriptor",4],["result",4],["error",4]]],[[["global",3],["usize",15],["vec",3]],[["descriptor",4],["result",4],["error",4]]],null,[[["miniscript",3]],[["error",4],["result",4]]],[[["script",3]],[["miniscript",3],["error",4],["result",4]]],[[["str",15],["secp256k1",3]],[["error",4],["result",4]]],[[["script",3]],[["miniscript",3],["error",4],["result",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]],[[],[["error",4],["result",4]]],[[],[["analysiserror",4],["result",4]]],[[],[["result",4],["error",4],["vec",3]]],[[],[["result",4],["error",4],["vec",3]]],[[],["script",3]],[[],["script",3]],[[],["usize",15]],[[],["usize",15]],null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["publickey",3]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[["hashmap",3]],["string",3]],[[["miniscript",3]],[["error",4],["result",4]]],[[["miniscript",3]],[["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]],[[],["result",4]],null,[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["typeid",3]],[[],["script",3]],[[]],[[]],[[]],[[]],[[]],[[],["bool",15]],[[["str",15]],[["string",3],["result",4],["descriptorerror",4]]],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]]],[[]],[[["policyerror",4]]],[[["keyerror",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]],[["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]],[["option",4],["ordering",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,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["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],["descriptortemplateout",6],["descriptorerror",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]],[["descriptorpublickey",4],["descriptorkeyparseerror",3],["result",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]],[["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]],[["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]]],[[]],[[]],[[]],[[]],[[]],[[]],[[["validnetworks",6],["descriptorpublickey",4]]],[[["descriptorsecretkey",4],["validnetworks",6]]],[[["str",15]],[["result",4],["descriptorpublickey",4]]],[[["str",15]],[["descriptorsecretkey",4],["result",4]]],[[["tree",3]],[["result",4],["error",4],["sortedmultivec",3]]],[[],["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]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[["keyerror",4],["descriptorkey",4],["result",4]]],[[["derivationpath",3],["option",4],["keysource",6]],[["keyerror",4],["descriptorkey",4],["result",4]]],[[],[["keyerror",4],["descriptorkey",4],["result",4]]],[[["derivationpath",3],["option",4],["keysource",6]],[["keyerror",4],["descriptorkey",4],["result",4]]],[[],[["keyerror",4],["descriptorkey",4],["result",4]]],[[],[["keyerror",4],["descriptorkey",4],["result",4]]],[[],[["keyerror",4],["descriptorkey",4],["result",4]]],[[],[["keyerror",4],["extendedkey",4],["result",4]]],[[],[["keyerror",4],["extendedkey",4],["result",4]]],[[],[["keyerror",4],["extendedkey",4],["result",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,[[],[["policy",4],["error",4],["result",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]],[[["global",3],["usize",15],["vec",3]],[["result",4],["error",4],["sortedmultivec",3]]],null,null,[[["miniscript",3]],[["error",4],["result",4]]],[[["miniscript",3]],[["error",4],["result",4]]],[[["validnetworks",6]]],[[["sortedmultivec",3]],[["ordering",4],["option",4]]],[[["descriptorpublickey",4]],[["ordering",4],["option",4]]],[[["descriptorsinglepub",3]],[["ordering",4],["option",4]]],null,[[],[["error",4],["result",4]]],[[],[["result",4],["error",4],["vec",3]]],[[],["usize",15]],[[],["terminal",4]],[[],["validnetworks",6]],[[]],[[]],[[]],[[]],[[]],[[],["descriptorpublickey",4]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[],["string",3]],[[["miniscript",3]],[["error",4],["result",4]]],[[["miniscript",3]],[["error",4],["result",4]]],[[["miniscript",3]],[["error",4],["result",4]]],[[["miniscript",3]],[["error",4],["result",4]]],[[],[["result",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]],[[],["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]],[["error",3],["mnemonictype",4],["result",4]]],[[["str",15]],[["error",3],["mnemonictype",4],["result",4]]],[[["usize",15]],[["error",3],["mnemonictype",4],["result",4]]],[[]],[[]],[[]],[[]],[[["language",4]],[["error",3],["result",4],["mnemonic",3]]],[[["str",15]],[["option",4],["language",4]]],[[["str",15],["language",4]],[["error",3],["result",4],["mnemonic",3]]],[[],[["result",4],["generatedkey",3]]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[]],[[["derivationpath",3],["option",4],["keysource",6]],[["keyerror",4],["descriptorkey",4],["result",4]]],[[["derivationpath",3],["option",4],["keysource",6]],[["keyerror",4],["descriptorkey",4],["result",4]]],[[],[["keyerror",4],["extendedkey",4],["result",4]]],[[],[["keyerror",4],["extendedkey",4],["result",4]]],[[],["string",3]],[[],["language",4]],[[["mnemonictype",4],["language",4]],["mnemonic",3]],[[["mnemonic",3],["str",15]],["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]],[["error",3],["result",4]]],[[]],[[]],[[]],[[]],[[],["usize",15]],[[],["wordlist",3]],[[],["wordmap",3]],[[],["result",4]],[[]],[[]],[[]],null,null,null,null,null,null,null,null,[[["arc",3],["addressvalidator",8]]],[[["keychainkind",4],["signerordering",3],["arc",3],["signer",8]]],null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[["transaction",3]],[["result",4],["txid",3],["error",4]]],[[["txid",3]],[["result",4],["error",4],["txbuilder",3]]],[[],[["createtx",3],["txbuilder",3],["defaultcoinselectionalgorithm",6]]],[[]],null,[[["usize",15]]],[[["usize",15]]],[[]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["usize",15]]],[[["addressinfo",3]],["bool",15]],null,[[["signoptions",3],["psbt",3]],[["bool",15],["error",4],["result",4]]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[["formatter",3]],["result",6]],[[]],[[]],[[]],[[["addressindex",4]],[["result",4],["addressinfo",3],["error",4]]],[[],[["error",4],["u64",15],["result",4]]],[[["keychainkind",4]],["extendeddescriptor",6]],[[["bool",15],["sighashtype",4],["option",4],["localutxo",3]],[["result",4],["input",3],["error",4]]],[[["outpoint",3]],[["result",4],["option",4],["error",4]]],null,[[],["usize",15]],[[],["usize",15]],[[],["usize",15]],[[]],[[]],[[]],[[],["bool",15]],[[["script",3]],[["bool",15],["error",4],["result",4]]],[[["bool",15]],[["vec",3],["error",4],["result",4]]],[[],[["result",4],["vec",3],["error",4]]],[[["addressinfo",3]],["bool",15]],[[],["network",4]],[[["network",4],["intowalletdescriptor",8],["option",4]],[["result",4],["error",4]]],[[["network",4],["intowalletdescriptor",8],["option",4]],[["result",4],["error",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[["keychainkind",4]],[["option",4],["error",4],["result",4]]],[[],["secp256k1",3]],[[["signoptions",3],["psbt",3]],[["bool",15],["error",4],["result",4]]],null,[[["progress",8],["u32",15],["option",4]],[["error",4],["result",4]]],null,[[],["string",3]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],null,[[],["typeid",3]],[[],["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]],[[["hdkeypaths",6],["script",3],["keychainkind",4]],[["addressvalidatorerror",4],["result",4]]],[[]],null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[],["largestfirstcoinselection",3]],[[]],[[["f32",15],["vec",3],["feerate",3],["u64",15],["weightedutxo",3]],[["coinselectionresult",3],["result",4],["error",4]]],[[["f32",15],["vec",3],["feerate",3],["u64",15],["weightedutxo",3]],[["coinselectionresult",3],["result",4],["error",4]]],[[["f32",15],["vec",3],["feerate",3],["u64",15],["weightedutxo",3]],[["coinselectionresult",3],["result",4],["error",4]]],[[],["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]]],[[["bool",15],["str",15],["wallet",3]],[["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,null,[[["signer",8],["signerordering",3],["arc",3],["signerid",4]],[["arc",3],["option",4]]],null,[[["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]],[[]],[[["hash",3]],["signerid",4]],[[["fingerprint",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]],[["option",4],["ordering",4]]],[[["signerordering",3]],[["option",4],["ordering",4]]],[[["signerordering",3],["signerid",4]],[["arc",3],["option",4]]],[[["secp256k1",3],["partiallysignedtransaction",3],["usize",15],["option",4]],[["result",4],["signererror",4]]],[[],["bool",15]],[[],[["vec",3],["arc",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,[[["usize",15],["input",3],["outpoint",3]],[["result",4],["error",4]]],[[]],[[["script",3],["u64",15]]],[[["outpoint",3]]],[[["outpoint",3]],[["result",4],["error",4]]],[[],[["result",4],["error",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]],[[]],[[]],[[]],[[]],[[]],[[],[["result",4],["error",4]]],[[]],[[["u32",15]]],[[]],[[]],[[["txordering",4]]],[[["txordering",4]],[["option",4],["ordering",4]]],[[["changespendpolicy",4]],[["option",4],["ordering",4]]],[[["string",3],["keychainkind",4],["btreemap",3],["vec",3]]],[[["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"],[3,"AddressInfo"],[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/settings.html b/static/docs-rs/bdk/nightly/latest/settings.html index 01355944de..ad947af075 100644 --- a/static/docs-rs/bdk/nightly/latest/settings.html +++ b/static/docs-rs/bdk/nightly/latest/settings.html @@ -1,6 +1,5 @@ Rustdoc settings -

    Rustdoc settings

    Theme preferences
    Use system theme
    Preferred dark theme
    Preferred light theme
    -
    Auto-hide item contents for large items.
    Auto-hide item methods' documentation
    Auto-hide trait implementation documentation
    Auto-hide implementors of a trait
    Directly go to item in search if there is only one result
    Show line numbers on code examples
    Disable keyboard shortcuts
    - \ No newline at end of file +

    Rustdoc settings

    Theme preferences
    Use system theme
    Preferred dark theme
    Preferred light theme
    +
    Auto-hide item contents for large items.
    Auto-hide item methods' documentation
    Auto-hide trait implementation documentation
    Auto-hide implementors of a trait
    Directly go to item in search if there is only one result
    Show line numbers on code examples
    Disable keyboard shortcuts
    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/sidebar-items.js b/static/docs-rs/bdk/nightly/latest/sidebar-items.js deleted file mode 100644 index 431587a635..0000000000 --- a/static/docs-rs/bdk/nightly/latest/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -initSidebarItems({}) \ 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 6037daef7b..803fa9877a 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
    +
      1
       2
       3
       4
    @@ -495,5 +495,4 @@
     impl_from!(esplora::EsploraBlockchainConfig, AnyBlockchainConfig, Esplora, #[cfg(feature = "esplora")]);
     impl_from!(compact_filters::CompactFiltersBlockchainConfig, AnyBlockchainConfig, CompactFilters, #[cfg(feature = "compact_filters")]);
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 97be7e5949..3a374b7400 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
    +
      1
       2
       3
       4
    @@ -1141,5 +1141,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 e795cbc020..faaf9eb6bc 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
    +
      1
       2
       3
       4
    @@ -1147,5 +1147,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 833e544fef..c8053e7444 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
    +
      1
       2
       3
       4
    @@ -1703,5 +1703,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 218c8a14f6..1731592d2e 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
    +
      1
       2
       3
       4
    @@ -595,5 +595,4 @@
         Ok(Some(snapshot))
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 355d4b3360..e830cb324d 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
    +
      1
       2
       3
       4
    @@ -357,5 +357,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 1f5392ef21..230aca6232 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
    +
      1
       2
       3
       4
    @@ -849,5 +849,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 af6f1e310b..99cd7cc699 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
    +
      1
       2
       3
       4
    @@ -485,5 +485,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 27ca5afcdb..0a53de55d8 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
    +
      1
       2
       3
       4
    @@ -771,5 +771,4 @@
         Ok(utxos_deps)
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 98987321ab..87c72064bc 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
    +
      1
       2
       3
       4
    @@ -735,5 +735,4 @@
     impl_from!((), AnyDatabaseConfig, Memory,);
     impl_from!(SledDbConfiguration, AnyDatabaseConfig, Sled, #[cfg(feature = "key-value-db")]);
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 e0d4b807a4..6acba2f217 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
    +
      1
       2
       3
       4
    @@ -939,5 +939,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 8013740ec0..07936da089 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
    +
      1
       2
       3
       4
    @@ -1171,5 +1171,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 edc64c7525..99daa56ad6 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
    +
      1
       2
       3
       4
    @@ -743,5 +743,4 @@
         // TODO: more tests...
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 708328c461..6ab9c27c14 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
    +
      1
       2
       3
       4
    @@ -229,5 +229,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 03331aea9b..2f3a1a7da4 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
    +
      1
       2
       3
       4
    @@ -303,5 +303,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 2309529739..8dff57aff4 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
    +
       1
        2
        3
        4
    @@ -2087,5 +2087,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 f64a0324d1..f5849eb0e7 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
    +
     1
      2
      3
      4
    @@ -141,5 +141,4 @@
     impl_error!(bitcoin::hashes::hex::Error, Hex);
     impl_error!(crate::descriptor::policy::PolicyError, Policy);
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 06401dfe04..4e9e9d4443 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
    +
      1
       2
       3
       4
    @@ -1611,5 +1611,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 11d4901461..9690d8949f 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
    +
       1
        2
        3
        4
    @@ -3221,5 +3221,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 e7b2f15016..bbaac87db5 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
    +
      1
       2
       3
       4
    @@ -767,7 +767,7 @@
     ///
     /// ```
     /// use bdk::descriptor::error::Error as DescriptorError;
    -/// use bdk::keys::{KeyError, IntoDescriptorKey};
    +/// use bdk::keys::{IntoDescriptorKey, KeyError};
     /// use bdk::miniscript::Legacy;
     /// use bdk::template::{DescriptorTemplate, DescriptorTemplateOut};
     ///
    @@ -1455,5 +1455,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 63c960bda3..94ac4d13a3 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
    +
      1
       2
       3
       4
    @@ -385,5 +385,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 949a417992..4aa301f892 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
    +
      1
       2
       3
       4
    @@ -383,5 +383,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 627c2501bd..1d62c77e99 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
    +
      1
       2
       3
       4
    @@ -1116,7 +1116,7 @@
     /// ```
     /// use bdk::bitcoin::PublicKey;
     ///
    -/// use bdk::keys::{DescriptorKey, KeyError, ScriptContext, IntoDescriptorKey};
    +/// use bdk::keys::{DescriptorKey, IntoDescriptorKey, KeyError, ScriptContext};
     ///
     /// pub struct MyKeyType {
     ///     pubkey: PublicKey,
    @@ -1135,8 +1135,8 @@
     /// use bdk::bitcoin::PublicKey;
     ///
     /// use bdk::keys::{
    -///     mainnet_network, DescriptorKey, DescriptorPublicKey, DescriptorSinglePub, KeyError,
    -///     ScriptContext, IntoDescriptorKey,
    +///     mainnet_network, DescriptorKey, DescriptorPublicKey, DescriptorSinglePub,
    +///     IntoDescriptorKey, KeyError, ScriptContext,
     /// };
     ///
     /// pub struct MyKeyType {
    @@ -1161,7 +1161,7 @@
     /// ```
     /// use bdk::bitcoin::PublicKey;
     ///
    -/// use bdk::keys::{DescriptorKey, ExtScriptContext, KeyError, ScriptContext, IntoDescriptorKey};
    +/// use bdk::keys::{DescriptorKey, ExtScriptContext, IntoDescriptorKey, KeyError, ScriptContext};
     ///
     /// pub struct MyKeyType {
     ///     is_legacy: bool,
    @@ -1190,7 +1190,7 @@
     /// use bdk::bitcoin::PublicKey;
     /// use std::str::FromStr;
     ///
    -/// use bdk::keys::{DescriptorKey, KeyError, IntoDescriptorKey};
    +/// use bdk::keys::{DescriptorKey, IntoDescriptorKey, KeyError};
     ///
     /// pub struct MySegwitOnlyKeyType {
     ///     pubkey: PublicKey,
    @@ -1843,5 +1843,4 @@ let xprv = xkey.into_xprv(Network::Bitcoin).unwrap();
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 22751e2a60..36d415cc58 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
    +
      1
       2
       3
       4
    @@ -543,5 +543,4 @@
     #[doc(hidden)]
     pub mod testutils;
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 dedf6717ee..935e39b92b 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
    +
      1
       2
       3
       4
    @@ -247,5 +247,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/testutils/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/testutils/mod.rs.html index 22c30457ea..b4573dda41 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/testutils/mod.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/testutils/mod.rs.html @@ -1,7 +1,7 @@ mod.rs - source -
      1
    +
      1
       2
       3
       4
    @@ -463,5 +463,4 @@
         })
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 e76340c98a..abd5e13a7b 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
    +
      1
       2
       3
       4
    @@ -361,5 +361,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 1f6d32ac32..f5e4ae24cd 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
    +
      1
       2
       3
       4
    @@ -311,5 +311,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 6b237482bd..c8b1178349 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
    +
       1
        2
        3
        4
    @@ -1039,6 +1039,13 @@
     1036
     1037
     1038
    +1039
    +1040
    +1041
    +1042
    +1043
    +1044
    +1045
     
     // Bitcoin Dev Kit
     // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
    @@ -1088,17 +1095,25 @@
     //!         let mut selected_amount = 0;
     //!         let mut additional_weight = 0;
     //!         let all_utxos_selected = required_utxos
    -//!             .into_iter().chain(optional_utxos)
    -//!             .scan((&mut selected_amount, &mut additional_weight), |(selected_amount, additional_weight), weighted_utxo| {
    -//!                 **selected_amount += weighted_utxo.utxo.txout().value;
    -//!                 **additional_weight += TXIN_BASE_WEIGHT + weighted_utxo.satisfaction_weight;
    -//!                 Some(weighted_utxo.utxo)
    -//!             })
    +//!             .into_iter()
    +//!             .chain(optional_utxos)
    +//!             .scan(
    +//!                 (&mut selected_amount, &mut additional_weight),
    +//!                 |(selected_amount, additional_weight), weighted_utxo| {
    +//!                     **selected_amount += weighted_utxo.utxo.txout().value;
    +//!                     **additional_weight += TXIN_BASE_WEIGHT + weighted_utxo.satisfaction_weight;
    +//!                     Some(weighted_utxo.utxo)
    +//!                 },
    +//!             )
     //!             .collect::<Vec<_>>();
     //!         let additional_fees = additional_weight as f32 * fee_rate.as_sat_vb() / 4.0;
    -//!         let amount_needed_with_fees = (fee_amount + additional_fees).ceil() as u64 + amount_needed;
    -//!         if  amount_needed_with_fees > selected_amount {
    -//!             return Err(bdk::Error::InsufficientFunds{ needed: amount_needed_with_fees, available: selected_amount });
    +//!         let amount_needed_with_fees =
    +//!             (fee_amount + additional_fees).ceil() as u64 + amount_needed;
    +//!         if amount_needed_with_fees > selected_amount {
    +//!             return Err(bdk::Error::InsufficientFunds {
    +//!                 needed: amount_needed_with_fees,
    +//!                 available: selected_amount,
    +//!             });
     //!         }
     //!
     //!         Ok(CoinSelectionResult {
    @@ -1114,8 +1129,7 @@
     //! let to_address = Address::from_str("2N4eQYCbKUHCCTUjBJeHcJp9ok6J2GZsTDt").unwrap();
     //! let (psbt, details) = {
     //!     let mut builder = wallet.build_tx().coin_selection(AlwaysSpendEverything);
    -//!     builder
    -//!         .add_recipient(to_address.script_pubkey(), 50_000);
    +//!     builder.add_recipient(to_address.script_pubkey(), 50_000);
     //!     builder.finish()?
     //! };
     //!
    @@ -2079,5 +2093,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 df286c16c5..b1b340a7c7 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
    +
      1
       2
       3
       4
    @@ -695,5 +695,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 0727b1ba7d..e124d311bd 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
    +
       1
        2
        3
        4
    @@ -7941,5 +7941,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 4d51ee4d7b..20f8d280f7 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
    +
      1
       2
       3
       4
    @@ -1535,5 +1535,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 b9a8165749..9c4f36e776 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
    +
     1
      2
      3
      4
    @@ -149,5 +149,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 be6e59c2cf..2c813c9e36 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
    +
      1
       2
       3
       4
    @@ -851,6 +851,10 @@
     848
     849
     850
    +851
    +852
    +853
    +854
     
     // Bitcoin Dev Kit
     // Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
    @@ -941,9 +945,9 @@
     /// let (psbt1, details) = {
     ///     let mut builder = wallet.build_tx();
     ///     builder
    -///        .ordering(TxOrdering::Untouched)
    -///        .add_recipient(addr1.script_pubkey(), 50_000)
    -///        .add_recipient(addr2.script_pubkey(), 50_000);
    +///         .ordering(TxOrdering::Untouched)
    +///         .add_recipient(addr1.script_pubkey(), 50_000)
    +///         .add_recipient(addr2.script_pubkey(), 50_000);
     ///     builder.finish()?
     /// };
     ///
    @@ -957,7 +961,10 @@
     ///     builder.finish()?
     /// };
     ///
    -/// assert_eq!(psbt1.global.unsigned_tx.output[..2], psbt2.global.unsigned_tx.output[..2]);
    +/// assert_eq!(
    +///     psbt1.global.unsigned_tx.output[..2],
    +///     psbt2.global.unsigned_tx.output[..2]
    +/// );
     /// # Ok::<(), bdk::Error>(())
     /// ```
     ///
    @@ -1100,7 +1107,8 @@
         /// let mut path = BTreeMap::new();
         /// path.insert("aabbccdd".to_string(), vec![0, 1]);
         ///
    -    /// let builder = wallet.build_tx()
    +    /// let builder = wallet
    +    ///     .build_tx()
         ///     .add_recipient(to_address.script_pubkey(), 50_000)
         ///     .policy_path(path, KeychainKind::External);
         ///
    @@ -1703,5 +1711,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file 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 af236b65b3..a92ae22e47 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
    +
      1
       2
       3
       4
    @@ -535,5 +535,4 @@
         }
     }
     
    -
    - \ No newline at end of file +
    \ No newline at end of file -- 2.49.0