Braydon Fuller
a76b4b9655
rpc: option to include chain info in address index results
2018-09-05 13:08:08 -07:00
Braydon Fuller
ec4c4a37f6
test: fix determinism of address index test
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
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
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
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
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