scroll-tech / go-ethereum

Scroll's fork of the official Go implementation of the Ethereum protocol
GNU Lesser General Public License v3.0
470 stars 271 forks source link

feat: allow limiting outgoing gossip to shadow fork peers #843

Closed omerfirmak closed 2 months ago

omerfirmak commented 2 months ago

1. Purpose or design rationale of this PR

once a shadow fork starts to create new blocks, those blocks shouldn't be gossipped outside of the shadow network. Same applies to transactions as well, txns that are signed with the intent of only using them in the shadow fork should not leak to the actual network.

2. PR title

Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

3. Deployment tag versioning

Has the version in params/version.go been updated?

4. Breaking change label

Does this PR have the breaking-change label?

omerfirmak commented 2 months ago

folded into #828