Bitcoin

Definition(s) is maintained by the Chainfile maintainers.

mainnet.json

Params

These params have reasonable defaults or are randomly generated for secured fields which will determine how the Chainfile is run. You may override these params to customize the Chainfile for your specific needs.

rpc_user

Username for Basic HTTP authentication to the RPC server.

Random: randomBytes(16).toString(hex)

rpc_password

Password for Basic HTTP authentication to the RPC server.

Random: randomBytes(16).toString(hex)

Containers

bitcoind

endpoint: p2p
  • Port: 8333
endpoint: rpc
  • Port: 8332
  • Protocol: HTTP JSON-RPC 2.0
  • Probes: readiness
  • Authorization: required

regtest.json

Params

These params have reasonable defaults or are randomly generated for secured fields which will determine how the Chainfile is run. You may override these params to customize the Chainfile for your specific needs.

rpc_user

Username for Basic HTTP authentication to the RPC server.

Default: user

rpc_password

Password for Basic HTTP authentication to the RPC server.

Default: pass

Containers

bitcoind

endpoint: p2p
  • Port: 18445
endpoint: rpc
  • Port: 8332
  • Protocol: HTTP JSON-RPC 2.0
  • Probes: readiness
  • Authorization: required