cookbook 'bitcoin', '= 1.6.0'
bitcoin (11) Versions 1.6.0 Follow1
Installs and configures Bitcoin Core
cookbook 'bitcoin', '= 1.6.0', :supermarket
knife supermarket install bitcoin
knife supermarket download bitcoin
Bitcoin Cookbook
This cookbook downloads, installs and configures Bitcoin as a full node.
Requirements
network
In order to actively contribute to the Bitcoin network, you will need to open your TCP port 8333.
This cookbook does not make sure your port 8333 is open since this is very much dependant on your networking setup.
Usage
Comparison table
recipe: | package | binary | source | git |
---|---|---|---|---|
support most distributions | only RHEL & CentOS | yes | yes | yes |
support ARM and other architectures | only x86_64 | only x86_64 | yes | probably (not tested) |
variants available | Core & XT | Core, Unlimited & ABC | Core, Unlimited & ABC | btcd |
proper packaging | yes | no | no | no |
SELinux support | yes | no | no | no |
The matrix of available configurations can be found there.
bitcoin::package
recipe
Configures repository from http://www.ringingliberty.com/bitcoin/ and installs pre-packaged binary with bitcoin
systemd service.
You can run a Bitcoin fork/variant like this:
"bitcoin": {
"variant": "unlimited"
}
The valid variants are core
, unlimited
, abc
, xt
and btcd
.
bitcoin::binary
recipe
Downloads the binary and copies it along with an systemd service script.
bitcoin::source
recipe
Downloads the release from GitHub and compiles it along with an systemd service script.
Caution: you'll need at least 1 GB of free RAM to compile it (setting make_options
to -j1
can help too).
bitcoin::git
recipe
Downloads the latest commit from GitHub and compiles it along with an systemd service script.
Caution: this will fetch the HEAD
revision and might break without warnings.
License
MIT
Dependent cookbooks
golang >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Bitcoin CHANGELOG
v1.6.0
- Add btcd.
- Drop discontinued Bitcoin Classic.
- Update Bitcoin versions and dependencies.
v1.5.0
- Add Bitcoin ABC.
- Add support for FreeBSD.
- Update Bitcoin versions and dependencies.
v1.4.0
- Update Bitcoin versions and dependencies.
v1.3.0
- Add ability to run a Bitcoin fork/variant.
v1.2.0
- Add recipe to compile Bitcoin from source - thanks @facastagnini!
- Improve init.d script.
- Update Bitcoin release for binary recipe.
v1.1.0
- Add recipe to install RPM package.
v1.0.1
- Code formatting and various tweaks. No functional changes.
v1.0.0
- Initial release.
Collaborator Number Metric
1.6.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.6.0 passed this metric
Foodcritic Metric
1.6.0 passed this metric
No Binaries Metric
1.6.0 passed this metric
Testing File Metric
1.6.0 passed this metric
Version Tag Metric
1.6.0 passed this metric
1.6.0 failed this metric
1.6.0 passed this metric
Foodcritic Metric
1.6.0 passed this metric
No Binaries Metric
1.6.0 passed this metric
Testing File Metric
1.6.0 passed this metric
Version Tag Metric
1.6.0 passed this metric
1.6.0 passed this metric
1.6.0 passed this metric
Testing File Metric
1.6.0 passed this metric
Version Tag Metric
1.6.0 passed this metric
1.6.0 passed this metric
1.6.0 passed this metric