Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable publish blobs after block by default #8868

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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