go-blockchain/chain
Claude af32d58159
Some checks are pending
Test / Test (push) Waiting to run
Security Scan / security (push) Successful in 13s
feat: add SyncCallback for progress events
Chain now supports SetSyncCallback(localHeight, remoteHeight, bps).
Wired into BlockchainService to emit EventSyncProgress events.
Enables live sync progress in explorer, status dashboard, and stream.

Per RFC.pubsub.md: blockchain.sync.progress event.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 06:21:53 +01:00
..
alias.go fix(chain): replace banned strings.SplitN with core.SplitN in alias.go 2026-04-02 04:11:17 +01:00
alias_test.go test: add tests for service, dns, forge, alias, blockdata (6 files) 2026-04-02 03:54:45 +01:00
blockdata.go feat: complete all 10 RFC request items 2026-04-02 01:48:31 +01:00
blockdata_test.go test: add tests for service, dns, forge, alias, blockdata (6 files) 2026-04-02 03:54:45 +01:00
chain.go feat: add SyncCallback for progress events 2026-04-02 06:21:53 +01:00
chain_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
difficulty.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
difficulty_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
genesis.go feat(chain): add genesis-based network auto-detection 2026-04-02 01:30:58 +01:00
genesis_test.go test: close audit gaps — HSD client, config, genesis, daemon tests 2026-04-02 03:18:36 +01:00
history.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
history_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
index.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
integration_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
levinconn.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
levinconn_test.go feat: register 16 Core actions for CLI/MCP/API auto-exposure 2026-04-02 04:13:36 +01:00
meta.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
p2psync.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
p2psync_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
ring.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
ring_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
store.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
store_test.go feat: register 16 Core actions for CLI/MCP/API auto-exposure 2026-04-02 04:13:36 +01:00
sync.go feat(chain): add BlockCallback fired after every block stored 2026-04-02 04:43:02 +01:00
sync_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
validate.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00
validate_test.go fix(blockchain): complete AX v0.8.0 polish pass 2026-03-26 16:58:23 +00:00