Commit Graph

1446 Commits

Author SHA1 Message Date
Matias Alejo Garcia 02f2234004 rm extra commas 2016-02-10 15:05:05 -05:00
Matias Alejo Garcia 3bb3d82aac add counter for address mempool index 2016-02-10 15:03:34 -05:00
Matias Alejo Garcia e7895b4b34 use key as binary 2016-02-09 15:30:40 -05:00
Matias Alejo Garcia d0c2fa61d8 fix tests 2016-02-09 10:57:40 -05:00
Matias Alejo Garcia 9f87156adc fix format 2016-02-09 10:26:09 -05:00
Chris Kleeschulte 53735025dd Bump development version to v2.1.0-dev 2016-02-08 15:37:30 -05:00
Matias Alejo Garcia dae5c9d3d5 fix regtests 2016-02-08 15:07:32 -05:00
Chris Kleeschulte 6dfb354230 Bump package version to v2.1.0 2016-02-08 14:37:29 -05:00
Matias Alejo Garcia c65c2bad20 add mempoolADdressIndex test 2016-02-08 13:40:27 -05:00
Matias Alejo Garcia c1d3f351f2 add address index to mempool + noBalance options 2016-02-08 13:21:53 -05:00
Matias Alejo Garcia e7e33313cf add noBalance options + mempoolAddressIndex 2016-02-08 12:50:32 -05:00
Gabe Gattis ae8221ffb3 Merge pull request #405 from braydonf/add-regtest
Switch to use enableRegtest from bitcore-lib
2016-02-08 12:21:33 -05:00
Chris Kleeschulte 4529c3013d Merge pull request #406 from braydonf/getinfo-network
Added network name to bitcoind.getInfo
2016-02-05 12:26:45 -05:00
Braydon Fuller e56fdf457f Added network name to bitcoind.getInfo 2016-02-05 10:33:11 -05:00
Braydon Fuller 0d6bc98333 Dependencies: Updated bitcore-lib to version ^0.13.13
This release includes new API for regtest with `enableRegtest()` and `disableRegtest()`
2016-02-05 10:14:09 -05:00
Braydon Fuller 17e8173d14 Dependencies: Temporarily switch to development version of bitcore-lib 2016-02-04 17:28:10 -05:00
Braydon Fuller 83eba52657 Tests: Fix tests to use enable/disableRegtest 2016-02-04 17:26:17 -05:00
Braydon Fuller 6e8f3ee917 Add regtest from bitcore-lib 2016-02-03 18:29:33 -05:00
Chris Kleeschulte 8afb2b8669 Merge pull request #404 from braydonf/lower-limits
Lower and include new concurrency limits
2016-02-03 13:17:48 -05:00
Braydon Fuller f473ddeddd Lower and include new concurrency limits 2016-02-03 12:28:32 -05:00
Chris Kleeschulte 6a899e4b9c Merge pull request #403 from braydonf/bug/limit-addresses
Address Service: Limit the number of simultaneous requests
2016-02-02 14:25:13 -05:00
Braydon Fuller 93e5dbfc34 Address Service: Limit the number of simultaneous requests 2016-02-02 13:27:45 -05:00
Chris Kleeschulte ca19994326 Bump development version to v2.0.1-dev 2016-02-01 15:49:20 -05:00
Chris Kleeschulte 0311d137ae Bump development version to v2.0.1 2016-02-01 14:41:30 -05:00
Braydon Fuller c3a549c9f1 Merge pull request #402 from kleetus/feature/leveldown_arm_builds
Added ARM prebuilt binaries for Leveldown
2016-02-01 13:57:49 -05:00
Chris Kleeschulte b80e3e19e2 Added ARM prebuilt binaries for Leveldown
- this is necessary because leveldown does not supply an ARM binary
- butcher needs a binary so that compiler tool chains are not necessary
2016-02-01 13:42:08 -05:00
Braydon Fuller 3e4fc878a8 Merge pull request #401 from kleetus/arm_support
Added arm support.
2016-01-29 16:48:41 -05:00
Chris Kleeschulte 663b100084 Added arm support. 2016-01-29 13:40:45 -05:00
Chris Kleeschulte c091ca9d67 Bump development version to v2.0.0-dev 2016-01-28 15:17:00 -05:00
Chris Kleeschulte 419aa5785b Bump package version to v2.0.0 2016-01-28 14:31:58 -05:00
Chris Kleeschulte dab95ed765 Merge pull request #399 from braydonf/dbversion
DB Service: Include a version number for upgrading purposes
2016-01-28 13:59:49 -05:00
Braydon Fuller 995b4b57d4 DB: Include docs on how to recreate the database 2016-01-28 13:47:26 -05:00
Braydon Fuller 98bd8ee560 DB Service: Include a version number for upgrading purposes 2016-01-28 12:08:05 -05:00
Chris Kleeschulte b0a0f629e2 Merge pull request #392 from braydonf/large-queries
Memory optimizations for large address queries
2016-01-27 14:45:05 -05:00
Braydon Fuller 3d7fb6f234 Address Service: End stream without pausing first
There was an issue where streams would still be held open if "pause" was
called before "end", this would lead to http requests from the insight-api
not being returned with an error status as soon as possible but would
instead stay open.
2016-01-26 13:25:53 -05:00
Braydon Fuller a2acc0c80f Address Service: Fixed test for max address limit 2016-01-26 13:09:31 -05:00
Braydon Fuller 2850573e6e Merge pull request #396 from ralphtheninja/master
homepage link 404 on github
2016-01-19 15:02:51 -05:00
Lars-Magnus Skog 43e472707f homepage link 404 on github 2016-01-19 20:49:17 +01:00
Braydon Fuller 39f8355cd9 Address Service: Bump maximum number of addresses default 2016-01-19 14:07:28 -05:00
Braydon Fuller 45029030f1 Address Service: Sort after unconfirmed and confirmed 2016-01-18 16:16:53 -05:00
Braydon Fuller e498e0fac2 Address Service: Include default callback earlier 2016-01-18 16:03:37 -05:00
Braydon Fuller d4f2df5c51 Address Service: Sort mempool txids 2016-01-18 15:56:05 -05:00
Braydon Fuller a166b6af23 Address Service: Removed nolonger used constant for cache 2016-01-18 15:06:18 -05:00
Braydon Fuller 62934b4b66 Address Service: Removed event listeners prior to stopping 2016-01-18 15:00:55 -05:00
Braydon Fuller 687400eab2 Address Service: Added test for history `getAddressDetailsForTransaction` 2016-01-18 13:53:32 -05:00
Braydon Fuller 3d9b6d5532 Address Service: More tests for history 2016-01-18 12:59:49 -05:00
Braydon Fuller e79c00db10 Address Service: Updated tests and fixed various bugs 2016-01-15 18:04:32 -05:00
Braydon Fuller ead6c2f45f Address Service: Removed caching and added max query limits
Querying addresses that have millions of transactions is supported however
takes hundreds of seconds to fully calculate the balance. Creating a cache of
previous results wasn't currently working because the `isSpent` query is always
based on the current bitcoind tip. Thus the balance of the outputs would be included
however wouldn't be removed when spent as the output wouldn't be checked again
when querying for blocks past the last checkpoint. Including the satoshis in the
inputs address index would make it possible to subtract the spent amount,
however this degrades optimizations elsewhere. The syncing times or querying
for addresses with 10,000 transactions per address.

It may preferrable to have an additional address service that handles high-volume
addresses be on an opt-in basis so that a custom running client could select
high volume addresses to create optimizations for querying balances and history.
The strategies for creating indexes differs on these use cases.
2016-01-14 17:17:04 -05:00
Braydon Fuller 4fcec8755c Address Service: Fixed many bugs from tests
- Refactored getAddressSummary and added several tests
- Fixed bugs revealed from the integration regtests
- Updated many unit tests
2016-01-13 17:15:14 -05:00
Braydon Fuller 188ff28ec7 Address Service: Fixed HASH_TYPES_MAP naming issue 2016-01-11 16:51:00 -05:00