Module forest_filecoin::message_pool::msgpool::msg_pool
source ยท Structsยง
- This contains all necessary information needed for the message pool. Keeps track of messages to apply, as well as context needed for verifying transactions.
- Simple structure that contains a hash-map of messages where k: a message from address, v: a message which corresponds to that address.
Constantsยง
- BLS_SIG_CACHE_SIZE ๐
- SIG_VAL_CACHE_SIZE ๐
Functionsยง
- add_helper ๐Finish verifying signed message before adding it to the pending
mset
hash-map. If an entry in the hash-map does not yet exist, create a newmset
that will correspond to the from message and push it to the pending hash-map. - Remove a message from pending given the from address and sequence.