Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 826 Bytes

File metadata and controls

25 lines (18 loc) · 826 Bytes

Introduction

Checker oversees L2 interactions to ensure they ultimately seed on Arweave. Checker periodically verifies each bundle sent to bundlr.network to see if it's reached the FINISHED state. It specifically checks bundles that were created at least 160 Arweave blocks before the current block height.

Run

# Start checking bundles
./syncer check

Internals

Here's an inside look at how Checker operates. Each box in the diagram is a separate Task that may spawn multiple goroutines, everything is set up in src/check/controller.go.

flowchart TD
    NetworkMonitor --> |Network height| Poller
    Database <--> |Load bundles| Poller
    Poller --> |Bundle Info| Checker
    Checker <-->|Bundle State| bundlr.network
    Checker -->|State| Store
    Store --> |State| Database