hyperledger iroha 设置配置文件和 Gas 费
正在测试 iroha 使用 docker 映像让它发挥作用,我没有克隆示例存储库,因为那里有许多 *.config 文件和 *.sample 文件,我不明白哪个是做什么用的,所以我只创建了一个文件配置。 docker 并将其添加到其中。
{
"block_store_path" : "/tmp/block_store/",
"torii_port" : 50051,
"internal_port" : 10001,
"database": {
"type": "postgres",
"host": "some-postgres",
"port": 5432,
"user": "postgres",
"password": "mysecretpassword",
"working database": "iroha_default",
"maintenance database": "postgres"
},
"max_proposal_size" : 10,
"proposal_delay" : 5000,
"vote_delay" : 5000,
"mst_enable" : false,
"mst_expiration_time" : 1440,
"max_rounds_delay": 3000,
"proposal_creation_timeout": 3000,
"stale_stream_max_rounds": 2
}
我的问题是使用数据库时需要block_store_path,它将用于将数据库存储在docker卷中,还有entrypoint.sh它的用途是什么以及可以使用吗使用 docker 容器会导致如何传递 irohad 标志,例如 -drop_state 或 -reuse_state。
Iroha 开箱即用,不支持交易的 Gas 费,但是否可以使用 Hyperledger Burrow 或其他一些方法来实现这一点
Am testing out iroha got it to function using the docker image, I did not clone the example repository cause there where many *.config files and *.sample files I did not understand which is for what, so I just created one file config.docker and added this in it.
{
"block_store_path" : "/tmp/block_store/",
"torii_port" : 50051,
"internal_port" : 10001,
"database": {
"type": "postgres",
"host": "some-postgres",
"port": 5432,
"user": "postgres",
"password": "mysecretpassword",
"working database": "iroha_default",
"maintenance database": "postgres"
},
"max_proposal_size" : 10,
"proposal_delay" : 5000,
"vote_delay" : 5000,
"mst_enable" : false,
"mst_expiration_time" : 1440,
"max_rounds_delay": 3000,
"proposal_creation_timeout": 3000,
"stale_stream_max_rounds": 2
}
My question is block_store_path required when using a database will it be used to store the db in the docker volume, also the entrypoint.sh what is it for and can it be used with docker containers cause how can you pass irohad Flags like -drop_state or -reuse_state.
Iroha out the box does not support gas fees for transactions but is it possible using the Hyperledger Burrow or some other method to get to do so
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论