Arti Thakur artithakur

Corda is a financial service consortium, a decentralized ledger which is all about vault, point-to-point messaging, on and off- ledgers, contracts and notary services.

Let’s now understand the difference between off-ledger and on-ledger data.


On-ledger data is a state that results from Corda transactions. It is the notary attests that the transaction inputs haven't been used before, and registers the transaction outputs as unconsumed states. Such data is cryptographically secured, and if in case any tampering with the node's tables occurs, it will lead to a faulty ledger. All states are final and cannot be modified, and every transaction has a set of required signers, so there is an audit trail to show when the transactional operation was approved and who approved it.Unlike on-ledger data,

Off-ledger data is not tracked by distributed ledger, which means it is not finalized by the notary, and it is not cryptographically secure. But that does not mean that you cannot use node's database schema to add to your own tables. You can insert data into the desired tables from inside of your flows, but that data is not protected, and anyone with database access can change the data, and there's no audit trail showing that the data has tampered.

Reply 0 0
Reply