Skip to content

Wallet Settings

Eric Voskuil edited this page Mar 18, 2017 · 5 revisions

The following wallet settings are implemented in libbitcoin.

[wallet]
# The wallet import format (WIF) key version, defaults to 128 (use 239 for testnet).
wif_version = 128
# The hierarchical deterministic (HD) public key version, defaults to 76067358 (use 70617039 for testnet).
hd_public_version = 76067358
# The hierarchical deterministic (HD) private key version, defaults to 76066276 (use 70615956 for testnet).
hd_secret_version = 76066276
# The pay-to-public-key-hash address version, defaults to 0 (use 111 for testnet).
pay_to_public_key_hash_version = 0
# The pay-to-script-hash address version, defaults to 5 (use 196 for testnet).
pay_to_script_hash_version = 5
# The transaction version, defaults to 1.
transaction_version = 1

wif_version

Used when working with WIF encoded private keys. It sets the default value for the --version option of the ec-to-wif command.

hd_public_version

Used when working with HD public keys. It sets the default value for the --public_version option of the hd-public and hd-to-ec commands, and for the --version option of the hd-to-public command.

hd_secret_version

Used when working with HD private keys. It sets the default value for the --secret_version option of the hd-public and hd-to-ec commands, and for the --version option of the hd-new command.

pay_to_public_key_hash_version

Used when working with public key payment addresses. It sets the default value for the --version option of the following commands:

pay_to_script_hash_version

Used when working with script hash payment addresses. It sets the default value for the --version option of the script-to-address command and the --script_version option of the tx-encode command.

transaction_version

Used when working with transactions. It sets the default value for the --version option of the tx-encode command.

BX Menu

Clone this wiki locally