Pending Transactions
Cauldron is fast and efficient as it also utilizes transactions (including trades, deposits and withdrawals) that are queued for mining for performing actions on the platform. This lets you perform actions instantly, rather than waiting for it to be mined into a block by miners. The alternative would to halt all actions until a previous action in a transaction would be mined, on average a 10 minute wait time.
Transactions queued for mining are referred to as "mempool transactions".
No transaction is final until a miner has secured it by mining it into a block. Until then, there is a high probability that it will be completed, but no guarantee.
Mining is the process of taking transactions in the mempool and adding them into a block. The blockchain is then extended with this block. This is how the transactions and network is secured. Miners complete to do this by utilizing specialized hardware and are rewarded with transaction fees and mining rewards.
Transactions in queue to be mined are marked as pending in the Cauldron user interface.
Conflicting trades & reversal
Cauldron runs on smart contracts that can be utilized by anyone. It is possible that two trades can conflict if submitted to the network at the same time. In general, the miner will pick the first trade they see.
In such case, one of the conflicting trades will be dropped. Any transactions that build on top of the trade, such as other trades, transfers, liquidity provisioning or liquidity withdrawals, will also be dropped.
From a user perspective, they may see it is as a reversal of actions done on Cauldron. This includes all actions. For reversed trades, you get your previous asset back, for withdrawal you get your asset back into the connected wallet, etc.
Cauldron does best effort to broadcast all actions and transactions to all miners as fast as possible, however, it is the miners that have the final say on what goes into the blockchain.