Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#278): What should we use for de-duping messages within P2P? #77

Open
github-actions bot opened this issue Jan 12, 2023 · 0 comments
Open

(#278): What should we use for de-duping messages within P2P? #77

github-actions bot opened this issue Jan 12, 2023 · 0 comments

Comments

@github-actions
Copy link

TODO(pokt-network#388): generalize to use the shared `FIFOMempool` type (in `utility/types/mempool.go` at the time of writing) in here as well for this.


// TODO (#278): What should we use for de-duping messages within P2P?
// TODO(#388): generalize to use the shared `FIFOMempool` type (in `utility/types/mempool.go` at the time of writing) in here as well for this.
nonceSet map[uint64]struct{}
nonceList []uint64
mempoolMaxNonces uint64
nonceSetMutex sync.Mutex


This issue was generated by todo-issue based on a TODO comment in 1c71d7c.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants