HomePhabricator

[avalanche] Make the BlockFinalized validation callback asynchronous

Description

[avalanche] Make the BlockFinalized validation callback asynchronous

Summary: There is no reason the make it synchronous. Also avoid holding a lock when calling the callback for good measure.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: tobias_ruck, bytesofman

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

Details

Provenance
FabienAuthored on Jan 17 2024, 20:38
FabienPushed on Jan 18 2024, 10:22
Reviewer
Restricted Project
Differential Revision
D15193: [avalanche] Make the BlockFinalized validation callback asynchronous
Parents
rABC3bc5aee3a969: [bip21 spec] use op_return_raw instead of opreturn
Branches
Unknown
Tags
Unknown