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 caa6ec41db
commit 327b4f0185
14 changed files with 212 additions and 73 deletions

View file

@ -195,6 +195,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);