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

Implement multi-hop routing of consensus messages #472

Merged
merged 44 commits into from
Sep 6, 2023
Merged

Implement multi-hop routing of consensus messages #472

merged 44 commits into from
Sep 6, 2023

Commits on Jul 20, 2023

  1. Add multi-hop routing implementation. This has some basic unit tests,…

    … but is not yet integrated.
    swatanabe committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    cc46805 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Configuration menu
    Copy the full SHA
    b5163db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40cd347 View commit details
    Browse the repository at this point in the history
  3. Add unix socket support for psibase

    - reqwest doesn't support local sockets, so I've hacked around it by
      creating an in-process proxy
    swatanabe committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    9b131e1 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    6f4f39e View commit details
    Browse the repository at this point in the history
  2. Make sure that match_index is set up when building a block that sets …

    …a new consensus. This was causing premature commitment when the old consensus was a single producer
    swatanabe committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    7a1941f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ed7da6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fae8455 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Add test for changing routes

    - Reorganize to use unittest
    - Add control for node logging
    swatanabe committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    eea3ae8 View commit details
    Browse the repository at this point in the history
  2. Fix test failures

    - Wrong index caused incorrect behavior of is_sole_producer and could
      also lead to dereferencing a null pointer
    - set_producers can now enter the default implementation in more cases,
      because we call it with the actual producers of each block
    swatanabe committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    81fc74a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea57fd5 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Fix test program name

    swatanabe committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    01591d4 View commit details
    Browse the repository at this point in the history
  2. Update docker images

    swatanabe committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    3c5a50c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d7cc39 View commit details
    Browse the repository at this point in the history
  4. Fix typo

    swatanabe committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    6099c9d View commit details
    Browse the repository at this point in the history
  5. Update clang paths

    swatanabe committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    d0eee6d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a896096 View commit details
    Browse the repository at this point in the history
  7. Increase log level

    swatanabe committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    56f107c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    de742a2 View commit details
    Browse the repository at this point in the history
  9. Fix uninitialized variable

    swatanabe committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    285e61c View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Some refactoring of tests

    swatanabe committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    6c6213b View commit details
    Browse the repository at this point in the history
  2. Set --database-cache-size

    swatanabe committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    06675f8 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Configuration menu
    Copy the full SHA
    1944989 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a211c34 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Configuration menu
    Copy the full SHA
    e17ada8 View commit details
    Browse the repository at this point in the history
  2. Fix compile error

    swatanabe committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    c68e957 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Rework consensus to ensure convergence

    - View change now includes a base block
    - Fork restrictions are now based on the view change rather than the
      best prepared block
    - Ensure that view changes are synchronized network-wide
    - Propagage and use joint producer view changes, including when the new
      producers are not BFT
    - Fix missing connection state change to ready when we have no blocks
    swatanabe committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    5f828dc View commit details
    Browse the repository at this point in the history
  2. Fix compilation

    swatanabe committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    2e35749 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ecfd66 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f688897 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2bc6815 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b0f26da View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Configuration menu
    Copy the full SHA
    5ed7ebf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1400ae3 View commit details
    Browse the repository at this point in the history
  3. Fix uninitialized variable

    swatanabe committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    5c9b63a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d792e37 View commit details
    Browse the repository at this point in the history
  5. Fix another io_context halt

    swatanabe committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    a19d25f View commit details
    Browse the repository at this point in the history
  6. Update consensus docs

    swatanabe committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    436f2c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Bad timing can cause the tests to fail. Account for this by ignoring …

    …the first error in each loop
    swatanabe committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    887003e View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Fix close on timeout. We should not depend on the client closing thei…

    …r end of the connection.
    swatanabe committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    21e810c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1eba2b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Configuration menu
    Copy the full SHA
    76c3192 View commit details
    Browse the repository at this point in the history
  2. Fix cmake

    swatanabe committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    55ed56f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    91864be View commit details
    Browse the repository at this point in the history