fix: add missing interface method and amend test blossomsub to use new peer id basis

This commit is contained in:
Cassandra Heart 2025-10-07 21:11:22 -05:00
parent 703e97c66a
commit baa532640f
No known key found for this signature in database
GPG Key ID: 371083BFA6C240AA
2 changed files with 2 additions and 0 deletions

View File

@ -349,6 +349,7 @@ func NewBlossomSubWithHost(
bs.peerID = peerID
bs.h = host
bs.signKey = privKey
bs.derivedPeerID = peerID
go bs.background(ctx)

View File

@ -15,5 +15,6 @@ type WorkerManager interface {
GetFilterByWorkerId(coreId uint) ([]byte, error)
RegisterWorker(info *store.WorkerInfo) error
ProposeAllocations(coreIds []uint, filters [][]byte) error
DecideAllocations(reject [][]byte, confirm [][]byte) error
RangeWorkers() ([]*store.WorkerInfo, error)
}