@@ -96,8 +96,8 @@ static std::vector<RPCResult> DecodeTxDoc(const std::string& txid_field_doc)
96
96
{RPCResult::Type::NUM, " vout" , /* optional=*/ true , " The output number (if not coinbase transaction)" },
97
97
{RPCResult::Type::OBJ, " scriptSig" , /* optional=*/ true , " The script (if not coinbase transaction)" ,
98
98
{
99
- {RPCResult::Type::STR, " asm" , " asm " },
100
- {RPCResult::Type::STR_HEX, " hex" , " hex" },
99
+ {RPCResult::Type::STR, " asm" , " Disassembly of the signature script " },
100
+ {RPCResult::Type::STR_HEX, " hex" , " The raw signature script bytes, hex-encoded " },
101
101
}},
102
102
{RPCResult::Type::ARR, " txinwitness" , /* optional=*/ true , " " ,
103
103
{
@@ -114,9 +114,9 @@ static std::vector<RPCResult> DecodeTxDoc(const std::string& txid_field_doc)
114
114
{RPCResult::Type::NUM, " n" , " index" },
115
115
{RPCResult::Type::OBJ, " scriptPubKey" , " " ,
116
116
{
117
- {RPCResult::Type::STR, " asm" , " the asm " },
117
+ {RPCResult::Type::STR, " asm" , " Disassembly of the public key script " },
118
118
{RPCResult::Type::STR, " desc" , " Inferred descriptor for the output" },
119
- {RPCResult::Type::STR_HEX, " hex" , " the hex" },
119
+ {RPCResult::Type::STR_HEX, " hex" , " The raw public key script bytes, hex-encoded " },
120
120
{RPCResult::Type::STR, " type" , " The type, eg 'pubkeyhash'" },
121
121
{RPCResult::Type::STR, " address" , /* optional=*/ true , " The Bitcoin address (only if a well-defined address exists)" },
122
122
}},
@@ -692,9 +692,9 @@ const RPCResult decodepsbt_inputs{
692
692
{RPCResult::Type::NUM, " amount" , " The value in " + CURRENCY_UNIT},
693
693
{RPCResult::Type::OBJ, " scriptPubKey" , " " ,
694
694
{
695
- {RPCResult::Type::STR, " asm" , " The asm " },
695
+ {RPCResult::Type::STR, " asm" , " Disassembly of the public key script " },
696
696
{RPCResult::Type::STR, " desc" , " Inferred descriptor for the output" },
697
- {RPCResult::Type::STR_HEX, " hex" , " The hex" },
697
+ {RPCResult::Type::STR_HEX, " hex" , " The raw public key script bytes, hex-encoded " },
698
698
{RPCResult::Type::STR, " type" , " The type, eg 'pubkeyhash'" },
699
699
{RPCResult::Type::STR, " address" , /* optional=*/ true , " The Bitcoin address (only if a well-defined address exists)" },
700
700
}},
@@ -706,14 +706,14 @@ const RPCResult decodepsbt_inputs{
706
706
{RPCResult::Type::STR, " sighash" , /* optional=*/ true , " The sighash type to be used" },
707
707
{RPCResult::Type::OBJ, " redeem_script" , /* optional=*/ true , " " ,
708
708
{
709
- {RPCResult::Type::STR, " asm" , " The asm " },
710
- {RPCResult::Type::STR_HEX, " hex" , " The hex" },
709
+ {RPCResult::Type::STR, " asm" , " Disassembly of the redeem script " },
710
+ {RPCResult::Type::STR_HEX, " hex" , " The raw redeem script bytes, hex-encoded " },
711
711
{RPCResult::Type::STR, " type" , " The type, eg 'pubkeyhash'" },
712
712
}},
713
713
{RPCResult::Type::OBJ, " witness_script" , /* optional=*/ true , " " ,
714
714
{
715
- {RPCResult::Type::STR, " asm" , " The asm " },
716
- {RPCResult::Type::STR_HEX, " hex" , " The hex" },
715
+ {RPCResult::Type::STR, " asm" , " Disassembly of the witness script " },
716
+ {RPCResult::Type::STR_HEX, " hex" , " The raw witness script bytes, hex-encoded " },
717
717
{RPCResult::Type::STR, " type" , " The type, eg 'pubkeyhash'" },
718
718
}},
719
719
{RPCResult::Type::ARR, " bip32_derivs" , /* optional=*/ true , " " ,
@@ -727,8 +727,8 @@ const RPCResult decodepsbt_inputs{
727
727
}},
728
728
{RPCResult::Type::OBJ, " final_scriptSig" , /* optional=*/ true , " " ,
729
729
{
730
- {RPCResult::Type::STR, " asm" , " The asm " },
731
- {RPCResult::Type::STR_HEX, " hex" , " The hex" },
730
+ {RPCResult::Type::STR, " asm" , " Disassembly of the final signature script " },
731
+ {RPCResult::Type::STR_HEX, " hex" , " The raw final signature script bytes, hex-encoded " },
732
732
}},
733
733
{RPCResult::Type::ARR, " final_scriptwitness" , /* optional=*/ true , " " ,
734
734
{
@@ -812,14 +812,14 @@ const RPCResult decodepsbt_outputs{
812
812
{
813
813
{RPCResult::Type::OBJ, " redeem_script" , /* optional=*/ true , " " ,
814
814
{
815
- {RPCResult::Type::STR, " asm" , " The asm " },
816
- {RPCResult::Type::STR_HEX, " hex" , " The hex" },
815
+ {RPCResult::Type::STR, " asm" , " Disassembly of the redeem script " },
816
+ {RPCResult::Type::STR_HEX, " hex" , " The raw redeem script bytes, hex-encoded " },
817
817
{RPCResult::Type::STR, " type" , " The type, eg 'pubkeyhash'" },
818
818
}},
819
819
{RPCResult::Type::OBJ, " witness_script" , /* optional=*/ true , " " ,
820
820
{
821
- {RPCResult::Type::STR, " asm" , " The asm " },
822
- {RPCResult::Type::STR_HEX, " hex" , " The hex" },
821
+ {RPCResult::Type::STR, " asm" , " Disassembly of the witness script " },
822
+ {RPCResult::Type::STR_HEX, " hex" , " The raw witness script bytes, hex-encoded " },
823
823
{RPCResult::Type::STR, " type" , " The type, eg 'pubkeyhash'" },
824
824
}},
825
825
{RPCResult::Type::ARR, " bip32_derivs" , /* optional=*/ true , " " ,
0 commit comments