https://github.com/nbobtc/bitcoind-cookbook
Use chef to create bitcoin nodes
https://github.com/nbobtc/bitcoind-cookbook
Last synced: 10 months ago
JSON representation
Use chef to create bitcoin nodes
- Host: GitHub
- URL: https://github.com/nbobtc/bitcoind-cookbook
- Owner: nbobtc
- License: other
- Created: 2014-12-11T01:17:59.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-19T14:17:08.000Z (about 11 years ago)
- Last Synced: 2025-04-12T20:58:22.682Z (10 months ago)
- Language: Ruby
- Homepage: https://supermarket.chef.io/cookbooks/bitcoind
- Size: 188 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# bitcoind-cookbook
This cookbook will install a [Bitcoin](https://bitcoin.org) node. You can also
enable or disable the wallet ability. By disabling the wallet you will have
a seed node that can be used to connect to.
This is a cookbook that I use to setup seed nodes and other services that
require a bitcoin node.
## Supported Platforms
- ubuntu 14.04
## Attributes
Key
Type
Description
Default
['bitcoind']['install_via']
enum
`package` or `source` I recommend you use `package`.
package
['bitcoind']['bin']
string
Location of executable
/usr/bin/bitcoind
['bitcoind']['user']
string
bitcoin
['bitcoind']['group']
string
bitcoin
['bitcoind']['piddir']
string
/var/run/bitcoind
['bitcoind']['pidfile']
string
/var/run/bitcoind/bitcoind.pid
['bitcoind']['datadir']
string
/var/lib/bitcoind
['bitcoind']['wallet']['enabled']
boolean
true
['bitcoind']['config']['file']
string
/etc/bitcoin/bitcoin.conf
['bitcoind']['config']['options']
hash
Configures the options that are put into the bitcoin.conf file.
{}
## Usage
Create a testnet node:
```json
{
"bitcoind": {
"config": {
"options": {
"testnet": 1,
"rpcuser": "insecure_username",
"rpcpassword": "please_rob_me",
"rpcallowip": ["127.0.0.1", "192.168.1.1"],
"rpcport": 18332
}
}
}
}
```
You can see various options that can go into the configuration file at
https://en.bitcoin.it/wiki/Running_Bitcoin#Sample_Bitcoin.conf
### bitcoind::default
Include `bitcoind` in your node's `run_list`:
```json
{
"run_list": [
"recipe[bitcoind]"
]
}
```
## License and Authors
Author:: Joshua Estes ()