git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
71492f2
)
показывать scryptPubKey в hex и asm формате
author
fsb4000
<fsb4000@yandex.ru>
Sat, 3 Jan 2015 07:55:01 +0000 (13:55 +0600)
committer
fsb4000
<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
patch
|
blob
|
history
diff --git
a/src/rpcrawtransaction.cpp
b/src/rpcrawtransaction.cpp
index
bc791d4
..
ba80b01
100644
(file)
--- a/
src/rpcrawtransaction.cpp
+++ b/
src/rpcrawtransaction.cpp
@@
-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);
}