Currently coinview does not account for spent coins in the mempool, This does not create problems because we have additional checks in right places which detect double spends, but technically coinview should help you detect double spent in the mempool as well. This way it will be compatible with chain.getCoinView. getSpentView will still return all outputs that are available in the mempool. (This could also return spentView from indexers if available, this method is used by `signrawtransaction`.) |
||
|---|---|---|
| .circleci | ||
| bench | ||
| bin | ||
| browser | ||
| docs | ||
| etc | ||
| lib | ||
| migrate | ||
| scripts | ||
| snap | ||
| test | ||
| .babelrc | ||
| .editorconfig | ||
| .eslintfiles | ||
| .eslintrc.json | ||
| .gitignore | ||
| .npmignore | ||
| CHANGELOG.md | ||
| jsdoc.json | ||
| LICENSE | ||
| Makefile | ||
| package.json | ||
| README.md | ||
| webpack.app.js | ||
| webpack.browser.js | ||
| webpack.compat.js | ||
Bcoin
NOTE: The latest release of bcoin contains a non-backward compatible change to the rest API. Please read the changelog's "migrating" section for more details.
Bcoin is an alternative implementation of the bitcoin protocol, written in node.js.
Bcoin is well tested and aware of all known consensus rules. It is currently used in production as the consensus backend and wallet system for purse.io.
Uses
- Full Node
- SPV Node
- Wallet Backend (bip44 derivation)
- Mining Backend (getblocktemplate support)
- Layer 2 Backend (lightning)
- General Purpose Bitcoin Library
Try it in the browser: http://bcoin.io/browser.html
Install
$ git clone git://github.com/bcoin-org/bcoin.git
$ cd bcoin
$ npm install
$ ./bin/bcoin
See the Beginner's Guide for more in-depth installation instructions.
Documentation
- API Docs: http://bcoin.io/docs/
- REST Docs: http://bcoin.io/api-docs/index.html
- Docs: docs/
Support
Join us on freenode in the #bcoin channel.
Disclaimer
Bcoin does not guarantee you against theft or lost funds due to bugs, mishaps, or your own incompetence. You and you alone are responsible for securing your money.
Contribution and License Agreement
If you contribute code to this project, you are implicitly allowing your code
to be distributed under the MIT license. You are also implicitly verifying that
all code is your original work. </legalese>
License
- Copyright (c) 2014-2015, Fedor Indutny (MIT License).
- Copyright (c) 2014-2017, Christopher Jeffrey (MIT License).
See LICENSE for more info.