Skip to content

Commit

Permalink
removes duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Sep 28, 2023
1 parent 1c383cf commit 4327888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/p2p/reactors/mempool-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ A node can receive a transaction through one of two pathways: either a user init
- When a block is committed:
- the transactions within that block are removed from the mempool.
- The remaining transactions are subjected to two checks:
- their Time-to-Live (TTL) is examined, and any transactions that have expired are promptly removed from the mempool (source: [reference](https://github.com/celestiaorg/celestia-core/blob/367caa33ef5ab618ea357189e88044dbdbd17776/state/execution.go#L324)).
- their Time-to-Live (TTL) is examined, and any transactions that have expired are promptly removed from the mempool ([reference](https://github.com/celestiaorg/celestia-core/blob/367caa33ef5ab618ea357189e88044dbdbd17776/state/execution.go#L324)).
- Next, the remaining transactions are re-evaluated for validity against the updated state. Any transactions that are found to be invalid are removed from the mempool.
4. **Broadcast Process**:
For each peer and for every transaction residing in the mempool, the following actions are taken:
Expand Down

0 comments on commit 4327888

Please sign in to comment.