Javascript bitcoin library for node.js and browsers
Go to file
Orfeas Stefanos Thyfronitis Litos 8f3de71719
Handle broadcast() errors in sendTX()
Replace this.pool.broadcast(tx) with this.broadcast(tx) in case of a
selfish node because the latter handles broadcast errors, whereas the
former does not.
2018-03-29 22:11:50 -07:00
bench db: drop old migrations. avoid using encoding. 2018-03-29 21:56:51 -07:00
bin bin: drop bin/cli. 2018-03-29 21:56:53 -07:00
browser browser: fix error display. 2018-03-29 21:56:52 -07:00
docs utils: remove dependence on co. 2018-03-29 21:56:47 -07:00
etc node/browser: fix browser build. 2017-07-17 14:26:39 -07:00
lib Handle broadcast() errors in sendTX() 2018-03-29 22:11:50 -07:00
migrate pkg: update deps. 2018-03-29 21:56:53 -07:00
scripts db: drop old migrations. avoid using encoding. 2018-03-29 21:56:51 -07:00
snap
test wdb: fix hasAccount 2018-03-29 22:07:11 -07:00
.babelrc browser: fix error display. 2018-03-29 21:56:52 -07:00
.editorconfig
.eslintfiles pkg: update deps. 2017-08-16 15:32:56 -07:00
.eslintrc.json eslintrc: indent is making eslint crash. 2017-08-17 10:03:36 -07:00
.gitignore gitignore/npmignore: ignore package-lock for now. 2017-08-06 13:47:15 -07:00
.npmignore gitignore/npmignore: ignore package-lock for now. 2017-08-06 13:47:15 -07:00
CHANGELOG.md CHANGELOG: Update configuraiton changes to include CLI/ENV differences from wallet.conf 2018-03-29 22:06:38 -07:00
jsdoc.json Move docs from wiki 2017-07-21 00:40:02 +04:00
LICENSE
Makefile build: improve no-compat webpack build. 2018-03-29 21:56:52 -07:00
package.json pkg: update deps. fix utils index. 2018-03-29 21:56:53 -07:00
README.md pkg: start getting changelog ready. 2018-03-29 21:56:52 -07:00
webpack.app.js browser: improve webpack build. 2018-03-29 21:56:51 -07:00
webpack.browser.js browser: improve webpack build. 2018-03-29 21:56:51 -07:00
webpack.compat.js build: improve no-compat webpack build. 2018-03-29 21:56:52 -07:00

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

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.