Tidy-ups for attestation data strategy

This commit is contained in:
Jim McDonald 2020-11-26 20:31:28 +00:00
parent 0b4d840beb
commit e66a4a3613
No known key found for this signature in database
GPG Key ID: 89CEB61B2AD2A5E7
2 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,5 @@
Development:
- introduce attestation data strategy, allowing selection of best or first attestation from a set
- rework controller to schedule jobs in separate functions, allowing future flexibility
- break accountmanager in to accountmanager, signer and validatorsmanager
- better for maintainability and additional features

View File

@ -44,8 +44,18 @@ submitter:
# strategies provide advanced strategies for dealing with multiple beacon nodes
strategies:
# The beaconblockproposal strategy obtains beacon block proposals from multiple sources.
beaconblockproposal:
# style can be 'best', which obtains blocks from all nodes and compares them, or 'first', which uses the first returned
# style can be 'best', which obtains blocks from all nodes and selects the best, or 'first', which uses the first returned
style: best
# beacon-node-addresses are the addresses of beacon nodes to use for this strategy.
beacon-node-addresses:
- localhost:4000
- localhost:5051
- localhost:5052
# The attestationdata strategy obtains attestation data from multiple sources.
attestationdata:
# style can be 'best', which obtains attestations from all nodes and selects the best, or 'first', which uses the first returned
style: best
# beacon-node-addresses are the addresses of beacon nodes to use for this strategy.
beacon-node-addresses: