Difference between revisions of "Bitcoin.conf"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | * AWS ref file: https://github.com/aws-solutions-library-samples/guidance-for-digital-assets-on-aws/blob/main/node/copilot/bitcoin-node/bitcoin.conf | |
− | + | * [[default bitcoin.conf]] | |
+ | == Values == | ||
assumevalid= # If this block is in the chain assume that it and its ancestors are valid ... | assumevalid= # If this block is in the chain assume that it and its ancestors are valid ... | ||
− | server=1 # Accept command line and [[JSON-RPC]] commands | + | [[server=]]1 # Accept command line and [[JSON-RPC]] commands |
txindex=1 # Maintain a [[full transaction index]], used by the [[getrawtransaction]] rpc call (default: 0) | txindex=1 # Maintain a [[full transaction index]], used by the [[getrawtransaction]] rpc call (default: 0) | ||
dbcache=8192 # Maximum database cache size <n> MiB (4 to 16384, default: 450). In addition, unused mempool memory is shared for this cache (see -maxmempool). | dbcache=8192 # Maximum database cache size <n> MiB (4 to 16384, default: 450). In addition, unused mempool memory is shared for this cache (see -maxmempool). | ||
Line 18: | Line 19: | ||
[[rpcbind]]=0.0.0.0:[[8332]] | [[rpcbind]]=0.0.0.0:[[8332]] | ||
rpcallowip=0.0.0.0/0 | rpcallowip=0.0.0.0/0 | ||
− | listen=0 # Accept connections from outside (default: 1 if no -proxy or -connect) | + | [[listen=]]0 # Accept connections from outside (default: 1 if no -proxy or -connect) |
maxmempool=100 # Keep the [[transaction memory pool]] below <n> megabytes (default: 300) | maxmempool=100 # Keep the [[transaction memory pool]] below <n> megabytes (default: 300) | ||
nopeerbloomfilters=1 | nopeerbloomfilters=1 | ||
Line 27: | Line 28: | ||
zmqpubhashtx=tcp://0.0.0.0:28332 | zmqpubhashtx=tcp://0.0.0.0:28332 | ||
− | + | == Additional options == | |
− | |||
[[rest=]]1 | [[rest=]]1 | ||
[[chain=]] | [[chain=]] | ||
== See also == | == See also == | ||
+ | * {{bitcoin.conf}} | ||
* {{bitcoind}} | * {{bitcoind}} | ||
* {{Bitcoin Core}} | * {{Bitcoin Core}} | ||
[[Category:Bitcoin]] | [[Category:Bitcoin]] |
Latest revision as of 20:06, 29 May 2023
- AWS ref file: https://github.com/aws-solutions-library-samples/guidance-for-digital-assets-on-aws/blob/main/node/copilot/bitcoin-node/bitcoin.conf
- default bitcoin.conf
Values[edit]
assumevalid= # If this block is in the chain assume that it and its ancestors are valid ... server=1 # Accept command line and JSON-RPC commands txindex=1 # Maintain a full transaction index, used by the getrawtransaction rpc call (default: 0) dbcache=8192 # Maximum database cache size <n> MiB (4 to 16384, default: 450). In addition, unused mempool memory is shared for this cache (see -maxmempool). par=1 # Set the number of script verification threads (-10 to 15, 0 = auto, <0 =leave that many cores free, default: 0) permitbaremultisig=0 # Relay non-P2SH multisig (default: 1) blocksonly=1 # Whether to reject transactions from network peers .../... maxconnections=40 # Maintain at most <n> connections to peers (default: 125) .../... maxuploadtarget=5000 # Tries to keep outbound traffic under the given target per 24h .../... nodebuglogfile=1 # Specify location of debug log file .../... debug=mempool debug=rpc disablewallet=0 # Do not load the wallet and disable wallet RPC calls rpcbind=0.0.0.0:8332 rpcallowip=0.0.0.0/0 listen=0 # Accept connections from outside (default: 1 if no -proxy or -connect) maxmempool=100 # Keep the transaction memory pool below <n> megabytes (default: 300) nopeerbloomfilters=1 peerbloomfilters=0 # Support filtering of blocks and transaction with bloom filters (default: 0) zmqpubrawblock=tcp://0.0.0.0:28332 zmqpubrawtx=tcp://0.0.0.0:28332 zmqpubhashblock=tcp://0.0.0.0:28332 zmqpubhashtx=tcp://0.0.0.0:28332
Additional options[edit]
rest=1 chain=
See also[edit]
bitcoin.conf
bitcoind, .bitcoin/, bitcoin.conf, Dockerfile, Bitcoind ports( 8332 18332 18443 8333 18333 18444 ), -chain, -datadir, -server, --help
, Bitcoind logs, Bitcoind changelog- Bitcoin Core:
bitcoind, bitcoin-cli, bitcoin.conf
Bitcoind ports
Advertising: