【问题标题】:Is it possible to count the records stored in hyperledger fabric blockchain,i dont want to fetch data from statedb是否可以计算存储在超级账本结构区块链中的记录,我不想从 stateb 中获取数据
【发布时间】:2021-01-11 11:57:35
【问题描述】:

我想从区块链账本中获取数据,而不是像 couch 和 leveldb 这样的 stateb。我想编写链码方法来计算区块链账本中的总记录。

【问题讨论】:

    标签: hyperledger-fabric blockchain ibm-blockchain


    【解决方案1】:

    如果我没记错的话,Chaincode API 不提供这样的功能,例如,如果你使用 couchdb,你只能通过键获取状态或执行丰富的查询。

    【讨论】:

      猜你喜欢
      • 2017-05-30
      • 1970-01-01
      • 1970-01-01
      • 2019-05-09
      • 1970-01-01
      • 2018-08-05
      • 1970-01-01
      • 2019-04-22
      • 1970-01-01
      相关资源
      最近更新 更多