@@ -135,7 +135,7 @@ pub struct GetBlockchainInfo {
135135 pub warnings : Vec < String > ,
136136}
137137
138- /// Status of softfork .
138+ /// Softfork status. Part of `getblockchaininfo` .
139139#[ derive( Clone , Debug , PartialEq , Eq , Deserialize , Serialize ) ]
140140#[ serde( deny_unknown_fields) ]
141141pub struct Softfork {
@@ -150,7 +150,7 @@ pub struct Softfork {
150150 pub active : bool ,
151151}
152152
153- /// The softfork type: one of "buried", "bip9" .
153+ /// The softfork type. Part of `getblockchaininfo` .
154154#[ derive( Copy , Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
155155#[ serde( rename_all = "lowercase" ) ]
156156pub enum SoftforkType {
@@ -164,7 +164,7 @@ pub enum SoftforkType {
164164 Bip9 ,
165165}
166166
167- /// Status of BIP-9 softforks .
167+ /// BIP-9 softfork info. Part of `getblockchaininfo` .
168168#[ derive( Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
169169#[ serde( deny_unknown_fields) ]
170170pub struct Bip9SoftforkInfo {
@@ -184,7 +184,7 @@ pub struct Bip9SoftforkInfo {
184184 pub statistics : Option < Bip9SoftforkStatistics > ,
185185}
186186
187- /// BIP-9 softfork status: one of "defined", "started", "locked_in", "active", "failed" .
187+ /// BIP-9 softfork status. Part of `getblockchaininfo` .
188188#[ derive( Copy , Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
189189pub enum Bip9SoftforkStatus {
190190 /// BIP-9 softfork status "defined".
@@ -199,7 +199,7 @@ pub enum Bip9SoftforkStatus {
199199 Failed ,
200200}
201201
202- /// Statistics for a BIP-9 softfork.
202+ /// BIP-9 softfork statistics. Part of `getblockchaininfo` .
203203#[ derive( Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
204204#[ serde( deny_unknown_fields) ]
205205pub struct Bip9SoftforkStatistics {
@@ -356,7 +356,7 @@ pub struct GetChainStates {
356356 pub chain_states : Vec < ChainState > ,
357357}
358358
359- /// A single chainstate returned as part of `getchainstates`.
359+ /// A single chainstate. Part of `getchainstates`.
360360#[ derive( Clone , Debug , PartialEq , Deserialize , Serialize ) ]
361361#[ serde( deny_unknown_fields) ]
362362pub struct ChainState {
@@ -401,7 +401,7 @@ pub struct ChainTips {
401401 pub status : ChainTipsStatus ,
402402}
403403
404- /// The ` status` field from an individual list item from the result of JSON-RPC method `getchaintips`.
404+ /// Chain tips status. Part of `getchaintips`.
405405#[ derive( Copy , Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
406406#[ serde( rename_all = "kebab-case" ) ]
407407pub enum ChainTipsStatus {
@@ -451,7 +451,7 @@ pub struct GetDeploymentInfo {
451451 pub deployments : std:: collections:: BTreeMap < String , DeploymentInfo > ,
452452}
453453
454- /// Deployment info. Returned as part of `getdeploymentinfo`.
454+ /// Deployment info. Part of `getdeploymentinfo`.
455455#[ derive( Clone , Debug , PartialEq , Deserialize , Serialize ) ]
456456#[ serde( deny_unknown_fields) ]
457457pub struct DeploymentInfo {
@@ -465,7 +465,7 @@ pub struct DeploymentInfo {
465465 pub bip9 : Option < Bip9Info > ,
466466}
467467
468- /// Status of bip9 softforks. Returned as part of `getdeploymentinfo`.
468+ /// Status of bip9 softforks. Part of `getdeploymentinfo`.
469469#[ derive( Clone , Debug , PartialEq , Deserialize , Serialize ) ]
470470#[ serde( deny_unknown_fields) ]
471471pub struct Bip9Info {
@@ -489,7 +489,7 @@ pub struct Bip9Info {
489489 pub signalling : Option < String > ,
490490}
491491
492- /// Numeric statistics about signalling for a softfork. Returned as part of `getdeploymentinfo`.
492+ /// Numeric statistics about signalling for a softfork. Part of `getdeploymentinfo`.
493493#[ derive( Clone , Debug , PartialEq , Deserialize , Serialize ) ]
494494#[ serde( deny_unknown_fields) ]
495495pub struct Bip9Statistics {
@@ -535,7 +535,7 @@ pub struct GetMempoolDescendantsVerbose(pub BTreeMap<Txid, MempoolEntry>);
535535#[ serde( deny_unknown_fields) ]
536536pub struct GetMempoolEntry ( pub MempoolEntry ) ;
537537
538- /// A relative (ancestor or descendant) transaction of a transaction in the mempool .
538+ /// Mempool data. Part of `getmempoolentry` .
539539#[ derive( Clone , Debug , PartialEq , Deserialize , Serialize ) ]
540540#[ serde( deny_unknown_fields) ]
541541pub struct MempoolEntry {
@@ -565,7 +565,7 @@ pub struct MempoolEntry {
565565 pub ancestor_size : u32 ,
566566 /// Hash of serialized transaction, including witness data.
567567 pub wtxid : Wtxid ,
568- /// (No docs in Core v0.17.)
568+ /// (No docs in Core v0.17). Part of `getmempoolentry`.
569569 pub fees : MempoolEntryFees ,
570570 /// Unconfirmed transactions used as inputs for this transaction (parent transaction id).
571571 pub depends : Vec < Txid > ,
@@ -578,7 +578,7 @@ pub struct MempoolEntry {
578578 pub unbroadcast : Option < bool > ,
579579}
580580
581- /// (No docs in Core v0.17.)
581+ /// Fee object. Part of `getmempoolentry`.
582582#[ derive( Clone , Debug , PartialEq , Deserialize , Serialize ) ]
583583#[ serde( deny_unknown_fields) ]
584584pub struct MempoolEntryFees {
@@ -686,7 +686,7 @@ pub struct GetTxOutSetInfo {
686686#[ serde( deny_unknown_fields) ]
687687pub struct GetTxSpendingPrevout ( pub Vec < GetTxSpendingPrevoutItem > ) ;
688688
689- /// An individual result item from `gettxspendingprevout`.
689+ /// A transaction item. Part of `gettxspendingprevout`.
690690#[ derive( Clone , Debug , PartialEq , Eq , Deserialize , Serialize ) ]
691691#[ serde( deny_unknown_fields) ]
692692pub struct GetTxSpendingPrevoutItem {
@@ -709,7 +709,7 @@ pub struct GetDescriptorActivity {
709709 pub activity : Vec < ActivityEntry > ,
710710}
711711
712- /// Enum representing either a spend or receive activity entry using model types .
712+ /// A spend or receive activity entry. Part of `getdescriptoractivity` .
713713#[ derive( Clone , Debug , PartialEq , Deserialize , Serialize ) ]
714714pub enum ActivityEntry {
715715 /// The spend activity using `model::SpendActivity`.
@@ -718,7 +718,7 @@ pub enum ActivityEntry {
718718 Receive ( ReceiveActivity ) ,
719719}
720720
721- /// Models a 'spend' activity event with strongly typed fields .
721+ /// Models a 'spend' activity event. Part of `getdescriptoractivity` .
722722#[ derive( Clone , Debug , PartialEq , Deserialize , Serialize ) ]
723723#[ serde( deny_unknown_fields) ]
724724pub struct SpendActivity {
@@ -740,7 +740,7 @@ pub struct SpendActivity {
740740 pub prevout_spk : ScriptPubkey ,
741741}
742742
743- /// Models a 'receive' activity event with strongly typed fields.
743+ /// Models a 'receive' activity event. Part of `getdescriptoractivity`
744744#[ derive( Clone , Debug , PartialEq , Deserialize , Serialize ) ]
745745#[ serde( deny_unknown_fields) ]
746746pub struct ReceiveActivity {
@@ -772,7 +772,7 @@ pub struct LoadTxOutSet {
772772 pub path : String ,
773773}
774774
775- /// Models the result of the JSON-RPC method `scanblocks` start.
775+ /// Models the result of the JSON-RPC method `scanblocks` whan `action = start` .
776776#[ derive( Clone , Debug , PartialEq , Deserialize , Serialize ) ]
777777pub struct ScanBlocksStart {
778778 /// The height we started the scan from
0 commit comments