Commit Graph

10033 Commits

Author SHA1 Message Date
janko33bd
2fdd12b2ea Blackcoin Lore 2017-05-30 21:33:31 +02:00
Chris Kleeschulte
597c9b42e5 Merge pull request #23 from braydonf/block-deltas
rpc: add method to get address deltas from a block
2016-09-20 10:16:42 -04:00
Chris Kleeschulte
14c71a7d1f Merge pull request #31 from braydonf/hashes
rpc: option to include chain info in address index results
2016-09-19 14:28:59 -04:00
Braydon Fuller
491d6eb053 rpc: option to include chain info in address index results 2016-08-23 10:52:56 -04:00
Chris Kleeschulte
33e35c87fd Merge pull request #30 from braydonf/0.12.1-bitcore-fix-test
test: fix determinism of address index test
2016-08-18 14:00:21 -04:00
Braydon Fuller
de6f29ec43 Merge pull request #29 from danjurious/logicalts
logical timestamp indexing of block hashes
2016-08-18 12:27:37 -04:00
Chethan Krishna
36f5ee5ff3 Add a new line to print 2016-08-17 10:33:31 -04:00
Chethan Krishna
c8458bf963 logical timestamp indexing of block hashes 2016-08-17 10:14:46 -04:00
Braydon Fuller
d14a774315 Add method to get address deltas from a block 2016-07-31 20:16:38 -04:00
Braydon Fuller
05cf410839 test: fix determinism of address index test 2016-07-29 15:32:34 -04:00
Chris Kleeschulte
796a2742c1 Merge pull request #27 from braydonf/0.12.1-bitcore-dboptions
Add options to configure block index database
2016-07-22 09:49:18 -04:00
Braydon Fuller
0c15767527 Merge pull request #24 from danjurious/bitpay-12.1
wallet-utility: extract addresses and private keys
2016-07-19 18:40:51 -04:00
Chethan Krishna
365802634b Remove cpp test for wallet-utility 2016-07-19 18:03:10 -04:00
Braydon Fuller
efb0d557a5 test: wallet utility python test 2016-07-18 18:03:01 -04:00
Chethan Krishna
31f56e2f5d wallet-utility: extract addresses and private keys
usage: ./wallet-utility -datadir=<directory>
help: ./wallet-utility -h
2016-07-18 16:00:20 -04:00
Braydon Fuller
69ea12c689 tests: test dbwrapper options compression and maxopenfiles 2016-07-14 16:30:31 -04:00
Braydon Fuller
1b36e2c626 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
2016-07-14 13:56:36 -04:00
Braydon Fuller
de05c9ecbb 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
2016-07-14 13:56:17 -04:00
Braydon Fuller
e0d02ff20f Merge pull request #22 from bitpay/revert-20-0.12.1-bitcore-inputconfs
Revert "rpc: add input confirmations to getrawtransaction"
2016-06-16 10:08:08 -04:00
Braydon Fuller
d28f886684 Revert "rpc: add input confirmations to getrawtransaction" 2016-06-15 20:22:35 -04:00
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: 06fdffd222, 9267a47d86, cf77fcdb1f, 174023c9b0, a33b7c9cb5
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: 149641e8fc c01f08db12 5d1148cb79 1ecbb3b0f7
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: 7539f1aae3
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