In Pallet ImOnline configuration
type MaxKeys: Get<u32>
The maximum number of keys that can be added.
What keys are they talking about? Is it the number of fields from our SessionsKey
struct?
ImOnline sends a heartbeat when an authority asks it to. The MaxKeys
is setting the maximum number of authorities that are allowed to ask for the heartbeat to be sent.
We try and bound blockchain storage where possible. One of the benefits of this is that the worst case weight is likely to be less with lower bounds and thus users get cheaper fees.
MaxPeerInHeartbeats
which I am not sure how it relates to MaxKeys
Commented
Mar 15, 2022 at 12:11