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

Upgrades libp2p and pubsub versions #16

Merged
merged 12 commits into from
Jul 3, 2023

Conversation

yhassanzadeh13
Copy link
Owner

No description provided.

smrz2001 and others added 12 commits January 24, 2023 02:02
)

* feat: expire messages from the cache based on last seen time

* chore: minor renaming

* fix: messages should not be found after expiration

* chore: editorial

* fix: use new time cache strategy consistently

* fix: default to old time cache and add todo for background gc
* Update to go-libp2p v0.25

* Use go 1.19
* reimplement timecache for sane and performant behaviour

* remove seenMessagesMx, take advantage of new tc api

* fix timecache tests

* fix typo

* store expiry, don't make life difficult

* refactor common background sweep procedure for both impls

* add godocs to TimeCache
* add default validator support

* add an implementation for basic seqno as nonce validation

* missing return

* the nonce belongs to the origin peer

* add note about rust predicament

* add seqno validator tests

* minor test tweak, ensure at least 1ms before replay
@yhassanzadeh13 yhassanzadeh13 merged commit 544e2fe into master Jul 3, 2023
@yhassanzadeh13 yhassanzadeh13 deleted the yahya/upgrade-pubsub-version branch July 3, 2023 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
8 participants