mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Consensus support for blinded amounts
This commit is contained in:
parent
b05e98bc9c
commit
bf009e4ba1
16 changed files with 177 additions and 98 deletions
|
|
@ -395,6 +395,7 @@ Value gettxout(const Array& params, bool fHelp)
|
|||
ret.push_back(Pair("confirmations", pindex->nHeight - coins.nHeight + 1));
|
||||
if (coins.vout[n].nValue.IsAmount())
|
||||
ret.push_back(Pair("value", ValueFromAmount(coins.vout[n].nValue.GetAmount())));
|
||||
// TODO: Non-Amount values
|
||||
Object o;
|
||||
ScriptPubKeyToJSON(coins.vout[n].scriptPubKey, o, true);
|
||||
ret.push_back(Pair("scriptPubKey", o));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue