[REST] getutxos REST command (based on Bip64)

has parts of @mhearn #4351
* allows querying the utxos over REST
* same binary input and outputs as mentioned in Bip64
* input format = output format
* various rpc/rest regtests
This commit is contained in:
Jonas Schnelli
2014-12-01 12:38:42 +01:00
parent b6ea3bcede
commit 97ee866549
4 changed files with 407 additions and 26 deletions

View File

@@ -992,7 +992,7 @@ void ServiceConnection(AcceptedConnection *conn)
// Process via HTTP REST API
} else if (strURI.substr(0, 6) == "/rest/" && GetBoolArg("-rest", false)) {
if (!HTTPReq_REST(conn, strURI, mapHeaders, fRun))
if (!HTTPReq_REST(conn, strURI, strRequest, mapHeaders, fRun))
break;
} else {