@NishantBansal2003 flagged that most targets only process newly mined blocks every 2-30s. If we have to wait that long when executing a program, it destroys our fuzzing speed. The only target that handles new blocks reasonably fast is LND -- we should look into options for increasing sync frequency for the other targets.
- LND: immediate sync (event based). ~60ms latency measured for processing and responding to a newly mined funding tx
- LDK: poll sync every 2s
- Eclair: sync (event based) after 2s delay
- CLN: poll sync every 30s
We may be able to configure these targets to sync more frequently, or patch them to do so if necessary. An alternative approach is to implement some way to manually trigger a sync when we want one.
@NishantBansal2003 flagged that most targets only process newly mined blocks every 2-30s. If we have to wait that long when executing a program, it destroys our fuzzing speed. The only target that handles new blocks reasonably fast is LND -- we should look into options for increasing sync frequency for the other targets.
We may be able to configure these targets to sync more frequently, or patch them to do so if necessary. An alternative approach is to implement some way to manually trigger a sync when we want one.