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

Filter out banks that have an older epoch #3472

Merged
merged 1 commit into from
Mar 25, 2019

Conversation

aeyakovenko
Copy link
Member

Problem

Locktower initializes itself with the oldest frozen bank, but during epoch warmup, old frozen banks maybe presented as valid votes, even though they are from an older epoch.

Summary of Changes

Filter out old epochs.

Fixes #

@aeyakovenko aeyakovenko requested a review from carllin March 25, 2019 17:05
@codecov
Copy link

codecov bot commented Mar 25, 2019

Codecov Report

Merging #3472 into master will increase coverage by <.1%.
The diff coverage is 75%.

@@           Coverage Diff            @@
##           master   #3472     +/-   ##
========================================
+ Coverage    79.3%   79.3%   +<.1%     
========================================
  Files         152     154      +2     
  Lines       24089   24206    +117     
========================================
+ Hits        19111   19217    +106     
- Misses       4978    4989     +11

@aeyakovenko aeyakovenko merged commit 5100488 into solana-labs:master Mar 25, 2019
KirillLykov pushed a commit to KirillLykov/solana that referenced this pull request Nov 5, 2024
Split the time taken by filter_executable_accounts() outside of
program_cache_us. Filtering takes a considerable amount of time because
account_matches_owners is pretty slow.
alessandrod added a commit to alessandrod/solana that referenced this pull request Nov 5, 2024
Split the time taken by filter_executable_accounts() outside of
program_cache_us. Filtering takes a considerable amount of time because
account_matches_owners is pretty slow.
Lichtso pushed a commit to Lichtso/solana that referenced this pull request Nov 7, 2024
Split the time taken by filter_executable_accounts() outside of
program_cache_us. Filtering takes a considerable amount of time because
account_matches_owners is pretty slow.
joncinque pushed a commit to joncinque/solana that referenced this pull request Nov 7, 2024
…-labs#3482)

Split the time taken by filter_executable_accounts() outside of
program_cache_us. Filtering takes a considerable amount of time because
account_matches_owners is pretty slow.
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

Successfully merging this pull request may close these issues.

1 participant