Skip to content
Merged
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
7 changes: 4 additions & 3 deletions eth/protocols/eth/broadcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ import (
)

const (
// This is the target size for the packs of transactions or announcements. A
// pack can get larger than this if a single transactions exceeds this size.
maxTxPacketSize = 100 * 1024
// maxTxPacketSize is the target size for packs of transactions or announcements.
// A pack can get larger than this if a single transaction exceeds this size.
// Bor: increased from the go-ethereum default of 100 KB to 1 MB.
maxTxPacketSize = 1024 * 1024
)

// blockPropagation is a block propagation event, waiting for its turn in the
Expand Down
Loading