casper-network / casper-network/casper-node

Update gossipers

Open
#4,501 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
399
Forks
224
Avg merge
15h 44m
Merged PRs (30d)
2

Description

The gossipers should be updated to reject gossiping about data which is irrelevant. For blocks and finality signatures, this means ones which are for a different chain, or which are for an era older than the current one - 1, or if we don't know the current era. This means the block hash, height, era ID and hash of chain name should be included in the gossip ID for blocks. For finsigs, we should also include (and sign over) the block hash, height, era ID and hash of chain name. Also for finsigs, change to just gossip the whole item. Peers gossiping about a block or finsig for a different chain name should be banned. For transaction gossiping, the gossip ID should include the transaction timestamp and TTL. Expired transactions should not be gossiped.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.