Function forest_filecoin::message_pool::msgpool::selection::run_head_change
source · pub(in message_pool) fn run_head_change<T>(
api: &T,
pending: &RwLock<HashMap<Address, MsgSet>>,
from: Tipset,
to: Tipset,
rmsgs: &mut HashMap<Address, HashMap<u64, SignedMessage>>,
) -> Result<(), Error>where
T: Provider,
Expand description
Like head_change
, except it doesn’t change the state of the MessagePool
.
It simulates a head change call.