Simon
6f8f99170f
Add Sapling fields to JSON RPC output using TxToJSON.
2018-09-17 10:27:58 -07:00
Simon
c00635b376
Replace CBitcoinAddress and CBitcoinSecret in Insight explorer code.
2018-09-08 15:53:01 -07:00
Simon
fee3b62ba5
Replace CBitcoinAddress and use ScriptToAsmStr in Insight explorer code.
2018-09-08 15:51:53 -07:00
Simon
9f26080c3b
Fix rpc/misc.cpp for Insight explorer.
...
Replace CBitcoinAddress.
Update getIndexKey function.
Move rpc function registration to avoid build error.
2018-09-08 15:50:32 -07:00
Simon
aa744385d5
Replace CBitcoinAddress in Insight explorer code.
2018-09-08 15:49:45 -07:00
Simon
ba411d17a2
Fix serialization in Insight explorer code.
...
Remove nType and nVersion from serialization
Fix CScript serialization
2018-09-08 15:46:53 -07:00
Simon
822e02d9c9
Fix rebased Insight explorer code for DisconnectBlock
2018-09-05 21:25:02 -07:00
str4d
0a090b29d8
Add vpub_old and vpub_new Zatoshi amounts
2018-09-05 13:08:09 -07:00
Braydon Fuller
a76b4b9655
rpc: option to include chain info in address index results
2018-09-05 13:08:08 -07:00
Chethan Krishna
3008944c71
Add a new line to print
2018-09-05 13:08:08 -07:00
Chethan Krishna
1537c902dc
logical timestamp indexing of block hashes
2018-09-05 13:08:08 -07:00
Braydon Fuller
1a07bc991a
Add method to get address deltas from a block
2018-09-05 13:08:06 -07:00
Braydon Fuller
ec4c4a37f6
test: fix determinism of address index test
2018-09-05 13:05:50 -07:00
Chethan Krishna
9e001dd04e
Remove cpp test for wallet-utility
2018-09-05 13:05:50 -07:00
Braydon Fuller
6ca57f3e1f
test: wallet utility python test
2018-09-05 13:05:50 -07:00
Chethan Krishna
7814d628ce
wallet-utility: extract addresses and private keys
...
usage: ./wallet-utility -datadir=<directory>
help: ./wallet-utility -h
Zcash: Backported to older chainparams code, added Zcash libs to LDADD
2018-09-05 13:05:50 -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
7aabf02719
db: add options to configure block index database
...
There was a previous assumption that blockindex would be quite small. With addressindex
and spentindex enabled the blockindex is much larger and the amount of cache allocated for
it should also increase. Furthermore, enabling compression should decrease the amount of
disk space required and less data to write/read. The default leveldb max_open_files is set to
1000, for the blockindex the default is set to 1000 with compression. The 64 value that is
current is kept for the utxo database and does not enable compression. Two additional options
are added here to be able to configure the values for leveldb and the block index:
- `-dbmaxopenfiles` A number of files for leveldb to keep open
- `-dbcompression` Boolean 0 or 1 to enable snappy leveldb compression
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
4993804584
mempool: same address and index for an input and output bug
...
fixes a bug that would happen when an output would match an input with
the same address and index, and would lead to the outputs not appearing
in results.
2018-09-05 13:05:50 -07:00
Braydon Fuller
d43d59dca5
mempool: fix bug with mempool address index iteration
...
fixes a minor bug where iteration would not end when there are matching
hashes for a p2sh and p2pkh address, and would return results for
both addresses
2018-09-05 13:05:50 -07:00
Braydon Fuller
93b5719622
tests: expanded address index mempool testing
2018-09-05 13:05:49 -07:00
Braydon Fuller
3d4431a176
main: do not log error when spent info not found
2018-09-05 13:05:49 -07:00
Braydon Fuller
ededdf1413
rpc: add input confirmations to getrawtransaction
2018-09-05 13:05:49 -07:00
Braydon Fuller
6e50c56edd
main: spentindex for the mempool
...
Zcash: Adapted to older mempool code
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
67c95dcb7f
main: add amount and address to spentindex value
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
8376b90c6e
rpc: add blockindex to getaddressdeltas method
...
for the purposes of secondary sorting by block order
2018-09-05 13:05:49 -07:00
Braydon Fuller
d723656d79
rpc: include help text for addressindex and related commands
2018-09-05 13:05:49 -07:00
Braydon Fuller
f83d3fe7a8
rpcclient: add params to be parsed as JSON
...
There was an issue where getblockhashes wouldn't work from bitcoin-cli
as the two params would be strings instead of integers. This fixes that
issue, and will parse the first param as JSON for other addressindex
related rpc methods.
2018-09-05 13:05:49 -07:00
Wladimir J. van der Laan
0713229fc9
tests: Make proxy_test work on travis servers without IPv6
...
Github-Pull: #7489
Rebased-From: 7539f1aae3b41279dc5d49e09f448a78a071e114
Cherry-picked-From: 9ca957bcd401de69c4c03904b9ee8b8b41052905
2018-09-05 13:05:49 -07:00
Braydon Fuller
a4b8b3fdd4
rpc: update oksafemode for address commands
2018-09-05 13:05:47 -07:00
Braydon Fuller
29495b5e25
rpc: optional "start" and "end" params for getaddressdeltas
2018-09-05 13:03:35 -07:00
Braydon Fuller
bc628e6e56
rpc: include base58check encoded address in results
2018-09-05 13:03:33 -07:00
Braydon Fuller
7175beebba
test: test for getaddressmempool prevhash and prevout values
2018-09-05 12:58:14 -07:00
Braydon Fuller
047166bb42
rpc: include prevhash and prevout information for spending deltas
2018-09-05 12:58:14 -07:00
Braydon Fuller
9994a074e5
build: fix darwin build
2018-09-05 12:58:14 -07:00
Braydon Fuller
ca0ee59d6e
rpc: fix issue with querying txids by block heights
2018-09-05 12:58:14 -07:00
Braydon Fuller
4c4b882bb3
rpc: query txids for addresses within block height range
2018-09-05 12:58:14 -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
bf64e834c6
main: add spentindex option
2018-09-05 12:58:12 -07:00
Braydon Fuller
02ba86daba
rpc: cast indexes to ints
2018-09-05 12:56:35 -07:00
Braydon Fuller
890a6ca3d1
build: add addressindex.h to make
2018-09-05 12:56:35 -07:00
Braydon Fuller
ab6be4478e
main: include timestampindex in help
2018-09-05 12:56:35 -07:00
Braydon Fuller
eed0b77388
rpc: give back base58 encoded address format in utxos
2018-09-05 12:56:35 -07:00
Braydon Fuller
2f8d20ba76
main: mempool address index
...
Zcash: Integrated into older mempool code
2018-09-05 12:56:26 -07:00
Braydon Fuller
e85d165115
main: sort address index utxos by height
2018-09-05 12:55:33 -07:00
Braydon Fuller
110adc6aa7
main: remove spent address utxo indexes
2018-09-05 12:55:33 -07:00