blockEncByteLens constant

List<int> const blockEncByteLens

For a final partial block of N raw bytes (N = index into this list, 0..8), this is the fixed number of Base58 characters it's padded to. Mandated by the Monero protocol - not derivable from a formula, so it's just a lookup table.

Implementation

static const List<int> blockEncByteLens = [0, 2, 3, 5, 6, 7, 9, 10, 11];