HomePhabricator

validationinterface: only send zmq notifications for active

Description

validationinterface: only send zmq notifications for active

Summary:
This is a partial backport of core#27596
https://github.com/bitcoin/bitcoin/pull/27596/commits/f073917a9e7ba423643dcae0339776470b628f65

Depends on D17890

Test Plan:
ninja all check-all

tested with an actual snapshot and a background chainstate on my dev branch (functional test and mainnet IBD)

Reviewers: #bitcoin_abc, roqqit

Reviewed By: #bitcoin_abc, roqqit

Differential Revision: https://reviews.bitcoinabc.org/D17891

Details

Provenance
James O'Beirne <james.obeirne@pm.me>Authored on Nov 10 2022, 21:09
PiRKCommitted on Fri, Apr 4, 12:14
PiRKPushed on Fri, Apr 4, 12:14
Reviewer
Restricted Project
Differential Revision
D17891: validationinterface: only send zmq notifications for active
Parents
rABCaefa604d1845: validation: pass ChainstateRole for validationinterface calls
Branches
Unknown
Tags
Unknown