Where is the transactions stored in IBM Blockchain

2019-03-03 22:49发布

I am running blockchain demo which is provided by IBM mentioned in below link :

https://github.com/IBM-Blockchain/marbles

I have run Hyper ledger Fabric network on one linux system and 3 more clients on another 3 virtual instance on which my marbles client is running. It is working proper.

If we do any transactions then it will affect all the 3 client, So, now if I want to see the all the transactions details, from where I can see it?

Is there any database or any files on client side?

Please provide me answer or reference link if any.

Thanks in advance.

2条回答
冷血范
2楼-- · 2019-03-03 23:11

The marbles demo starts and uses a CouchDB docker container. You might be able to query it, but I don't know how the image was built. See line 187 in docker-compose-marblesv3.yaml.

It's easy to install CouchDB. You tell the peers about their CouchDB in the core.yaml file. But I don't see anything in the docker-compose-marblesv3.yaml so it is probable set in the image.

查看更多
Luminary・发光体
3楼-- · 2019-03-03 23:14

When using the Marbles tutorial, there is a “Story Mode” option that will display more details about the transaction process. See point 10 under the “Use Marbles” heading.

Transactions are stored on a ledger which is associated with each peer. Refer to the Hyperledger Fabric documentation on the ledger. The linked Transaction Flow section might also be helpful. The ledger itself is not propagated to a client-side application. However, queries initiated from client applications can be run against the ledger to return information.

The Hyperledger Fabric Writing Your First Application documentation topic could also help to explain how querying the ledger works.

查看更多
登录 后发表回答