Skip to content

Commit

Permalink
fixes a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Oct 3, 2023
1 parent 0157e81 commit e28c33d
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 @@ -67,7 +67,7 @@ These max rates are further constrained by the `SendRate` and `RecRate`.
`incoming_traffic_rate = d * min(transaction_rate, SendRate)`
`outgoing_traffic_rate = d * min(transaction_rate, RecRate)`

- **Best case scenario**: a transaction is exchanged only once, contributing to either incoming or outgoing traffic. This is because both ends of the connection keep track of the transactions they have seen on a connection (wither vua sending or receiving). If one peer sends a transaction before the other, they both mark it as sent/received, ensuring they do not redundantly transmit it to each other.
- **Best case scenario**: a transaction is exchanged only once, contributing to either incoming or outgoing traffic. This is because both ends of the connection keep track of the transactions they have seen on a connection (whether via sending or receiving). If one peer sends a transaction before the other, they both mark it as sent/received, ensuring they do not redundantly transmit it to each other.
In a network, with transaction rate `transaction_rate` and a node with degree of `d`, the node's traffic rate in best case would be:
`traffic_rate (=incoming_traffic_rate + outgoing_traffic_rate) = d * transaction_rate`

Expand Down

0 comments on commit e28c33d

Please sign in to comment.