Skip to main content

MAX_NAMED_ACCOUNTS

Constant MAX_NAMED_ACCOUNTS 

Source
pub const MAX_NAMED_ACCOUNTS: usize = 16;
Expand description

The most accounts one write may name while a policy that reads something about each of them applies to it.

Reasonable range: 1 to 64. A write naming more is refused outright: judging it on the first few would let a record built to name one more person than this server checks name anybody at all. The count is of accounts this deployment does not hold, since its own are read from its own store. It is also held to Limits::per_write divided by the lookups that apply, so every account named is read.