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

Split election drop stats to be either overflow or expired #3297

Merged
merged 12 commits into from
May 28, 2021

Commits on May 20, 2021

  1. This change simplifies logic in the election scheduler. It extracts p…

    …redicate functions so identical logic can be checked in the condition_variable wait function and also inside the election_scheduler processing loop. This allows new predicates to be easily added and also eliminates risk of disjoin checks between the loop and the condition variable.
    clemahieu committed May 20, 2021
    Configuration menu
    Copy the full SHA
    f14d30e View commit details
    Browse the repository at this point in the history
  2. Rewrite test to use election_scheduler::activate instead of election_…

    …scheduler::manual since the semantics of ::manual will be changed to not wait for vacancy before inserting.
    clemahieu committed May 20, 2021
    Configuration menu
    Copy the full SHA
    20543f2 View commit details
    Browse the repository at this point in the history
  3. - Changes the semantics of election_scheduler::manual_queue such that…

    … vacancy is not considered and elections are started for any blocks passed in.
    
    - Moves responsibility for trimming down election count from active_transaction in to election_scheduler. This is done so that more advanced filling/spilling can be done by the election scheduler in the future.
    - Erases from the active_transactions container by oldest transaction rather than by newest.
    clemahieu committed May 20, 2021
    Configuration menu
    Copy the full SHA
    39c4f5b View commit details
    Browse the repository at this point in the history
  4. - Changes the semantics of election_scheduler::manual_queue such that…

    … vacancy is not considered and elections are started for any blocks passed in.
    
    - Moves responsibility for trimming down election count from active_transaction in to election_scheduler. This is done so that more advanced filling/spilling can be done by the election scheduler in the future.
    - Erases from the active_transactions container by oldest transaction rather than by newest.
    clemahieu committed May 20, 2021
    Configuration menu
    Copy the full SHA
    5f5577b View commit details
    Browse the repository at this point in the history
  5. Split election drop stats to be either overflow or expired

    Matthew King authored and Matthew King committed May 20, 2021
    Configuration menu
    Copy the full SHA
    78d327a View commit details
    Browse the repository at this point in the history
  6. Fix typo

    Matthew King authored and Matthew King committed May 20, 2021
    Configuration menu
    Copy the full SHA
    f5000ef View commit details
    Browse the repository at this point in the history
  7. Lose old php habbits

    Matthew King authored and Matthew King committed May 20, 2021
    Configuration menu
    Copy the full SHA
    6893b22 View commit details
    Browse the repository at this point in the history
  8. Clang-format changes

    Matthew King authored and Matthew King committed May 20, 2021
    Configuration menu
    Copy the full SHA
    9036489 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2021

  1. Fix tests and track all drops from erase function, incase of further …

    …entry points to .erase in future
    Matthew King authored and Matthew King committed May 21, 2021
    Configuration menu
    Copy the full SHA
    7d7297b View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. Merge branch 'develop' into election_overflow_stat_drop

    Matthew King authored and Matthew King committed May 27, 2021
    Configuration menu
    Copy the full SHA
    691f12e View commit details
    Browse the repository at this point in the history
  2. Merge develop

    Matthew King authored and Matthew King committed May 27, 2021
    Configuration menu
    Copy the full SHA
    0ceebf8 View commit details
    Browse the repository at this point in the history
  3. Use local variable and fix logging issue introduced in nanocurrency#3296

    Matthew King authored and Matthew King committed May 27, 2021
    Configuration menu
    Copy the full SHA
    9dfe1cf View commit details
    Browse the repository at this point in the history