Skip to content

Slow target chain sync #143

Description

@morehouse

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions