- 博客(4)
- 收藏
- 关注
原创 Why Do My Blockchain Transactions Fail?A Study of Hyperledger Fabric
失败类型:背书策略失败。说的是不同背书节点读取的同一数据版本不同 MVCC(Multi-Version Concurrency Control)读冲突。同一个交易,执行和验证的版本不一致 幻影读冲突:范围读取中,其中有键的增删改。本质是MVCC读冲突。GitHub - fengfeng651/HyperLedgerLab: Hyperledger testbedhyperladgerLab: Kubernetes集群上的Hyperledger测试平台:用于分析和测试的分布式企业区块链网络的自.
2021-11-25 11:35:19 14204
原创 BLOCKCHAINS VS. DISTRIBUTED DATABASES: DICHOTOMYAND FUSION
区块链,分布式系统安全和吞吐量复制,并行,存储,分片比较了区块链中的fabric 和 quorum 分布式系统 TIDB,etcd提出区块链-数据库混合的性能预测框架
2021-11-25 10:17:05 13964
原创 gevent.queue
import geventfrom gevent.queue import Queueq = Queue()class Queue(object):“”"Create a queue object with a given maximum size.If maxsize is less than or equal to zero or None, the queuesize is infinite.def put(self, item, block=True, timeout=None):
2021-11-09 23:06:46 133
原创 hbbft官方实现python版——commoncoin.py
shared_coin函数接收每一轮为签名分片并验证,然后合成签名并验证。h = PK.hash_message(str((sid, round)))sig = SK.sign(h)PK.verify_share(sig, i, h)合成后的sig =PK.combine_shares(sigs)( sigs = dict(list(received[r].items())[:f+1]) )PK.verify_signature(sig, h)bit = hash(ser..
2021-11-09 16:24:16 726
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人