Optimise for profitability
Key insights: - Profitability depends heavily on the network and peer quality - While block proposals are more lucrative than attestations, they are much rarer
Check for next action before restarting
To see when your validator is next due to make an attestation or proposal pay attention to the
Slot end messages in your logs:
Specifically, have a look at
If you're concerned about missing an attestation or proposal, wait until
nextActionWait is greater than 4 minutes or so before restarting Nimbus.
You can also use the
nimbus-eth2 API. For example, to check if your validator has a next Proposal slot assigned, run:
Subscribe to all subnets
Launching the beacon node with the
--subscribe-all-subnets option increases bandwidth and cpu usage, but helps the network and makes the block production algorithm perform slightly better.
To elaborate a little, without this option enabled Nimbus only listens to a subset of the attestation traffic - in particular, Nimbus doesn't listen to all unaggregated traffic but instead relies on peers to aggregate attestations on the subnets it doesn't subscribe to.
With this option enabled, Nimbus listens to all unaggregated channels (subscribes to all subnets). Practically speaking, this means that when producing a block, Nimbus can "top up" the aggregates that other peers have made with it's own unaggregated attestations. This can lead to better packing in some cases, which can lead to slightly greater rewards.