показывать scryptPubKey в hex и asm формате
authorfsb4000 <fsb4000@yandex.ru>
Sat, 3 Jan 2015 07:55:01 +0000 (13:55 +0600)
committerfsb4000 <fsb4000@yandex.ru>
Sat, 3 Jan 2015 07:55:01 +0000 (13:55 +0600)
в выводе RPC команды decoderawtransaction
Устранит такие неудобства: https://bitcointalk.org/index.php?topic=704756.msg9978930#msg9978930

src/rpcrawtransaction.cpp

index bc791d4..ba80b01 100644 (file)
@@ -77,7 +77,7 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, Object& entry)
         out.push_back(Pair("value", ValueFromAmount(txout.nValue)));
         out.push_back(Pair("n", (boost::int64_t)i));
         Object o;
-        ScriptPubKeyToJSON(txout.scriptPubKey, o, false);
+        ScriptPubKeyToJSON(txout.scriptPubKey, o, true);
         out.push_back(Pair("scriptPubKey", o));
         vout.push_back(out);
     }