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

Control block forging through NodeKernel #140

Merged
merged 15 commits into from
Jul 3, 2023
Merged

Commits on Jun 30, 2023

  1. Added setBlockForging to NodeKernel

    Block forging is removed from ProtocolInfo, and can controlled by using
    `NodeKernel` field: `setProtocolForging :: [BlockForging m blk] -> m ()`.
    
    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    1981ee6 View commit details
    Browse the repository at this point in the history
  2. Updated ouroboros-consensus-test

    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    f465e7e View commit details
    Browse the repository at this point in the history
  3. Updated ouroboros-consensus-mock

    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    be0ec86 View commit details
    Browse the repository at this point in the history
  4. Updated ouroboros-consensus-mock-test

    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    d1e067c View commit details
    Browse the repository at this point in the history
  5. Updated ouroboros-consensus-byron

    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    4b90ea4 View commit details
    Browse the repository at this point in the history
  6. Updated ouroboros-consensus-byron-test

    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    75bbcda View commit details
    Browse the repository at this point in the history
  7. Updated ouroboros-consensus-shelley

    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    7e2933e View commit details
    Browse the repository at this point in the history
  8. Updated ouroboros-consensus-shelley-test

    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    07588ac View commit details
    Browse the repository at this point in the history
  9. Updated ouroboros-consensus-cardano library

    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    7039cff View commit details
    Browse the repository at this point in the history
  10. Updated ouroboros-consensus-cardano:db-analyzer

    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    a245233 View commit details
    Browse the repository at this point in the history
  11. Updated ouroboros-consensus-cardano-test

    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    b974754 View commit details
    Browse the repository at this point in the history
  12. Make forkBlockForging async safe

    When make sure that when a block is added to the ChainDB, transactions
    will be removed from the mempool.   The 'addBlockAsync' is a lightweight
    non-blocking operation but the finalizer is blocking (`blockProcessed`
    will block until the block was added to the ChainDB).  Hence we need to
    use `uninterruptibleMask_` to make it safe in presence of asynchronous
    exceptions.
    
    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    cd40291 View commit details
    Browse the repository at this point in the history
  13. block-forging: async exception safety

    When the block forger thread adds a new block, the adding thread might
    be killed by an async exception.  If that happens, the block forger will
    get 'Nothing' when `blockProcessed` returns, and it can exit.
    
    Co-authored-by: Marcin Szamotulski <coot@coot.me>
    bolt12 and coot committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    5b4d52a View commit details
    Browse the repository at this point in the history
  14. Added Changelog entries

    bolt12 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    e22b424 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. Stylish

    bolt12 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    0df612a View commit details
    Browse the repository at this point in the history