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

Rollup protocol #2321

Merged
merged 2 commits into from
Jul 29, 2020
Merged

Rollup protocol #2321

merged 2 commits into from
Jul 29, 2020

Commits on Jul 29, 2020

  1. Rollup protocol

    Previously the leader polled for new transactions. This is inefficient,
    as new transactions have to wait for the leader to poll.
    
    With this PR, the all followers forward transactions directly to the leader.
    Once the leader has a transaction, he directly starts a new block.
    Once the new block has been accepted, eventually queued up transactions
    are also sent.
    
    This has been tested to be able to go from old nodes to new nodes on a
    local machine.
    ineiti committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    27890bf View commit details
    Browse the repository at this point in the history
  2. Tharvik's comments

    ineiti committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    795e15f View commit details
    Browse the repository at this point in the history