Currently we find settlements first and then wait for the transaction to be mined.
We can improve this by continuing to solve while waiting for the transaction continuing to treat all orders as valid as if there was no transaction. Every interval we are currently updating the gas price we would use the currently best available settlement. This works for both public mempool and archerdao. For the mempool we can only update on increased gas price but for archerdao we can always change the transaction.
Original issue gnosis/gp-v2-services#879 by @vkgnosis
Currently we find settlements first and then wait for the transaction to be mined.
We can improve this by continuing to solve while waiting for the transaction continuing to treat all orders as valid as if there was no transaction. Every interval we are currently updating the gas price we would use the currently best available settlement. This works for both public mempool and archerdao. For the mempool we can only update on increased gas price but for archerdao we can always change the transaction.