Chris Kleeschulte
b877c39a14
Merge pull request #21 from braydonf/0.12.1-bitcore-spentlog
...
main: do not log error when spent info not found
2016-06-15 13:37:04 -04:00
Chris Kleeschulte
645ae33bec
Merge pull request #20 from braydonf/0.12.1-bitcore-inputconfs
...
rpc: add input confirmations to getrawtransaction
2016-06-15 13:36:31 -04:00
Chris Kleeschulte
956b424292
Merge pull request #18 from braydonf/0.12.1-bitcore-rebased-mempool-tests
...
mempool address index bug fixes
2016-06-15 12:45:09 -04: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
347f0d1ed4
main: do not log error when spent info not found
2016-06-13 11:18:36 -04:00
Braydon Fuller
fea930aa8c
rpc: add input confirmations to getrawtransaction
2016-06-13 11:15:34 -04:00
Chris Kleeschulte
bd8328ceb9
Merge pull request #15 from braydonf/0.12.1-bitcore-rebased
...
0.12.1 bitcore
2016-06-13 11:10:49 -04:00
Braydon Fuller
55fa4798eb
main: spentindex for the mempool
2016-06-02 12:15:59 -04:00
Braydon Fuller
4c7dc871d1
rpc: add input value and address to getrawtransaction if spentindex enabled
2016-06-02 12:15:38 -04:00
Braydon Fuller
16d35eb228
main: add amount and address to spentindex value
2016-06-02 12:15:38 -04:00
Braydon Fuller
87dfd13694
rpc: include satoshis in verbose raw transaction
2016-06-02 12:15:38 -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
3c74fff552
rpc: include help text for addressindex and related commands
2016-06-02 12:15:37 -04:00
Braydon Fuller
eb82f39655
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.
2016-06-02 12:15:37 -04:00
Cory Fields
6c44620e5a
travis: switch to Trusty
...
Github-Pull: #7920
Rebased-From: 06fdffd222ba0a00add4abe9fab9ad2c3e220d8f, 9267a47d86d0673eae9e504ee566aa4e0410d923, cf77fcdb1fe525b63b004ef729173f04bdb48882, 174023c9b008fc02316bce972b0c1031de3feee3, a33b7c9cb545985771d074748c0e368ca2d06702
Cherry-pick-From: 564aaa2cd0
2016-06-02 12:15:37 -04:00
Luke Dashjr
128c5e1232
Workaround Travis-side CI issues
...
Github-Pull: #7487
Rebased-From: 149641e8fc9996da01eb76ffe4578828c40d37b5 c01f08db127883ff985889214eebdbe9513c729a 5d1148cb79856ac4695a0c7ac1cd28ada04eff34 1ecbb3b0f717c277f3db1a923fff16f7fc39432c
Cherry-pick-From: 00d57b4d3a
2016-06-02 12:15:37 -04:00
Wladimir J. van der Laan
9c5b709c6f
tests: Make proxy_test work on travis servers without IPv6
...
Github-Pull: #7489
Rebased-From: 7539f1aae3b41279dc5d49e09f448a78a071e114
Cherry-picked-From: 9ca957bcd4
2016-06-02 12:15:37 -04:00
Braydon Fuller
5fa85bc9ae
rpc: update oksafemode for address commands
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
5c3cf5f631
rpc: include prevhash and prevout information for spending deltas
2016-06-02 12:15:37 -04:00
Braydon Fuller
04da9306c6
build: fix darwin build
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
abe40712ce
rpc: include height in spentinfo
2016-06-02 12:15:37 -04:00
Braydon Fuller
b752fbe09e
rpc: include spent info if spentindex enabled with getrawtransaction verbose
2016-06-02 12:15:37 -04:00
Braydon Fuller
e3d9207e5a
main: add spentindex option
2016-06-02 12:15:37 -04:00
Braydon Fuller
8636f36477
rpc: cast indexes to ints
2016-06-02 12:15:14 -04:00
Braydon Fuller
4678f2d438
build: add addressindex.h to make
2016-06-02 12:15:14 -04:00
Braydon Fuller
7c68235cf4
main: include timestampindex in help
2016-06-02 12:15:14 -04:00
Braydon Fuller
d99f17de1a
rpc: give back base58 encoded address format in utxos
2016-06-02 12:15:14 -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
21c675855f
main: don't undo indexes when verifying blocks at startup
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
08836972c0
rpc: fix argument check for getaddressutxos
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
8597289d8b
main: fix order of address index when disconnecting block
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
38a7d6d323
rpc: optimize address txid queries
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
935ca8f832
main: add block timestamp index
2016-06-02 12:15:13 -04:00
Braydon Fuller
24deb4efc1
rpc: include height in getrawtransaction results
2016-06-02 12:15:13 -04:00
Braydon Fuller
2e8a4c00fa
rpc: add receieved to balance
2016-06-02 12:15:13 -04:00