mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
[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:
parent
b6ea3bcede
commit
97ee866549
4 changed files with 407 additions and 26 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue