@@ -38,7 +38,7 @@ pub struct GetBlockVerboseOne {
3838 /// The block version formatted in hexadecimal.
3939 #[ serde( rename = "versionHex" ) ]
4040 pub version_hex : String ,
41- /// The merkle root
41+ /// The merkle root.
4242 #[ serde( rename = "merkleroot" ) ]
4343 pub merkle_root : String ,
4444 /// The transaction ids.
@@ -118,7 +118,7 @@ pub struct GetBlockchainInfo {
118118 pub automatic_pruning : Option < bool > ,
119119 /// The target size used by pruning (only present if automatic pruning is enabled).
120120 pub prune_target_size : Option < i64 > ,
121- /// The block challenge (aka. block script)
121+ /// The block challenge (aka. block script).
122122 pub signet_challenge : Option < String > ,
123123 /// Any network and blockchain warnings.
124124 pub warnings : Vec < String > ,
@@ -165,7 +165,7 @@ pub struct GetBlockHeaderVerbose {
165165 pub nonce : i64 ,
166166 /// The bits.
167167 pub bits : String ,
168- /// The difficulty target (hex-encoded). From v29+
168+ /// The difficulty target (hex-encoded). From v29+.
169169 pub target : String ,
170170 /// The difficulty.
171171 pub difficulty : f64 ,
@@ -238,19 +238,19 @@ pub struct SpendActivity {
238238#[ serde( deny_unknown_fields) ]
239239pub struct ReceiveActivity {
240240 // Note: 'type' field is used for deserialization tag, not included here explicitly.
241- /// The total amount in BTC of the new output
241+ /// The total amount in BTC of the new output.
242242 pub amount : f64 ,
243- /// The block that this receive is in
243+ /// The block that this receive is in.
244244 #[ serde( default , skip_serializing_if = "Option::is_none" ) ]
245245 #[ serde( rename = "blockhash" ) ]
246246 pub block_hash : Option < String > ,
247- /// The height of the receive
247+ /// The height of the receive.
248248 #[ serde( default , skip_serializing_if = "Option::is_none" ) ]
249249 pub height : Option < i64 > ,
250- /// The txid of the receiving transaction
250+ /// The txid of the receiving transaction.
251251 pub txid : String ,
252- /// The vout of the receiving output
252+ /// The vout of the receiving output.
253253 pub vout : u32 ,
254- /// The ScriptPubKey
254+ /// The ScriptPubKey.
255255 pub output_spk : ScriptPubkey ,
256256}
0 commit comments