-
Notifications
You must be signed in to change notification settings - Fork 634
bitcoind address index #422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
169 commits
Select commit
Hold shift + click to select a range
7e70bbf
bitcoind: bitcoind service using rpc and zmq with address index
braydonf b69d848
bitcoind: add lru caching for results
braydonf af573b7
bitcoind: fix txid pagination
braydonf 7d7dfe3
bitcoind: variable name fixes
braydonf ab70aa6
bitcoind: add address utxos
braydonf 60333bc
bitcoind: add mempool to address txid results
braydonf b473b65
bitcoind: fix tx event to include tx buffer
braydonf 9409374
bitcoind: fix multiple addresses for address history
braydonf 5932b34
bitcoind: set height when starting
braydonf 0f24dd5
config: update configuration options for exec path
braydonf 1831026
node: log intro with config path
braydonf 7c6e5cf
bitcoind: only cache transaction with height if confirmations >= 6
braydonf c116353
build: start of install script
braydonf 31da32e
test: updated p2p integration test
braydonf c4649c9
test: mark last zmq block before rpc calls
braydonf 1fb552a
build: download bitcoin binary distribution
braydonf 7c344b5
build: updates for npm install
braydonf 67b8ec2
build: update travis with zmq
braydonf 962e7b8
test: update regtest
braydonf 88a8271
test: moved integration -> regtest
braydonf 3ead592
test: update titles and docs for regtests
braydonf 82232c0
bitcoind: wrap rpc errors as instances of error
braydonf 8887273
bitcoind: add missing api methods to export
braydonf 4662ca0
bitcoind: update jsdocs and cleanup
braydonf 9bf6941
test: update node regtest
braydonf fd427fa
test: increase timeout and remove new lines
braydonf 1013ad3
build: upgrade chai and mocha
braydonf d11d030
bitcoind: spawn in default configs
braydonf b4b560a
bitcoind: get blocks and transactions as buffers
braydonf 3713c6a
bitcoind: sendTransaction second arg as object
braydonf 90e3540
bitcoind: increase reindex interval to 10s
braydonf f3f2f59
node: add getNetworkName method
braydonf 8102761
bitcoind: normalize address arguments
braydonf dbcb70f
transaction: update getTransaction arguments
braydonf d7f49cc
test: add regtest for multiple bitcoind connections
braydonf 5bea36e
bitcoind: try querying all bitcoind nodes
braydonf 019626b
bitcoind: prevent rapid tip updates for all networks
braydonf d0937fe
bitcoind: try to get transaction from all bitcoind nodes
braydonf 52f05f3
bitcoind: emit block events
braydonf b757bd3
docs: update docs for bitcoind with address indexes
braydonf 37f31fd
bitcoind: added getspentinfo method
braydonf cdfe572
bitcoind: include height in spentinfo
braydonf c36b077
bitcoind: add checkstate for spentindex
braydonf 0425764
build: bump bitcoin build tag to v0.12.0-bitcore-beta2
braydonf 1d358a6
test: update pagination test
braydonf c2eda9b
bitcoin: address history by height range
braydonf 848dc29
docs: update get balance method
braydonf 890b387
test: update unit tests, refactoring and cleanup
braydonf 69ff542
bitcoind: rename exported events to rawtransaction and hashblock
braydonf 24ca5ce
web: option to enable/disable socket rpc handling
braydonf bb726ba
test: bitcoind getaddressbalance unit test
braydonf dab49ae
docs: various updates
braydonf 552abf7
docs: symlink docs/index.md -> README.md
braydonf a4f5a6f
test: getblock unit tests
braydonf 8fd405e
test: getBlockHeader unit tests
braydonf 317fdbb
test: bitcoind _getAddressStrings unit tests
braydonf e09cc3d
test: bitcoind start unit tests
braydonf 7c37eba
test: unit tests for connect and spawn processes
braydonf afda359
test: mempool helper method unit tests
braydonf c8ba4ea
test: remove outdated regtest
braydonf 3fed348
docs: update development guide
braydonf bf67b93
bitcoind: fix check reindex method not found
braydonf feb8038
bitcoind: fix check reindex interval
braydonf 033a623
docs: include upgrade notes for bitcore 3 -> 4
braydonf 2975f27
bitcoind: add uacomment option to default config
braydonf 7dabd8c
docs: correct development environment docs
braydonf 2b38f08
bitcoind: subscribe to zmq events once synced
braydonf b092adc
bitcoind: subscribe to zmq events without interval if already synced
braydonf 458fe2f
bitcoind: emit block events while polling before subscribing to zmq e…
braydonf 7d878ad
bitcoind: immediately subscribe with connect option
braydonf 40e7b24
test: fix unstubbed uncaughException
braydonf c3dab07
bitcoind: fix clearInterval issue with Node.js 0.12
braydonf 019bc2a
bitcoind: load network bitcoin.conf and set defaults
braydonf 3e2492e
scaffold: detect incompatible config
braydonf 2015514
test: increase timeout for check synced test
braydonf 587602d
bitcoind: stop failsafe timeout
braydonf d1cf9de
bitcoind: parse ints for pagination
braydonf b901e10
bitcoind: update unspentoutputs with mempool
braydonf 0272b17
test: fix regtest amount check
braydonf 7f17dd4
bitcoind: fixed issue with cache mempool updates
braydonf 5e66001
test: add unit test for getaddressunspentoutputs with mempool
braydonf c6e543c
bitcoind: fix noTxList caching issue
braydonf c63e98f
bitcoind: limit tx history range
braydonf a61f43a
build: upgrade socket.io
braydonf 3f34fb6
bitcoind: always log errors emitted instead of being uncaught exceptions
braydonf 944c44e
bitcoind: return selected set of info for getinfo
braydonf 76eeba5
build: verify bitcoin download
braydonf 9e0e9a2
build: include environment variables for downloading bitcoin
braydonf d958e83
build: add support for nodejs 0.10
braydonf d28f856
bitcoind: handle unexpected process exits
braydonf c1e9d5a
test: added tests for stopSpawnedBitcoin
braydonf 92bae5f
general: code cleanup, refactoring and formatting
271dcd8
build: add jshint to scripts and ci build
ea792b6
scaffold: remove outdated logging of db service sync status
24d1bc8
logger: added option to disable formatting
d969ad7
build: include bitcoind in package.json bin
c22f650
bitcoind: reduce duplicate tx messages
2e912af
bitcoind: subscribe to zmq event closer to 100% sync
b029089
bitcoind: handle empty input from pid file
c9154d4
docs: bump disk prereq to 200GB
abfb07f
build: update bitcoind-rpc commit
7be7a7d
scaffold: update error message to be more accurate
36f337a
web: update jsdoc with enableSocketRPC option
27112fc
docs: make note about libzmq-dev
d9d50c1
docs: update prereqs in readme
e24a9c9
build: update bitcoind links to bitpay/bitcoin bitcore-rc1 release
0387c1a
test: increase timeout for cluster test and decrease keypool
75c4355
bitcoind: paginate txids in address summary
85a0c16
test: fixes for bitcoind regtest
26c87ea
test: check height from tip event in cluster regtest
f6bbe54
test: bitcoind chainwork test
8b0d16d
test: check callcount for retry in bitcoind spawn child method
791047c
bitcoind: bump max tx history default to 50
cceb418
test: bump timeout in bitcoind after/before
4757edc
test: add missing property checks
d399e9a
bitcoind: camelCase getInfo results
b597a05
bitcoind: camelCase result from getBlockHeader
ae91ff2
bitcoind: update jsdocs for getBlockHeader
98bfd35
build: update bitcoind-rpc with work limit exceeded handling
17e7a7e
build: bitcoind-rpc with explicit work limit exceeded handling
950a9d5
docs: make note about sorting of blockhashes
8bddf4f
bitcoind: add getDetailedTransaction method
cd44326
main: remove transaction with populate methods
2cc06cc
build: update bitcoind release to include mempool spentindex
64ed440
docs: update docs to reflect api changes
8f11a33
test: add getBlockOverview unit tests and refactor
484b707
bitcoind: update jsdocs for getDetailedTransaction
fa6474e
bitcoind: handle block height number as string
a48bcaf
web: added logging for web socket events
4df9b5f
bitcoind: add addresstxid event
57cb146
build: fix jshint unused variable warnings
bf08042
web: get remoteAddress for socket with cloudflare header
522c822
test: use callback instead of ready event
6fbadb6
test: stub logging in unit tests
1800294
bitcoind: change dataformat of addresstxid event
28ff52e
tests: add tests for addresstxid event
8388091
docs: add documentation for addresstxid event
73197fd
build: update url to download bitcoin-0.12-bitcore-rc3
cd9bbc8
scaffold: expanded v2 config checks
braydonf 4001a41
docs: add additional node about reindexing
braydonf bce64d8
scaffold: upgrade message formatting
braydonf 584dd2c
test: add unit test for node getNetworkName
braydonf 202971e
test: increase test coverage for bitcoind
braydonf a4888e5
test: increase test coverage for lib/node.js
braydonf 85a302e
test: unit tests for zmq socket setup
braydonf f1a9f6d
test: stub logging in bitcoind tests
braydonf 2a53aad
test: add test for respawn bitcoind
braydonf ea3c813
test: check that caching is working
braydonf 0a95765
bitcoind: fix indentation
braydonf 35a1b6d
test: more coverage for bitcoind service
braydonf 3fef6f5
test: increase test coverage of bitcoind service
braydonf 9c90f05
test: more coverage for bitcoind
braydonf 4d1b853
test: increase timeout for before all in node address regtest
braydonf 86b1acd
test: coverage for bitcoind getAddressUnspentOutputs
braydonf 0c820c5
test: unit tests for bitcoind address details
braydonf 8d7d78a
build: run coveralls for unit test coverage
braydonf 52cf300
test: coverage for bitcoind getAddressSummary
braydonf 0cb795d
test: add bitcoind test for early shutdown while connecting
braydonf 1d9b89f
test: coverage for getAddressHistory
braydonf f76b206
test: coverage for getBlockHeader
braydonf 2dddf01
test: coverage for spawnChildProcess
braydonf 88c15f6
scaffold: remove no longer needed '-dev' version handling
braydonf f38fa13
bitcoind: account for scriptPubKey.addresses not always being set
braydonf c7ec2dc
test: bitcoind test for undefined scriptPubKey.addresses
braydonf e8a35e2
bitcoind: bug with getting block hash from address
braydonf aa7f0d7
test: remove duplicated test
braydonf 47e3cf7
build: update download of bitcoind to tag v0.12-bitcore
braydonf 29b59c6
build: update bitcoind-rpc to version 0.6.0
braydonf 6df9387
docs: update release process
braydonf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| repo_token: DvrDb09a8vhPlVf6DT4cGBjcFOi6DfZN1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,22 +1,22 @@ | ||
| sudo: false | ||
| language: node_js | ||
| env: | ||
| - BITCORENODE_ENV=test BITCORENODE_ASSUME_YES=true CXX=g++-4.8 CC=gcc-4.8 | ||
| - CXX=g++-4.8 CC=gcc-4.8 | ||
| addons: | ||
| apt: | ||
| sources: | ||
| - ubuntu-toolchain-r-test | ||
| packages: | ||
| - g++-4.8 | ||
| - gcc-4.8 | ||
| - libzmq3-dev | ||
| node_js: | ||
| - "v0.10.25" | ||
| - "v0.12.7" | ||
| - "v4" | ||
| script: | ||
| - _mocha -R spec integration/regtest.js | ||
| - _mocha -R spec integration/regtest-node.js | ||
| - _mocha -R spec integration/p2p.js | ||
| - _mocha -R spec --recursive | ||
| cache: | ||
| directories: | ||
| - cache | ||
| - npm run regtest | ||
| - npm run test | ||
| - npm run jshint | ||
| after_success: | ||
| - npm run coveralls |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when all is sync'ed and indexed, the final size of just the data directory was 149GB. I would bump this to 200GB.