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

@ -576,6 +576,7 @@ static bool rest_getutxos(HTTPRequest* req, const std::string& strURIPart)
utxo.push_back(Pair("height", (int32_t)coin.nHeight));
if (coin.out.nValue.IsAmount())
utxo.push_back(Pair("value", ValueFromAmount(coin.out.nValue.GetAmount())));
else {} //TODO: Non-Amount values
// include the script in a json output
UniValue o(UniValue::VOBJ);