I'm new to hyperledger and am working with the hyperledger fabcar sample in fabric-samples. When initLedger is executed in \fabric-samples\chaincode\fabcar\javascript\lib\fabcar I'm wondering where it saves the car data and subsequently the block data, to be clear, the exact directory location of where this data lives. Thanks.
I've tried looking in almost every location in fabric-samples haven't been able to find anything.
....
for (let i = 0; i < cars.length; i++) {
cars[i].docType = 'car';
await ctx.stub.putState('CAR' + i, Buffer.from(JSON.stringify(cars[i])));
console.info('Added <--> ', cars[i]);
}
console.info('============= END : Initialize Ledger ===========');
}
Upon executing ctx.stub.putState at the end of the function where is the data going?