rebroadcast_all#
API documentation for tradeexecutor.ethereum.rebroadcast.rebroadcast_all Python function.
- rebroadcast_all(web3, state, execution_model, routing_model, routing_state)[source]#
Check the state for unconfirmed transactions and attempt to fix them.
Check if tx was correctly broadcasted, but we never received a receipt from a node
Re-sign txs and rebroadcast if needed
- Returns:
Trades we fixed, old broken txs.
Old broken txs might have been replaced with new txs.
- Parameters:
web3 (Web3) –
state (State) –
execution_model (ExecutionModel) –
routing_model (RoutingModel) –
routing_state (RoutingState) –
- Return type: