Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 7: [PATCH 07/68] build: adapt Roots maintenance and assurance to Core 30.3

share/examples/bitcoin.conf

Before: share/examples/bitcoin.conf · After: share/examples/bitcoin.conf

File metadata
index 5eacee9ad94004f71abbb7c57ff8403ba33b4689..9637a350143c1ede29eaa1f8b4a69d0bb423bc68 100644

Download original patch · Release notes

Diff rows 1–185 of 185. 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,14 @@
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>
@@ -284,8 +289,8 @@
284
  # Serve compact block filters to peers per BIP 157 (default: 0)
285
  #peerblockfilters=1
286
 
287
- # Support filtering of blocks and transaction with bloom filters (default:
288
- # 0)
289
  #peerbloomfilters=1
290
 
291
  # Listen for connections on <port> (default: 8333, testnet3: 18333,
@@ -329,14 +334,17 @@
329
  # Bind to the given address and add permission flags to the peers
330
  # connecting to it. Use [host]:port notation for IPv6. Allowed
331
  # permissions: bloomfilter (allow requesting BIP37 filtered blocks
332
- # and transactions), noban (do not ban for misbehavior; implies
 
333
  # download), forcerelay (relay transactions that are already in the
334
  # mempool; implies relay), relay (relay even in -blocksonly mode,
335
  # and unlimited transaction announcements), mempool (allow
336
  # requesting BIP35 mempool contents), download (allow getheaders
337
  # during IBD, no disconnect after maxuploadtarget limit), addr
338
  # (responses to GETADDR avoid hitting the cache and contain random
339
- # records with the most up-to-date info). Specify multiple
 
 
340
  # permissions separated by commas (default:
341
  # download,noban,mempool,relay). Can be specified multiple times.
342
  #whitebind=<[permissions@]addr>
@@ -449,42 +457,6 @@
449
  #walletrbf=1
450
 
451
 
452
- ### ZeroMQ notification options
453
-
454
-
455
- # Enable publish hash block in <address>
456
- #zmqpubhashblock=<address>
457
-
458
- # Set publish hash block outbound message high water mark (default: 1000)
459
- #zmqpubhashblockhwm=<n>
460
-
461
- # Enable publish hash transaction in <address>
462
- #zmqpubhashtx=<address>
463
-
464
- # Set publish hash transaction outbound message high water mark (default:
465
- # 1000)
466
- #zmqpubhashtxhwm=<n>
467
-
468
- # Enable publish raw block in <address>
469
- #zmqpubrawblock=<address>
470
-
471
- # Set publish raw block outbound message high water mark (default: 1000)
472
- #zmqpubrawblockhwm=<n>
473
-
474
- # Enable publish raw transaction in <address>
475
- #zmqpubrawtx=<address>
476
-
477
- # Set publish raw transaction outbound message high water mark (default:
478
- # 1000)
479
- #zmqpubrawtxhwm=<n>
480
-
481
- # Enable publish hash block and tx sequence in <address>
482
- #zmqpubsequence=<address>
483
-
484
- # Set publish hash sequence message high water mark (default: 1000)
485
- #zmqpubsequencehwm=<n>
486
-
487
-
488
  ### Debugging/Testing options
489
 
490
 
@@ -531,7 +503,7 @@
531
  # logging to file, set -nodebuglogfile)
532
  #printtoconsole=1
533
 
534
- # Shrink debug.log file on client startup (default: 1 when no -debug)
535
  #shrinkdebugfile=1
536
 
537
  # Append comment to the user agent string
@@ -572,25 +544,65 @@
572
  ### Node relay options
573
 
574
 
 
 
 
575
  # Equivalent bytes per sigop in transactions for relay and mining
576
  # (default: 20)
577
  #bytespersigop=1
578
 
 
 
 
579
  # Relay and mine data carrier transactions (default: 1)
580
  #datacarrier=1
581
 
582
- # Relay and mine transactions whose data-carrying raw scriptPubKeys in
583
- # aggregate are of this size or less, allowing multiple outputs
584
- # (default: 100000)
 
 
585
  #datacarriersize=1
586
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
587
  # Fees (in BTC/kvB) smaller than this are considered zero fee for
588
- # relaying, mining and transaction creation (default: 0.000001)
589
  #minrelaytxfee=<amt>
590
 
591
- # Relay transactions creating non-P2SH multisig outputs (default: 1)
 
 
 
592
  #permitbaremultisig=1
593
 
 
 
 
 
 
 
 
 
 
594
  # Add 'forcerelay' permission to whitelisted peers with default
595
  # permissions. This will relay transactions even if the
596
  # transactions were already in the mempool. (default: 0)
@@ -605,10 +617,20 @@
605
  ### Block creation options
606
 
607
 
 
 
 
 
 
 
608
  # Set lowest fee rate (in BTC/kvB) for transactions to be included in
609
- # block creation. (default: 0.00000001)
610
  #blockmintxfee=<amt>
611
 
 
 
 
 
612
  # Reserve space for the fixed-size block header plus the largest coinbase
613
  # transaction the mining software may add to the block. (default:
614
  # 8000).
 
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 megabytes) for keeping extra
49
+ # transactions in memory for compact block reconstructions
50
+ # (default: 10)
51
+ #blockreconstructionextratxnsize=<n>
52
+
53
  # Specify directory to hold blocks subdirectory for *.dat files (default:
54
  # <datadir>)
55
  #blocksdir=<dir>
 
289
  # Serve compact block filters to peers per BIP 157 (default: 0)
290
  #peerblockfilters=1
291
 
292
+ # Support filtering of blocks and transactions with bloom filters
293
+ # (default: localhost only)
294
  #peerbloomfilters=1
295
 
296
  # Listen for connections on <port> (default: 8333, testnet3: 18333,
 
334
  # Bind to the given address and add permission flags to the peers
335
  # connecting to it. Use [host]:port notation for IPv6. Allowed
336
  # permissions: bloomfilter (allow requesting BIP37 filtered blocks
337
+ # and transactions), blockfilters (serve compact block filters to
338
+ # peers per BIP157), noban (do not ban for misbehavior; implies
339
  # download), forcerelay (relay transactions that are already in the
340
  # mempool; implies relay), relay (relay even in -blocksonly mode,
341
  # and unlimited transaction announcements), mempool (allow
342
  # requesting BIP35 mempool contents), download (allow getheaders
343
  # during IBD, no disconnect after maxuploadtarget limit), addr
344
  # (responses to GETADDR avoid hitting the cache and contain random
345
+ # records with the most up-to-date info), forceinbound (when
346
+ # connections are full, attempt to evict a random unprotected
347
+ # inbound peer to open a slot; implies noban). Specify multiple
348
  # permissions separated by commas (default:
349
  # download,noban,mempool,relay). Can be specified multiple times.
350
  #whitebind=<[permissions@]addr>
 
457
  #walletrbf=1
458
 
459
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
460
  ### Debugging/Testing options
461
 
462
 
 
503
  # logging to file, set -nodebuglogfile)
504
  #printtoconsole=1
505
 
506
+ # Shrink debug log file on client startup (default: 1 when no -debug)
507
  #shrinkdebugfile=1
508
 
509
  # Append comment to the user agent string
 
544
  ### Node relay options
545
 
546
 
547
+ # Relay nonstandard data carrier outputs (default: 0)
548
+ #acceptnonstddatacarrier=1
549
+
550
  # Equivalent bytes per sigop in transactions for relay and mining
551
  # (default: 20)
552
  #bytespersigop=1
553
 
554
+ # Minimum bytes per sigop in transactions we relay and mine (default: 20)
555
+ #bytespersigopstrict=1
556
+
557
  # Relay and mine data carrier transactions (default: 1)
558
  #datacarrier=1
559
 
560
+ # Treat data carrier bytes as at least N vbytes each (default: 1)
561
+ #datacarriercost=1
562
+
563
+ # Relay and mine transactions within this aggregate data-carrying raw
564
+ # scriptPubKey size limit (default: 83). Other policy checks still apply.
565
  #datacarriersize=1
566
 
567
+ # Maximum size of scripts (including the witness stack) we relay and mine
568
+ # (default: 1650)
569
+ #maxscriptsize=<n>
570
+
571
+ # Maximum legacy sigops in transactions we relay and mine (default: 2500)
572
+ #maxtxlegacysigops=1
573
+
574
+ # Set RBF policy: 0 disables, fee,optin honors signaling, and fee,-optin
575
+ # enables full RBF (default: fee,-optin)
576
+ #mempoolreplacement=1
577
+
578
+ # Set TRUC policy: reject, accept, or enforce (default: enforce)
579
+ #mempooltruc=1
580
+
581
+ # Minimum coin blocks a transaction must spend to be relayed (default: 0)
582
+ #minrelaycoinblocks=<n>
583
+
584
+ # Minimum input maturity before relay (default: 0)
585
+ #minrelaymaturity=<n>
586
+
587
  # Fees (in BTC/kvB) smaller than this are considered zero fee for
588
+ # relaying, mining and transaction creation (default: 0.00001)
589
  #minrelaytxfee=<amt>
590
 
591
+ # Relay data carrier outputs without OP_RETURN (default: 0)
592
+ #permitbaredatacarrier=1
593
+
594
+ # Relay transactions creating non-P2SH multisig outputs (default: 0)
595
  #permitbaremultisig=1
596
 
597
+ # Permit ephemeral policy exceptions: send, dust, and anchor
598
+ #permitephemeral=1
599
+
600
+ # Set script reuse policy: allow or conflict (default: allow)
601
+ #spkreuse=<policy>
602
+
603
+ # Apply the sub-dust fee penalty to relay policy (default: 1)
604
+ #subdustfeepenalty=1
605
+
606
  # Add 'forcerelay' permission to whitelisted peers with default
607
  # permissions. This will relay transactions even if the
608
  # transactions were already in the mempool. (default: 0)
 
617
  ### Block creation options
618
 
619
 
620
+ # Set maximum block size in bytes (default: 300000)
621
+ #blockmaxsize=<n>
622
+
623
+ # Set maximum BIP141 block weight (default: 1200000)
624
+ #blockmaxweight=<n>
625
+
626
  # Set lowest fee rate (in BTC/kvB) for transactions to be included in
627
+ # block creation. (default: 0.00001)
628
  #blockmintxfee=<amt>
629
 
630
+ # Set maximum size of high-priority/low-fee transactions in bytes
631
+ # (default: 100000)
632
+ #blockprioritysize=<n>
633
+
634
  # Reserve space for the fixed-size block header plus the largest coinbase
635
  # transaction the mining software may add to the block. (default:
636
  # 8000).