mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-25 08:05:17 +00:00
parent
2e2a1e4789
commit
0c7dc38ac1
@ -318,7 +318,10 @@ func (e *CeremonyDataClockConsensusEngine) decompressAndStoreCandidates(
|
|||||||
}
|
}
|
||||||
if err = e.handleClockFrameData(
|
if err = e.handleClockFrameData(
|
||||||
e.syncingTarget,
|
e.syncingTarget,
|
||||||
application.CEREMONY_ADDRESS,
|
append(
|
||||||
|
p2p.GetBloomFilter(application.CEREMONY_ADDRESS, 256, 3),
|
||||||
|
p2p.GetBloomFilterIndices(application.CEREMONY_ADDRESS, 65536, 24)...,
|
||||||
|
),
|
||||||
any,
|
any,
|
||||||
true,
|
true,
|
||||||
); err != nil {
|
); err != nil {
|
||||||
|
@ -1101,7 +1101,10 @@ func (e *CeremonyExecutionEngine) VerifyExecution(
|
|||||||
}
|
}
|
||||||
|
|
||||||
parent, err := e.clockStore.GetParentDataClockFrame(
|
parent, err := e.clockStore.GetParentDataClockFrame(
|
||||||
application.CEREMONY_ADDRESS,
|
append(
|
||||||
|
p2p.GetBloomFilter(application.CEREMONY_ADDRESS, 256, 3),
|
||||||
|
p2p.GetBloomFilterIndices(application.CEREMONY_ADDRESS, 65536, 24)...,
|
||||||
|
),
|
||||||
frame.FrameNumber-1,
|
frame.FrameNumber-1,
|
||||||
frame.ParentSelector,
|
frame.ParentSelector,
|
||||||
)
|
)
|
||||||
|
@ -235,7 +235,10 @@ func (r *RPCServer) GetTokenInfo(
|
|||||||
addrBytes = append(make([]byte, 32-len(addrBytes)), addrBytes...)
|
addrBytes = append(make([]byte, 32-len(addrBytes)), addrBytes...)
|
||||||
|
|
||||||
frame, err := r.clockStore.GetLatestDataClockFrame(
|
frame, err := r.clockStore.GetLatestDataClockFrame(
|
||||||
application.CEREMONY_ADDRESS,
|
append(
|
||||||
|
p2p.GetBloomFilter(application.CEREMONY_ADDRESS, 256, 3),
|
||||||
|
p2p.GetBloomFilterIndices(application.CEREMONY_ADDRESS, 65536, 24)...,
|
||||||
|
),
|
||||||
nil,
|
nil,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -307,7 +310,10 @@ func (r *RPCServer) GetTokenInfo(
|
|||||||
}
|
}
|
||||||
|
|
||||||
candidateFrame, err := r.clockStore.GetHighestCandidateDataClockFrame(
|
candidateFrame, err := r.clockStore.GetHighestCandidateDataClockFrame(
|
||||||
application.CEREMONY_ADDRESS,
|
append(
|
||||||
|
p2p.GetBloomFilter(application.CEREMONY_ADDRESS, 256, 3),
|
||||||
|
p2p.GetBloomFilterIndices(application.CEREMONY_ADDRESS, 65536, 24)...,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "get token info")
|
return nil, errors.Wrap(err, "get token info")
|
||||||
|
Loading…
Reference in New Issue
Block a user