RFC: reduce data request latency by publishing tallies immediately #2059
aesedepece
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current behavior
A tally transaction for a data request that is unsolved is currently accepted only in one of these cases:
RFC
Case 1 can be modified to remove the "first block after the block" requirement. That is, if a block already includes enough missing reveals to match the number of commitments, a tally can be accepted in that same block.
In other words, data requests can go from reveal stage and to tally stage and finally to complete stage in the lapse of 1 epoch.
This shouldn't compromise any of the assumptions of the commitment scheme, nor introduce any opportunity for censorship from revealers or tally producers.
Moreover, this creates an additional incentive (tally fee) for miners to be the ones to collect and first publish all the missing reveals for each data request.— EDIT: we don't have tally fees anymore!The effect of this change is that for the best-case resolution of a data request (1 commitment round + 1 reveal round), the total data request lifecycle will be reduced by 1 epoch (45 seconds), which is a far from negligible reduction for time-critical use cases.
Beta Was this translation helpful? Give feedback.
All reactions