Reference block time may be invalid #68
Unanswered
matthiasgeihs
asked this question in
General
Replies: 2 comments
-
The challenge duration should always be at least 3 block-times. Otherwise the user risks losing funds. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ggwpez After thinking about it, I agree. However, the restriction on the challenge duration is not self-explaining and also not checked by the framework. Do we document it somewhere? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Location: funder.go, timeout.go
When we fund, we wait for blocktime + challengeDuration before we cancel the context. In some situations this can cause unwanted behavior. For example, when the block tick time is larger than the challenge duration, the BlockTimeout is immediately canceled with the next block, even it the next block arrives within the expected time frame.
Beta Was this translation helpful? Give feedback.
All reactions