Function forest_filecoin::message_pool::msgpool::msg_pool::add_helper
source ยท pub(in message_pool) fn add_helper<T>(
api: &T,
bls_sig_cache: &Mutex<LruCache<Cid, Signature>>,
pending: &RwLock<HashMap<Address, MsgSet>>,
msg: SignedMessage,
sequence: u64,
) -> Result<(), Error>where
T: Provider,
Expand description
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 new
mset
that will correspond to the from message and push it to the pending
hash-map.