Skip to content

fix: subscribe to SPV event monitors before startup - #636

Merged
xdustinface merged 1 commit into
v0.42-devfrom
fix/ffi-network-callback-race
Apr 10, 2026
Merged

fix: subscribe to SPV event monitors before startup#636
xdustinface merged 1 commit into
v0.42-devfrom
fix/ffi-network-callback-race

Conversation

@xdustinface

@xdustinface xdustinface commented Apr 8, 2026

Copy link
Copy Markdown
Collaborator

Start sync, network, wallet, and progress monitors before calling start(). This avoids a race where the initial connection events can be missed.

Summary by CodeRabbit

  • Bug Fixes
    • Improved network synchronization reliability by ensuring monitoring tasks are properly initialized before operations begin and cleanly terminated during shutdown or error conditions.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review CodeRabbit has approved this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants