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

Sequential voting #2785

Merged
merged 31 commits into from
Jun 3, 2020
Merged

Sequential voting #2785

merged 31 commits into from
Jun 3, 2020

Commits on May 22, 2020

  1. Some operations need to be processed after transaction commit, specif…

    …ically when needing to process blocks that have just been inserted in to the ledger.
    
    Create the block_post_events class who's destructor will execute queued events.
    clemahieu committed May 22, 2020
    Configuration menu
    Copy the full SHA
    92d7d29 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2020

  1. There are multiple cases where we want to iterate over dependent bloc…

    …ks for a given block.
    
    This creates a uniform way to access block dependencies and re implements ledger::could_fit in terms of it.
    clemahieu committed May 23, 2020
    Configuration menu
    Copy the full SHA
    4bd0e9b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08a2a24 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2020

  1. Holding reference to nano::ledger instead of nano::block_store so we …

    …can access more high-level methods.
    clemahieu committed May 24, 2020
    Configuration menu
    Copy the full SHA
    bf7bcad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    30ff371 View commit details
    Browse the repository at this point in the history
  3. Triggering election confirmation directly for the setup portion of te…

    …sts before votes are actually sent out.
    clemahieu committed May 24, 2020
    Configuration menu
    Copy the full SHA
    94a10a3 View commit details
    Browse the repository at this point in the history
  4. Adding the function active_transactions::activate to activate an elec…

    …tion for the first unconfirmed block on an account. It's possible we have a stale branch and won't be able to confirm the frontier so this gives us definite progress.
    clemahieu committed May 24, 2020
    Configuration menu
    Copy the full SHA
    3b3b68e View commit details
    Browse the repository at this point in the history
  5. Adding can_vote function which checks block dependencies for confirma…

    …tion.
    
    Sequentially voting for blocks decreases the state receivers need to maintain for dependent unconfirmed blocks.
    clemahieu committed May 24, 2020
    Configuration menu
    Copy the full SHA
    adedcc2 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2020

  1. Configuration menu
    Copy the full SHA
    d60d0b9 View commit details
    Browse the repository at this point in the history
  2. Use can_vote in all paths of request_aggregator

    New stat `requests_cannot_vote`, tests updated and a new test added
    guilhermelawless committed May 25, 2020
    Configuration menu
    Copy the full SHA
    54c9a93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b67bfe1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e56047c View commit details
    Browse the repository at this point in the history
  5. Fix intermittent failure in wallet.send_async

    This appears to be completely unrelated and only hitting on TSAN, likely
    a tiny change in thread timings
    guilhermelawless committed May 25, 2020
    Configuration menu
    Copy the full SHA
    e5f5527 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2020

  1. Configuration menu
    Copy the full SHA
    95ec8d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9e3ad5 View commit details
    Browse the repository at this point in the history
  3. Merge develop

    Update recently added slow_test confirmation_height.many_accounts_send_receive_self
    guilhermelawless committed May 26, 2020
    Configuration menu
    Copy the full SHA
    eef6cc8 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2020

  1. Configuration menu
    Copy the full SHA
    b35c9d6 View commit details
    Browse the repository at this point in the history
  2. Restrict generating votes on activation to prioritized elections

    And new elections already get votes generated in the constructor
    guilhermelawless committed May 27, 2020
    Configuration menu
    Copy the full SHA
    01ea826 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c581d1a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    69f4818 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a5f8eed View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d561181 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2020

  1. Fix two intermittent failures in node.local_votes_cache

    1. Due to the node wallet creating a block, leading to an unintended
    fork with the test block
    2. Due to the delay between the vote being inserted in the store and in
    the cache
    guilhermelawless committed May 28, 2020
    Configuration menu
    Copy the full SHA
    fea0593 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b70696a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    508f0c0 View commit details
    Browse the repository at this point in the history
  4. Fix hanging test active_transactions.confirmation_consistency due to …

    …polling while holding a mutex
    guilhermelawless committed May 28, 2020
    Configuration menu
    Copy the full SHA
    031cc93 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2020

  1. Configuration menu
    Copy the full SHA
    b9047e2 View commit details
    Browse the repository at this point in the history
  2. Add test node.dependency_graph ensuring account activation works accr…

    …oss more complex configurations
    guilhermelawless committed May 29, 2020
    Configuration menu
    Copy the full SHA
    b108c53 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff7e8ea View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2020

  1. Configuration menu
    Copy the full SHA
    0151713 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d5809d View commit details
    Browse the repository at this point in the history