区块链 哪些交易会被拒绝 失败

There are several possible reasons why blockchain transactions can be rejected, including consensus errors, syntax errors, and version errors.3 

Consensus errors

Validation logic (VSCC in the case of Hyperledger Fabric) Policy failure (endorsement policy not satisfied in the case of Hyperledger Fabric)

Syntax errors

Invalid input (smart contract id, unmarshalling errors, and so on) Unverifiable client or endorsement signature Repeated transaction (due to error or replay attack)

Version errors

By version control (readset version mismatch, writeset is unwritable) For the current version of this document, we consider throughput the same as goodput. Since different blockchain platforms handle consensus and transaction validation differently, it is hard to align error classes across platforms. And assessing the reasons why any transaction is rejected requires a deeper analysis of sub-system metrics. While this could be interesting to the platform’s developers, this is outside the scope of this document.

 

区块链交易被拒绝的原因有很多,包括共识错误、语法错误和版本错误 


共识错误


验证逻辑(在Hyperledger结构的情况下为VSCC)策略失败(在Hyperledger结构的情况下不满足背书策略)


语法错误


无效输入(智能合约id、解组错误等)无法验证的客户端或背书签名重复交易(由于错误或重放攻击)


版本错误


通过此文档的当前版本的版本控制(readset version mismatch,writeset is unwriteable),我们认为吞吐量与goodput相同。由于不同的区块链平台处理共识和交易验证的方式不同,因此很难跨平台调整错误类别。评估任何事务被拒绝的原因需要对子系统度量进行更深入的分析。虽然这对平台的开发人员来说可能很有趣,但这超出了本文的范围。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

软件工程小施同学

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值