rheia
rheia copied to clipboard
Add timeouts to runtime.Context.
A fairly common operation in code that takes in a runtime.Context is to have the runtime.Context be canceled when a timeout is exceeded. Once this is implemented, all code in Rheia which takes in a runtime.Context will be updated to cancel their passed-in Context's when a timeout is exceeded wherever necessary.
An example of some code in Rheia where timeouts are necessary and have yet to be implemented is the transaction pulling and block proposal sampling code.
Fixed in staging branch. Will close once the branch is merged.