sawtooth-core
sawtooth-core copied to clipboard
Is batch in sawtooth same as in traditional 2 phase commit
Newbie here, please be patient with my question :). I was reading about 2 pc in oracle blockchain platform and wondering if sawtooth batch achieves the same. Also, can a sawtooth batch across multiple sawtooth instances (chains) e.g. distributed transaction across multiple sawtooth chains.
Thanks,
On Thu, Sep 21, 2023 at 12:04 PM GOVYANSONG @.***> wrote:
Newbie here, please be patient with my question :). I was reading about 2 pc in oracle blockchain platform and wondering if sawtooth batch achieves the same. Also, can a sawtooth batch across multiple sawtooth instances (chains) e.g. distributed transaction across multiple sawtooth chains.
A batch contains multiple transactions, with the batch being the atomic structure. It allows you to submit multiple transactions with assurance that they will be all committed or none committed. This is independent of the consensus mechanism used. There is no distributed transaction capability as that would belong a layer higher (the application layer).
-Shawn
Message ID: @.***>