mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-24 23:55:18 +00:00
adjust worker indices for unusual configurations
This commit is contained in:
parent
5230ceb413
commit
ff8af1a173
@ -36,5 +36,5 @@ func FormatVersion(version []byte) string {
|
||||
}
|
||||
|
||||
func GetPatchNumber() byte {
|
||||
return 0x05
|
||||
return 0x06
|
||||
}
|
||||
|
@ -202,13 +202,15 @@ func NewDataWorkerIPCServer(
|
||||
panic(err)
|
||||
}
|
||||
|
||||
indices := p2p.GetOnesIndices(p2p.GetBloomFilter(digest, 1024, 64))
|
||||
|
||||
return &DataWorkerIPCServer{
|
||||
listenAddrGRPC: listenAddrGRPC,
|
||||
logger: logger,
|
||||
coreId: coreId,
|
||||
prover: prover,
|
||||
indices: []int{
|
||||
p2p.GetOnesIndices(p2p.GetBloomFilter(digest, 1024, 64))[coreId%64],
|
||||
indices[int(coreId)%len(indices)],
|
||||
},
|
||||
parentProcessId: parentProcessId,
|
||||
}, nil
|
||||
|
Loading…
Reference in New Issue
Block a user