Simon
8fc2ca6c74
Update qa test to check for Sapling related JSON fields.
2018-09-17 10:28:12 -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
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
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
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
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
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
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
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
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
Braydon Fuller
4725b25e60
main: update unspent address index during reorgs
2018-09-05 12:55:33 -07:00
Braydon Fuller
724f06da7c
main: index unspent outputs by address
2018-09-05 12:55:30 -07:00
Braydon Fuller
230783d4b3
main: update address index during reorgs
2018-09-05 12:53:00 -07:00
Braydon Fuller
98872dac95
main: get address deltas between range of block heights
2018-09-05 12:52:56 -07:00
Braydon Fuller
70600ae1ff
main: fixed bug with overlapping address index keys
...
There was a bug where the spending address index could have the same key
as the receiving address index if the input and output indexes matched. This lead
to the output always overwriting the input index leading to incorrect balances
with missing spent amounts. This patch separates the two so that they have unique
keys so balances will be correctly calculated.
2018-09-05 12:51:27 -07:00
Braydon Fuller
3d90427d0b
test: added to for balance after spending
2018-09-05 12:51:27 -07:00
Braydon Fuller
4fcfdc9b21
main: add block timestamp index
2018-09-05 12:51:25 -07:00
Braydon Fuller
d2e961bd94
rpc: added getaddressbalance method using addressindex
2018-09-05 12:49:17 -07:00
Braydon Fuller
3938fe37f3
rpc: sort txids by height for multiple addresses
2018-09-05 12:47:10 -07:00
Braydon Fuller
73858d5450
rpc: query for multiple addresses txids
2018-09-05 12:47:10 -07:00
Braydon Fuller
fd09de01f0
rpc: update getaddresstxids for uniqueness
2018-09-05 12:47:10 -07:00
Braydon Fuller
098c127ae6
rpc: fix issue for querying txids for p2sh addresses
2018-09-05 12:47:08 -07:00
Braydon Fuller
a9948959b5
main: index address index sorted by height
2018-09-05 12:45:35 -07:00
Braydon Fuller
ffa949e98a
qa: started test for addressindex rpc getaddresstxids
2018-09-05 12:45:35 -07:00
Jack Grigg
af04224522
Fix file permissions of wallet_sapling RPC test
2018-09-03 08:27:33 +01:00
Jack Grigg
0f436a0a26
Fix RPC test that checks exact wording of cleaned-up error message
2018-09-03 08:23:09 +01:00
Jack Grigg
e54c4d2ca1
rpcwallet: Add Sapling support to z_sendmany
2018-08-27 11:36:14 +01:00
Homu
622751da12
Auto merge of #3444 - LarryRuane:2982-mininode-version, r=str4d
...
generalize mininode.py protocol versioning
Fixes #2982 -- replace `overwintered` boolean argument to NodeConn constructor with a protocol version integer, so that adding Sapling (and beyond) will be easier.
2018-08-20 09:48:51 -07:00
Eirik Ogilvie-Wigley
4e1e91512d
Fix assertion and comment
2018-08-06 09:58:40 -06:00
Eirik Ogilvie-Wigley
7929851626
Only include the change field if we have a spending key
2018-08-06 09:58:40 -06:00
Larry Ruane
c0aa34a4b2
generalize mininode.py protocol versioning
2018-08-02 20:30:20 -06:00
Homu
066cc9c6c7
Auto merge of #3429 - str4d:3217-sapling-address-creation, r=str4d
...
Add Sapling support to z_getnewaddress and z_listaddresses
Closes #3217 .
2018-08-01 12:01:39 -07:00
Jack Grigg
4aabeebc1f
test: Fix permissions of wallet_addresses
2018-08-01 19:56:01 +01:00
Jack Grigg
d75e69da5a
test: Deduplicate logic in wallet_addresses RPC test
2018-08-01 09:44:31 +01:00