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

Refactor block production #1795

Merged
merged 40 commits into from
Oct 3, 2023
Merged

Refactor block production #1795

merged 40 commits into from
Oct 3, 2023

Commits on Sep 6, 2023

  1. fix for C++20: using aggregate ctors

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    9165b62 View commit details
    Browse the repository at this point in the history
  2. fix for C++20: replace deprecated std::is_pod

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    910a7ab View commit details
    Browse the repository at this point in the history
  3. feature: interfaces production and finality consensuses

    feature: consensus selector
    
    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    4a49e9f View commit details
    Browse the repository at this point in the history
  4. feature: timeline (of block production)

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    d967621 View commit details
    Browse the repository at this point in the history
  5. refactor: move time-meaning types from babe to up level (timeline)

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    2e1a4c6 View commit details
    Browse the repository at this point in the history
  6. refactor: move common production consensus types from babe to up leve…

    …l (timeline)
    
    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    3f05a46 View commit details
    Browse the repository at this point in the history
  7. refactor: move block-appending mechanisms from babe to up level (time…

    …line)
    
    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    d4f7660 View commit details
    Browse the repository at this point in the history
  8. refactor: move block-appending mechanisms from babe to up level (time…

    …line)
    
    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    ce71987 View commit details
    Browse the repository at this point in the history
  9. refactor: replace include-guard by pragma-once (for consensuses classes)

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    8eafc0e View commit details
    Browse the repository at this point in the history
  10. fix: test build

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    18df53d View commit details
    Browse the repository at this point in the history
  11. refactor: move consensus selection to timeline

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    5b7283b View commit details
    Browse the repository at this point in the history
  12. refactor: extract application::AppConfiguration::SyncMethod to applic…

    …ation::SyncMethod
    
    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    8187ab8 View commit details
    Browse the repository at this point in the history
  13. feature: cacheable hash of block header

    refactor: replace aggregating constructor call of block headers
    
    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    e3914f5 View commit details
    Browse the repository at this point in the history
  14. refactor: simplify BabeLottery

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    1d19b99 View commit details
    Browse the repository at this point in the history
  15. refactor: extract consensus::babe::Babe::State to consensus::SyncStat…

    …e (and rename corresponding events)
    
    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    43552b4 View commit details
    Browse the repository at this point in the history
  16. refactor: change JustificationObserver from struct to class

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    5bc56c8 View commit details
    Browse the repository at this point in the history
  17. refactor: move babe_error.* to impl directory

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    03bb85c View commit details
    Browse the repository at this point in the history
  18. refactor: add ProductionConsensus to base of Babe

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    376d5fc View commit details
    Browse the repository at this point in the history
  19. refactor: register ConsensusSelector and Timeline in Injector

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    45e1649 View commit details
    Browse the repository at this point in the history
  20. update: extend Timeline interface

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    c56af85 View commit details
    Browse the repository at this point in the history
  21. update: inject Timeline to Application

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    943ae7a View commit details
    Browse the repository at this point in the history
  22. draft

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    f5698a4 View commit details
    Browse the repository at this point in the history
  23. draft

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    2e93350 View commit details
    Browse the repository at this point in the history
  24. draft

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    392033f View commit details
    Browse the repository at this point in the history
  25. fix: using of dangling references

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    5de5bb1 View commit details
    Browse the repository at this point in the history
  26. refactor: babe digests util

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    1117746 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. git: Merge branch 'master' into refactor/block_production

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    3166e96 View commit details
    Browse the repository at this point in the history
  2. fix: code broken by merge

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    b906eb9 View commit details
    Browse the repository at this point in the history
  3. fix: review issues

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    5af144e View commit details
    Browse the repository at this point in the history
  4. git: Merge branch 'master' into refactor/block_production

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    b2c0166 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Configuration menu
    Copy the full SHA
    9c59495 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. git: Merge branch 'master' into refactor/block_production

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    b799d88 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. git: Merge branch 'master' into refactor/block_production

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    cade7ce View commit details
    Browse the repository at this point in the history
  2. fix: asan issues

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    df15e01 View commit details
    Browse the repository at this point in the history
  3. refactor: block header hash operations

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    112ecdd View commit details
    Browse the repository at this point in the history
  4. git: Merge branch 'master' into refactor/block_production

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    850a6de View commit details
    Browse the repository at this point in the history
  5. hotfix

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    645dc26 View commit details
    Browse the repository at this point in the history
  6. git: Merge branch 'master' into refactor/block_production

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    f8c0c46 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. fix: tests

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    ac4b5b9 View commit details
    Browse the repository at this point in the history
  2. fix: missed thread for block proposing

    Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
    xDimon committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    7786ebf View commit details
    Browse the repository at this point in the history