Skip to content
Bitcoin Roots

v29.4-roots.3 · Commit 7: [PATCH 07/30] 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. The two line-number columns refer to before and after.

share/examples/bitcoin.conf CHANGED
@@ -42,9 +42,14 @@
42
42
  #blocknotify=<cmd>
43
43
 
44
44
  # Extra transactions to keep in memory for compact block reconstructions
45
- # (default: 100)
45
+ # (default: 32768)
46
46
  #blockreconstructionextratxn=<n>
47
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
+
48
53
  # Specify directory to hold blocks subdirectory for *.dat files (default:
49
54
  # <datadir>)
50
55
  #blocksdir=<dir>
@@ -284,8 +289,8 @@
284
289
  # Serve compact block filters to peers per BIP 157 (default: 0)
285
290
  #peerblockfilters=1
286
291
 
287
- # Support filtering of blocks and transaction with bloom filters (default:
288
- # 0)
292
+ # Support filtering of blocks and transactions with bloom filters
293
+ # (default: localhost only)
289
294
  #peerbloomfilters=1
290
295
 
291
296
  # Listen for connections on <port> (default: 8333, testnet3: 18333,
@@ -294,10 +299,12 @@
294
299
  # listening port will be set to x+1.
295
300
  #port=<port>
296
301
 
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>
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>]
301
308
 
302
309
  # Randomize credentials for every proxy connection. This enables Tor
303
310
  # stream isolation (default: 1)
@@ -327,14 +334,17 @@
327
334
  # Bind to the given address and add permission flags to the peers
328
335
  # connecting to it. Use [host]:port notation for IPv6. Allowed
329
336
  # permissions: bloomfilter (allow requesting BIP37 filtered blocks
330
- # and transactions), noban (do not ban for misbehavior; implies
337
+ # and transactions), blockfilters (serve compact block filters to
338
+ # peers per BIP157), noban (do not ban for misbehavior; implies
331
339
  # download), forcerelay (relay transactions that are already in the
332
340
  # mempool; implies relay), relay (relay even in -blocksonly mode,
333
341
  # and unlimited transaction announcements), mempool (allow
334
342
  # requesting BIP35 mempool contents), download (allow getheaders
335
343
  # during IBD, no disconnect after maxuploadtarget limit), addr
336
344
  # (responses to GETADDR avoid hitting the cache and contain random
337
- # records with the most up-to-date info). Specify multiple
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
338
348
  # permissions separated by commas (default:
339
349
  # download,noban,mempool,relay). Can be specified multiple times.
340
350
  #whitebind=<[permissions@]addr>
@@ -446,42 +456,6 @@
446
456
  #walletrbf=1
447
457
 
448
458
 
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
459
  ### Debugging/Testing options
486
460
 
487
461
 
@@ -528,7 +502,7 @@
528
502
  # logging to file, set -nodebuglogfile)
529
503
  #printtoconsole=1
530
504
 
531
- # Shrink debug.log file on client startup (default: 1 when no -debug)
505
+ # Shrink debug log file on client startup (default: 1 when no -debug)
532
506
  #shrinkdebugfile=1
533
507
 
534
508
  # Append comment to the user agent string
@@ -569,24 +543,65 @@
569
543
  ### Node relay options
570
544
 
571
545
 
546
+ # Relay nonstandard data carrier outputs (default: 0)
547
+ #acceptnonstddatacarrier=1
548
+
572
549
  # Equivalent bytes per sigop in transactions for relay and mining
573
550
  # (default: 20)
574
551
  #bytespersigop=1
575
552
 
553
+ # Minimum bytes per sigop in transactions we relay and mine (default: 20)
554
+ #bytespersigopstrict=1
555
+
576
556
  # Relay and mine data carrier transactions (default: 1)
577
557
  #datacarrier=1
578
558
 
559
+ # Treat data carrier bytes as at least N vbytes each (default: 1)
560
+ #datacarriercost=1
561
+
579
562
  # Relay and mine transactions whose data-carrying raw scriptPubKey is of
580
563
  # this size or less (default: 83)
581
564
  #datacarriersize=1
582
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
+
583
586
  # Fees (in BTC/kvB) smaller than this are considered zero fee for
584
- # relaying, mining and transaction creation (default: 0.000001)
587
+ # relaying, mining and transaction creation (default: 0.00001)
585
588
  #minrelaytxfee=<amt>
586
589
 
587
- # Relay transactions creating non-P2SH multisig outputs (default: 1)
590
+ # Relay data carrier outputs without OP_RETURN (default: 0)
591
+ #permitbaredatacarrier=1
592
+
593
+ # Relay transactions creating non-P2SH multisig outputs (default: 0)
588
594
  #permitbaremultisig=1
589
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
+
590
605
  # Add 'forcerelay' permission to whitelisted peers with default
591
606
  # permissions. This will relay transactions even if the
592
607
  # transactions were already in the mempool. (default: 0)
@@ -601,13 +616,20 @@
601
616
  ### Block creation options
602
617
 
603
618
 
604
- # Set maximum BIP141 block weight (default: 4000000)
619
+ # Set maximum block size in bytes (default: 300000)
620
+ #blockmaxsize=<n>
621
+
622
+ # Set maximum BIP141 block weight (default: 1200000)
605
623
  #blockmaxweight=<n>
606
624
 
607
625
  # Set lowest fee rate (in BTC/kvB) for transactions to be included in
608
- # block creation. (default: 0.00000001)
626
+ # block creation. (default: 0.00001)
609
627
  #blockmintxfee=<amt>
610
628
 
629
+ # Set maximum size of high-priority/low-fee transactions in bytes
630
+ # (default: 100000)
631
+ #blockprioritysize=<n>
632
+
611
633
  # Reserve space for the fixed-size block header plus the largest coinbase
612
634
  # transaction the mining software may add to the block. (default:
613
635
  # 8000).