v31.1-roots.1 · Commit 8: [PATCH 08/17] chore(roots): integrate v31 identity and maintenance tooling
share/examples/bitcoin.conf
Before: share/examples/bitcoin.conf · After: share/examples/bitcoin.conf
File metadata
index 6a128dbecdac833e98039084c589d639c01daade..69cad04658c3f2793ca7636867462c5a826d5b81 100644
Download original patch · Release notes
Diff rows 1–228 of 228. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
share/examples/bitcoin.conf
CHANGED
|
@@ -42,9 +42,13 @@
|
|
| 42 |
#blocknotify=<cmd>
|
| 43 |
|
| 44 |
# Extra transactions to keep in memory for compact block reconstructions
|
| 45 |
-
# (default: 100)
|
| 46 |
#blockreconstructionextratxn=<n>
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
# Specify directory to hold blocks subdirectory for *.dat files (default:
|
| 49 |
# <datadir>)
|
| 50 |
#blocksdir=<dir>
|
|
@@ -68,6 +72,11 @@
|
|
| 68 |
# configuration file) (default: bitcoin.conf)
|
| 69 |
#conf=<file>
|
| 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
# Run in the background as a daemon and accept commands (default: 0)
|
| 72 |
#daemon=1
|
| 73 |
|
|
@@ -326,20 +335,27 @@
|
|
| 326 |
# Tor control port password (default: empty)
|
| 327 |
#torpassword=<pass>
|
| 328 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 329 |
# Support v2 transport (default: 1)
|
| 330 |
#v2transport=1
|
| 331 |
|
| 332 |
# Bind to the given address and add permission flags to the peers
|
| 333 |
# connecting to it. Use [host]:port notation for IPv6. Allowed
|
| 334 |
# permissions: bloomfilter (allow requesting BIP37 filtered blocks
|
| 335 |
-
# and transactions), noban (do not ban for misbehavior; implies
|
|
|
|
| 336 |
# download), forcerelay (relay transactions that are already in the
|
| 337 |
# mempool; implies relay), relay (relay even in -blocksonly mode,
|
| 338 |
# and unlimited transaction announcements), mempool (allow
|
| 339 |
# requesting BIP35 mempool contents), download (allow getheaders
|
| 340 |
# during IBD, no disconnect after maxuploadtarget limit), addr
|
| 341 |
# (responses to GETADDR avoid hitting the cache and contain random
|
| 342 |
-
# records with the most up-to-date info). Specify multiple
|
|
|
|
|
|
|
| 343 |
# permissions separated by commas (default:
|
| 344 |
# download,noban,mempool,relay). Can be specified multiple times.
|
| 345 |
#whitebind=<[permissions@]addr>
|
|
@@ -448,42 +464,6 @@
|
|
| 448 |
#walletrbf=1
|
| 449 |
|
| 450 |
|
| 451 |
-
### ZeroMQ notification options
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
# Enable publish hash block in <address>
|
| 455 |
-
#zmqpubhashblock=<address>
|
| 456 |
-
|
| 457 |
-
# Set publish hash block outbound message high water mark (default: 1000)
|
| 458 |
-
#zmqpubhashblockhwm=<n>
|
| 459 |
-
|
| 460 |
-
# Enable publish hash transaction in <address>
|
| 461 |
-
#zmqpubhashtx=<address>
|
| 462 |
-
|
| 463 |
-
# Set publish hash transaction outbound message high water mark (default:
|
| 464 |
-
# 1000)
|
| 465 |
-
#zmqpubhashtxhwm=<n>
|
| 466 |
-
|
| 467 |
-
# Enable publish raw block in <address>
|
| 468 |
-
#zmqpubrawblock=<address>
|
| 469 |
-
|
| 470 |
-
# Set publish raw block outbound message high water mark (default: 1000)
|
| 471 |
-
#zmqpubrawblockhwm=<n>
|
| 472 |
-
|
| 473 |
-
# Enable publish raw transaction in <address>
|
| 474 |
-
#zmqpubrawtx=<address>
|
| 475 |
-
|
| 476 |
-
# Set publish raw transaction outbound message high water mark (default:
|
| 477 |
-
# 1000)
|
| 478 |
-
#zmqpubrawtxhwm=<n>
|
| 479 |
-
|
| 480 |
-
# Enable publish hash block and tx sequence in <address>
|
| 481 |
-
#zmqpubsequence=<address>
|
| 482 |
-
|
| 483 |
-
# Set publish hash sequence message high water mark (default: 1000)
|
| 484 |
-
#zmqpubsequencehwm=<n>
|
| 485 |
-
|
| 486 |
-
|
| 487 |
### Debugging/Testing options
|
| 488 |
|
| 489 |
|
|
@@ -571,31 +551,120 @@
|
|
| 571 |
### Node relay options
|
| 572 |
|
| 573 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 574 |
# Equivalent bytes per sigop in transactions for relay and mining
|
| 575 |
# (default: 20)
|
| 576 |
#bytespersigop=1
|
| 577 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 578 |
# Relay and mine data carrier transactions (default: 1)
|
| 579 |
#datacarrier=1
|
| 580 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 581 |
# Relay and mine transactions whose data-carrying raw scriptPubKeys in
|
| 582 |
-
# aggregate are of this size or less, allowing multiple outputs
|
| 583 |
-
# (default: 100000)
|
| 584 |
#datacarriersize=1
|
| 585 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 586 |
# Fees (in BTC/kvB) smaller than this are considered zero fee for
|
| 587 |
-
# relaying, mining and transaction creation (default: 0.000001)
|
| 588 |
#minrelaytxfee=<amt>
|
| 589 |
|
| 590 |
-
# Relay transactions creating non-P2SH multisig outputs (default: 1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 591 |
#permitbaremultisig=1
|
| 592 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 593 |
# Broadcast transactions submitted via sendrawtransaction RPC using
|
| 594 |
# short-lived connections through the Tor or I2P networks, without
|
| 595 |
# putting them in the mempool first. Transactions submitted through
|
| 596 |
# the wallet are not affected by this option (default: 0)
|
| 597 |
#privatebroadcast=1
|
| 598 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 599 |
# Add 'forcerelay' permission to whitelisted peers with default
|
| 600 |
# permissions. This will relay transactions even if the
|
| 601 |
# transactions were already in the mempool. (default: 0)
|
|
@@ -611,7 +680,7 @@
|
|
| 611 |
|
| 612 |
|
| 613 |
# Set lowest fee rate (in BTC/kvB) for transactions to be included in
|
| 614 |
-
# block creation. (default: 0.00000001)
|
| 615 |
#blockmintxfee=<amt>
|
| 616 |
|
| 617 |
# Reserve space for the fixed-size block header plus the largest coinbase
|
|
|
|
| 42 |
#blocknotify=<cmd>
|
| 43 |
|
| 44 |
# Extra transactions to keep in memory for compact block reconstructions
|
| 45 |
+
# (default: 32768)
|
| 46 |
#blockreconstructionextratxn=<n>
|
| 47 |
|
| 48 |
+
# Upper limit of memory usage (in decimal megabytes) for compact block
|
| 49 |
+
# extra transactions (default: 10)
|
| 50 |
+
#blockreconstructionextratxnsize=<n>
|
| 51 |
+
|
| 52 |
# Specify directory to hold blocks subdirectory for *.dat files (default:
|
| 53 |
# <datadir>)
|
| 54 |
#blocksdir=<dir>
|
|
|
|
| 72 |
# configuration file) (default: bitcoin.conf)
|
| 73 |
#conf=<file>
|
| 74 |
|
| 75 |
+
# Specify read/write configuration file. Relative paths will be prefixed
|
| 76 |
+
# by the network-specific datadir location (default:
|
| 77 |
+
# bitcoin_rw.conf)
|
| 78 |
+
#confrw=<file>
|
| 79 |
+
|
| 80 |
# Run in the background as a daemon and accept commands (default: 0)
|
| 81 |
#daemon=1
|
| 82 |
|
|
|
|
| 335 |
# Tor control port password (default: empty)
|
| 336 |
#torpassword=<pass>
|
| 337 |
|
| 338 |
+
# Disable outbound v1 connections and v1 fallback on IPv4/IPv6 (default:
|
| 339 |
+
# 0)
|
| 340 |
+
#v2onlyclearnet=1
|
| 341 |
+
|
| 342 |
# Support v2 transport (default: 1)
|
| 343 |
#v2transport=1
|
| 344 |
|
| 345 |
# Bind to the given address and add permission flags to the peers
|
| 346 |
# connecting to it. Use [host]:port notation for IPv6. Allowed
|
| 347 |
# permissions: bloomfilter (allow requesting BIP37 filtered blocks
|
| 348 |
+
# and transactions), blockfilters (serve compact block filters to
|
| 349 |
+
# peers per BIP157), noban (do not ban for misbehavior; implies
|
| 350 |
# download), forcerelay (relay transactions that are already in the
|
| 351 |
# mempool; implies relay), relay (relay even in -blocksonly mode,
|
| 352 |
# and unlimited transaction announcements), mempool (allow
|
| 353 |
# requesting BIP35 mempool contents), download (allow getheaders
|
| 354 |
# during IBD, no disconnect after maxuploadtarget limit), addr
|
| 355 |
# (responses to GETADDR avoid hitting the cache and contain random
|
| 356 |
+
# records with the most up-to-date info), forceinbound (when
|
| 357 |
+
# connections are full, attempt to evict a random unprotected
|
| 358 |
+
# inbound peer to open a slot; implies noban). Specify multiple
|
| 359 |
# permissions separated by commas (default:
|
| 360 |
# download,noban,mempool,relay). Can be specified multiple times.
|
| 361 |
#whitebind=<[permissions@]addr>
|
|
|
|
| 464 |
#walletrbf=1
|
| 465 |
|
| 466 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 467 |
### Debugging/Testing options
|
| 468 |
|
| 469 |
|
|
|
|
| 551 |
### Node relay options
|
| 552 |
|
| 553 |
|
| 554 |
+
# Relay nonstandard data carrier outputs (default: 0) Values: 0 or 1; no
|
| 555 |
+
# value means 1.
|
| 556 |
+
#acceptnonstddatacarrier=1
|
| 557 |
+
|
| 558 |
+
# Relay transactions sending to unknown or future witness script versions
|
| 559 |
+
# (default: 1) Values: 0 or 1; no value means 1.
|
| 560 |
+
#acceptunknownwitness=1
|
| 561 |
+
|
| 562 |
# Equivalent bytes per sigop in transactions for relay and mining
|
| 563 |
# (default: 20)
|
| 564 |
#bytespersigop=1
|
| 565 |
|
| 566 |
+
# Minimum bytes per sigop in transactions we relay and mine (integer 0 to
|
| 567 |
+
# 4294967295; default: 20)
|
| 568 |
+
#bytespersigopstrict=1
|
| 569 |
+
|
| 570 |
# Relay and mine data carrier transactions (default: 1)
|
| 571 |
#datacarrier=1
|
| 572 |
|
| 573 |
+
# Treat data carrier bytes as at least N vbytes each (0 to 1073741823.75,
|
| 574 |
+
# exact hundredths; rounded up to quarter-vbytes; default: 1). Only
|
| 575 |
+
# local policy size changes.
|
| 576 |
+
#datacarriercost=<value>
|
| 577 |
+
|
| 578 |
# Relay and mine transactions whose data-carrying raw scriptPubKeys in
|
| 579 |
+
# aggregate are of this size or less, allowing one OP_RETURN output
|
| 580 |
+
# (default: 83)
|
| 581 |
#datacarriersize=1
|
| 582 |
|
| 583 |
+
# Update the dust rate every 15 minutes using off,
|
| 584 |
+
# [multiplier*]target:blocks, or [multiplier*]mempool:kvB (default:
|
| 585 |
+
# off). Multiplier defaults to 3; the configured dustrelayfee is
|
| 586 |
+
# the floor and fallback when no estimate is available.
|
| 587 |
+
#dustdynamic=<value>
|
| 588 |
+
|
| 589 |
+
# Maximum size of scripts (including the witness stack) we relay and mine
|
| 590 |
+
# (integer 0 to 4294967295; default: 1650)
|
| 591 |
+
#maxscriptsize=<n>
|
| 592 |
+
|
| 593 |
+
# Maximum legacy sigops in transactions we relay and mine (integer 0 to
|
| 594 |
+
# 4294967295; default: 2500)
|
| 595 |
+
#maxtxlegacysigops=1
|
| 596 |
+
|
| 597 |
+
# Legacy RBF alias: accept replacement without requiring signaling
|
| 598 |
+
# (default: 1). Explicit optin or replacement disabling overrides
|
| 599 |
+
# this alias.
|
| 600 |
+
#mempoolfullrbf=1
|
| 601 |
+
|
| 602 |
+
# Set RBF policy: 0 disables, fee,optin honors signaling or TRUC/v3
|
| 603 |
+
# replaceability, and fee,-optin enables full RBF. Tokens are
|
| 604 |
+
# separated by ',' or '+'; empty or 1 enables fee-based replacement
|
| 605 |
+
# (default: fee,-optin).
|
| 606 |
+
#mempoolreplacement=<value>
|
| 607 |
+
|
| 608 |
+
# Set TRUC policy: reject, accept, enforce/optin, or -enforce/-optin.
|
| 609 |
+
# Tokens are separated by ',' or '+'; 0 rejects, empty or 1
|
| 610 |
+
# enforces (default: enforce).
|
| 611 |
+
#mempooltruc=<value>
|
| 612 |
+
|
| 613 |
+
# Minimum coin blocks a transaction must spend to be relayed (integer 0 to
|
| 614 |
+
# 9223372036854775807; default: 0)
|
| 615 |
+
#minrelaycoinblocks=<n>
|
| 616 |
+
|
| 617 |
+
# Minimum input maturity before relay (integer 0 to 2147483647; default:
|
| 618 |
+
# 0)
|
| 619 |
+
#minrelaymaturity=<n>
|
| 620 |
+
|
| 621 |
# Fees (in BTC/kvB) smaller than this are considered zero fee for
|
| 622 |
+
# relaying, mining and transaction creation (default: 0.00001)
|
| 623 |
#minrelaytxfee=<amt>
|
| 624 |
|
| 625 |
+
# Relay transactions that only have ephemeral anchor outputs (default: 1)
|
| 626 |
+
# Values: 0 or 1; no value means 1.
|
| 627 |
+
#permitbareanchor=1
|
| 628 |
+
|
| 629 |
+
# Relay transactions with data carrier outputs and no monetary outputs
|
| 630 |
+
# (default: 0) Values: 0 or 1; no value means 1.
|
| 631 |
+
#permitbaredatacarrier=1
|
| 632 |
+
|
| 633 |
+
# Relay transactions creating non-P2SH multisig outputs (default: 0)
|
| 634 |
#permitbaremultisig=1
|
| 635 |
|
| 636 |
+
# Relay legacy pubkey outputs (default: 0) Values: 0 or 1; no value means
|
| 637 |
+
# 1.
|
| 638 |
+
#permitbarepubkey=1
|
| 639 |
+
|
| 640 |
+
# Permit ephemeral policy exceptions: send, dust, anchor, reject, or 0,
|
| 641 |
+
# optionally prefixed with '-'. Tokens are separated by ',' or '+';
|
| 642 |
+
# 0 disables all, empty or 1 enables all (default: anchor only)
|
| 643 |
+
#permitephemeral=1
|
| 644 |
+
|
| 645 |
# Broadcast transactions submitted via sendrawtransaction RPC using
|
| 646 |
# short-lived connections through the Tor or I2P networks, without
|
| 647 |
# putting them in the mempool first. Transactions submitted through
|
| 648 |
# the wallet are not affected by this option (default: 0)
|
| 649 |
#privatebroadcast=1
|
| 650 |
|
| 651 |
+
# Refuse to relay or mine parasitic overlay protocols (default: 1) Values:
|
| 652 |
+
# 0 or 1; no value means 1.
|
| 653 |
+
#rejectparasites=1
|
| 654 |
+
|
| 655 |
+
# Refuse to relay or mine transactions involving non-bitcoin tokens
|
| 656 |
+
# (default: 0) Values: 0 or 1; no value means 1.
|
| 657 |
+
#rejecttokens=1
|
| 658 |
+
|
| 659 |
+
# Set local script reuse policy: allow or conflict; empty/1 aliases allow,
|
| 660 |
+
# 0 aliases conflict (default: allow).
|
| 661 |
+
#spkreuse=<value>
|
| 662 |
+
|
| 663 |
+
# Subtract sub-dust output deficits from modified policy fees (default:
|
| 664 |
+
# 1). Values: 0 or 1; no value means 1. Actual fees and consensus
|
| 665 |
+
# validity are unchanged.
|
| 666 |
+
#subdustfeepenalty=<value>
|
| 667 |
+
|
| 668 |
# Add 'forcerelay' permission to whitelisted peers with default
|
| 669 |
# permissions. This will relay transactions even if the
|
| 670 |
# transactions were already in the mempool. (default: 0)
|
|
|
|
| 680 |
|
| 681 |
|
| 682 |
# Set lowest fee rate (in BTC/kvB) for transactions to be included in
|
| 683 |
+
# block creation. (default: 0.00001)
|
| 684 |
#blockmintxfee=<amt>
|
| 685 |
|
| 686 |
# Reserve space for the fixed-size block header plus the largest coinbase
|