-
Notifications
You must be signed in to change notification settings - Fork 0
The worst case of relayer-only mode seems to be O(N), N is block length. #1
Comments
The worst case of all models are When the evil second relayer or the evil challenger keep challenge the honest initial relay on all the blocks. The initial relayer need to relay all the blocks on the chain, so the worst case always Therefor, it is important to higher the barrier for making a challenge, such as provide a header instead of a |
By the way, the worst case is the one always challenge everything. This behavior in Chinese term is "杠精". |
O(N) means the time, not the works. Relayer-Challenge Model should be O(logN) |
And the variable bond can against the assumption For example, the bond with third header should be
|
add description of worst case mentioned in issue #1
Assuming that we have enough relayer attackers (> N).
And for each round, if on-chain rules find that the sampled(targeted) headers disagree, then define next sampling is always at half of left side.
Here is an example, the relayed block height to latest confirmed is 8, and there are 1 Honest(H) Relayer, and 7 other Lier(L) Relayers, L2 - L8
The header they relayed is as following:
Initial: G = A1
Starting relay from H1(height = 8, Round 1)
Note1: A1, B1, B8, C1, C7, C8 ... H1, H2, H3, H4, H5, H6, H7, H8 etc. are header hash/mmr_root.
Note2: A1...H1 are valid headers, (A-H)# (where # >=2) are invalid headers.
The text was updated successfully, but these errors were encountered: