Commit Graph

1320 Commits

Author SHA1 Message Date
Braydon Fuller 826114b575 Docs: Update docs for bitcoind bindings with txleave event 2015-11-02 17:31:41 -05:00
Braydon Fuller a1bae366b3 Database: Removed `runAllMempoolIndexes` method
Replaced with using `tx` and `txleave` to manage the state of the mempool indexes.
2015-11-02 17:18:37 -05:00
Braydon Fuller 5ac3b1c61f Address: Added unit tests for new mempool index methods 2015-11-02 17:10:43 -05:00
Braydon Fuller 89ef28f0b7 Optimize mempool address index memory footprint
- Adds default to store a large portion of the mempool index in leveldb
- Includes an option to use memdown to have the mempool index in-memory
2015-10-30 18:36:16 -04:00
Braydon Fuller 086ba5fcfc Switch to remove items from mempool index as they leave asynchronously. 2015-10-29 19:16:56 -04:00
Braydon Fuller f0ec424161 Added bindings to be able to listen to tx leaving mempool. 2015-10-29 16:15:00 -04:00
Patrick Nagurny 275a0b57ea Merge pull request #348 from braydonf/node-v4
Added compilation support for Node.js v4
2015-10-29 11:21:25 -04:00
Braydon Fuller 37441004c8 Docs: Update prerequisites to include Node.js v4.2 2015-10-28 16:21:14 -04:00
Braydon Fuller 39e2f4ded5 Removed stray space in bitcoin patch. 2015-10-28 16:20:34 -04:00
Braydon Fuller bf97d7e70b Include node version in binary distribution. 2015-10-28 14:54:27 -04:00
Braydon Fuller e987723ab9 Update bitcoin patch to build depends with CC and CXX environment set 2015-10-28 13:59:13 -04:00
Braydon Fuller 1e4939a978 Add CC environment variable and gcc-4.8 2015-10-28 13:58:53 -04:00
Braydon Fuller 2d1c4b1455 Add g++-4.8 to travis builds. 2015-10-28 12:43:06 -04:00
Braydon Fuller d0129cc48b Update leveldown to version 1.4.2 2015-10-27 12:55:50 -04:00
Braydon Fuller f0e599fea1 Return node version check and include additional v4 engine. 2015-10-27 12:55:38 -04:00
Braydon Fuller 9d477fb64f Use Nan::CopyBuffer to avoid invalid pointer errors during garbage collection. 2015-10-27 12:28:12 -04:00
Patrick Nagurny 0c3ea838b9 Merge pull request #347 from kleetus/bug/missing_headers
Checking for missing headers
2015-10-27 10:19:32 -04:00
Chris Kleeschulte eb9e634275 Checking for missing headers
Rationale:

- On OS X, a user can have /usr/include, but still not have the standard headers
- this could be because the user uninstalled packages but the /usr/include directory was left behind. 
- by checking for at least stdlib.h, we stand a good chance at finding an issue much easlier
2015-10-26 20:08:27 -04:00
Braydon Fuller 1d6f11e10f Remove node.js version check. 2015-10-26 11:39:04 -04:00
Braydon Fuller 7afeef0f08 Debugging, clear warnings, fixed GetBlock. 2015-10-26 10:11:02 -04:00
Braydon Fuller b138877e19 Start upgrade to Node.js 4 2015-10-26 10:11:02 -04:00
Patrick Nagurny af9f6f2cb5 Merge pull request #343 from kleetus/version_substring
Edited the patch to provide "bitcore" as the version instead of "bitc…
2015-10-22 16:41:25 -04:00
Braydon Fuller 5802290591 Merge pull request #344 from unusualbob/typosAndServiceDocs
Fix typos and some examples in service doc
2015-10-22 11:52:17 -04:00
Rob Riddle 824e624929 Fix typos and some examples in service doc 2015-10-22 18:47:19 +03:00
Chris Kleeschulte 9bd328d190 Edited the patch to provide "bitcore" as the version instead of "bitcorenode" 2015-10-22 10:59:28 -04:00
Chris Kleeschulte 1e69c3d35d Bump development version to v0.2.5-dev 2015-10-21 18:47:50 -04:00
Chris Kleeschulte ec66179c01 Bump package version to v0.2.5 2015-10-21 18:30:56 -04:00
Chris Kleeschulte 6151735e2e Merge pull request #341 from pnagurny/bug/unconfirmed-balance
unconfirmed balance shouldn't include confirmed balance
2015-10-21 18:29:28 -04:00
Patrick Nagurny 9bdd9e7995 unconfirmed balance shouldn't include confirmed balance 2015-10-21 18:25:57 -04:00
Chris Kleeschulte aa4569e8f3 Bump development version to v0.2.4-dev 2015-10-21 16:51:32 -04:00
Chris Kleeschulte b0fe6fed80 Bump package version to v0.2.4 2015-10-21 16:25:00 -04:00
Gabe Gattis 0c88a540fd Merge pull request #339 from braydonf/create-testnet
Add --testnet option to create command.
2015-10-21 15:44:22 -04:00
Braydon Fuller 92382d69cc Add --testnet option to create command. 2015-10-21 15:28:28 -04:00
Gabe Gattis 9832991c10 Merge pull request #338 from braydonf/logs
Add date to logs and formatting changes.
2015-10-21 15:09:18 -04:00
Braydon Fuller 17b669c98f Add date to logs and formatting changes. 2015-10-21 14:47:35 -04:00
Chris Kleeschulte 0b761511a0 Merge pull request #335 from braydonf/aliases
Remove aliases for commands
2015-10-20 18:21:42 -04:00
Gabe Gattis fdaf2395f7 Merge pull request #334 from braydonf/clear-warnings
Clear warnings with bitcore create command.
2015-10-20 17:19:31 -04:00
Braydon Fuller 9ab989a68a Remove aliases for commands 2015-10-20 17:09:28 -04:00
Chris Kleeschulte dab76c724b Bump development version to v0.2.3-dev 2015-10-20 17:09:26 -04:00
Braydon Fuller df05846671 Merge pull request #330 from bitjson/master
format
2015-10-20 17:01:07 -04:00
Braydon Fuller 95bd5913b8 Clear warnings with bitcore create command. 2015-10-20 16:48:51 -04:00
Patrick Nagurny 8e8573ce2e Merge pull request #333 from braydonf/global
Only use local install if config file exists.
2015-10-20 14:58:36 -04:00
Braydon Fuller 83058eae26 Only use local install if config file exists. 2015-10-20 14:56:09 -04:00
Chris Kleeschulte 14f90a589a Bump package version to v0.2.3 2015-10-20 14:50:30 -04:00
Braydon Fuller bf78aefc82 Merge pull request #329 from bitpay/kleetus-patch-1
Corrected the socket.io dependency links
2015-10-20 14:40:28 -04:00
Chris Kleeschulte 2eb905e78f Bump development version to v0.2.2-dev 2015-10-20 14:33:47 -04:00
Chris Kleeschulte da4b7e3cd9 Bump package version to v0.2.2 2015-10-20 14:16:43 -04:00
Chris Kleeschulte de96d7d936 Merge pull request #332 from braydonf/config
Changes to be able to run with only a configuration file.
2015-10-20 14:11:37 -04:00
Braydon Fuller e046f7294e Changes to be able to run with only a configuration file.
- Adds parameter to cli methods to be able to specify the location of services modules. This is useful for packages that wrap bitcore-node to be able to pass along a node_modules directory with services.
- Adds another parameter for including additional services in the default settings.
- Will use the `process.env.HOME + '/.bitcore` as the default configuration location.
- There are now two `getDefaultConfig`, one that will instatiate a `~/.bitcore` directory with a default if it doesn't exist, and `getBaseDefaultConfig` that will return a basic configuration without additional services enabled.
- Changes logic to use the global install if a local node_modules version is not available, this would previously assume that it was a local install because of the existence of a configuration file.
2015-10-20 12:33:53 -04:00
Braydon Fuller 9b0ea9873d Merge pull request #331 from gasteve/master
remove debug output from bitcore cli utility
2015-10-20 12:06:03 -04:00