palomachain / paloma

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

feat: Prevent parallel delivery of same sender msgs #1205

Closed byte-bandit closed 2 months ago

byte-bandit commented 2 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 2 months ago

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