mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
fix: add missing interface method and amend test blossomsub to use new peer id basis
This commit is contained in:
parent
703e97c66a
commit
baa532640f
@ -349,6 +349,7 @@ func NewBlossomSubWithHost(
|
||||
bs.peerID = peerID
|
||||
bs.h = host
|
||||
bs.signKey = privKey
|
||||
bs.derivedPeerID = peerID
|
||||
|
||||
go bs.background(ctx)
|
||||
|
||||
|
||||
@ -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)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user