Consensus support for blinded amounts

This commit is contained in:
Luke Dashjr 2016-02-18 02:05:13 -08:00 committed by Gregory Sanders
parent 357d472d95
commit 438b0d89ae
13 changed files with 187 additions and 51 deletions

View file

@ -197,6 +197,8 @@ void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry)
if (txout.nValue.IsAmount()) {
UniValue outValue(UniValue::VNUM, FormatMoney(txout.nValue.GetAmount()));
out.pushKV("value", outValue);
} else {
//TODO: Non-Amount values
}
out.pushKV("n", (int64_t)i);