Skip to content
Bitcoin Roots

v29.4-roots.2 · Commit 7: [PATCH 07/21] release: establish Roots maintenance and assurance

share/examples/bitcoin.conf

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

File metadata
index d7c170da358a9aeb4d442d889c54b5e32c0e4882..fcf80d47cdd63d3981cb4b5318a2ccf8f75b4398 100644

Download original patch · Release notes

Diff rows 1–199 of 199. 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,
@@ -294,10 +299,12 @@
294
  # listening port will be set to x+1.
295
  #port=<port>
296
 
297
- # Connect through SOCKS5 proxy, set -noproxy to disable (default:
298
- # disabled). May be a local file path prefixed with 'unix:' if the
299
- # proxy supports it.
300
- #proxy=<ip:port|path>
 
 
301
 
302
  # Randomize credentials for every proxy connection. This enables Tor
303
  # stream isolation (default: 1)
@@ -327,14 +334,17 @@
327
  # Bind to the given address and add permission flags to the peers
328
  # connecting to it. Use [host]:port notation for IPv6. Allowed
329
  # permissions: bloomfilter (allow requesting BIP37 filtered blocks
330
- # and transactions), noban (do not ban for misbehavior; implies
 
331
  # download), forcerelay (relay transactions that are already in the
332
  # mempool; implies relay), relay (relay even in -blocksonly mode,
333
  # and unlimited transaction announcements), mempool (allow
334
  # requesting BIP35 mempool contents), download (allow getheaders
335
  # during IBD, no disconnect after maxuploadtarget limit), addr
336
  # (responses to GETADDR avoid hitting the cache and contain random
337
- # records with the most up-to-date info). Specify multiple
 
 
338
  # permissions separated by commas (default:
339
  # download,noban,mempool,relay). Can be specified multiple times.
340
  #whitebind=<[permissions@]addr>
@@ -446,42 +456,6 @@
446
  #walletrbf=1
447
 
448
 
449
- ### ZeroMQ notification options
450
-
451
-
452
- # Enable publish hash block in <address>
453
- #zmqpubhashblock=<address>
454
-
455
- # Set publish hash block outbound message high water mark (default: 1000)
456
- #zmqpubhashblockhwm=<n>
457
-
458
- # Enable publish hash transaction in <address>
459
- #zmqpubhashtx=<address>
460
-
461
- # Set publish hash transaction outbound message high water mark (default:
462
- # 1000)
463
- #zmqpubhashtxhwm=<n>
464
-
465
- # Enable publish raw block in <address>
466
- #zmqpubrawblock=<address>
467
-
468
- # Set publish raw block outbound message high water mark (default: 1000)
469
- #zmqpubrawblockhwm=<n>
470
-
471
- # Enable publish raw transaction in <address>
472
- #zmqpubrawtx=<address>
473
-
474
- # Set publish raw transaction outbound message high water mark (default:
475
- # 1000)
476
- #zmqpubrawtxhwm=<n>
477
-
478
- # Enable publish hash block and tx sequence in <address>
479
- #zmqpubsequence=<address>
480
-
481
- # Set publish hash sequence message high water mark (default: 1000)
482
- #zmqpubsequencehwm=<n>
483
-
484
-
485
  ### Debugging/Testing options
486
 
487
 
@@ -528,7 +502,7 @@
528
  # logging to file, set -nodebuglogfile)
529
  #printtoconsole=1
530
 
531
- # Shrink debug.log file on client startup (default: 1 when no -debug)
532
  #shrinkdebugfile=1
533
 
534
  # Append comment to the user agent string
@@ -569,24 +543,65 @@
569
  ### Node relay options
570
 
571
 
 
 
 
572
  # Equivalent bytes per sigop in transactions for relay and mining
573
  # (default: 20)
574
  #bytespersigop=1
575
 
 
 
 
576
  # Relay and mine data carrier transactions (default: 1)
577
  #datacarrier=1
578
 
 
 
 
579
  # Relay and mine transactions whose data-carrying raw scriptPubKey is of
580
  # this size or less (default: 83)
581
  #datacarriersize=1
582
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
583
  # Fees (in BTC/kvB) smaller than this are considered zero fee for
584
- # relaying, mining and transaction creation (default: 0.000001)
585
  #minrelaytxfee=<amt>
586
 
587
- # Relay transactions creating non-P2SH multisig outputs (default: 1)
 
 
 
588
  #permitbaremultisig=1
589
 
 
 
 
 
 
 
 
 
 
590
  # Add 'forcerelay' permission to whitelisted peers with default
591
  # permissions. This will relay transactions even if the
592
  # transactions were already in the mempool. (default: 0)
@@ -601,13 +616,20 @@
601
  ### Block creation options
602
 
603
 
604
- # Set maximum BIP141 block weight (default: 4000000)
 
 
 
605
  #blockmaxweight=<n>
606
 
607
  # Set lowest fee rate (in BTC/kvB) for transactions to be included in
608
- # block creation. (default: 0.00000001)
609
  #blockmintxfee=<amt>
610
 
 
 
 
 
611
  # Reserve space for the fixed-size block header plus the largest coinbase
612
  # transaction the mining software may add to the block. (default:
613
  # 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,
 
299
  # listening port will be set to x+1.
300
  #port=<port>
301
 
302
+ # Connect through SOCKS5 proxy, set -noproxy to disable. May be a local
303
+ # file path prefixed with 'unix:' if the proxy supports it. Could
304
+ # end in =network to set the proxy only for that network. The
305
+ # network can be any of ipv4, ipv6, tor or cjdns. (default:
306
+ # disabled)
307
+ #proxy=<ip>[:<port>]|unix:<path>[=<network>]
308
 
309
  # Randomize credentials for every proxy connection. This enables Tor
310
  # stream isolation (default: 1)
 
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>
 
456
  #walletrbf=1
457
 
458
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
459
  ### Debugging/Testing options
460
 
461
 
 
502
  # logging to file, set -nodebuglogfile)
503
  #printtoconsole=1
504
 
505
+ # Shrink debug log file on client startup (default: 1 when no -debug)
506
  #shrinkdebugfile=1
507
 
508
  # Append comment to the user agent string
 
543
  ### Node relay options
544
 
545
 
546
+ # Relay nonstandard data carrier outputs (default: 0)
547
+ #acceptnonstddatacarrier=1
548
+
549
  # Equivalent bytes per sigop in transactions for relay and mining
550
  # (default: 20)
551
  #bytespersigop=1
552
 
553
+ # Minimum bytes per sigop in transactions we relay and mine (default: 20)
554
+ #bytespersigopstrict=1
555
+
556
  # Relay and mine data carrier transactions (default: 1)
557
  #datacarrier=1
558
 
559
+ # Treat data carrier bytes as at least N vbytes each (default: 1)
560
+ #datacarriercost=1
561
+
562
  # Relay and mine transactions whose data-carrying raw scriptPubKey is of
563
  # this size or less (default: 83)
564
  #datacarriersize=1
565
 
566
+ # Maximum size of scripts (including the witness stack) we relay and mine
567
+ # (default: 1650)
568
+ #maxscriptsize=<n>
569
+
570
+ # Maximum legacy sigops in transactions we relay and mine (default: 2500)
571
+ #maxtxlegacysigops=1
572
+
573
+ # Set RBF policy: 0 disables, fee,optin honors signaling, and fee,-optin
574
+ # enables full RBF (default: fee,-optin)
575
+ #mempoolreplacement=1
576
+
577
+ # Set TRUC policy: reject, accept, or enforce (default: enforce)
578
+ #mempooltruc=1
579
+
580
+ # Minimum coin blocks a transaction must spend to be relayed (default: 0)
581
+ #minrelaycoinblocks=<n>
582
+
583
+ # Minimum input maturity before relay (default: 0)
584
+ #minrelaymaturity=<n>
585
+
586
  # Fees (in BTC/kvB) smaller than this are considered zero fee for
587
+ # relaying, mining and transaction creation (default: 0.00001)
588
  #minrelaytxfee=<amt>
589
 
590
+ # Relay data carrier outputs without OP_RETURN (default: 0)
591
+ #permitbaredatacarrier=1
592
+
593
+ # Relay transactions creating non-P2SH multisig outputs (default: 0)
594
  #permitbaremultisig=1
595
 
596
+ # Permit ephemeral policy exceptions: send, dust, and anchor
597
+ #permitephemeral=1
598
+
599
+ # Set script reuse policy: allow or conflict (default: allow)
600
+ #spkreuse=<policy>
601
+
602
+ # Apply the sub-dust fee penalty to relay policy (default: 1)
603
+ #subdustfeepenalty=1
604
+
605
  # Add 'forcerelay' permission to whitelisted peers with default
606
  # permissions. This will relay transactions even if the
607
  # transactions were already in the mempool. (default: 0)
 
616
  ### Block creation options
617
 
618
 
619
+ # Set maximum block size in bytes (default: 300000)
620
+ #blockmaxsize=<n>
621
+
622
+ # Set maximum BIP141 block weight (default: 1200000)
623
  #blockmaxweight=<n>
624
 
625
  # Set lowest fee rate (in BTC/kvB) for transactions to be included in
626
+ # block creation. (default: 0.00001)
627
  #blockmintxfee=<amt>
628
 
629
+ # Set maximum size of high-priority/low-fee transactions in bytes
630
+ # (default: 100000)
631
+ #blockprioritysize=<n>
632
+
633
  # Reserve space for the fixed-size block header plus the largest coinbase
634
  # transaction the mining software may add to the block. (default:
635
  # 8000).