Commit Graph

99 Commits

Author SHA1 Message Date
Braydon Fuller 7e70bbfa7d bitcoind: bitcoind service using rpc and zmq with address index 2016-04-08 11:59:26 -04:00
Chris Kleeschulte 610b9ea269 Added a doc fragment in build.md about cross compilation and clarified
the error message.
2016-02-11 10:25:22 -05:00
Chris Kleeschulte 4894f1abec Enable Cross-Compiling support
1. To use this feature, set CC and CXX env variables to the appropriate cross compiler
2. Example, for cross compiling to ARM, use: CC=arm-linux-gnueabihf-gcc-4.9 CXX=arm-linux-gnueabihf-g++-4.9 npm install
3. You can still compile without setting CC and CXX, you can still just run npm install
2016-02-11 10:25:22 -05:00
Chris Kleeschulte 663b100084 Added arm support. 2016-01-29 13:40:45 -05:00
Matt Bogosian df3fc3dd35 Fix #380. Add missing git config properties if required before committing bitcoin core patch. 2015-12-23 18:03:44 -08: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 bf97d7e70b Include node version in binary distribution. 2015-10-28 14:54:27 -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 82c6087fe2 Fix bug with double load of bitcore-lib. 2015-10-19 13:45:35 -04:00
Braydon Fuller 58894bc4b2 Expose cli methods. 2015-10-18 16:20:51 -04:00
Chris Kleeschulte 132821523b Statically linking libcrypto and libssl from bitcoin instead of using the System's version. 2015-10-16 14:17:00 -04:00
Chris Kleeschulte 382f308015 - Build script fails earlier (but hopefully not often) for critical errors in compilation and dependency download
- Patch matching is fixed due to the new way we build the patch
2015-10-09 17:30:09 -04:00
Chris Kleeschulte 6aee1d36f6 Bump development version to v0.2.0-dev 2015-09-16 14:35:29 -04:00
Chris Kleeschulte ef49264907 gitignore, integration test, env
- Added a very common way to launch a script using the env (saving keystrokes)
- Added a gitignore for the integration/data dir
- Added a bus integration test apart from the regtest and using a test service
2015-09-11 10:58:52 -04:00
Braydon Fuller 7551f487f8 Rename modules to services. 2015-08-31 11:31:28 -04:00
Braydon Fuller 96f6604222 Convert daemon into bitcoin module. 2015-08-31 11:11:16 -04:00
Braydon Fuller 348598747b Include more options and fallback to default config with start command 2015-08-24 18:57:50 -04:00
Braydon Fuller be525b055d Replace ~/.bitcoin with process.env.HOME 2015-08-24 18:53:37 -04:00
Braydon Fuller 69056db529 Move start to scaffold start and pass the bitcore-node configuration. 2015-08-24 18:51:07 -04:00
Patrick Nagurny db65d6476f add ctrl-c behavior to daemon 2015-08-24 13:29:42 -04:00
Patrick Nagurny b0ab45f3f7 handle signals and stop correctly 2015-08-24 13:29:42 -04:00
Patrick Nagurny 164a2cad75 cleanup daemon 2015-08-24 13:29:42 -04:00
Patrick Nagurny a61e1d9b8f start and stop services 2015-08-24 13:29:42 -04:00
Braydon Fuller a65a097e8a Merge pull request #134 from kleetus/regtest_ready_event
Regtest and wallet ready event
2015-08-21 15:00:54 -04:00
Chris Kleeschulte c4ee586bd7 Added CFLAGS for the bindings so that they know that the wallet is compiled in. 2015-08-19 16:33:01 -04:00
Braydon Fuller 96824feeaa Merge pull request #111 from pnagurny/feature/changes-for-bws
Changes for integrating into BWS
2015-08-19 15:15:56 -04:00
Chris Kleeschulte a68e51ffc4 Regtest and wallet ready event
- Added a check for the wallet availability during onBlocksReady
- Fixed a problem with spaces being added at the end of the file by git diff
2015-08-18 17:56:35 -04:00
Chris Kleeschulte 2d4a2b0bfd Lack of Curl
- Added a check for curl in the install script, if no curl, then use wget.
2015-08-17 15:23:52 -04:00
Patrick Nagurny bf4cec6bf5 use latest bitcore 2015-08-14 16:01:27 -04:00
Patrick Nagurny 78bc054bfa changes for BWS integration 2015-08-14 11:15:07 -04:00
Braydon Fuller 6584974413 Emit "synced" event when bitcoind is synced
- Added daemon IsSynced method
- Renamed GetProgress to SyncPercentage
- Improved logging when syncing is finished
2015-08-11 17:24:30 -04:00
Braydon Fuller 333ea5360e Merge pull request #112 from kleetus/git_version
Git versions
2015-08-07 13:42:05 -04:00
Chris Kleeschulte 83d6876376 Git versions
- using --branch with Git version < 2.x will not work
- doing things the "hard" way
2015-08-07 12:46:23 -04:00
Braydon Fuller 682f3999ec Fix bug with transaction message processing
- Copy the message so that the message can be later processed
- Connect at the front to be able to scan but not seek
- Emit event after process message and accept to mempool
- Include node buffer, hash and mempool status of the transaction in result
2015-08-07 11:05:04 -04:00
Braydon Fuller fdba8e86e4 Merge pull request #108 from kleetus/fedora
Fedora
2015-08-06 17:37:05 -04:00
Chris Kleeschulte 1a873d00fe Fixed shamus call to write patch file. 2015-08-06 17:18:22 -04:00
Chris Kleeschulte afa51fdabc Added Fedora to README and added a check for shasum. 2015-08-06 16:55:00 -04:00
Braydon Fuller 757c9d6524 Included command to package and sign releases. 2015-08-06 16:17:03 -04:00
Braydon Fuller 4a2dcddaa9 Remove binding dependency in get-tarball-name 2015-08-06 13:48:02 -04:00
Chris Kleeschulte b02b65d142 Added a default case for default to be false. 2015-08-06 12:32:11 -04:00
Chris Kleeschulte 8ef0b3b3d9 changed back to node-gyp clean. 2015-08-06 11:51:25 -04:00
Chris Kleeschulte 4735c58355 added removing of the cache from the clean script. 2015-08-06 11:43:58 -04:00
Chris Kleeschulte c94f493915 Fixed curl statement to check return HEADERS. 2015-08-06 11:28:17 -04:00
Chris Kleeschulte 19fdd54cdc Switched to curl when getting the tgz. 2015-08-06 11:01:36 -04:00
Braydon Fuller e4c42fa6cb Download and upload binary distribution. 2015-08-05 21:30:42 -04:00
Chris Kleeschulte d6d87e7964 Cache strategy changes
- Fixed wording in README
- changed caching directory again
- realigning include and lib directories
2015-08-05 16:29:54 -04:00
Chris Kleeschulte a62410da67 Spacing, RELEASE notes, clean up
- Removed main Makefile
- Fixed wording in README
- Altered build script
- Fixed clean script
2015-08-05 16:29:30 -04:00
Chris Kleeschulte 6fe8bc7702 - put variables.sh in bin/
- fixed wording and description in README.md
- make clean in libbitcoind for clean script
- changed references to variables.sh
2015-08-05 16:27:20 -04:00
Chris Kleeschulte da71c0ff2c Clean up
- Removed the platform directory
- renamed the platform/os.sh script to varaibles.sh
- realigned the calls to os.sh
- changed where the patch_ha.txt was being written to
- changed the name of the binary to bitcoind.node
2015-08-05 16:27:20 -04:00
Chris Kleeschulte 761243c724 Removed the need for the platform directory. Now, the binding can be cached in the build dir because it is one file that includes bitcoin core. 2015-08-05 16:27:20 -04:00