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

Convert Replay Filter to view the past via blocks #1110

Open
PaulSnow opened this issue Nov 13, 2020 · 0 comments
Open

Convert Replay Filter to view the past via blocks #1110

PaulSnow opened this issue Nov 13, 2020 · 0 comments

Comments

@PaulSnow
Copy link
Contributor

Factom uses a replay filter to invalidate messages that are "too old" or "too new".

"too old" is defined as more than one hour prior to the current directory block timestamp.
"too new" is defined as more than one hour in the future as defined by the directory block timestamp.

In the case of "too old", transactions are discarded. In the case of "too new", they are held until they are no longer "too new".

Instead, we would propose that "too old" is older than the sixth block's timestamp. This means if the network stretches minutes, or stalls, transactions submitted in that time can still be processed.

If the number of transactions is too great, some will be dropped as they time out before being processed. This doesn't appear to present a significant problem for the protocol at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant