Conversation
Also removed the ability to update AuthPoolMaxSize and AuthQueueSize.
refactor: update account type
refactor: update account type
This reverts commit 314ef3d.
| halfLotteryPeriod := lotteryPeriod / 2 | ||
|
|
||
| // start forwarding after half-way through the Safrole lottery period. | ||
| forwardingSlots := halfLotteryPeriod - delaySlots |
There was a problem hiding this comment.
Forwarding should be delayed until max(⌊E/20⌋,1) slots after the application of connectivity changes.
Evenly forwarding tickets from max(⌊E/20⌋,1) to halfLotteryPeriod.
And how to evenly forwarding tickets? Mayber we can discuss after this change.
1. remainingSlots should start from SlotSubmissionEnd. 2. proxy validator forwarding to more than one validators, so appends batch size computing.
…event zero module
…ash to ByteSequence
|
@nu1lspaxe plz check 86dd548, which should have solved the merckle process issue, and see whether you can start working on ce129. |
| if tranche == 0 { | ||
| // Build ring from posterior validators | ||
| s := store.GetInstance() | ||
| gamma := s.GetPosteriorStates().GetGammaK() |
There was a problem hiding this comment.
I thought we should use priorState instead of posteriorState to find the signer by index of validator set, cause in the networking, auditor only has block and priorState information.
And the formula in GP also use priorState
GP (17.3) 17.14
NOTE: The implementation of audit section might be outdated.
| ctx := []byte{} | ||
| msg := annBytes | ||
|
|
||
| verified := false |
There was a problem hiding this comment.
This is temporary way for VRF verification...
In the real case, we might know the auditor index publicKey by validator set.
| return fmt.Errorf("empty gamma for verifier") | ||
| } | ||
|
|
||
| ring := []byte{} |
There was a problem hiding this comment.
For both VRF signature instead of RingVRF.
In our implementation, you can simply set ring size = 1. see
Only focus on
internal/networking/handler/ce, other files are auto included.