Commit Graph

16 Commits

Author SHA1 Message Date
Simon e865c6a7d7 Return extra field valueBalanceZat for explorer 2018-09-17 15:34:48 -07:00
Simon 6f8f99170f Add Sapling fields to JSON RPC output using TxToJSON. 2018-09-17 10:27:58 -07:00
Simon fee3b62ba5 Replace CBitcoinAddress and use ScriptToAsmStr in Insight explorer code. 2018-09-08 15:51:53 -07:00
str4d 0a090b29d8 Add vpub_old and vpub_new Zatoshi amounts 2018-09-05 13:08:09 -07:00
Braydon Fuller 64b1d5a9c4 rpc: minimize locking in getrawtransaction
since there is i/o that can happen when retrieving extended input
and output information, limiting the duration of the lock in getrawtransaction
can help improve concurrency

Zcash: Use older script ASM function
2018-09-05 13:05:50 -07:00
Braydon Fuller e1ad236924 Revert "rpc: add input confirmations to getrawtransaction" 2018-09-05 13:05:50 -07:00
Braydon Fuller ededdf1413 rpc: add input confirmations to getrawtransaction 2018-09-05 13:05:49 -07:00
Braydon Fuller fc5d4a55fe rpc: add input value and address to getrawtransaction if spentindex enabled 2018-09-05 13:05:49 -07:00
Braydon Fuller 0e20c872b2 rpc: include satoshis in verbose raw transaction 2018-09-05 13:05:49 -07:00
Braydon Fuller a14b90dbbb rpc: include height in spentinfo 2018-09-05 12:58:14 -07:00
Braydon Fuller a9e36d08a0 rpc: include spent info if spentindex enabled with getrawtransaction verbose 2018-09-05 12:58:14 -07:00
Braydon Fuller 59568ff5e8 rpc: include height in getrawtransaction results 2018-09-05 12:49:20 -07:00
Simon 87d55e1322 Clean up help messages for RPC createrawtransaction.
Also return error if expiryheight used when Overwinter not active.
2018-07-29 20:57:33 -07:00
Jay Graber 76277ad8af Take expiryheight as param to createrawtransaction 2018-07-29 19:13:54 -07:00
Wladimir J. van der Laan a9496b08b6
rpc: Register calls where they are defined
Split out methods to every module, apart from 'help' and 'stop' which
are implemented in rpcserver.cpp itself.

- This makes it easier to add or remove RPC commands - no longer everything that includes
    rpcserver.h has to be rebuilt when there's a change there.
- Cleans up `rpc/server.h` by getting rid of the huge cluttered list of function definitions.
- Removes most of the bitcoin-specific code from rpcserver.cpp and .h.

Continues #7307 for the non-wallet.
2018-07-18 11:07:18 -06:00
Daniel Cousens 4519a766b6
move rpc* to rpc/ 2018-07-18 11:07:16 -06:00