Larry Ruane
b62666da9d
Update README.md that this branch is obsolete
2019-08-23 11:39:19 -06:00
Tomas-M
ed40a3426d
Add getblockhashes RPC call else block explorer cannot show blocks
2019-02-12 12:05:13 -07:00
Simon
01306b60b5
Return extra field valueBalanceZat for explorer
2019-02-12 12:05:13 -07:00
Simon
008d377d61
Add Sapling fields to JSON RPC output using TxToJSON.
2019-02-12 12:05:13 -07:00
Simon
718dcfeb2d
Replace CBitcoinAddress and CBitcoinSecret in Insight explorer code.
2019-02-12 12:05:13 -07:00
Simon
274d22a5c4
Replace CBitcoinAddress and use ScriptToAsmStr in Insight explorer code.
2019-02-12 12:05:13 -07:00
Simon
f4f0ea4dff
Fix rpc/misc.cpp for Insight explorer.
...
Replace CBitcoinAddress.
Update getIndexKey function.
Move rpc function registration to avoid build error.
2019-02-12 12:05:13 -07:00
Simon
b8ec499f6f
Replace CBitcoinAddress in Insight explorer code.
2019-02-12 12:05:13 -07:00
Simon
699aa27cd4
Fix serialization in Insight explorer code.
...
Remove nType and nVersion from serialization
Fix CScript serialization
2019-02-12 12:05:13 -07:00
Simon
cbebb5642a
Fix rebased Insight explorer code for DisconnectBlock
2019-02-12 12:05:13 -07:00
str4d
c71161ec13
Add vpub_old and vpub_new Zatoshi amounts
2019-02-12 12:05:13 -07:00
Braydon Fuller
5c76b34d9d
rpc: option to include chain info in address index results
2019-02-12 12:05:13 -07:00
Chethan Krishna
6b9ca7695b
Add a new line to print
2019-02-12 12:05:13 -07:00
Chethan Krishna
74252d5455
logical timestamp indexing of block hashes
2019-02-12 12:05:13 -07:00
Braydon Fuller
fa67ad0676
Add method to get address deltas from a block
2019-02-12 12:05:13 -07:00
Braydon Fuller
331a0d2fe1
test: fix determinism of address index test
2019-02-12 12:05:13 -07:00
Chethan Krishna
ded1b77e42
Remove cpp test for wallet-utility
2019-02-12 12:05:13 -07:00
Braydon Fuller
17a99d2e31
test: wallet utility python test
2019-02-12 12:05:13 -07:00
Chethan Krishna
ba47d3b44a
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
2019-02-12 12:05:13 -07:00
Braydon Fuller
bc07e755ba
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
2019-02-12 12:05:13 -07:00
Braydon Fuller
14ac450af3
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
2019-02-12 12:05:13 -07:00
Braydon Fuller
f402ac3736
Revert "rpc: add input confirmations to getrawtransaction"
2019-02-12 12:05:13 -07:00
Braydon Fuller
9343b1e720
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.
2019-02-12 12:05:13 -07:00
Braydon Fuller
91da249d9d
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
2019-02-12 12:05:13 -07:00
Braydon Fuller
2f4ea71eb4
tests: expanded address index mempool testing
2019-02-12 12:05:13 -07:00
Braydon Fuller
23ca3d22f3
main: do not log error when spent info not found
2019-02-12 12:05:13 -07:00
Braydon Fuller
9ad4584054
rpc: add input confirmations to getrawtransaction
2019-02-12 12:05:13 -07:00
Braydon Fuller
2a834baa0f
main: spentindex for the mempool
...
Zcash: Adapted to older mempool code
2019-02-12 12:05:13 -07:00
Braydon Fuller
2b650ba682
rpc: add input value and address to getrawtransaction if spentindex enabled
2019-02-12 12:05:13 -07:00
Braydon Fuller
3b0471376f
main: add amount and address to spentindex value
2019-02-12 12:05:13 -07:00
Braydon Fuller
7c614702d2
rpc: include satoshis in verbose raw transaction
2019-02-12 12:05:13 -07:00
Braydon Fuller
8006a935f8
rpc: add blockindex to getaddressdeltas method
...
for the purposes of secondary sorting by block order
2019-02-12 12:05:13 -07:00
Braydon Fuller
081fc8130e
rpc: include help text for addressindex and related commands
2019-02-12 12:05:13 -07:00
Braydon Fuller
d6e1d0099f
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.
2019-02-12 12:05:13 -07:00
Wladimir J. van der Laan
d88ac68105
tests: Make proxy_test work on travis servers without IPv6
...
Github-Pull: #7489
Rebased-From: 7539f1aae3b41279dc5d49e09f448a78a071e114
Cherry-picked-From: 9ca957bcd401de69c4c03904b9ee8b8b41052905
2019-02-12 12:05:13 -07:00
Braydon Fuller
3475f65d9d
rpc: update oksafemode for address commands
2019-02-12 12:05:13 -07:00
Braydon Fuller
05af582311
rpc: optional "start" and "end" params for getaddressdeltas
2019-02-12 12:05:13 -07:00
Braydon Fuller
dc22f38744
rpc: include base58check encoded address in results
2019-02-12 12:05:13 -07:00
Braydon Fuller
3015550ede
test: test for getaddressmempool prevhash and prevout values
2019-02-12 12:05:13 -07:00
Braydon Fuller
f9e03b57bc
rpc: include prevhash and prevout information for spending deltas
2019-02-12 12:05:13 -07:00
Braydon Fuller
5e2fd78b84
build: fix darwin build
2019-02-12 12:05:13 -07:00
Braydon Fuller
a57d5905ff
rpc: fix issue with querying txids by block heights
2019-02-12 12:05:13 -07:00
Braydon Fuller
3f10393e1f
rpc: query txids for addresses within block height range
2019-02-12 12:05:13 -07:00
Braydon Fuller
d3e2f23586
rpc: include height in spentinfo
2019-02-12 12:05:13 -07:00
Braydon Fuller
74d888e963
rpc: include spent info if spentindex enabled with getrawtransaction verbose
2019-02-12 12:05:13 -07:00
Braydon Fuller
caae164e68
main: add spentindex option
2019-02-12 12:05:13 -07:00
Braydon Fuller
faf61a148b
rpc: cast indexes to ints
2019-02-12 12:05:12 -07:00
Braydon Fuller
ced11a812c
build: add addressindex.h to make
2019-02-12 12:05:12 -07:00
Braydon Fuller
7eef12bf3d
main: include timestampindex in help
2019-02-12 12:05:12 -07:00
Braydon Fuller
fa940f929c
rpc: give back base58 encoded address format in utxos
2019-02-12 12:05:12 -07:00