Expand description
Partitioning of the accounts into chunks for rent collection
Structs§
- populated at startup with the accounts that were found that are rent paying. These are the ‘possible’ rent paying accounts. This set can never grow during runtime since it is not possible to create rent paying accounts now. It can shrink during execution if a rent paying account is dropped to lamports=0 or is topped off. The next time the validator restarts, it will remove the account from this list.
Functions§
- return all end partition indexes for the given partition partition could be (0, 1, N). In this case we only return [1] the single ‘end_index’ that covers this partition. partition could be (0, 2, N). In this case, we return [1, 2], which are all the ‘end_index’ values contained in that range. (0, 0, N) returns [0] as a special case. There is a relationship between
- This is the inverse of pubkey_range_from_partition. return the lowest end_index which would contain this pubkey