aboutsummaryrefslogtreecommitdiff
path: root/internal/storage/store.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-26 15:19:05 -0800
committerFuwn <[email protected]>2026-02-26 15:19:05 -0800
commit4c13bd523d4deb36d8e7dfce6d446f701674e073 (patch)
treed189cbbf09742c6b9408a5450db34dba34fe3074 /internal/storage/store.go
parentfeat: harden launch readiness with versioning, metrics, and resilience (diff)
downloadplutia-test-4c13bd523d4deb36d8e7dfce6d446f701674e073.tar.xz
plutia-test-4c13bd523d4deb36d8e7dfce6d446f701674e073.zip
feat: add read-only PLC API compatibility endpoints
Diffstat (limited to 'internal/storage/store.go')
-rw-r--r--internal/storage/store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/storage/store.go b/internal/storage/store.go
index 59055b7..05ce5ae 100644
--- a/internal/storage/store.go
+++ b/internal/storage/store.go
@@ -34,6 +34,7 @@ type Store interface {
PutOpSeqRef(seq uint64, ref types.BlockRefV1) error
GetOpSeqRef(seq uint64) (types.BlockRefV1, bool, error)
+ ForEachOpSeqRef(fn func(seq uint64, ref types.BlockRefV1) error) error
PutBlockHash(blockID uint64, hash string) error
GetBlockHash(blockID uint64) (string, bool, error)