首页>
外国专利>
METHOD AND DEVICE FOR PREVENTING FORKING OF BLOCKCHAIN
METHOD AND DEVICE FOR PREVENTING FORKING OF BLOCKCHAIN
展开▼
机译:防止区块链的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
a method and device for preventing forking of a blockchain. The method comprises: selecting a number s of consecutive blocks Bn to Bn+s (S101); a node An that creates the block Bn generating a key pair for the block Bn, the block Bn containing a public key PKn in the key pair, and a private key PK'n in the key pair being held individually by the node An (S102); the node An being active in the process of continuously generating blocks Bn+1 to Bn+s in the blockchain until the block Bn+s in the s consecutive blocks becomes a tamper-proof block (S103); in response to that the block B n+s in the s consecutive blocks becomes a tamper-proof block, using the private key PK'n to sign on the block Bn+s (S104); in response to subsequent generation of a block Bm in the blockchain, placing the signature in the block Bm, wherein m mets: m>n+s (S105); the nodes creating the various s blocks Bn to Bn+s all executing the described steps, thereby forming a plurality of backward links associated with the block size of the blockchain, wherein each block is proven by the preceding one that the block is present on the backbone of the blockchain (S106); and a newly added node for creating a new block determining, according to the number of the backward links, whether the blockchain forks.
展开▼