I am new to Hyperledger Composer. I've followed this tutorial and I was able to deploy the business network successfully. https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-single-org
However, I am very confused in terms of participants and peers. More specifically:
Where is the distributed ledger stored? Based on my research, there are two different database. One is the actual ledger. One is the state database. Where are they stored specifically? Will all the participants/peers have their own copy of the ledger locally? If so, where is it located?
Are participants and peers the same? I can create participants using the REST api that composer provide, but when I develop the business network following the tutorial, it asks me to create connection files, and those keys. I am confused. The participants I created through api are different from the ones I created using the connection files I assume?
Ultimately, I want to create another peer on my blockchain, so that my friend can have his copy of the ledger. How can I do that?
Thank you so much in advance.