Search code examples
hyperledger-fabrichyperledgerhyperledger-composer

Where the Distributed ledger will store in hyperledger composer and fabric


Thanks in advance, I have one doubt that , where the ledger will store exactly. Whether in local machine or in cloud.


Solution

  • If you run blockchain platform on your machine, it will be stored in your local machine. If you run it on cloud, it will be stored on cloud.

    About concept of ledger refer to Here from fabric document

    Fabric stores 2 types of data, world state(final or current key/value set), and blockchain(transaction history).

    world state data is stored into embedded Level DB, or external one such as CouchDB. Transaction history will be stored into your peer node(/var/hyperledger/production). So, the data location is up to your system configuration.