Skip to content

Commit

Permalink
Enable publish blobs after block by default (#8868)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr authored Dec 2, 2024
1 parent 6f78534 commit 5aa4bd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

### Additions and Improvements
- improve block publishing performance, especially relevant with locally produced blocks
- delay blobs publishing until the block is published to at least 1 peer, especially relevant with locally produced blocks with low upload bandwidth connections. Can be disabled via `--Xp2p-gossip-blobs-after-block-enabled=false`

### Bug Fixes
- Added a startup script for unix systems to ensure that when jemalloc is installed the script sets the LD_PRELOAD environment variable to the use the jemalloc library
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class P2PConfig {
public static final int DEFAULT_P2P_TARGET_SUBNET_SUBSCRIBER_COUNT = 2;
public static final boolean DEFAULT_SUBSCRIBE_ALL_SUBNETS_ENABLED = false;
public static final boolean DEFAULT_GOSSIP_SCORING_ENABLED = true;
public static final boolean DEFAULT_GOSSIP_BLOBS_AFTER_BLOCK_ENABLED = false;
public static final boolean DEFAULT_GOSSIP_BLOBS_AFTER_BLOCK_ENABLED = true;
public static final int DEFAULT_BATCH_VERIFY_MAX_THREADS =
Math.max(2, Runtime.getRuntime().availableProcessors() / 2);
public static final int DEFAULT_BATCH_VERIFY_QUEUE_CAPACITY = 15_000;
Expand Down

0 comments on commit 5aa4bd8

Please sign in to comment.