cookbook 'bitcoin', '= 1.3.0'
bitcoin (11) Versions 1.3.0 Follow1
Installs and configures Bitcoin Core
cookbook 'bitcoin', '= 1.3.0', :supermarket
knife supermarket install bitcoin
knife supermarket download bitcoin
Bitcoin Cookbook
This cookbook downloads, installs and configures Bitcoin Core 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
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": {
"package": {
"variant": "classic"
}
}
The valid variants are core
(default), classic
and xt
.
bitcoin::binary
recipe
Downloads the official binary from https://bitcoin.org/ and copies it along with an init.d service script.
bitcoin::source
recipe
Downloads the official release from https://github.com/bitcoin/bitcoin/releases and compiles it along with an init.d service script.
Comparison table
package | binary | source | |
---|---|---|---|
proper packaging | yes | no | no |
SELinux support | yes | no | no |
forks available | yes | no¹ | no¹ |
support most distributions | only RHEL, CentOS & Fedora | yes | yes |
support ARM and other architectures | only x86_64 | only x86_64 | yes |
"official" | no | yes | yes |
¹ No but possible, pull request welcomed.
License
MIT
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Bitcoin CHANGELOG
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.
Foodcritic Metric
1.3.0 passed this metric
1.3.0 passed this metric