Commit Graph

1250 Commits

Author SHA1 Message Date
Braydon Fuller b387b34861 Merge pull request #321 from kleetus/feature/update_patch_0.11.1
Updated patch to support 0.11.1
2015-10-16 17:44:09 -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
Braydon Fuller 02dbe72128 Merge pull request #318 from kleetus/feature/dependencies_binaries
Added binaries for all dependencies
2015-10-16 14:55:21 -04:00
Braydon Fuller 439f863992 Merge pull request #319 from kleetus/feature/use_bitcoins_openssl
Statically linking libcrypto and libssl from bitcoin instead of using…
2015-10-16 14:49:57 -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 937f01fade Pre-compiled Dependencies
- Since we can't use npm shrinkwrap and the websockets dev won't provide binaries of bufferutil and utf-8-validate (I have PR's to provide this), we must resort to forking, socket.io, socket.io-client, engine.io, engine.io-client, ws, bufferutil, utf-8-validate and pointing all those projects to our forks.
2015-10-16 13:20:30 -04:00
Braydon Fuller 8784a289b6 Merge pull request #303 from kleetus/bug/install_script
Making Building From Source Easier
2015-10-16 13:07:41 -04:00
Chris Kleeschulte b69faa9bc7 Merge pull request #317 from unusualbob/feature/serviceDocumentation
Fix typos and add detailed documentation to services.md
2015-10-16 12:13:05 -04:00
Rob Riddle 06bed6b552 Make sure doc examples use hex encoding on buffers 2015-10-16 18:47:46 +03:00
Rob Riddle 734a3554d5 Fix wording as recommended by Chris.
Added additional documentation about indexes.
2015-10-16 12:29:16 +03:00
Chris Kleeschulte 8d5efc0d41 Added Shrinkwrap file
- This is the easiest, most straight-forward way to force our
  dependency chains to use our bitpay version of bufferutil and
utf-8-validate
- We need to use the bitpay version until I can get those module to
  support binary builds
2015-10-15 14:56:59 -04:00
Rob Riddle 46578659a8 Fix typos and add detailed documentation to services.md with examples for programatic use of services as well as using indexes within services. 2015-10-15 21:21:58 +03:00
Braydon Fuller 77c10b3a09 Merge pull request #312 from pnagurny/bug/sendTransaction
don't crash when sendTransaction is called with bad data
2015-10-14 11:11:47 -04:00
Patrick Nagurny 236d44441e don't crash when sendTransaction is called with bad data 2015-10-14 10:50:50 -04:00
Chris Kleeschulte 2fe83ac5a3 Bump development version to v0.2.0-dev 2015-10-13 15:54:15 -04:00
Chris Kleeschulte 2caadd1955 Bump package version to v0.2.0-beta.11 2015-10-13 15:37:49 -04:00
Patrick Nagurny 4885ce949c Merge pull request #307 from braydonf/bug/outputIndex
Fix bug where the outputIndex would be removed.
2015-10-13 11:23:29 -04:00
Braydon Fuller 2e3d58c07a Fix bug where the outputIndex would be removed.
The address history `combineTransactionInfo` method removes the
outputIndex when creating the outputIndexes property. When these are
from the mempool the original reference is also modified.

We can easily solve this by returning new instances in `getOutputs`
and `getInputs` instead of a reference to the actual mempool instance.

This will also have the additional benefit that height and other
properties that will be the same for every mempool entry will
not be stored in memory longer than what is necessary to fulfill
a request.
2015-10-12 18:35:37 -04:00
Patrick Nagurny 93436429f1 Merge pull request #305 from braydonf/bug/balance
Fixed bug with balance
2015-10-12 13:50:56 -04:00
Braydon Fuller d9b2a0969b Fixed bug with balance
There was a bug when getting unspent outputs that would include an output
that was spent in the mempool in addition to the new output with the change
address. This lead to a balance having an output counted twice towards the
end balance. The solution is to have the isSpent method for the address service
to also include if the output was spent in the mempool, as the isSpent
method exposed from bitcoind only includes if the output was spent in a block.
2015-10-12 09:29:49 -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 83d3fd9914 Merge pull request #300 from braydonf/fix/web
Expose Web Service in index.js
2015-10-09 13:13:24 -04:00
Chris Kleeschulte abc2b3ac26 Merge pull request #301 from braydonf/fix/txevents
Fix documentation referencing the "transaction" event.
2015-10-09 13:13:05 -04:00
Braydon Fuller dc12ea86f9 Fix documentation referencing the "transaction" event. 2015-10-09 10:40:59 -04:00
Braydon Fuller 427d540158 Expose Web Service in index.js 2015-10-09 09:55:08 -04:00
Chris Kleeschulte 3f1e24abc4 Bump development version to v0.2.0-dev 2015-10-07 14:30:08 -04:00
Chris Kleeschulte 2efb4b68bc Bump package version to v0.2.0-beta.10 2015-10-07 14:04:23 -04:00
Braydon Fuller 79d66f5ab2 Merge pull request #280 from pnagurny/feature/balance-event-mempool
Emit address/balance events for mempool transactions
2015-10-02 18:16:01 -04:00
Patrick Nagurny 3e38d84d0b emit address/balance events for mempool transactions 2015-10-02 17:10:12 -04:00
Patrick Nagurny 54eae61f1d Merge pull request #277 from braydonf/cs-isspent
Added critical section lock in isSpent
2015-10-02 14:31:39 -04:00
Braydon Fuller 7070d4c74d Added critical section lock in isSpent 2015-10-02 14:09:29 -04:00
Braydon Fuller 76d466b29b Merge pull request #276 from pnagurny/feature/bitcoind-wait
Wait for bitcoind to catch up if tip is not found
2015-10-02 13:45:58 -04:00
Patrick Nagurny 9acb896f10 Wait for bitcoind to catch up if tip is not found 2015-10-02 13:35:42 -04:00
Patrick Nagurny 56f375a3b7 Merge pull request #274 from braydonf/spenttx
Add spentTxId Index
2015-10-02 10:57:55 -04:00
Braydon Fuller da9d856da3 Add comments to describe each prefix. 2015-10-02 10:56:28 -04:00
Braydon Fuller 27e90ef41a Give false if spent information not available. 2015-10-01 23:50:06 -04:00
Braydon Fuller 539b263c67 Add spentTxId Index
- To be able to query an inputTxId and inputIndex that spends an outputTxId and outputIndex
- Extends the mempoolSpentIndex to include the inputTxId and inputIndex
2015-10-01 20:03:31 -04:00
Patrick Nagurny caefe5dbd1 Merge pull request #265 from braydonf/doc-update
Updates to documentation for bitcore.io website.
2015-10-01 12:26:09 -04:00
Chris Kleeschulte ba3941613d Merge pull request #269 from braydonf/docs/reqs
Add prerequisites to readme.
2015-10-01 10:12:15 -04:00
Chris Kleeschulte 3d6efa15a6 Merge pull request #270 from braydonf/bug/block-index
Fix bug with getting a block index with unknown height.
2015-10-01 10:11:45 -04:00
Braydon Fuller 1490b17f9a Fix bug with getting a block index with unknown height. 2015-10-01 00:21:14 -04:00
Braydon Fuller efd3641f3f Add prerequisites 2015-09-30 17:32:08 -04:00
Braydon Fuller fce7964dce Add prerequisites to readme. 2015-09-30 16:41:46 -04:00
Chris Kleeschulte 2df0bb63b0 Bump development version to v0.2.0-dev 2015-09-30 13:27:35 -04:00
Chris Kleeschulte 461fdcae5d Bump package version to v0.2.0-beta.9 2015-09-30 12:56:02 -04:00
Braydon Fuller ae722a7acd Merge pull request #267 from pnagurny/refactor/metadata-tip
Save tip as part of block db operations
2015-09-29 17:18:04 -04:00
Patrick Nagurny 26b27b292e update tests 2015-09-29 16:03:56 -04:00
Braydon Fuller b0f905dfe4 Include docs/index.md for getting started for bitcore.io 2015-09-29 15:24:08 -04:00
Patrick Nagurny 3fa1340ef3 save tip as part of block db operations 2015-09-29 15:20:05 -04:00
Braydon Fuller f337622790 Updates to documentation for bitcore.io website. 2015-09-29 14:15:49 -04:00