UdjinM6
53093c65be
Run tests in mocked time ( #2031 )
2018-04-18 14:48:59 +03:00
Alexander Block
69dd8f4a64
Python 3 fixes/porting in rpc tests
2017-12-21 20:34:07 +01:00
UdjinM6
c04e14fa61
Merge #958 : test: fix determinism of address index test
...
5765e5f cherry-pick 05cf410839dd48882768412d2637b53e6569a677
2016-08-23 05:27:52 -06:00
Tim Flynn
9a8f2e4507
V0.12.1.x governance bugfix 1 ( #952 )
...
* Fix governance message handling bug
* Added a 2 second delay to the addressindex blockchain reorganization test
2016-08-20 20:51:01 +04:00
UdjinM6
1e1a02be36
fix tests
2016-07-19 11:15:54 +03:00
Braydon Fuller
c01f78375e
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.
2016-06-13 11:23:30 -04:00
Braydon Fuller
4dcf3e821c
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
2016-06-13 11:23:30 -04:00
Braydon Fuller
809a8abff6
tests: expanded address index mempool testing
2016-06-13 11:23:30 -04:00
Braydon Fuller
1c022b9fc2
rpc: add blockindex to getaddressdeltas method
...
for the purposes of secondary sorting by block order
2016-06-02 12:15:37 -04:00
Braydon Fuller
98f8fdddc8
rpc: optional "start" and "end" params for getaddressdeltas
2016-06-02 12:15:37 -04:00
Braydon Fuller
8391ff0b0a
rpc: include base58check encoded address in results
2016-06-02 12:15:37 -04:00
Braydon Fuller
28f9ae7853
test: test for getaddressmempool prevhash and prevout values
2016-06-02 12:15:37 -04:00
Braydon Fuller
94ea69a4d5
rpc: fix issue with querying txids by block heights
2016-06-02 12:15:37 -04:00
Braydon Fuller
96d8307b55
rpc: query txids for addresses within block height range
2016-06-02 12:15:37 -04:00
Braydon Fuller
b66eff47cf
main: mempool address index
2016-06-02 12:15:14 -04:00
Braydon Fuller
1bd65a5c4b
main: sort address index utxos by height
2016-06-02 12:15:14 -04:00
Braydon Fuller
d0483c9aa0
main: remove spent address utxo indexes
2016-06-02 12:15:14 -04:00
Braydon Fuller
24894cb748
main: update unspent address index during reorgs
2016-06-02 12:15:14 -04:00
Braydon Fuller
0b42ba227a
main: index unspent outputs by address
2016-06-02 12:15:14 -04:00
Braydon Fuller
186e11fde7
main: update address index during reorgs
2016-06-02 12:15:14 -04:00
Braydon Fuller
cad092aebb
main: get address deltas between range of block heights
2016-06-02 12:15:14 -04:00
Braydon Fuller
206882cd4b
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.
2016-06-02 12:15:14 -04:00
Braydon Fuller
f76c2585f0
test: added to for balance after spending
2016-06-02 12:15:13 -04:00
Braydon Fuller
5bb6d69ff8
rpc: added getaddressbalance method using addressindex
2016-06-02 12:15:13 -04:00
Braydon Fuller
5b5f3f7d00
rpc: sort txids by height for multiple addresses
2016-06-02 12:15:13 -04:00
Braydon Fuller
f4d11ffc7c
rpc: query for multiple addresses txids
2016-06-02 12:15:13 -04:00
Braydon Fuller
2500d1d115
rpc: update getaddresstxids for uniqueness
2016-06-02 12:15:13 -04:00
Braydon Fuller
fcac6bcdc8
rpc: fix issue for querying txids for p2sh addresses
2016-06-02 12:15:13 -04:00
Braydon Fuller
18ea599a71
main: index address index sorted by height
2016-06-02 12:15:13 -04:00
Braydon Fuller
4d46195634
qa: started test for addressindex rpc getaddresstxids
2016-06-02 12:15:13 -04:00