Skip to content

Commit

Permalink
add optional validator registration
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed May 5, 2022
1 parent 409e11a commit 5d35bbd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions apis/validator/prepare_beacon_proposer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ post:
information periodically, for example each epoch, to ensure beacon nodes have
correct and timely fee recipient information.
Optionally the validator may also include a signed validator registration
which will be used by the Builder API to verify a validator's latest fee
recipient.
Note that there is no guarantee that the beacon node will use the supplied fee
recipient when creating a block proposal, so on receipt of a proposed block the
validator should confirm that it finds the fee recipient within the block
Expand All @@ -32,6 +36,14 @@ post:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/Uint64'
fee_recipient:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/ExecutionAddress'
validator_registration:
type: object
properties:
timestamp:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/Uint64'
signature:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/Signature'

responses:
"200":
description: |
Expand Down

0 comments on commit 5d35bbd

Please sign in to comment.