Explore Courses Blog Tutorials Interview Questions
0 votes
in Blockchain by (12.7k points)

Where does Hyperledger Sawtooth store its ledger entries within the validator? Is it in a readable format?

What kind of a database does it maintain?

Can the transactions performed on the network be seen?

1 Answer

0 votes
by (29.5k points)
edited by

The blockchain is stored under /var/lib/sawtooth/   by default unless you have $SAWTOOTH_HOME set, then it uses that directory. The blockchain (transactions) is stored as a sparse file in an LMDB database in file block-00.lmdb . The global state (variables) is stored in file merkle-00.lmdb as a Merkle Trie.
I would recommend reading this for more clarifications

If you want to be an expert in your field, then enroll in Blockchain Certification by Intellipaat.

Browse Categories