Topics

Does Orderer maintain ledger for each channel? #fabric-orderer


Kevin X
 

It seems logical for orderer to maintain the ledger (at least the blockchain) for each registered channel? Can someone confirm this?
If not, how does it validate? 

Thanks


Adhav Pavan
 

Yes, Kevin.

Orderer will have a chain of the blocks(Blockchain) and it does not maintain the current state of the ledger.

We can find the blockchain at the following path inside the orderer container.

Path: /var/hyperledger/production/orderer/chains/mychannel

where mychannel is channel name. There could be multiple file named like blockfile_000000

Thank you.

Heartfelt Regards,
Pavan Adhav

Cell Phone:+91-8390114357 

E-Mail: adhavpavan@...



On Tue, Jan 7, 2020 at 8:58 AM Kevin X <kevinx8888@...> wrote:
It seems logical for orderer to maintain the ledger (at least the blockchain) for each registered channel? Can someone confirm this?
If not, how does it validate? 

Thanks