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

Wake background-processor from ChainMonitor on new blocks #3033

Merged

Commits on May 1, 2024

  1. Wake background-processor from ChainMonitor on new blocks

    When we receive a new block we may generate
    `Event::SpendableOutputs` in `ChannelMonitor`s which then need to
    be processed by the background processor. While it will do so
    eventually when its normal loop goes around, this may cause user
    tests to be delayed in finding events, so we should notify the BP
    immediately to wake it on new blocks.
    
    We implement that here, unconditionally notifying the
    `background-processor` whenever we receive a new block or confirmed
    transactions.
    TheBlueMatt committed May 1, 2024
    Configuration menu
    Copy the full SHA
    021979b View commit details
    Browse the repository at this point in the history