cookbook 'bitcoin', '= 1.4.0'
bitcoin (11) Versions 1.4.0 Follow1
Installs and configures Bitcoin Core
cookbook 'bitcoin', '= 1.4.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
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.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.4.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.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.4.0 failed this metric
FC066: Ensure chef_version is set in metadata: bitcoin/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.4.0 passed this metric
No Binaries Metric
1.4.0 passed this metric
Testing File Metric
1.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.4.0 passed this metric
1.4.0 failed this metric
1.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.4.0 failed this metric
FC066: Ensure chef_version is set in metadata: bitcoin/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.4.0 passed this metric
No Binaries Metric
1.4.0 passed this metric
Testing File Metric
1.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.4.0 passed this metric
1.4.0 failed this metric
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.4.0 passed this metric
No Binaries Metric
1.4.0 passed this metric
Testing File Metric
1.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.4.0 passed this metric
1.4.0 passed this metric
1.4.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.4.0 passed this metric
1.4.0 passed this metric