Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Reduce number of seen blocks and transactions Pantheon tracks #1112

Merged
merged 2 commits into from
Mar 19, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Pantheon tracks hashes of transactions and blocks that we know other peers have seen to avoid sending them data they already have. These numbers were arbitrarily set to 30,000 which consumes a significant amount of memory. It takes hours for these limits to be reached which is much longer than the replay protection is actually needed.

Reduce to 300 max tracked blocks and 10,000 max tracked transactions. These are still fairly arbitrary limits but still take more than an hour to reach so should be sufficient.

@ajsutton ajsutton merged commit 4275519 into PegaSysEng:master Mar 19, 2019
@ajsutton ajsutton deleted the reduce-seen-tracker-sizes branch March 19, 2019 00:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants