Commit Graph

12 Commits

Author SHA1 Message Date
Jim McDonald dc0847acfd
Rework conditions for reorgs.
Avoid refetching attestation and proposal duties when not necessary in
the situation where a block for slot 0 of the epoch is not presented.
2021-05-04 10:51:25 +01:00
Jim McDonald 3b6e160fb8
Provide flag to enable chain reorganisations. 2021-02-24 22:05:11 +00:00
Jim McDonald 443ca18d4e
Handle chain reorganisations.
When a chain reorganisation occurs it is possible that this impacts
Vouch's attestations and proposals for the current and next epoch.  This
patch listens to the Ethereum 2 events stream for reorganisation
notifications.  If it finds one it cancels existing and creates new
duties, as required.
2021-01-31 13:49:15 +00:00
Jim McDonald 4e2aaf6c5c
Add `controller.max-attestation-delay`
This option allows users to control the maximum amount of time that
Vouch will wait for a block to arrive before starting its attestation
process.  Note that this is a spec value, so changes can have a highly
detrimental impact on Vouch's behaviour.
2020-12-30 23:12:05 +00:00
Jim McDonald 925e69fb9a
Update dependencies 2020-11-26 20:32:04 +00:00
Jim McDonald fd48090007
Separate accountmanager. 2020-11-25 00:02:13 +00:00
Jim McDonald 4e5fbf18ba
Initial work on support of standard API 2020-11-14 08:36:49 +00:00
Jim McDonald 796cb6348f
Initial move to go-eth2-client 2020-10-28 15:09:51 +00:00
Jim McDonald e19fae7b4e
Ensure genesis attestes are scheduled appropriately. 2020-10-04 08:12:34 +01:00
Jim McDonald cfbe1726da
Do not fetch validator status twice on startup 2020-09-30 13:24:42 +01:00
Jim McDonald b279c097df
Do not return early if validator update fails. 2020-09-29 22:41:30 +01:00
Jim McDonald bee97962e7
Initial release 2020-09-28 07:46:00 +01:00