Type Definition dkg_primitives::MaxVoteLength

pub type MaxVoteLength = CustomU32Getter<2912>;
Expand description

Max size for vote proposal A vote consists of a new address, a leaf index, and a merkle proof [20 bytes, 4 bytes, 32 * HEIGHT bytes] If we want to support up to 1000 validators than the max vote length is 20 + 4 + 32 * 10 = 364 bytes or in bits 2912