palomachain / paloma

The fast blockchain messenger protocol
Apache License 2.0
290 stars 135 forks source link

feat: Prevent parallel delivery of same sender msgs #1205

Closed byte-bandit closed 4 months ago

byte-bandit commented 4 months ago

Related Github tickets

Background

This change prevents multiple messages from the same sender to be relayed in parallel, even by different relayers. This is a preliminary security step for pigeon feed to prevent exploitable race conditions.

There's also some house keeping and tidying around the filtering logic.

Testing completed

Breaking changes

taariq commented 4 months ago

@byte-bandit signed commit still an issue on this one. curious.