bcoin-org / bcoin-extension-blocks Goto Github PK
View Code? Open in Web Editor NEWBcoin + extension blocks soft fork (BIP141 ruleset)
License: Other
Bcoin + extension blocks soft fork (BIP141 ruleset)
License: Other
I've set up an early testnet for extension blocks (extnet) running on bcoin.
Parameters and genesis block reside in: https://github.com/bcoin-org/bcoin-extension-blocks/blob/extblk/lib/protocol/networks.js#L782
This is still an early iteration of the extension block ruleset. Some of the rules implemented only reside in issues/prs as of right now. They will likely be changed in the near future (i.e. extnet2).
Note: Please attempt to break the testnet. That's what it is meant for.
$ git clone git://github.com/bcoin-org/bcoin-extension-blocks.git
$ cd bcoin-extension-blocks
$ git checkout extblk
$ npm install
$ export BCOIN_NETWORK=extnet
$ ./bin/bcoin
Note: ensure you have the required dependencies listed on the bcoin wiki.
See the wiki for more info.
The CPU miner is always available via the RPC:
$ ./bin/bcoin rpc generatetoaddress 1 [addr]
Stratum mining is available via bcoin-stratum. Make sure it is installed in a reachable node_modules directory and run bcoin with:
$ mkdir -p ~/.bcoin/extnet/stratum/shares # temporary fix for an issue
$ ./bin/bcoin -n extnet --plugins bcoin-stratum --coinbase-address [address]
Note: if a stratum server respects GBT's default_witness_commitment
property without creating a commitment themselves, it should be possible to get extblk mining working with existing mining clients without any changes.
$ ./bin/bcoin wallet account create foo --witness
# Should return JSON containing your extblk receive addr.
# If you need to see it again, run:
# $ ./bin/bcoin wallet account get foo
$ ./bin/bcoin wallet history
$ ./bin/bcoin wallet history --account=foo
$ ./bin/bcoin wallet send [address] [value] --account=foo
$ ./bin/bcoin rpc getblockbyheight [number] true true
Please join #bcoin and/or #extblk-dev on freenode to voice any issues you may encounter.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.