Commit Graph

41 Commits

Author SHA1 Message Date
Jim McDonald f56fa48655
Add `vouch_ready` and `vouch_release` metrics.
`vouch_ready` is a prometheus metric that is `0` if Vouch is not yet
ready to validate, and `1` if it is.

`vouch_release` has a labeled value `version` that contains the release
version of Vouch.
2021-02-01 19:27:06 +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 cc09d86dd6
Update changelog 2020-12-30 16:53:59 +00:00
Jim McDonald eba4161a02
Update version. 2020-12-28 08:33:29 +00:00
Jim McDonald d7dd5875ca
Update changelog 2020-12-28 08:32:33 +00:00
Jim McDonald ce99b4328d
Changes for v1.0.3 2020-12-28 08:24:50 +00:00
Jim McDonald 6be25aed85
Update changelog. 2020-12-26 17:31:10 +00:00
Jim McDonald ad1495bae6
Fix 'vouch_attestation_process_duration_seconds'.
This metric used to count the number of internal attestation processes
carried out, however a single attestation process can involve multiple
validators if they are attesting in the same slot and committee.  This
fix ensures that the metrics reflect the number of attestations, not the
number of processes.
2020-12-16 14:05:11 +00:00
Jim McDonald 4071dabf9e
Re-implement accountmanager metrics.
This reintroduces prometheus metrics for the account manager module.
The metrics track the validating state of each account, and are found
under the `vouch_accountmanager_accounts_total` metric.  The metrics are
differentiated using the `state` label.
2020-12-16 13:46:00 +00:00
Jim McDonald 57fcf15be1
Increment version 2020-11-29 16:07:58 +00:00
Jim McDonald 6a28a2ce86
Include source and target epochs when scoring attestation data.
Fixes #8
2020-11-29 10:21:51 +00:00
Jim McDonald b22c451636
Version update 2020-11-27 15:55:57 +00:00
Jim McDonald e66a4a3613
Tidy-ups for attestation data strategy 2020-11-26 20:31:28 +00:00
Jim McDonald fd48090007
Separate accountmanager. 2020-11-25 00:02:13 +00:00
Jim McDonald b53a039da9
Clean up submitter messages. 2020-11-24 22:58:32 +00:00
Jim McDonald 08ea6e8f2c
Implement multisigner for wallet 2020-11-18 10:01:57 +00:00
Jim McDonald 2e05b68684
Bump version 2020-11-17 13:22:32 +00:00
Jim McDonald 981bdcbfa5
Re-enable prysm aggregation 2020-11-14 23:44:22 +00:00
Jim McDonald 9087add881
Merge branch 'proposal-slot-scaling' 2020-11-14 12:26:53 +00:00
Jim McDonald 13f5d5eeaf
Set default process concurrency 2020-10-28 19:36:17 +00:00
Jim McDonald 4484ea0b5e
Fix race condition in first strategy. 2020-10-28 16:48:49 +00:00
Jim McDonald c21866491a
Tidy up trace logging for scheduler. 2020-10-21 19:16:11 +01:00
Jim McDonald fb95aadd11
Bump version 2020-10-20 07:57:36 +01:00
Jim McDonald c6adf2c7e5
Exit attest/aggregate routine on attestation failure. 2020-10-20 07:22:41 +01:00
Jim McDonald fd5540086f
Error appropriately when misconfigured. 2020-10-17 21:50:50 +01:00
Jim McDonald cddc1419ca
Avoid crash if accountmanager not configured. 2020-10-13 17:25:29 +01:00
Jim McDonald 6845a0ac08
Avoid crash if beacon committee subscription information is not present.
Fixes #1
2020-10-13 12:40:18 +01:00
Jim McDonald 469e6a02a3
Add measurement of validator status fetching operations 2020-10-09 16:07:42 +01:00
Jim McDonald a3086234a0
Add ListJobs for scheduler. 2020-10-04 12:58:46 +01:00
Jim McDonald eb5c919344
Ensure duplicated attestations are only counted as 1 in block proposal. 2020-10-04 12:28:44 +01:00
Jim McDonald e19fae7b4e
Ensure genesis attestes are scheduled appropriately. 2020-10-04 08:12:34 +01:00
Jim McDonald 1f1783ed95
Log selected module when there is a choice 2020-10-01 07:09:10 +01:00
Jim McDonald cfbe1726da
Do not fetch validator status twice on startup 2020-09-30 13:24:42 +01:00
Jim McDonald 8d29b15618
Fetch validators without balances, for faster response from Prysm nodes 2020-09-30 13:24:12 +01:00
Jim McDonald 702e4d5964
Return on failure to acquire a semaphore 2020-09-30 10:44:29 +01:00
Jim McDonald fc97a9f157
Fix changelog formatting 2020-09-30 10:01:26 +01:00
Jim McDonald 9952769588
Bump version to 0.6.1 2020-09-30 09:57:36 +01:00
Jim McDonald 6142a292b5
Update documentation for accountmanager.
Add configuration for multinode submitter.
2020-09-30 09:56:44 +01:00
Jim McDonald b279c097df
Do not return early if validator update fails. 2020-09-29 22:41:30 +01:00
Jim McDonald 6d3657da5d
Block proposal calculation counts slashed indices rather than slashing entries 2020-09-29 11:52:00 +01:00