Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Where transactions are stored in canton domain?Forum ↗

Where transactions are stored in canton domain?

App Development4 posts214 views3 likesLast activity Mar 2022
JA
jaypeedaOP
Mar 2022

Hi team,

Where are the encrypted transaction stored in a Canton domain? Is it in the sequencer or somewhere else?

If the transactions are stored in sequencer, does it mean that when we scale out the mediators, we can just store in Memory as the mediators won’t be storing any important information?

Thanks and regards,
Jean-Paul

BE
bernhard
Mar 2022

It’s in the system underlying the sequencer, yes. So if you are running Canton with its integration with Besu, for example, the encrypted transactions are stored on the Ethereum Blockchain exposed by the Besu clients.

RA
Ratko_Veprek
Mar 2022

The sequencers will store timestamped & serially ordered “encrypted messages”. Some of these encrypted messages contain transactions. However, the messages are only stored for the guaranteed ordered multi-cast. The domain operator might at some point prune the transactions (to keep the resource usage bounded).

However, reading your question in between the lines, you are asking whether you can run a production mediator without using a database store. The answer is no, you can’t. The mediator requires a database to store some information such as its identity, keys and the receipts it received from the participants (for auditability purposes).

JA
jaypeeda
Mar 2022

Thanks for the precision !

← Back to Discussions