Commit Graph

26 Commits

Author SHA1 Message Date
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
Braydon Fuller 2e2bd70262 Bindings: Adjust patch to bitcoin for the 0.11.2 release 2015-11-13 11:35:47 -05:00
Braydon Fuller f0ec424161 Added bindings to be able to listen to tx leaving mempool. 2015-10-29 16:15:00 -04:00
Braydon Fuller 39e2f4ded5 Removed stray space in bitcoin patch. 2015-10-28 16:20:34 -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
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 cda499e059 Updated patch to support 0.11.1
- Please note the removal of leveldbwrapper patch code, this is no longer needed.
- Everything else is 100% the same.
2015-10-16 16:34:49 -04:00
Chris Kleeschulte dc390b9e9f Tx Notifier
- There is a new signal called TxToMemPool
- This signal will connect to the bindings slot, queueTx
- When a tx is accepted into the memory pool, the tx will be queued and the tx_notifier will be scheduled
2015-09-23 15:13:24 -04:00
Chris Kleeschulte a7444a92b9 Tx event firing
- The ProcessMessages signal was scheduling/connecting its slots slightly out of order for what we need
- First, the scan_messages needs to run and copy out the stream
- Second, Bitcoin's ProcessMessages needs to run in order to run AcceptToMemoryPool
- Third, scan_messages_after needs to run in order to signal our tx_monitor
- In order to make this happen, we need to pair ProcessMessages slot to the scan_messages slot and order that
- Then, AFTER those two complete, we can schedule scan_messages_after
2015-09-23 13:05:52 -04:00
Chris Kleeschulte f4a1f7b12a Removed signal handlers from bitcoind.
- when using bitcoin as a shared lib, there should not be any need for bitcoind to be handling its own signals.
2015-08-24 13:29:42 -04:00
Chris Kleeschulte 3777ab4250 Bitcore node in the user-agent (subversion)
- There is a comments section that can be used in the FormatSubVersion string for the user agent that is exchanged between peers
- The comments section allows arbitrary strings to be added per the client
- This is the most appropriate place to include the bitcore-node message
- A string similar to: "/Satoshi:0.11.0(bitcorenode)/" will be passed as a response to getpeerinfo or getnetworkinfo
2015-08-13 17:31:03 -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 19b96754d7 Fixed patch for anoint (we don't build dylib's anymore). 2015-08-05 16:27:20 -04:00
Chris Kleeschulte 9a18d37011 Updated the patch to compile the BDB static libs correctly. 2015-07-29 17:30:34 -04:00
Chris Kleeschulte 7efa84fa86 Generalized the static building of boost. 2015-07-29 17:30:34 -04:00
Chris Kleeschulte fab5ac4158 Upgrades whilst having the build directory
- when performing nom install (which calls build-libbitcoind), the diff from PATCH_VERSION is taken and compared to what's in etc/bitcoin.patch. If there are differences, then the user is asked if they would like to re-patch with what's in etc/bitcoin.patch or not. 
- using ASSUME_YES=true env variable will allow the patch to be replaced automatically without user intervention
- Answering anything but 'y' or 'Y' will leaving the user's libbitcoind alone.
2015-07-22 16:04:58 -04:00
Chris Kleeschulte 66af5935b7 Patch update for wallet inclusion under the test environment
- Added the patch to allow the building of the test environment for which the wallet is required
2015-07-21 13:07:23 -04:00
Chris Kleeschulte 5d9338d22a 1. Updated patch for v0.11.0
2. Updated bindings to cover the changes to bitcoin
3. Added some file matchers to gitignore for Qt Creator
4. Fixed platform lib path for Mac OS X
5. Removed unneeded methods in bindings (they will be re-added later
2015-07-13 16:34:29 -04:00
Chris Kleeschulte 36c9f44050 1. Changed build script libbitcoind to support debug builds as well as release builds
2. Added node binding.gyp build script
3. Adjust authors and removed unneeded npm modules
4. Removed unneeded polling of hook packets every 50ms in bitcoind.js
5. Removed hard-coded path to --prefix
2015-07-09 10:46:35 -04:00
Chris Kleeschulte 928cbb233e Paired down patch. 2015-07-07 11:41:14 -04:00
k e4b7f37805 cleaned up the project! 2015-07-02 14:59:14 -04:00
Chris Kleeschulte ab598e3523 Updated the patch for a better version of LDFLAGS. 2015-06-24 17:06:27 -04:00
Chris Kleeschulte 40d576ab68 Updated the patch to remove the wallet stuff. Now the patch can be applied and bitcoind -or- libbitcoind can be built be simply adding in --enable-daemonlib or not. 2015-06-15 18:37:44 -04:00
Chris Kleeschulte 9d74bf8787 updated patch 2015-06-08 19:55:25 -04:00
Christopher Jeffrey 87e1954e49 move patch to etc/. 2014-12-09 13:30:50 -08:00