{"p":"can-20","op":"mint","tick":"can","amt":"1000","rows":[{"df":"qa","content":[{"q":"How is the atomicity ensured in cross-chain transactions during the processing of micro-blocks?","a":"In cross-chain transactions, the processing of micro-blocks is ensured to be atomic through the use of distributed consensus algorithms and two-phase commit protocols. First, nodes on each chain perform preprocessing on the transactions and reach a consensus. Then, during the transaction confirmation process, nodes follow the two-phase commit protocol, dividing the process into two stages: pre-commit and formal commit. ↵↵The pre-commit stage validates the correctness of the transaction, and after reaching a consensus among all nodes, it proceeds to the formal commit stage. If an error occurs during the pre-commit stage, the transaction will be rolled back, ensuring the atomicity of cross-chain transactions. Meanwhile, the use of distributed consensus algorithms (such as PBFT) also ensures the security and stability of the entire system."}]}],"pr":"0c8fced8f383771242604af805bcd912fb65940c56e108569ac6c561829015c8"}