pub fn add_transaction(
tx: &TransactionVerificationData,
state_stem: bool,
tables: &mut impl TablesMut,
) -> Result<(), TxPoolWriteError>
Expand description
Adds a transaction to the tx-pool.
This function fills in all tables necessary to add the transaction to the pool.
ยงPanics
This function will panic if the transactions inputs are not all of type Input::ToKey
.