US20210099312A1 - Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system - Google Patents

Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system Download PDF

Info

Publication number
US20210099312A1
US20210099312A1 US16/591,578 US201916591578A US2021099312A1 US 20210099312 A1 US20210099312 A1 US 20210099312A1 US 201916591578 A US201916591578 A US 201916591578A US 2021099312 A1 US2021099312 A1 US 2021099312A1
Authority
US
United States
Prior art keywords
node
committee
validator
nodes
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US16/591,578
Inventor
Yangrui GUO
Qiandong Yang
Hui Zhou
Weiqiang LU
Sheng Zeng
Liang Yang
Sicong ZHUANG
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Cypherium Blockchain Inc
Original Assignee
Cypherium Blockchain Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Cypherium Blockchain Inc filed Critical Cypherium Blockchain Inc
Priority to US16/591,578 priority Critical patent/US20210099312A1/en
Assigned to CYPHERIUM BLOCKCHAIN INC. reassignment CYPHERIUM BLOCKCHAIN INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: GUO, YANGRUI, YANG, LIANG, YANG, QIANDONG, ZHOU, HUI, ZHUANG, SICONG, LU, WEIQIANG, ZENG, Sheng
Publication of US20210099312A1 publication Critical patent/US20210099312A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1834Distributed file systems implemented based on peer-to-peer networks, e.g. gnutella
    • G06F16/1837Management specially adapted to peer-to-peer storage networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/223Payment schemes or models based on the use of peer-to-peer networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3678Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes e-cash details, e.g. blinded, divisible or detecting double spending
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4016Transaction verification involving fraud or risk level assessment in transaction processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1051Group master selection mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0637Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/083Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]
    • H04L9/0833Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP] involving conference or group key
    • H04L9/0836Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP] involving conference or group key using tree structure or hierarchical structure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • H04L9/3255Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures using group based signatures, e.g. ring or threshold signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
    • H04L9/3265Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements using certificate chains, trees or paths; Hierarchical trust model
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3297Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • H04L2209/38

Definitions

  • the disclosed embodiments relate to distributed transaction-based systems and, more particularly, systems and methods for selecting and utilizing a group of validator nodes that may be used to verify and record transactions for one or more blockchains in a distributed system.
  • a network is a collection of interconnected nodes that exchange information.
  • the nodes can include computers, servers, mobile devices, or any other device that can be configured to communicate with other nodes in the network.
  • the network may be configured as a centralized system, such as a client-server system having one or more central servers in communication with one or more client devices, or may be configured as a decentralized system, such as a peer-to-peer (P2P) network.
  • P2P network is a system in which each network node, sometimes called a “peer,” may be directly connected to one or more other nodes in the network. Peers typically have similar privileges and may share a portion of their resources with other peers in the network without coordination by any centralized servers or hosts.
  • P2P networks have been implemented using various technologies, including for example file-sharing systems, such as Napster, and blockchain technologies, such as Bitcoin.
  • a transaction-based system is a system that processes data in units of “transactions,” which may have different contents, formats, or other characteristics depending on the system.
  • An example of a conventional transaction-based system is Sabre, which is a system used by travel agents and companies to process transactions that are used to book airline tickets.
  • a transaction may be a message, event, or process initiated or invoked by a user or computer program, and may provide a single unit of work in the system.
  • a transaction may contain data corresponding to an electronic funds transfer between different bank accounts.
  • a transaction could also correspond to an event when two or more parties enter into an agreement, such as a legal contract.
  • the action of entering into the agreement is processed and recorded as a single transaction
  • the transaction data may correspond to the agreement itself and/or any other information relating to the agreement.
  • each transaction may correspond to the identity of the party or parties that have signed an agreement, in which case the signing of the agreement by each party is processed and recorded as one transaction.
  • a transaction, alone or combined with other transactions, may be represented or transmitted as a unit of data.
  • a transaction usually is defined as the transfer of a certain amount of Bitcoin cryptocurrency from one Bitcoin account to another.
  • a decentralized transaction-based system is desirable because the system depends less on centralized servers and, thus, may be more reliable.
  • Implementing such a distributed system on a P2P network is often preferred because the necessity of using a centralized host server is eliminated and the system is reliable until many network nodes fail at the same time, which is typically unlikely.
  • implementing such a distributed transaction-based system is challenging because the lack of a centralized host may result in complicated and dynamic component interdependencies.
  • Several critical issues must be solved: for example, how is transaction data organized and stored in the system; how is a consensus reached by the network nodes to confirm or reject a new transaction request; and how are network nodes in the system authenticated and/or their authentication verified.
  • data in a distributed P2P system may be stored as many copies, for example, by one or more of the network nodes.
  • each node may have a copy of the entire data set in a transaction-based system or it may store only a portion of the data.
  • Many schemes have been designed to ensure that each network node may effectively store and verify the system data through cooperation with the other nodes.
  • One exemplary scheme uses blockchain technology, which is widely known as the technology behind the popular cryptocurrency Bitcoin.
  • transaction data can be organized into discrete “blocks,” each of which may be linked with a predecessor (“parent”) block by storing a cryptographic hash value of the parent block, or by using other techniques such as using hash values and/or digital signatures of one or more preceding blocks.
  • the contents in each block can be verified against its cryptographic hash value stored in a subsequent adjacent (“child”) block. Therefore, once the accuracy of the current block of the blockchain is verified, a network node can verify every preceding block contained in the blockchain without having to contact any of the other nodes.
  • the Bitcoin system is one of the most well-known implementations of blockchain technologies in distributed transaction-based systems.
  • each network node competes for the privilege of storing a set of one or more transactions in a new block of the blockchain by solving a complex computational math problem, sometimes referred to as a mining proof-of-work (POW).
  • POW mining proof-of-work
  • a set of transactions is typically stored in a new block of the Bitcoin blockchain at a rate of about one new block every 10 minutes, and each block has an approximate size of one megabyte (MB).
  • MB megabyte
  • the Bitcoin system is subject to an impending scalability problem: only 3 to 7 transactions can be processed per second, which is far below the number of transactions processed in other transaction-based systems, such as the approximately 30,000 transactions per second in the VisaTM transaction system.
  • Bitcoin-NG attempts to solve this scalability problem by introducing a network node in the P2P system that acts as a leader node that processes transactions and adds new blocks to the Bitcoin blockchain.
  • This system includes two separate blockchains: a Transaction blockchain for storing the transaction data and a Keyblock blockchain for publishing a public key, which may be a temporary “epoch” public key assigned to the current leader node.
  • the Keyblock blocks are generated in the same way as transaction blocks are generated in the conventional Bitcoin network, except the Keyblock blocks contain only the public key that the leader node will use to sign new blocks added to the Transaction blockchain.
  • the leader node is the node that generated the latest block in the Keyblock blockchain and that digitally signs new blocks added to the Transaction blockchain using a private key corresponding to its published epoch public key.
  • Bitcoin-NG does solve conventional Bitcoin's scalability problem
  • the leader node in Bitcoin-NG can process new transaction blocks more efficiently than using the POW approach of conventional Bitcoin, it somewhat reverts Bitcoin from a distributed system to a system by having a single leader node at any given time.
  • the reliability and the security of the Bitcoin-NG system depends, at least partially, on the reliability and security of that leader node.
  • the failure of the leader node may cause a catastrophic failure of the system.
  • the Bitcoin-NG system is described, for example, in the paper by Ittay Eyal et al., “Bitcoin-NG: A Scalable Blockchain Protocol,” 13 th USENIX Symposium on Networked System Design and Implementation (NSDI '16), pp. 45-59 (2016), which is incorporated by reference herein.
  • each node communicates with each of the other nodes to confirm that enough nodes have received the state-transition request, and then the nodes validate the request after confirming a first threshold number of nodes received it.
  • each node communicates with each of the other nodes to confirm that a second threshold number of nodes were able to validate the request. If the second threshold is satisfied, the nodes finalize the requested system state-transition based on the second round of confirmation. Because each node communicates with each of the other nodes in the system to reach a consensus, such a system is referred as a mesh communication network.
  • PBFT Practical Byzantine Fault Tolerance
  • a “view” refers to a period of time that a node serves as the leader node.
  • a node in the PBFT system discovers that the leader node has failed, it broadcasts a request to each of the other nodes in the system to change the leader node, which is a “view change” request.
  • a node receives enough view-change requests, it first determines a new leader node based on predefined rules and sends a view-change confirmation to the new leader node. The next “view” starts when the new leader node receives enough view-change confirmations from the other nodes in the PBFT system.
  • HotStuff introduced a protocol that modifies the mesh communication network in the PBFT system, merging the view-change process with generation of transaction blocks, resulting a three-phase protocol. Because each node communicates all of its messages (and transactions) directly to the leader node instead of sending messages to the leader node via one or more other nodes, the communication complexity of the system is greatly reduced. However, even with such reduced communications, the HotStuff network still faces scalability issues. The number of nodes is limited to the capability of the leader node and, as the number of cosigners grows, the system slows because of the time and resources consumed while processing and waiting for digital signatures from all of the cosigners.
  • Another issue with conventional distributed transaction-based systems relates to authentication of the nodes using digital signatures.
  • each node must confirm that each information it receives is actually originated from the node that appears to have sent the information.
  • Digital signatures are typically used to verify the authenticity of the sender of the information.
  • digital signatures require each node to store a pair of keys: a public key and a private key.
  • Each node keeps its own private key confidential, and does not share it with other nodes in the network, whereas the node publishes its public key to all of the other nodes in the network.
  • the node digitally signs information using its private key and the other nodes may verify the signature using the signer's public key, which must be made available by the signing node.
  • the communicated information may be accompanied with several different digital signatures.
  • each node has to verify each digital signature individually, resulting in another bottleneck of scalability for the distributed system.
  • a multi-signature scheme can be implemented where a group of signers, each having their own cryptographic public/private key pair, collaboratively digitally sign a single message m.
  • the resulting signature can be verified using a set of public keys corresponding to the signers or, in other multi-signature schemes, using a common public key.
  • CoSi a two-round communication protocol allowing a group of cosigners to collaboratively sign a message.
  • CoSi scales existing cryptographic multi-signature methods to support thousands of witnesses via signature aggregation over communication trees.
  • the CoSi protocol is described, for example, in the paper by Ewa Syta et al., “Keeping authorities ‘honest or bust’ with decentralized witness cosigning,” 2016 IEEE Symposium on Security and Privacy, pp. 526-545 (May 2016), which is incorporated by reference herein.
  • the present invention overcomes disadvantages of the prior art by providing a distributed transaction system including a group of validator nodes that are known to each other in a network but are indistinguishable to the other network nodes in the network.
  • the group of validator nodes may be referred to as a “Committee” of validator nodes.
  • the system reconfigures one or more validator nodes in the Committee based on the results of proof-of-work (POW) challenges.
  • POW proof-of-work
  • a network node that is not already a validator node in the Committee may be added to the Committee if it successfully completes a POW challenge.
  • the network node may become a new validator node in the Committee, replacing an existing validator node.
  • a network node may become a new validator node in the Committee based on a proof-of-stake (POS) consensus.
  • POS proof-of-stake
  • a network node may become a new validator node in the Committee based on a proof-of-authority (POA) consensus.
  • POA proof-of-authority
  • a network node may become a new validator node in the Committee based on a combination of any of POW, POA, and POS consensus.
  • the new validator node replaces the oldest validator node in the Committee. In other embodiments, the new validator node replaces a validator node that has been determined to have gone off-line, become compromised (e.g., hacked), failed (e.g., due to hardware malfunction), or otherwise is unavailable or no longer trusted.
  • the distributed system assumes that for a fault-tolerance off nodes, the Committee includes at least 3f+1 validator nodes. Because the validator nodes in the Committee may be frequently replaced, for example, depending on the amount of time required to complete the POW challenges, it is difficult for malicious third parties to detect the complete set of validator nodes in the Committee at any given time.
  • the validator nodes in the Committee may receive transaction requests from other network nodes, for example, in a P2P network.
  • the Committee may include at least one validator node that serves as a “Leader” validator node; the other validator nodes may be referred to as “Associate” validator nodes.
  • the Leader node may be changed periodically, on demand, or sporadically by the members of the Committee. When any validator node receives a new transaction request from a non-validator node in the network, the transaction request may be forwarded to all of the validator nodes in the Committee.
  • the Leader node coordinates with the other Associate validator nodes to reach a consensus of a disposition (e.g., accept or reject) for the received transaction request and broadcasts the consensus to the entire P2P network. If the consensus is to accept or otherwise validate the transaction request, the requested transaction may be added in a new block of a blockchain that is known to at least some of the network nodes in the network.
  • a disposition e.g., accept or reject
  • the Leader node may use improved protocols for reaching a consensus with the Associate validator nodes in the Committee when determining the disposition of a received transaction request. For example, in some embodiments, the Leader node may use aggregate signatures to reach a consensus for the transaction request, allowing the consensus to be reached by validating digital signatures from fewer than all of the validator nodes in the Committee. In contrast with prior systems, the Leader node's use of aggregate signatures may permit the Committee to reach a consensus of whether to accept or reject a transaction request faster and/or more efficiently, for example, when one or more of the validator nodes in the Committee did not respond sufficiently quickly or at all.
  • the disclosed embodiments provide a distributed-system architecture and related protocols that allow a distributed system, such as a blockchain system, to scale up without incurring an unacceptable increase in decision-making complexity while also preserving the benefit of using a decentralized system.
  • the disclosed embodiments reduce the distributed system's reliance on the stability of any particular node(s), as the validator nodes in the Committee may be changed at a sufficient frequency to remove unreliable, unavailable, or otherwise untrusted nodes.
  • the system and method of the disclosed embodiments provides a scheme that helps ensure the Leader node, as well as the other Committee members, functions properly.
  • FIG. 1 is a schematic of an exemplary computing system that may be used as a network node in accordance with the systems and methods in the disclosed embodiments.
  • FIG. 2 is a schematic block diagram of an exemplary network architecture that may be used in accordance with the disclosed embodiments of the invention.
  • FIGS. 3A and 3B each depict a schematic block diagram of an exemplary network architecture of Committee that may be used in accordance with the disclosed embodiments of the invention.
  • FIG. 4 is a schematic block diagram of an exemplary blockchain that may be used in accordance with the disclosed embodiments.
  • FIG. 5A depicts an exemplary KeyBlock blockchain that may be used in accordance with certain disclosed embodiments
  • FIG. 5B depicts an exemplary TransactionBlock chain that may be used in accordance with the disclosed embodiments of the invention.
  • FIG. 6 depicts exemplary communications that may be exchanged among network nodes in network 200 in an exemplary process for reconfiguring the Committee in accordance with the disclosed embodiments.
  • FIG. 7 depicts a flowchart showing a sequence of steps that may be performed by a Common node according to a first stage of the exemplary reconfiguration process in accordance with the disclosed embodiments.
  • FIG. 8 depicts a flowchart showing an exemplary sequence of steps that a validate node may perform as part of the first stage of the process for reconfiguring the Committee in accordance with the disclosed embodiments.
  • FIG. 9 depicts an exemplary exchange of communications among validator nodes that may be used for reconfiguring the membership of the Committee in accordance with certain disclosed embodiments.
  • FIG. 10 is a flowchart showing an exemplary sequence of steps that a Leader node may perform as part of a second stage of a process for reconfiguring the Committee in accordance with certain disclosed embodiments.
  • FIG. 11 depicts a flowchart showing a sequence of steps that an Associate node may perform as part of a second stage of the exemplary process for reconfiguring the Committee in accordance with the disclosed embodiments.
  • FIG. 12 depicts a flowchart showing a sequence of steps that an Associate node may perform as part of an exemplary view-change process to select a new Leader node in accordance with certain disclosed embodiments.
  • FIG. 1 is a schematic of an exemplary computing system 105 that may be used as a network node in a network 200 in accordance with the systems and methods of the disclosed embodiments.
  • the computing system may be configured to function, for example, as any of a Client node, Common node, Associate node, or Leader node in the disclosed embodiments.
  • Computing system 105 includes, for example, one or more processors 110 , a memory 115 , a display 120 , I/O interface(s) 125 , network interface(s) 130 , and data storage 140 . These components in the computing system may communicate with each other via a system bus 135 , wirelessly, or via one or more wired or wireless communication paths.
  • the components in FIG. 1 may reside in a single device or in multiple devices.
  • a processor 110 may comprise at least one of a central processing unit (CPU), graphical processing unit (GPU), or similar microprocessor having one or more processing cores.
  • Computing system 100 may include one or more processors 110 and may further operate with one or more other processors that may be located in one or more remote systems.
  • Memory 115 may include non-volatile and/or volatile memory configured to store software instructions for execution on the processor 110 , and may include one or more of random access memory (RAM), solid state memory, magnetic memory, register memory, cache memory, or any other type of memory.
  • RAM random access memory
  • solid state memory magnetic memory
  • register memory register memory
  • cache memory or any other type of memory.
  • memory 115 may comprise one or more removable modules or may at least partially reside in a remote storage device (not shown) outside of system 105 .
  • the memory 115 may be configured to store data and instructions, such as software programs.
  • memory 115 may be configured to store data and instructions.
  • processor 110 may be configured to execute instructions and/or programs stored in memory 115 to configure computing system 100 to perform operations of the disclosed systems and methods.
  • processor 110 may be configured to execute at least some instructions and/or software programs stored on a remote memory to perform operations of the disclosed systems and methods.
  • the memory 115 may include one or more of a campaign engine 145 , candidate-selection engine 150 , vote-decision engine 155 , coordination engine 160 , signature engine 165 , and view-change engine 170 , which may be embodied in one or more software programs, modules, libraries, and/or applications stored in memory 115 .
  • the software also may be stored in one or more other data storage devices 140 , such as a hard drive or other non-volatile memory for longer term storage.
  • Campaign engine 145 may generate candidate requests during a first stage of a reconfiguration process, for example, as described in detail with reference to FIG. 7 .
  • Candidate-selection engine 150 may verify candidate requests and select the “best” candidate nodes, for example, as described with reference to FIG. 8 .
  • Vote-decision engine 155 may verify information transmitted from a Leader node and generate a voting decision based on the verification, for example, as described with reference to FIG. 10 .
  • Coordination engine 160 may determine the content of a block of a blockchain and/or generate new blocks for a blockchain.
  • Signature engine 165 may be configured to generate digital signatures using a private key associated with the computing system 105 , such as generating partial signatures and aggregated signatures. The signature engine also may be configured to verify received digital signatures using the public keys of other nodes, such as verifying received partial signatures.
  • View-change engine 170 may detect the need for a view change in a transaction-based system, select a new Leader node, and/or vote for a new Leader node.
  • certain engines may be loaded and activated, and other engines may be deactivated or deleted from the memory.
  • campaign engine 145 may be loaded and activated and one or more of the other engines 150 , 155 , 160 , 165 , and 170 may be deactivated and/or removed from the memory 115 .
  • a node when a node is configured as an Associate node, it may load and activate the candidate-selection engine 150 , vote-decision engine 155 , and view-change engine 170 .
  • a Leader node may load and activate the candidate-selection engine 150 , coordination engine 160 , and signature engine 165 .
  • a node may be configured as more than one type of node, in which case the engines corresponding to the configured types may be loaded to the memory 115 and be activated.
  • Display 120 may be any device adapted to provide a visual output, for example, a computer monitor, an LCD screen, etc.
  • the input/output (I/O) interfaces 125 may include hardware and/or a combination of hardware and software for communicating information between the computing system 105 and a user of the computing system.
  • the I/O interfaces may include, for example, devices such as a keyboard, mouse, trackball, audio input device, touch screen, infrared input interface, or any other input or output device.
  • Display 120 is an optional component. Some nodes may include display 120 while other nodes may omit this device.
  • Network interface 130 may be a network adapter that includes hardware and/or a combination of hardware and software for enabling the computing system 105 to exchange information with other network nodes in the network 200 .
  • the network interface 130 may include a wireless wide area network (WWAN) adapter, a Bluetooth module, a near field communication module, an Ethernet interface, a local area network (LAN) adapter, or any other network interface known in the art for communicating over a network.
  • WWAN wireless wide area network
  • Bluetooth module a Bluetooth module
  • a near field communication module a near field communication module
  • Ethernet interface a local area network (LAN) adapter
  • LAN local area network
  • the network adapter 130 may transmit and receive information from another node in a P2P network.
  • Data Storage 140 may include one or more data storage devices, such as a computer hard disk, random access memory (RAM), removable storage, or remote computer storage, or an array of such memory devices. In some embodiments, the data storage 140 and memory 115 may share at least one memory device. In other embodiments, the data storage 140 and memory 115 may use separate memory devices.
  • the data storage 140 may include Transaction storage 175 , which may be configured to store transactions and/or transaction data, such as a TransactionBlock blockchain in a blockchain implementation.
  • the data storage 140 may also include Key storage 180 , which may be configured to store cryptographic key information and/or a KeyBlock blockchain in a blockchain implementation.
  • Transaction and Key information 175 and 180 are preferably stored in the data storage 150 , they also may be stored in the memory 115 , for example, as a duplicated copy for the purpose of access or processing efficiency. It should be understood that although the blockchain data structures are explained in the exemplary embodiments, any other data structure alternatively may be adopted, such as doubly-linked lists, heaps, trees, and so forth.
  • FIG. 2 depicts a schematic block diagram of an exemplary network architecture that may be used in accordance with the disclosed embodiments of the invention.
  • a network 200 contains a plurality of network nodes, each of which may be directly connected to at least one of the other nodes in the network. Accordingly, at least a portion of the network 200 is configured as a P2P network, and in the disclosed embodiments, the network 200 also may be referred to as the P2P network.
  • the network 200 includes one or more of each of the following types of nodes: Client node 205 , Common node 230 , Associate node 240 , and Leader node 260 .
  • Each of the Associate nodes 240 and Leader node 260 are validator nodes that collectively form a Committee 210 of validator nodes.
  • the same physical device or devices may be configured to serve as different types of network nodes simultaneously.
  • a computer may be configured to function as a Client node 205 for certain users and also may otherwise function as a Common node in the network 200 .
  • Client node 205 is a network node from which a user may submit a new transaction request.
  • the Client node 205 may provide a transaction request including data for a new transaction block that may be added to a blockchain.
  • the user may be any person, software application, or other entity that can generate or otherwise provide a transaction request at the Client node 205 .
  • Each Common node 230 may serve as a bridge, relay, or router configured to forward one or more transaction requests throughout the network 200 .
  • FIG. 2 illustrates exemplary Common nodes 230 a - d , although there may be one or more Common nodes in the network.
  • a Common node 230 may receive a transaction request from the Client node 205 or another Common node 230 in the network 200 .
  • a transaction request may be originated at a Client node 205 , routed through the network 200 via one or more Client and/or Common nodes, until it is received by each of the validator nodes in the Committee 210 .
  • a Common node 230 may be a candidate to become a new validator node in the Committee 210 .
  • an Associate or Leader node may be removed from the Committee and, in some cases, may become a Common node.
  • the Leader node 260 coordinates with the other Associate nodes 240 to reach a consensus of a disposition (e.g., accept or reject) for each new received transaction request and, in some disclosed embodiments, broadcasts the consensus decision to one or more network nodes in the network 200 .
  • a disposition e.g., accept or reject
  • the consensus decision from the Committee whether to add a new transaction block based on a received transaction request may be communicated to at least those Common nodes that store copies of the relevant blockchain. While FIG.
  • each Associate node 240 is configured to communicate directly with the Leader node 260 . Further, as part of certain network events or procedures, an Associate node also may communicate directly with one or more other Associate nodes, such as in response to a “View Change” event where the validator-node membership of the Committee is modified to select a new Leader node 260 .
  • the term of validator nodes in the Committee 210 may be limited.
  • the Committee may have a predetermined term limit, e.g., measured in time or transactions, after which the specific validator nodes constituting the Committee may be updated or adjusted.
  • One or more members 240 and 260 in the Committee 210 may be replaced at the end of each Committee term.
  • the term length for an Associate or Leader node may be defined as a fixed time interval, a predetermined number of transactions or events, or may be in response to one or more predetermined triggering events.
  • an Associate or Leader validator node may be removed from the Committee before the end of its term as a result of a discovered malfunction, period of non-responsiveness, malicious behavior, or other event or action deemed unacceptable for participation in the Committee.
  • each Associate and Leader node stores information about each of other validator nodes in the Committee 210 .
  • each of the Associate and Leader validator nodes may store the IP address of each of other validator nodes in the Committee.
  • Each Associate and Leader node also may store public keys corresponding to each of the other validator nodes in the Committee.
  • the validator nodes may maintain “live” or “active” communications connections or sessions with each other and transmit signals from time to time to keep those connections or sessions active.
  • the Associate and Leader validator nodes may not communicate with each other until one or more events trigger a need for such communications, such as in response to a view-change event or any other procedure to select a new Leader node in the Committee.
  • FIGS. 3A and 3B each depict a schematic block diagram of an exemplary network architecture of Committee 210 that may be used in accordance with the disclosed embodiments of the invention.
  • the Committee 210 includes a Leader node 260 and a plurality of Associate nodes 240 , each of which may be directly connected to the Leader node 260 .
  • the Associate nodes may be configured to communicate directly with the Leader node 260 until a certain event, such as a view-change event or procedure for changing the Leader node in the Committee, in which case each Associate node in the Committee may communicate with other Associate nodes in the Committee.
  • the Committee 210 contains the Leader node 260 , the plurality of Associate nodes 240 a 1 , 240 a 2 , 240 a 3 , 240 a 4 , 240 b 1 , 240 b 2 , and one or more other Associate nodes arranged in a tree structure.
  • Each Associate node may be logically connected in the tree structure with at least one parent and/or child Associate nodes.
  • Associate nodes 240 a 1 and 240 a 2 are connected with their parent Associate node 240 b 1
  • Associate nodes 240 a 3 and 240 a 4 are connected with their parent Associate node 240 b 2 .
  • Associate nodes 240 b 1 and 240 b 2 are further connected with one or more additional levels of parent nodes, which eventually are connected to the Leader node 260 .
  • each parent node in the exemplary tree structure of FIG. 3B is connected with same number of child nodes, and each Associate node other than the root (i.e., the Leader node 260 ) may have same number of sibling nodes; in other embodiments, the number of child nodes of each parent node may vary.
  • the number of levels in the tree structure and the number(s) of nodes at each level also may vary depending on the implementation of the Committee.
  • the arrangement of the validator nodes in the tree structure may be ordered, for example, where each node in the tree is assigned with a sequence number. Using an ordered data structure, such as an ordered tree in FIG. 3B , for the validator nodes may form a first-in, first-out queue that can serve various purposes described further in the disclosed embodiments.
  • the Associate and Leader nodes may each store information about each of all other validator nodes in the Committee 210 .
  • each validator node may store information about only some of the other validator nodes in the Committee 210 .
  • an Associate or Leader validator node may be configured to only store information about its parent node, child nodes, sibling nodes, or combinations of such nodes, as defined by the logical arrangement of nodes in the exemplary tree structure shown in FIG. 3B .
  • the stored information may include one or more of the IP address of another validator node, the public key corresponding to that other validator node, and/or other information that may help identify that other validator node.
  • a validator node may maintain live connections with its parent and child nodes and transmit pulse signals or other messages from time to time, for example, to keep those connections active.
  • a validator node may not communicate with any of the other validator nodes until a certain event, such as a view-change event or procedure for changing the Leader node in the Committee.
  • FIG. 4 illustrates a schematic block diagram of an exemplary blockchain 450 that may be used in accordance with the disclosed embodiments. Copies of the blockchain 450 may be maintained by many different nodes (e.g., Common nodes 230 , Associate nodes 240 , or Leader node 260 ) in the network 200 .
  • the exemplary blockchain 450 comprises one or more blocks, such as blocks 401 a - 401 d .
  • a block 401 may include at least one message, such as message 407 b or message 407 d .
  • the message contains any type of data, such as transaction data that may have been generated by one or more Client nodes in the network.
  • a block also may include a header, such as the header 402 b in block 401 b .
  • the header may include, for example, at least one of: a hash value 403 b of a previous block in the blockchain 450 , a digital signature 404 b , a hash value (not shown) based on at least one message 407 b , and a timestamp (not shown), which may indicate a date and/or time when the block was added to the blockchain.
  • the header may be digitally signed with a cryptographic key of an authorized system, and the digital signature may be included in the header. Preferably, this digital signature may be verified using a public key of the authorized system, which may be a node in the network or any other trusted authority.
  • a KeyBlock blockchain there may be at least two types of blockchains 450 : a KeyBlock blockchain and a TransactionBlock blockchain.
  • a KeyBlock blockchain and a TransactionBlock blockchain.
  • the two blockchains are described separately below, alternatively they could be merged into one blockchain including multiple types of blocks: KeyBlock blocks and TransactionBlock blocks.
  • FIG. 5A depicts an exemplary KeyBlock blockchain 500 that may be used in accordance with certain disclosed embodiments.
  • the KeyBlock blockchain is formed using individual blocks, such as the exemplary Keyblock blocks 501 a , 501 b , and 501 c , which store one or more cryptographic public keys that can be used by at least some of the network nodes in network 200 .
  • each block 501 in the KeyBlock chain may correspond to a different term of the Committee 210 .
  • the message data stored in each block 501 may store one or more public keys for the validator nodes in the Committee 210 .
  • a new block 501 is added to the KeyBlock chain corresponding to the new composition of the Committee.
  • a KeyBlock block 501 preferably stores a public “epoch” key, which is a cryptographic key that is used by the validator nodes during the term of the corresponding Committee 210 .
  • each block 501 in the KeyBlock chain also may store the public keys of the individual validator nodes in the block's corresponding Committee 210 .
  • FIG. 5B depicts an exemplary TransactionBlock chain 510 that may be used in accordance with the disclosed embodiments of the invention.
  • a TransactionBlock chain is a blockchain in which individual blocks, such as exemplary TransactionBlock blocks 511 a , 511 b , and 511 c , store messages containing any type of transaction data that may be processed by the system.
  • a TransactionBlock block may contain a message, for example Transactions 517 b or 517 c , corresponding to one or more transactions in the network.
  • the transaction data is any data that may be stored in the blockchain 510 , and is not limited to any particular type of transaction data.
  • each block 511 in the TransactionBlock blockchain 510 stores information about one or more transactions processed by the Committee.
  • a transaction may correspond to currency or electronic funds transferring, where the information may include payer account information, payee account information, amount to be transferred, and/or the type of currency.
  • a transaction may be a patent assignment agreement, where the information may include the patent number, the assignor and the assignee of the patent. It may also include any witness that has witnessed the transaction or may include the entire contract assigning the patent.
  • the transaction data in the TransactionBlock blocks (TB) 511 generally may correspond to data for one or more financial, legal, commercial, collaborative, or any other types of transactions.
  • the TBs are generated by the Committee 210 .
  • the Committee 210 may generate a TB in certain time intervals. For example, the Committee 210 may generate a TB every ten minutes or other predetermined time interval, and in this example, the TB may store data for all transactions that the Committee has processed during that time interval.
  • the Committee 210 may generate a new TB when it has received a certain amount of transaction requests or has processed a certain number of transactions.
  • the Committee may generate a new TB when a certain amount of transactions are processed or when a certain period of time has lapsed.
  • a new TB is generated when the size of the transaction data to be included in a TB reaches a threshold size.
  • a TB may be generated as a result of the Committee having received a predetermined number, such as 1024, currency transactions, whereas another exemplary implementation may generate a new TB when the Committee has received a different number, such as 10, patent transactions to include in a patent assignment, since the data for each patent assignment transaction may be larger than the data required for a currency transaction.
  • the TransactionBlock blockchain may be modified in the same manner that the KeyBlock blockchain is modified in the steps described with reference with FIGS. 9-11 .
  • FIG. 6 depicts exemplary communications that may be exchanged among network nodes in network 200 in an exemplary process for reconfiguring the Committee 210 in accordance with the disclosed embodiments.
  • the first stage of reconfiguring membership of the Committee 210 may be referred to as a “campaign,” where Common nodes 230 may compete or otherwise request to become a new validator node in the Committee 210 .
  • a Common node 230 may submit a request (“candidate request”) to become a new validator node to at least some of the other nodes in the P2P network 200 , and the request is received by at least one of the Associate nodes 240 and Leader node 260 in the Committee 210 .
  • Multiple candidate Common nodes 230 may send their respective candidate requests CR-a, CR-b, CR-c, and CR-d, to the validator nodes in the Committee after the campaign is started.
  • the campaign to select a new validator node may end based on the expiration of a certain time period, triggering event, or reception of a message indicating an end of the campaign in the P2P network 200 . In the disclosed embodiments, however, a campaign may be ongoing without a predetermined termination.
  • a candidate Common node 230 may encrypt its candidate request using an epoch public key and transmit the encrypted candidate request through the P2P network.
  • the corresponding epoch private key is known only to the validator nodes, only the Associate and Leader nodes may successfully decrypt the received candidate request.
  • Each Associate and Leader node 240 and 260 in the Committee 210 selects what it considers is its preferred candidate to join the Committee as a new validator node based on the candidate requests it has received during the campaign.
  • a candidate request may include a proof of work (POW), proof of authority (POA), a proof of stake (POS), or any combination of the these.
  • POW proof of work
  • POA proof of authority
  • POS proof of stake
  • each Associate and Leader validator node determines a “best” (preferred or optimal) candidate Common node to join the Committee. After a validator node selects its best candidate, it transmits a “decision,” including information necessary to form a request for reconfiguration, to that candidate Common node.
  • a candidate Common node receives a sufficient number of decisions, e.g., above a threshold number, from the validator nodes, it generates a request for reconfiguration, triggering the second stage of the reconfiguration process.
  • the candidate Common node 230 c may receive a sufficient number of decisions from the validator nodes, e.g., above a threshold number, in response to its candidate request, and would thereafter prepare a request for reconfiguration.
  • the other candidate Common nodes 230 a , 300 b , and 300 d may not have received enough decisions to initiate the second stage of the reconfiguration process.
  • FIG. 7 depicts a flowchart showing a sequence of steps that may be performed by a Common node 230 according to a first stage of the exemplary reconfiguration process in accordance with the disclosed embodiments.
  • the Common node is a candidate to become a new Associate validator node in the Committee 210 .
  • the sequence starts at step 700 and proceeds to step 710 , where a campaign is triggered.
  • a campaign is triggered in the network 200 .
  • a campaign is always triggered, in which case Common nodes may send candidate requests at any time.
  • a Common node may create a new candidate request whenever it has completed one or more POW challenges.
  • a campaign may be triggered by certain events, such as a failure of a validator node, an update of a network protocol, or any other predefined event(s). In some embodiments, a campaign may be triggered by a certain time interval. In some embodiments, at least one of the validator nodes in the Committee may communicate the start of a new campaign to the Common nodes in the network.
  • a Common node 230 operates in the campaign by producing at least one proof of work, which is a piece of data that is difficult to produce but easy for others to verify.
  • a POW on message m may include a hash value of the combination of message m plus a nonce value, where the resulting hash value may have to meet certain conditions, for example, being smaller than a threshold value.
  • a candidate Common node 230 may repeatedly generate a hash value by varying a nonce value (step 710 ) and checking whether a generated hash value based on the nonce value and/or a message m satisfies a predetermined condition (step 720 ). If the condition is satisfied, and thus a valid POW is produced, the candidate Common node proceeds to the next step 730 .
  • many algorithms may be used to generate the hash value. For example, in the campaign, the validator nodes may require the hash value to be produced using a SHA-256 algorithm applied to a message m and a nonce value, where the hash value must be smaller than a threshold, such as less than 2 240 .
  • the validator nodes in the Committee may require a POW based on any arbitrary selected piece of verifiable information.
  • the network may be configured to require candidate Common nodes 230 to provide a POW based on the first 80 bytes of a current transaction block or on a hash value of the previous block.
  • the network may be configured to require candidate Common nodes 230 to provide a POW based on a snapshot of the current system state.
  • the candidate Common nodes 230 may run the campaign by producing a proof of stake, for example, based on their age, value, or other weighting algorithm(s). In some other embodiments, the candidate Common nodes 230 may run the campaign by producing POA, POS and/or POW data that are included in their candidate requests.
  • the candidate Common node 230 generates a candidate request.
  • the candidate request may include a POW, POA, or POS or a combination thereof, and it preferably also includes information about the Common node 230 itself, such as one or more of its Internet Protocol (IP) address or other network address, a network or user identifier, a network or user account number, a public key for the candidate Common node, and/or any other relevant information that may be used for identifying the node.
  • IP Internet Protocol
  • the Common node also may digitally sign at least some of the information in its candidate request using its private key.
  • the candidate Common node 230 preferably encrypts the generated candidate request with an epoch public key that is known to all of the validator nodes.
  • the epoch public key is stored in a current Keyblock block of a Keyblock blockchain, which the Common node has previously accessed to obtain the epoch public key.
  • the encryption may utilize any appropriate encryption algorithm, such as but not limited to SHA3, ECC25519, ED25519, etc.
  • An encryption algorithm is preferably selected so the candidate Common node may encrypt information using the public epoch key, but each of other network nodes in the P2P network 200 cannot decrypt the information unless it knows the epoch private key.
  • the candidate Common node 230 transmits its encrypted candidate request to at least one adjacent (“peer”) node in the P2P network 200 , wherein the other nodes in the network 200 relay the candidate request to distribute it throughout the network.
  • the candidate request may reach at least one validator node, which in turn makes a decision based on the candidate requests it has received to select a “best” candidate to become a new validator node.
  • the best candidate decision may be based on the first Common node to send a valid POW, POA, and/or POS in its candidate request.
  • the validator node sends its decision to the selected candidate (e.g., as explained with reference to FIG. 8 ).
  • the candidate Common node 230 may receive a best-candidate decision from an Associate or Leader validator node if that Common node was selected by the validator node.
  • the Common node 230 then verifies the content of the decision.
  • the Common node 230 may verify, for example, whether a snapshot of system-status information included in the decision matches the system-status information that it has stored locally (or can otherwise access).
  • the Common node 230 may also similarly verify other best candidate decisions that it receives from other validator nodes in the Committee.
  • the Common node 230 also may verify a digital signature of the decision using a public key of the sending validator node.
  • the candidate Common node 230 determines whether it has received a sufficient number of decisions from validator nodes in the Committee.
  • the threshold number of validator nodes may be predefined when the system is set up in the P2P network.
  • the threshold number may also be determined or updated each time a new Committee is formed, for example, by adding and/or removing Associate or Leader validator nodes.
  • the threshold number is determined based on the fault tolerance of the system. For a tolerance of f, a threshold value of 2f+1 may be required. If the Common node 230 has not received enough decisions to meet or exceed the threshold, or if it has not received any decision, it continues waiting for validator-node decisions in response to its candidate request.
  • the Common node may wait, for example, until expiration of a time-out period that terminates the process (step 790 ) or until it has received enough decisions to meet or exceed the threshold (step 770 ). In some embodiments, the Common node may terminate the process when it receives a new signed KeyBlock block (not shown). In some embodiments, if the Common node 230 receives 2f+1 decisions, it proceeds to step 780 .
  • the candidate Common node 230 generates a request for reconfiguration and transmits the request to each of the validator nodes 240 and 260 in the Committee 210 .
  • the request for reconfiguration may include information from the best-candidate decisions it received. It also may include information about the Common node 230 , such as a public key it will be using if it is added to the Committee. Because the Committee information is preferably included in each of the best-candidate decisions, the Common node 230 may transmit its request for reconfiguration directly to each of the validator nodes in the Committee.
  • FIG. 8 depicts a flowchart showing an exemplary sequence of steps that a validate node may perform as part of the first stage of the process for reconfiguring the Committee 210 in accordance with the disclosed embodiments.
  • the Leader node 260 and Associate nodes 240 perform substantially same steps in the first stage of the reconfiguration process. For this reason, the exemplary sequence of steps in FIG. 8 will be generally described below as steps performed by a validator node, without distinguishing steps performed by Associate nodes relative to the Leader node.
  • a validator node receives a candidate request that had been sent from one of the Common nodes 230 in the network 200 .
  • the validator node verifies the candidate request.
  • the validator node verifies the candidate request by decrypting it using an epoch private key, e.g., that it previously received from the Leader node 260 or it previously generated if the validator node is the Leader node. If the received candidate request is determined to be valid, the validator nodes adds the candidate Common node corresponding to the candidate request to a candidate pool (step 830 ). Otherwise, the validator node discards the received candidate request.
  • the validator node may determine whether it has received a sufficient number of candidates, for example, exceeding a threshold number.
  • the size of the candidate pool may vary. In some embodiments, the size of the pool is one, which means each validator node selects the first Common node that has sent a valid candidate request to the validator node. In some embodiments, the size of the candidate pool may be a number selected based on the POW, POA and/or POS being evaluated or otherwise selected based on experience with the particular POW, POA, or POS. In other embodiments, the size of the candidate pool may be indefinite, and in some embodiments, the validator nodes may accept candidate requests for the duration of a predetermined time window. For example, each validator node may accept candidate requests within ten minutes after it receives its first candidate request.
  • the validator node selects its choice of a best candidate from the candidate pool. In one embodiment, such selection may be based on which candidate Common node sent a candidate request including a POW that is closest (or furthest) from a threshold value. For example, if the POW must be smaller than a threshold value as described above, then the validator node may select a Common node as its best candidate based on which Common node sent a POW is closest to the threshold. In other exemplary embodiments, the validator node may select a candidate Common node based on which POW is based on a nonce value that is the smallest, largest, or closest to a predefined number. In some embodiments, the validator node may select the candidate Common node that generates the first valid POW.
  • the receiving validator node may wait at least a minimum amount of time before deciding which candidate Common node will be its best candidate, so an earlier-generated but later-received candidate request can be considered, reducing the impact of the P2P network delay to the validator node's decision.
  • the validator node's selection may be based on elements other than, or in addition to, POW, such as POS or POA.
  • the validator node may use a weighted equation to determine its selected best candidate.
  • the validator node In step 860 , the validator node generates a best-candidate decision, which is a message or other notification that it communicates to the selected candidate Common node, based on the validator node's selection of the best candidate at step 850 .
  • the notification may include information about the validator nodes in the current Committee 210 , such as but not limited to the IP addresses of each of the validator nodes in the Committee 210 .
  • the decision also may include a snapshot of at least some of the current system's state information, including for example the height of one or more blockchains. In some embodiments, the snapshot of the system state may be a hash value of current transaction data.
  • the validator node transmits its candidate-decision notification to the candidate Common node, for example, using the Common node's IP address that was included in the Common node's candidate request.
  • the transmission of the candidate-decision notification from the validator node to the selected Common node may be further secured using encryption technologies.
  • FIG. 9 depicts an exemplary exchange of communications among validator nodes that may be used for reconfiguring the membership of the Committee 210 in accordance with certain disclosed embodiments.
  • a candidate Common node 230 may determine that it has been selected to join the Committee when that Common node has received a threshold number of “best” candidate decisions from the validator nodes in the Committee.
  • the selected Common node 230 may generate a request for reconfiguration at step 780 and transmit the request to reconfigure the Committee 210 , so as to include the Common node, to each of the validator nodes.
  • the selected Common node may send the request for reconfiguration to one of the validator nodes in the Committee 210 and that recipient validator node then synchronizes (e.g., forwards) the received request for reconfiguration to the other validator nodes in the Committee 210 .
  • the Leader node 260 coordinates with the Associate nodes 240 to reach a consensus over the membership and/or logical configuration of the next Committee 210 . It is possible that not all of the validator nodes may have received the selected Common node's request for reconfiguration because of various predictable or unpredictable failures that may have prevented the request from reaching one or more of the validator nodes. It is also possible that some validator nodes may receive incorrect or illegal requests for reconfiguration, for example, from a malicious network node or a malfunctioning node. In either situation, a validator node that fails to receive a proper request for reconfiguration may not function properly in participating in the selection of the membership and/or logical configuration of a new Committee.
  • the disclosed embodiments prevent catastrophic failures in the selection of a new Committee, and allow the validator nodes to reach a consensus about the composition of the new Committee, using a two-round signature protocol that provides fault tolerance even when one or more of the validator nodes has failed or otherwise become compromised.
  • the Committee must include at least 3f+1 validator nodes.
  • step 910 after receiving a request for reconfiguration from a Common node 230 , the Leader node 260 verifies the request and creates a Preliminary KeyBlock block (PKB).
  • PKB Preliminary KeyBlock block
  • the Leader node 260 transmits PKB- 1 to each Associate node 240 in the Committee 210 .
  • the Leader node 260 and Associate nodes 240 may be connected in a star structure, in which case the PKB- 1 is transmitted directly from the Leader node to each of the Associate nodes.
  • Leader node 260 and Associate nodes 240 may be connected hierarchically, such as in a tree structure, in which case the PKB- 1 is transmitted from the Leader node at the root of the tree structure and relayed by Associate nodes at the various levels of the hierarchical tree structure, until the PKB- 1 has been received by each of the Associate nodes.
  • each Associate node receives and stores the received PKB- 1 in its local memory or in any external memory accessible to that node.
  • the Associate node verifies the accuracy of the received PKB- 1 by comparing the data in the PKB- 1 block with data in the previously-received request for reconfiguration from the selected Common node.
  • the data may represent, for example, the IP address, public key, or other identifying information relating to the selected Common node.
  • each Associate node may independently generate a Partial Prepare Signature (PPS) and transmit the generated PPS to the Leader node 260 , either directly or indirectly depending on the logical configuration of the Committee 210 .
  • the PPS signature may comprise a digital signature of at least some information stored in the PKB- 1 block, and may be generated using the Associated node's private key so the Leader node can subsequently verify the PPS signature using the Associate node's corresponding public key.
  • Leader node 260 collects all of the PPS signatures that it has received from the Associate nodes. When the Leader node has received more than a predefined threshold number of PPS signatures, the Leader node 260 aggregates the partial signatures to create an Aggregate Prepare Signature (APS). The Leader node may transmit the APS signature to the Associate nodes in the same manner that it transmitted the PKB- 1 .
  • APS Aggregate Prepare Signature
  • each Associate node 240 verifies the Aggregate Prepare Signature, for example, using the validator node's public key. By verifying the received APS signature, the Associate nodes 240 learn whether a sufficient number of Associate nodes have received the PKB- 1 . If an Associate node 240 successfully verifies the APS signature, it may generate a Partial Commit Signature (PCS) and transmit the PCS signature to the Leader node 260 in the same manner that it generated and transmitted a PPS signature.
  • PCS Partial Commit Signature
  • the Leader node 260 collects the transmitted PCS signatures. When it receives a threshold number of PCS signatures, the Leader node 260 generates an Aggregate Commit Signature (ACS), indicating that the Leader node has finalized the PKB- 1 for addition as a new block to add to the Keyblock blockchain.
  • the Leader node 260 may broadcast the finalized PKB- 1 , which is referred to as “KB- 1 ” in FIG. 9 , to each of the Associate nodes and any Common nodes that store copies of the KeyBlock blockchain in the network 200 .
  • each Associate or Common node may verify the authentication of the KB- 1 by checking the ACS signature and then, if the block is verified, store the KB- 1 in its storage and update its operation in accordance with the information in KB- 1 .
  • future candidate requests from the Common nodes 230 may be encrypted using a new public epoch key that is included in KB- 1 .
  • the new Committee 210 may start operating as soon as the KB- 1 is formed and is transmitted to at least one of the Associate or Common nodes.
  • the new Committee includes the newly-selected Common node, which now becomes an Associate node in the Committee.
  • the Leader node also may have removed a previous Associate node to replace it with the newly-selected Common node, for example, based on the age, priority level, or any other criteria associated with the Associated node being removed from the Committee.
  • the new Committee 210 may, in response to future candidate requests and requests for reconfiguration, generate the next KeyBlock block, for example KB- 2 , and establish the next Committee using the same procedure discussed above.
  • the Leader node 260 instead of transmitting the PKB- 1 to each Associate node, the Leader node 260 instead may transmit a Structured Query Language (SQL) instruction to the Associate nodes at step 910 .
  • SQL Structured Query Language
  • the Leader node may transmit at least one finalized SQL instruction associated with its ACS signature for each Associate and/or Common node that receives the finalized SQL instruction to execute.
  • FIG. 10 is a flowchart showing an exemplary sequence of steps that a Leader node 260 may perform as part of a second stage of a process for reconfiguring the Committee 210 in accordance with certain disclosed embodiments.
  • the sequence starts at step 1000 and proceeds to Step 1010 where the Leader node 260 receives and verifies a request for reconfiguration that it receives either directly from a selected candidate Common node 230 or indirectly via an Associate node 240 .
  • the Leader node 260 may or may not have previously transmitted a best-candidate decision to the selected candidate Common node 230 during the first stage of the reconfiguration process.
  • the Leader node 260 may discard a request for reconfiguration if the request does not correspond to a Common node that the Leader node selected during the first stage of the reconfiguration process. In other embodiments, whether the Leader node has previously selected the Common node does not affect the Leader node's verification of the Common node's request for reconfiguration as long as the request bears sufficient information for verifying whether the candidate Common node has received a sufficient number of “best” candidate decisions from validator nodes in the Committee.
  • the Leader node 260 may receive multiple requests for reconfiguration from candidate Common nodes during the same reconfiguration process. In this case, the Leader node may first select a “best” request for reconfiguration in accordance with certain rules for selecting a “best” candidate. In another embodiment, the Leader node 260 may proceed with multiple requests for reconfiguration. It may verify each request for reconfiguration against information included in one or more previously-received candidate request(s). The Leader node also may verify whether a received request for reconfiguration includes a sufficient number of signatures of validator nodes, for example, above a predetermined threshold number of signatures.
  • the Leader node 260 alternatively, or in addition, may utilize other verification methods to ensure the authentication and accuracy of each request for reconfiguration that it receives for a candidate Common node seeking to join the Committee as a new validator node. Upon the successful verification of the request for reconfiguration, the Leader node 260 proceeds to step 1020 .
  • the Leader node 260 determines the members of the next Committee.
  • the next Committee is formed by replacing one or more of the existing the validator nodes in the Committee with candidate node(s) corresponding to the received request(s) for reconfiguration.
  • the Leader node may replace an existing Associate node with the selected candidate Common node that sent the request for reconfiguration, after the Leader node has verified that request at step 1010 .
  • the oldest validator node will be removed from the next Committee and be replaced with the selected candidate Common node.
  • the validator node that consecutively appears in furthest block may be removed and replaced.
  • the Leader node 260 may generate a queue of validator nodes according their age or other indication of seniority, for example, where the oldest validator node is at the rear of the queue and the youngest validator node is at the front.
  • the age of the validators may be defined by the length of continuous time that the validator node has served on the Committee.
  • the Leader node 260 may take other factors, such as POS or past performance or priority levels, into consideration when generating the order of validator nodes in the queue.
  • the Leader node may modify the order of the queue by moving a validator node to the rear of the queue if it has not been working properly, e.g., the validator node has not responded in a previous round of voting, or if the validator node has responded in an incorrect way, or if the validator node has acted suspiciously or maliciously in other ways or has failed to act at all.
  • the validator node at the rear of the queue would be removed from the next Committee and be replaced with the selected candidate Common node.
  • the queue in the exemplary embodiments may be replaced with any other suitable data structure that the Leader node may use to keep track of an order of validator nodes to remove from the Committee, for example, to replace with a selected candidate Common node.
  • the Leader node 260 may determine the next Leader node serving the next Committee according to predetermined rules. For example, the Leader node 260 may determine the selected candidate Common node (i.e., the youngest validator node to participate in the next Committee) to be the next Leader. In other embodiments, where a queue of validator nodes has been created, the Leader node 260 may pick a validator node located at a predetermined position in the queue to be the next Leader node. In some embodiments, the Leader node could choose a new Leader node according to a predefine protocol, such as based on a POW challenge among the Associate nodes in the Committee. In yet other embodiments, the Leader node may select a validator node to serve as the next Leader node according to a weighted equation involving POS, POA, age, or other parameters.
  • the Leader node 260 may collect the public keys of all the validator nodes of the next Committee after the Leader node has determined which network nodes will be on the next Committee.
  • the public keys may have been previously received and stored in Leader nodes's local memory, or another memory accessible to the Leader node, or the Leader node may request the public keys from each network node that will serve as a validator node on the next Committee.
  • the Leader node may further generate a new pair of epoch public and private keys. The new pair of epoch keys will be used during the term of the next Committee to digitally sign and validate transaction blocks and/or other blockchain blocks.
  • the next Leader node may generate the new pair of epoch public and private keys and transmit, or have transmitted, the new pair of epoch public/private keys to the current Leader node 260 .
  • the new epoch public/private keys are generated by the next Leader node, encrypted using the current epoch public key, and transmitted to the current Leader node, who can validate the encrypted new-epoch keys using the current epoch private key.
  • the Leader node 260 generates the PKB- 1 , which is described above with reference to step 910 in FIG. 9 .
  • PKB- 1 has a structure described with reference FIG. 5A .
  • the PKB- 1 may contain the public key of the new epoch key pair. In some embodiments, it also may include public keys of all of the validator nodes of the next Committee.
  • PKB- 1 may contain the height (e.g., length) of a current blockchain and/or other system information or other desired information.
  • PKB- 1 may further contain a hash value of the highest (most recent) KeyBlock block in the KeyBlock chain, i.e. the parent KeyBlock block, which may be referred to as KB- 0 . In this case, the KeyBlock blocks may be linked through their hash values and copies of the KeyBlock blockchain stored and distributed among the validator nodes in the Committee.
  • the Leader node 260 transmits the PKB- 1 to each Associate node in the Committee, either sending it directly or indirectly to the Associate node depending on whether the Leader node has a direct connection to that Associate node (step 1040 ).
  • the Leader node 260 may be directly connected to each of the Associate nodes 240 , for example, forming a star network.
  • Associate nodes 240 and the Leader 260 may be connected in a tree structure, in which the Leader node serves as a root node, to which one or more of the Associate nodes are connected. Each Associate node connected to the root then serves as the root node for the next level, to which one or more of the other Associate nodes are connected.
  • the PKB- 1 may be first transmitted to the Associate nodes directly connected to the Leader node 260 and then may be further transmitted by these Associate nodes to other levels of Associate nodes.
  • the Leader node 260 collects Partial Prepare Signatures from the Associate nodes 240 .
  • the PPS signatures may be generated by the Associate nodes using the exemplary process described with reference to FIG. 11 .
  • the Associate nodes may transmit their PPS signatures to the Leader node 260 directly or route them to the Leader node via the exemplary tree structure described above with reference to FIG. 3B .
  • the Leader node 260 must receive a threshold number of partial signatures from the Associate nodes.
  • the threshold number of PPS signatures that the Leader node is configured to receive may vary depending on the selection of the multi-signature scheme and/or the fault tolerance of the system.
  • the Leader node is configured such that at least 2f+1 signatures are required to create an aggregate signature in a system tolerating f faults.
  • the Leader node 260 may wait, for example, until expiration of a time-out period that terminates the reconfiguration or until it has received the threshold number of PPS signatures, at step 1055 . If the time-out period expires, then the process 1000 may terminate at step 1058 .
  • the Leader node 260 generates an aggregate prepare signature using a multi-signature scheme.
  • many algorithms may be used to generate the APS signature, such as using Schnorr multi-signatures.
  • the multi-signature scheme may provide that the Leader node waits until it receives a threshold number of signatures from its Associate node co-signers, and when it does, it can generate an APS signature for the entire Committee of validator nodes.
  • the threshold number is 2f+1 for a system that can tolerate f faulty validator nodes. This threshold may vary depending on the setup of the system.
  • the aggregate signature generated by the Leader node at step 1060 may be subsequently verified using an epoch public key for the validator-node Committee or by a set of public keys corresponding to individual validator nodes in the Committee.
  • the Leader node 260 transmits the generated APS signature to the Associate nodes 240 in the same manner as it transmitted the PKB- 1 block at step 1040 and, at step 1080 , the Leader node collects partial commit signatures from the Associate nodes in the same manner as it collected the PPS signatures in step 1050 .
  • the Leader node 260 may wait, for example, until expiration of a time-out period that terminates the reconfiguration or until it has received a threshold number of PCS signatures, at step 1085 . If the time-out period expires, then the process 1000 may terminate at step 1058 .
  • the Leader node 260 may transmit a private epoch key to an Associate node in response to receiving a PCS signature from that Associate node. In alternative embodiments, the Leader node 260 may transmit the private epoch key to the Associate nodes at another time in the process 1000 .
  • the Leader node 260 When it receives at least a predetermined threshold number of PCS signatures from the Associate nodes, at step 1090 the Leader node 260 generates an aggregate commit signature in the same manner as it generated the APS signature in step 1060 . The Leader node finalizes the PKB- 1 block by incorporating the generated ACS signature into the PKB- 1 block, thereby creating a finalized KeyBlock KB- 1 . At step 1095 , the Leader node 260 transmits the KB- 1 block to each of the Associate nodes and, optionally, transmits KB- 1 to at least one of Common nodes.
  • the Leader node may broadcast the KB- 1 block or otherwise transmit it so the new Keyblock KB- 1 is received by each of the Associate nodes and any Common node(s) storing a copy of the Keyblock blockchain. After receiving the new KB- 1 block, the Associate nodes and Common nodes may further transmit the KB- 1 block to other network nodes in the network 200 to ensure it is added to every copy of the Keyblock blockchain.
  • FIG. 11 depicts a flowchart showing a sequence of steps that an Associate node 240 may perform as part of a second stage of the exemplary process for reconfiguring the Committee 210 in accordance with the disclosed embodiments.
  • the sequence starts with step 1100 , where the Associate node 240 receives a request for reconfiguration from a Common node 230 .
  • the request for reconfiguration indicates the Common node has received at least a predetermined number of best-candidate decisions from the validator nodes in the Committee, for example, that were returned to the Common node in response to its POW challenge, POA, and/or POS that it provided to the Committee to be selected as a new validator node in the Committee 210 .
  • the Associate node may receive the request for reconfiguration directly from the Common node associated with the request. Alternatively, the Associate node may receive the request from another validator node. In some embodiments, the Associate node may decrypt the request using an epoch private key before further accessing and/or processing the contents of the request.
  • the Associate node verifies the received request for reconfiguration. For example, it may verify whether the request for reconfiguration contains sufficient information, for example at least one valid digital signature, to establish the Common node associated with this request has received at least a predetermined number of best-candidate decisions. In some embodiments, the Associate node may verify whether information in the request matches, or is consistent with, at least some system information that the Associate node stores. The Associate node also may verify whether the received request for reconfiguration contains sufficient information to add the Common node as a validator node in a new Committee 210 , for example, based on at least one IP address, public key, etc. in the request for reconfiguration.
  • the request may fail to pass the Associate node's verification if the Common node corresponding to the received request is not the same Common node that the Associate node selected in the first stage of the reconfiguration process.
  • the Associate node may receive requests for reconfiguration associated with different Common nodes during the same reconfiguration of the Committee 210 .
  • the Associate node 240 may have to determine a “best” request for reconfiguration from among the requests for reconsideration that it received based on one or more rules, e.g., as agreed by the validator nodes or otherwise configured within the system. For example, in some embodiments, when the Associate node receives requests for reconsideration associated with different Common nodes, the Associate node may determine that the request including the earliest timestamp should be processed for the second stage of the reconfiguration process in FIG. 11 . In some other embodiments, the Associate node may process all the requests for reconfiguration that it has received during this stage of the reconfiguration process.
  • Associate node 240 may receive the preliminary KeyBlock PKB- 1 from the Leader node 260 . Further to the disclosed embodiments, the Associate node may verify whether the received PKB- 1 was generated by the Leader node 260 by verifying a digital signature in the PKB- 1 , for example, using the Leader 260 node's public key. It also may verify whether the PKB- 1 was generated in accordance with the request for reconfiguration it received in step 1110 . For example, the Associate node may verify the accuracy of members of the proposed new Committee identified in the received PKB- 1 . In some embodiments, Associate node 240 may determine the members of the new Committee and compare its determined list of members with members identified in the PKB- 1 .
  • the Associate node 240 may generate its own preliminary KeyBlock block and compare its generated KeyBlock block with the received PKB- 1 . If the PKB- 1 fails to pass the Associate node's verification(s), or the Associate node does not receive any PKB- 1 from the Leader node 260 before expiration of a timeout period at step 1125 , the Associate node may initiate a view change procedure to select a new Leader node at step 1195 . Otherwise, the Associate node 240 proceeds to step 1130 .
  • the Associate node In step 1130 , the Associate node generates a partial prepared signature using its private key that has not been disclosed to other network nodes in the network 200 .
  • the PPS signature may be generated using a multi-signature scheme.
  • the Associate node 240 transmits the generated PPS signature to the Leader node 260 .
  • the Associate node may transmit the generated PPS signature directly to the Leader node 260 or indirectly to the Leader node, for example, when the validator nodes are organized in a tree structure as illustrated in FIG. 3B .
  • the Associate node may first transmit the PPS signature to its parent node, which in turn relays this partial signature to the next level until the signature reaches the Leader node 260 .
  • the Associate node 240 a 1 generates a PPS signature and transmits the partial signature to the Associate node 240 b 1 .
  • the Associate node 240 b 1 may generate its own PPS signature, which it may transmit separately or together with the PPS signature that it received from Associate node 240 a 1 , to the Leader node 260 .
  • multiple Associate nodes may transmit PPS signatures to the same parent Associate node in the hierarchical arrangement of the Committee's validator nodes.
  • the parent Associate node may generate an aggregated partial signature using the PPS partial signatures that it has received from its child nodes and transmit the aggregated partial signature to its parent Associate node at the next level of the hierarchical arrangement.
  • the aggregated partial signature may be a concatenation of multiple PPS signatures (signed or unsigned) or may be otherwise derived from the multiple PPS partial signatures.
  • the Associate node 240 a 1 may generate a partial signature and transmit the PPS signature to Associate node 240 b 1 .
  • Associate node 240 b 1 generates a aggregate partial signature using PPS signatures it has received from Associate nodes 240 a 1 and 240 a 2 and, optionally, a partial signature generated by itself.
  • the Associate node 240 b 1 then transmits the generated aggregated partial signature to the next level, for example the Leader node 260 , which further aggregates received PPS partial signatures from the Associate nodes.
  • the Associate node 240 receives an aggregate prepare signature from the Leader node 260 . After the APS signature is received, the Associate node verifies the authentication of this aggregate signature. Depending on the multi-signature scheme used by the validator nodes in the Committee for this stage of the reconfiguration process, the Associate node may verify the signature using one or more public keys it has previously received. If the received APS signature fails the Associate node's verification, or if the Associate node does not receive any APS signature before the expiration of a time-out period at step 1155 , the Associate node may initiate a view change process at step 1195 .
  • the Associate node 240 can be confident that a sufficient number of Associate nodes in the Committee have received and verified the PKB- 1 block. Then, at step 1160 , the Associate node 240 generates a partial commit signature in the same manner as it generated a partial prepare signature in step 1130 , and at step 1170 it transmits the PCS signature in the same manner as it transmitted the PPS signature in step 1140 . In some embodiments, the Associate node 240 may generate a PCS signature using a different algorithm than it uses to generate a PPS signature.
  • the Associate node receives an aggregate commit signature from the Leader node 260 .
  • the Leader node may transmit the finalized the KB- 1 with the ACS signature.
  • the Leader node may only transfer the ACS signature and each Associate node adds the received ACS signature to the PKB- 1 block that it previously received at step 1120 , thereby creating the same KB- 1 block at each of the Associate nodes.
  • the ACS signature may be verified in the same manner as described in step 1150 . If the received ACS signature fails the Associate node's verification, or if the Associate node does not receive any aggregate commit signature before the expiration of a time-out period at step 1185 , the Associate node may initiate a view change process at step 1195 .
  • the Associate node may be confident that a sufficient number of Associate nodes have confirmed that they have learned that a sufficient number of Associate nodes received the proper PBK- 1 block.
  • the Associate node may add the new Keyblock block KB- 1 to its copy of the Keyblock blockchain and also may update its database in accordance with at least some information contained in the received PBK- 1 .
  • the Associate node may further transmit the KB- 1 to at least one Common node in the network 200 .
  • the Keyblock data structure described in the context of FIGS. 10 and 11 is in the form of a blockchain, those skilled in the art will understand that the disclosed embodiments may be implemented when adding new information to other types of data structures that could also be benefit from the reconfiguration processes described above.
  • FIG. 12 depicts a flowchart showing a sequence of steps that an Associate node 240 may perform as part of an exemplary view change process 1195 to select a new Leader node 260 in accordance with certain disclosed embodiments.
  • the view change process may be used to change the Leader node 260 in cases where the Leader node is deemed inappropriate to continue serving as the Leader node. For example, the Leader node may have stopped responding because of a denial of service (DoS) or distributed DoS attack.
  • DoS denial of service
  • one or more of the Associate nodes may detect that the Leader node 260 has been compromised, for example, by software and/or people within or outside of the entity, such as an enterprise or government, that manages the network 200 .
  • An Associate node also may determine that the Leader node is malfunctioning in various scenarios, including the scenarios described with reference to FIG. 11 .
  • the Associate node may detect that the Leader node has not sent any new KeyBlock and/or TransactionBlock blocks for a predetermined amount of time, which may be a configured time limit set by a system administrator or otherwise agreed upon by the Associate nodes.
  • the Associate node also may detect that the Leader node may have sent out one or more erroneous preliminary blocks, such as blocks including a wrong signature or one or more blocks with incorrect information.
  • each Associate node 240 may select a new Leader node according to a set of predefined rules. Preferably, a new Leader node is selected based on a consensus by a majority of the Associate nodes.
  • the new Leader node may act as a Leader node and generate the new preliminary KeyBlock block PKB- 1 , which will identify the new Leader node for the next Committee 210 . Thereafter, the new Leader node may coordinate with the Associate nodes to reach a consensus decision to finalize and adopt the new KB- 1 block recording the composition of the new Committee including the new Leader node.
  • a view change may be triggered when an Associate node 240 determines the Leader node is malfunctioning, compromised, or otherwise untrusted or unavailable.
  • the view change also may be triggered when the Associate node receives requests for a view change from a threshold number of Associate nodes.
  • a predetermined threshold number of Associate nodes required to trigger a view change is f+1 for a system having fault tolerance off validator nodes.
  • an Associate node 240 determines, for example according to one or more rules, or otherwise selects a new Leader node. As described with reference to step 1020 of FIG. 10 , there may be various strategies to select a new Leader node. In some embodiments, the Associate node selects a new Leader node using the same strategy that the Leader node 260 selects a new Leader node in step 1020 . In some embodiments, the Associate node may select a new Leader node using a different strategy than the Leader node 260 uses. For example, the current Leader node in step 1020 may select the youngest validator node to be the new Leader node while the Associate node in step 1220 may select the oldest validator node to be the new Leader node.
  • an Associate node 240 transmits a request for view change to the other validator nodes in the Committee.
  • the request for view change may include information about the new Leader node, such as but not limited to its IP address, public key, or other identifying information.
  • the request for view change may be encrypted or signed by the Associate node using a known algorithm, using either its own private key or the Committee's epoch private key.
  • an Associate node may perform this step before performing step 1220 and, thus, the request for view change may not include information about the new Leader node.
  • the Associate node may send an updated request, or any other notice or message indicating the Associate node's selection for a new Leader node, after it has determined the new Leader node.
  • the Associate node may transmit its updated request for view change (or other notification or message) identifying its selection for a new Leader node to its selected new Leader node and, optionally, also to the other Associate nodes. Even if an Associate node determines that it should be the new Leader node, the Associate node still may transmit the request for view change to the other validator nodes in the Committee.
  • an Associate node 240 may transmit the request for view change to the other validator nodes directly, regardless of the network structure of the Committee 210 .
  • the Associate node may only transmit the request to its child, parent, and/or sibling nodes, if such nodes exist.
  • an Associate node receiving such a request for view change may further transmit the request to its own child, parent, and/or sibling nodes to propagate the request throughout the hierarchical tree structure.
  • the Associate node 240 receives and verifies requests for view change that it receives from the other validator nodes. It examines each received request to determine whether it has been selected as the new Leader node in the request. In some embodiments, if the Associate node determines that it has received a predetermined threshold number of requests for view change that designates itself as the new Leader node, then the Associate node assumes it has become the new Leader node in the Committee.
  • the predetermined threshold number for this determination is preferably greater than or equal to 2 f+1 requests identifying the Associate node as the new Leader node, where f is an intended fault tolerance of the system.
  • the Associate node determines that it has not received the predetermined threshold number of requests and a predefined time-out period is expired, it may continue serve as an Associate node in the Committee or start another round of view-change, choosing a second best leader based on the rules described at step 1220 , if it determines a new Leader node has not been properly selected by the network.
  • the Associate node 240 assumes that it is the new Leader node and determines the validator-node membership of the new Committee 210 .
  • the membership of the Committee does not change except that the Associate node becomes the new Leader node and the existing Leader node becomes an Associate node.
  • the existing Leader node may be removed from the Committee 210 . If the existing Leader node is removed, a new campaign may be triggered to identify a Common node to add to the new Committee. In alternative embodiments, a new campaign is not triggered when a new Leader node is selected and the old Leader node is removed, in which case the new Committee may contain one less validator node. In such alternative embodiments, one less validator node may be removed in the next reconfiguration process.
  • step 1270 the assumed new Leader node generates a Preliminary KeyBlock block PKB- 1 reflecting the determined membership of the new Committee as described in steps 1020 of FIG. 10 .
  • step 1280 the assumed new Leader node coordinates with the other Associate nodes to perform the process of the second stage of reconfiguration to finalize the new Committee in the same manner as described with reference to FIGS. 9-11 .
  • the Associate node may act as an ordinary Associate node and coordinate with the new Leader node to perform the process of the second stage of reconfiguration to finalize the new Committee in the same manner as described with reference to FIGS. 9-11 .
  • the new KB block is broadcasted or otherwise transmitted to network nodes in the network 200 and the view change process is completed.
  • the methods and systems described herein may be deployed in part or in whole through a machine that executes computer software, program codes, and/or instructions on a processor.
  • the present invention may be implemented as a method on the machine, as a system or apparatus as part of or in relation to the machine, or as a computer program product embodied in a computer readable medium executing on one or more of the machines.
  • the processor may be part of a server, cloud server, client, network infrastructure, mobile computing platform, stationary computing platform, or other computing platform.
  • the storage medium associated with the processor for storing methods, programs, codes, program instructions or other type of instructions capable of being executed by the computing or processing device may include but may not be limited to one or more of a SSD, optical disk, flash memory, hard disk, RAM, ROM, cache and the like.
  • the methods and/or processes described above, and steps associated therewith, may be realized in hardware, software or any combination of hardware and software suitable for a particular application.
  • the hardware may include a general-purpose computer and/or dedicated computing device or specific computing device or particular aspect or component of a specific computing device.
  • the processes may be realized in one or more microprocessors, microcontrollers, embedded microcontrollers, programmable digital signal processors or other programmable device, along with internal and/or external memory.
  • the processes may also, or instead, be embodied in an application specific integrated circuit, a programmable gate array, programmable array logic, or any other device or combination of devices that may be configured to process electronic signals.
  • one or more of the processes may be realized as a computer executable code capable of being executed on a machine-readable medium.

Abstract

The disclosed embodiments provide a distributed transaction system including a group of validator nodes that are known to each other in a network but are indistinguishable to other network nodes. The validator nodes form a Committee including a Leader node and one or more Associate nodes configured to receive and process transaction requests, for example, to add new blocks to one or more blockchains. The Committee may be dynamically changed, such that new network nodes may be added to the Committee or may replace existing validator nodes. The Associate nodes also may coordinate with each other to select a new Leader node. The disclosed embodiments reduce the distributed system's reliance on the stability of any particular node(s) in the network, as the validator nodes in the Committee may be changed at a sufficient frequency to remove unreliable, unavailable, or otherwise untrusted nodes. Further, the disclosed embodiments provide a scheme that helps ensure the Leader node, as well as the other Committee members, functions properly.

Description

    FIELD OF THE INVENTION
  • The disclosed embodiments relate to distributed transaction-based systems and, more particularly, systems and methods for selecting and utilizing a group of validator nodes that may be used to verify and record transactions for one or more blockchains in a distributed system.
  • BACKGROUND OF THE INVENTION
  • A network is a collection of interconnected nodes that exchange information. The nodes can include computers, servers, mobile devices, or any other device that can be configured to communicate with other nodes in the network. The network may be configured as a centralized system, such as a client-server system having one or more central servers in communication with one or more client devices, or may be configured as a decentralized system, such as a peer-to-peer (P2P) network. A P2P network is a system in which each network node, sometimes called a “peer,” may be directly connected to one or more other nodes in the network. Peers typically have similar privileges and may share a portion of their resources with other peers in the network without coordination by any centralized servers or hosts. P2P networks have been implemented using various technologies, including for example file-sharing systems, such as Napster, and blockchain technologies, such as Bitcoin.
  • A transaction-based system is a system that processes data in units of “transactions,” which may have different contents, formats, or other characteristics depending on the system. An example of a conventional transaction-based system is Sabre, which is a system used by travel agents and companies to process transactions that are used to book airline tickets. A transaction may be a message, event, or process initiated or invoked by a user or computer program, and may provide a single unit of work in the system. For example, a transaction may contain data corresponding to an electronic funds transfer between different bank accounts. A transaction could also correspond to an event when two or more parties enter into an agreement, such as a legal contract. In this example, the action of entering into the agreement is processed and recorded as a single transaction, and the transaction data may correspond to the agreement itself and/or any other information relating to the agreement. In another example, each transaction may correspond to the identity of the party or parties that have signed an agreement, in which case the signing of the agreement by each party is processed and recorded as one transaction. A transaction, alone or combined with other transactions, may be represented or transmitted as a unit of data. In a Bitcoin setting, a transaction usually is defined as the transfer of a certain amount of Bitcoin cryptocurrency from one Bitcoin account to another.
  • To facilitate a demand for higher speed processing and convenience in transaction-based systems, some transaction-based systems have been built on network infrastructures. Originally and conventionally, such systems have been implemented in centralized networks: all of the transactions were processed by centralized servers and the related transaction data was stored in centralized databases. The system reliability thus depended solely on the reliability of the centralized system. A failure of the centralized server could cause catastrophic results to the transaction-based system.
  • A decentralized transaction-based system, sometimes referred to as a distributed transaction-based system, is desirable because the system depends less on centralized servers and, thus, may be more reliable. Implementing such a distributed system on a P2P network is often preferred because the necessity of using a centralized host server is eliminated and the system is reliable until many network nodes fail at the same time, which is typically unlikely. However, implementing such a distributed transaction-based system is challenging because the lack of a centralized host may result in complicated and dynamic component interdependencies. Several critical issues must be solved: for example, how is transaction data organized and stored in the system; how is a consensus reached by the network nodes to confirm or reject a new transaction request; and how are network nodes in the system authenticated and/or their authentication verified.
  • Unlike in a centralized system, data in a distributed P2P system may be stored as many copies, for example, by one or more of the network nodes. For example, each node may have a copy of the entire data set in a transaction-based system or it may store only a portion of the data. Many schemes have been designed to ensure that each network node may effectively store and verify the system data through cooperation with the other nodes.
  • One exemplary scheme uses blockchain technology, which is widely known as the technology behind the popular cryptocurrency Bitcoin. In a blockchain scheme, transaction data can be organized into discrete “blocks,” each of which may be linked with a predecessor (“parent”) block by storing a cryptographic hash value of the parent block, or by using other techniques such as using hash values and/or digital signatures of one or more preceding blocks. The contents in each block can be verified against its cryptographic hash value stored in a subsequent adjacent (“child”) block. Therefore, once the accuracy of the current block of the blockchain is verified, a network node can verify every preceding block contained in the blockchain without having to contact any of the other nodes.
  • The Bitcoin system is one of the most well-known implementations of blockchain technologies in distributed transaction-based systems. In Bitcoin, each network node competes for the privilege of storing a set of one or more transactions in a new block of the blockchain by solving a complex computational math problem, sometimes referred to as a mining proof-of-work (POW). Under current conditions, a set of transactions is typically stored in a new block of the Bitcoin blockchain at a rate of about one new block every 10 minutes, and each block has an approximate size of one megabyte (MB). Accordingly, the Bitcoin system is subject to an impending scalability problem: only 3 to 7 transactions can be processed per second, which is far below the number of transactions processed in other transaction-based systems, such as the approximately 30,000 transactions per second in the Visa™ transaction system.
  • Bitcoin-NG, or the Bitcoin Next Generation system, attempts to solve this scalability problem by introducing a network node in the P2P system that acts as a leader node that processes transactions and adds new blocks to the Bitcoin blockchain. This system includes two separate blockchains: a Transaction blockchain for storing the transaction data and a Keyblock blockchain for publishing a public key, which may be a temporary “epoch” public key assigned to the current leader node. In Bitcoin-NG, the Keyblock blocks are generated in the same way as transaction blocks are generated in the conventional Bitcoin network, except the Keyblock blocks contain only the public key that the leader node will use to sign new blocks added to the Transaction blockchain. Thus, the leader node is the node that generated the latest block in the Keyblock blockchain and that digitally signs new blocks added to the Transaction blockchain using a private key corresponding to its published epoch public key.
  • While Bitcoin-NG does solve conventional Bitcoin's scalability problem, as the leader node in Bitcoin-NG can process new transaction blocks more efficiently than using the POW approach of conventional Bitcoin, it somewhat reverts Bitcoin from a distributed system to a system by having a single leader node at any given time. As such, the reliability and the security of the Bitcoin-NG system depends, at least partially, on the reliability and security of that leader node. The failure of the leader node may cause a catastrophic failure of the system. The Bitcoin-NG system is described, for example, in the paper by Ittay Eyal et al., “Bitcoin-NG: A Scalable Blockchain Protocol,” 13th USENIX Symposium on Networked System Design and Implementation (NSDI '16), pp. 45-59 (2016), which is incorporated by reference herein.
  • Another issue rooted in a conventional distributed system is the Byzantine fault problem, which addresses how a system of multiple nodes can reach a consensus for agreeing when to change the system's state. The Byzantine fault problem requires that nodes must agree on a concrete strategy to reach a consensus to avoid a system failure, even where some of the nodes may be unreliable. Castro et al., “Practical Byzantine Fault Tolerance,” Proceedings of the Third Symposium on Operating System Design and Implementation, New Orleans, USA (February 1999), which is incorporated by reference herein, introduced a two-round peer-to-peer message exchange technique to achieve a consensus. Initially, a leader node sends a system state-transition request to each of the other nodes in the network. In the first round, each node communicates with each of the other nodes to confirm that enough nodes have received the state-transition request, and then the nodes validate the request after confirming a first threshold number of nodes received it. In the second round, each node communicates with each of the other nodes to confirm that a second threshold number of nodes were able to validate the request. If the second threshold is satisfied, the nodes finalize the requested system state-transition based on the second round of confirmation. Because each node communicates with each of the other nodes in the system to reach a consensus, such a system is referred as a mesh communication network. Because only a threshold number of nodes are required to reach a consensus, a fault tolerance that permits a certain number of faulty nodes can be achieved in the Practical Byzantine Fault Tolerance (PBFT) system. However, PBFT's solution is not efficient when the system is scaled up. The communication costs necessary to form a consensus in the mesh network increases exponentially as the number of nodes increases in the PBFT system, again resulting a scalability problem. Further, the identities of the nodes are known to other nodes in the network, exposing all the validator nodes to potential attacks from other nodes in or out of the network. Given the validator nodes in PBFT are not reconfigurable, the failure of sufficient number of validator nodes may also cause catastrophic failure of the system.
  • In the PBFT system, a “view” refers to a period of time that a node serves as the leader node. When a node in the PBFT system discovers that the leader node has failed, it broadcasts a request to each of the other nodes in the system to change the leader node, which is a “view change” request. When a node receives enough view-change requests, it first determines a new leader node based on predefined rules and sends a view-change confirmation to the new leader node. The next “view” starts when the new leader node receives enough view-change confirmations from the other nodes in the PBFT system.
  • As a recent development, “HotStuff” introduced a protocol that modifies the mesh communication network in the PBFT system, merging the view-change process with generation of transaction blocks, resulting a three-phase protocol. Because each node communicates all of its messages (and transactions) directly to the leader node instead of sending messages to the leader node via one or more other nodes, the communication complexity of the system is greatly reduced. However, even with such reduced communications, the HotStuff network still faces scalability issues. The number of nodes is limited to the capability of the leader node and, as the number of cosigners grows, the system slows because of the time and resources consumed while processing and waiting for digital signatures from all of the cosigners. In Hotstuff, transactions may require several known “cosigner” nodes in the network to digitally sign one or more transactions before they can be forwarded to the leader node. Further, the identity of the leader node is public to all of the nodes in the network. Thus, the leader may be subject to external attacks by malicious third parties and the reliability of the system decreases.
  • Another issue with conventional distributed transaction-based systems relates to authentication of the nodes using digital signatures. In a distributed system, for example, each node must confirm that each information it receives is actually originated from the node that appears to have sent the information. Digital signatures are typically used to verify the authenticity of the sender of the information. Conventionally, digital signatures require each node to store a pair of keys: a public key and a private key. Each node keeps its own private key confidential, and does not share it with other nodes in the network, whereas the node publishes its public key to all of the other nodes in the network. The node digitally signs information using its private key and the other nodes may verify the signature using the signer's public key, which must be made available by the signing node. However, as the number of nodes in the network grows, each being capable of digitally signing information communicated in the network, the communicated information may be accompanied with several different digital signatures. In this case, each node has to verify each digital signature individually, resulting in another bottleneck of scalability for the distributed system.
  • A multi-signature scheme can be implemented where a group of signers, each having their own cryptographic public/private key pair, collaboratively digitally sign a single message m. The resulting signature can be verified using a set of public keys corresponding to the signers or, in other multi-signature schemes, using a common public key.
  • In 2016, Syta et al introduced CoSi, a two-round communication protocol allowing a group of cosigners to collaboratively sign a message. CoSi scales existing cryptographic multi-signature methods to support thousands of witnesses via signature aggregation over communication trees. The CoSi protocol is described, for example, in the paper by Ewa Syta et al., “Keeping authorities ‘honest or bust’ with decentralized witness cosigning,” 2016 IEEE Symposium on Security and Privacy, pp. 526-545 (May 2016), which is incorporated by reference herein.
  • SUMMARY OF THE INVENTION
  • The present invention overcomes disadvantages of the prior art by providing a distributed transaction system including a group of validator nodes that are known to each other in a network but are indistinguishable to the other network nodes in the network. As used herein, the group of validator nodes may be referred to as a “Committee” of validator nodes. In some embodiments, the system reconfigures one or more validator nodes in the Committee based on the results of proof-of-work (POW) challenges. According to some disclosed embodiments, a network node that is not already a validator node in the Committee may be added to the Committee if it successfully completes a POW challenge. In such an event, the network node may become a new validator node in the Committee, replacing an existing validator node. In alternative embodiments, a network node may become a new validator node in the Committee based on a proof-of-stake (POS) consensus. In yet another embodiment, a network node may become a new validator node in the Committee based on a proof-of-authority (POA) consensus. In other alternative embodiments, a network node may become a new validator node in the Committee based on a combination of any of POW, POA, and POS consensus.
  • In some disclosed embodiments, the new validator node replaces the oldest validator node in the Committee. In other embodiments, the new validator node replaces a validator node that has been determined to have gone off-line, become compromised (e.g., hacked), failed (e.g., due to hardware malfunction), or otherwise is unavailable or no longer trusted. In the disclosed embodiments, the distributed system assumes that for a fault-tolerance off nodes, the Committee includes at least 3f+1 validator nodes. Because the validator nodes in the Committee may be frequently replaced, for example, depending on the amount of time required to complete the POW challenges, it is difficult for malicious third parties to detect the complete set of validator nodes in the Committee at any given time.
  • In accordance with some disclosed embodiments, the validator nodes in the Committee may receive transaction requests from other network nodes, for example, in a P2P network. The Committee may include at least one validator node that serves as a “Leader” validator node; the other validator nodes may be referred to as “Associate” validator nodes. The Leader node may be changed periodically, on demand, or sporadically by the members of the Committee. When any validator node receives a new transaction request from a non-validator node in the network, the transaction request may be forwarded to all of the validator nodes in the Committee. Further to the disclosed embodiments, the Leader node coordinates with the other Associate validator nodes to reach a consensus of a disposition (e.g., accept or reject) for the received transaction request and broadcasts the consensus to the entire P2P network. If the consensus is to accept or otherwise validate the transaction request, the requested transaction may be added in a new block of a blockchain that is known to at least some of the network nodes in the network.
  • In accordance with some embodiments, the Leader node may use improved protocols for reaching a consensus with the Associate validator nodes in the Committee when determining the disposition of a received transaction request. For example, in some embodiments, the Leader node may use aggregate signatures to reach a consensus for the transaction request, allowing the consensus to be reached by validating digital signatures from fewer than all of the validator nodes in the Committee. In contrast with prior systems, the Leader node's use of aggregate signatures may permit the Committee to reach a consensus of whether to accept or reject a transaction request faster and/or more efficiently, for example, when one or more of the validator nodes in the Committee did not respond sufficiently quickly or at all.
  • Advantageously, the disclosed embodiments provide a distributed-system architecture and related protocols that allow a distributed system, such as a blockchain system, to scale up without incurring an unacceptable increase in decision-making complexity while also preserving the benefit of using a decentralized system. The disclosed embodiments reduce the distributed system's reliance on the stability of any particular node(s), as the validator nodes in the Committee may be changed at a sufficient frequency to remove unreliable, unavailable, or otherwise untrusted nodes. Further, the system and method of the disclosed embodiments provides a scheme that helps ensure the Leader node, as well as the other Committee members, functions properly.
  • It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosed embodiments or the scope of the inventions as claimed. The concepts in this application may be employed in other embodiments without departing from the scope of the inventions.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The drawings are not necessarily to scale or exhaustive. Instead, emphasis is generally placed upon illustrating the principles of the inventions described herein. The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate several embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. In the drawings:
  • FIG. 1 is a schematic of an exemplary computing system that may be used as a network node in accordance with the systems and methods in the disclosed embodiments.
  • FIG. 2 is a schematic block diagram of an exemplary network architecture that may be used in accordance with the disclosed embodiments of the invention.
  • FIGS. 3A and 3B each depict a schematic block diagram of an exemplary network architecture of Committee that may be used in accordance with the disclosed embodiments of the invention.
  • FIG. 4 is a schematic block diagram of an exemplary blockchain that may be used in accordance with the disclosed embodiments.
  • FIG. 5A depicts an exemplary KeyBlock blockchain that may be used in accordance with certain disclosed embodiments
  • FIG. 5B depicts an exemplary TransactionBlock chain that may be used in accordance with the disclosed embodiments of the invention.
  • FIG. 6 depicts exemplary communications that may be exchanged among network nodes in network 200 in an exemplary process for reconfiguring the Committee in accordance with the disclosed embodiments.
  • FIG. 7 depicts a flowchart showing a sequence of steps that may be performed by a Common node according to a first stage of the exemplary reconfiguration process in accordance with the disclosed embodiments.
  • FIG. 8 depicts a flowchart showing an exemplary sequence of steps that a validate node may perform as part of the first stage of the process for reconfiguring the Committee in accordance with the disclosed embodiments.
  • FIG. 9 depicts an exemplary exchange of communications among validator nodes that may be used for reconfiguring the membership of the Committee in accordance with certain disclosed embodiments.
  • FIG. 10 is a flowchart showing an exemplary sequence of steps that a Leader node may perform as part of a second stage of a process for reconfiguring the Committee in accordance with certain disclosed embodiments.
  • FIG. 11 depicts a flowchart showing a sequence of steps that an Associate node may perform as part of a second stage of the exemplary process for reconfiguring the Committee in accordance with the disclosed embodiments.
  • FIG. 12 depicts a flowchart showing a sequence of steps that an Associate node may perform as part of an exemplary view-change process to select a new Leader node in accordance with certain disclosed embodiments.
  • DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS
  • FIG. 1 is a schematic of an exemplary computing system 105 that may be used as a network node in a network 200 in accordance with the systems and methods of the disclosed embodiments. The computing system may be configured to function, for example, as any of a Client node, Common node, Associate node, or Leader node in the disclosed embodiments. Computing system 105 includes, for example, one or more processors 110, a memory 115, a display 120, I/O interface(s) 125, network interface(s) 130, and data storage 140. These components in the computing system may communicate with each other via a system bus 135, wirelessly, or via one or more wired or wireless communication paths. The components in FIG. 1 may reside in a single device or in multiple devices.
  • Consistent with the disclosed embodiments, a processor 110 may comprise at least one of a central processing unit (CPU), graphical processing unit (GPU), or similar microprocessor having one or more processing cores. Computing system 100 may include one or more processors 110 and may further operate with one or more other processors that may be located in one or more remote systems. Memory 115 may include non-volatile and/or volatile memory configured to store software instructions for execution on the processor 110, and may include one or more of random access memory (RAM), solid state memory, magnetic memory, register memory, cache memory, or any other type of memory. In some embodiments, memory 115 may comprise one or more removable modules or may at least partially reside in a remote storage device (not shown) outside of system 105. In some embodiments, the memory 115 may be configured to store data and instructions, such as software programs. For example, memory 115 may be configured to store data and instructions. In some embodiments, processor 110 may be configured to execute instructions and/or programs stored in memory 115 to configure computing system 100 to perform operations of the disclosed systems and methods. In various aspects, as would be recognized by one of skill in the art, processor 110 may be configured to execute at least some instructions and/or software programs stored on a remote memory to perform operations of the disclosed systems and methods.
  • In accordance with certain disclosed embodiments, the memory 115 may include one or more of a campaign engine 145, candidate-selection engine 150, vote-decision engine 155, coordination engine 160, signature engine 165, and view-change engine 170, which may be embodied in one or more software programs, modules, libraries, and/or applications stored in memory 115. The software also may be stored in one or more other data storage devices 140, such as a hard drive or other non-volatile memory for longer term storage.
  • Campaign engine 145 may generate candidate requests during a first stage of a reconfiguration process, for example, as described in detail with reference to FIG. 7. Candidate-selection engine 150 may verify candidate requests and select the “best” candidate nodes, for example, as described with reference to FIG. 8. Vote-decision engine 155 may verify information transmitted from a Leader node and generate a voting decision based on the verification, for example, as described with reference to FIG. 10. Coordination engine 160 may determine the content of a block of a blockchain and/or generate new blocks for a blockchain. Signature engine 165 may be configured to generate digital signatures using a private key associated with the computing system 105, such as generating partial signatures and aggregated signatures. The signature engine also may be configured to verify received digital signatures using the public keys of other nodes, such as verifying received partial signatures.
  • View-change engine 170 may detect the need for a view change in a transaction-based system, select a new Leader node, and/or vote for a new Leader node. Depending on the type of a node, certain engines may be loaded and activated, and other engines may be deactivated or deleted from the memory. For example, when a node is configured as a Common node, campaign engine 145 may be loaded and activated and one or more of the other engines 150, 155, 160, 165, and 170 may be deactivated and/or removed from the memory 115. In some embodiments, when a node is configured as an Associate node, it may load and activate the candidate-selection engine 150, vote-decision engine 155, and view-change engine 170. As another example, a Leader node may load and activate the candidate-selection engine 150, coordination engine 160, and signature engine 165. As explained herein, a node may be configured as more than one type of node, in which case the engines corresponding to the configured types may be loaded to the memory 115 and be activated.
  • Display 120 may be any device adapted to provide a visual output, for example, a computer monitor, an LCD screen, etc. The input/output (I/O) interfaces 125 may include hardware and/or a combination of hardware and software for communicating information between the computing system 105 and a user of the computing system. The I/O interfaces may include, for example, devices such as a keyboard, mouse, trackball, audio input device, touch screen, infrared input interface, or any other input or output device. Display 120 is an optional component. Some nodes may include display 120 while other nodes may omit this device.
  • Network interface 130 may be a network adapter that includes hardware and/or a combination of hardware and software for enabling the computing system 105 to exchange information with other network nodes in the network 200. For example, the network interface 130 may include a wireless wide area network (WWAN) adapter, a Bluetooth module, a near field communication module, an Ethernet interface, a local area network (LAN) adapter, or any other network interface known in the art for communicating over a network. The network adapter 130 may transmit and receive information from another node in a P2P network.
  • Data Storage 140 may include one or more data storage devices, such as a computer hard disk, random access memory (RAM), removable storage, or remote computer storage, or an array of such memory devices. In some embodiments, the data storage 140 and memory 115 may share at least one memory device. In other embodiments, the data storage 140 and memory 115 may use separate memory devices. The data storage 140 may include Transaction storage 175, which may be configured to store transactions and/or transaction data, such as a TransactionBlock blockchain in a blockchain implementation. The data storage 140 may also include Key storage 180, which may be configured to store cryptographic key information and/or a KeyBlock blockchain in a blockchain implementation. While Transaction and Key information 175 and 180 are preferably stored in the data storage 150, they also may be stored in the memory 115, for example, as a duplicated copy for the purpose of access or processing efficiency. It should be understood that although the blockchain data structures are explained in the exemplary embodiments, any other data structure alternatively may be adopted, such as doubly-linked lists, heaps, trees, and so forth.
  • FIG. 2 depicts a schematic block diagram of an exemplary network architecture that may be used in accordance with the disclosed embodiments of the invention. In FIG. 2, a network 200 contains a plurality of network nodes, each of which may be directly connected to at least one of the other nodes in the network. Accordingly, at least a portion of the network 200 is configured as a P2P network, and in the disclosed embodiments, the network 200 also may be referred to as the P2P network. The network 200 includes one or more of each of the following types of nodes: Client node 205, Common node 230, Associate node 240, and Leader node 260. Each of the Associate nodes 240 and Leader node 260 are validator nodes that collectively form a Committee 210 of validator nodes. In some cases, the same physical device or devices may be configured to serve as different types of network nodes simultaneously. For example, a computer may be configured to function as a Client node 205 for certain users and also may otherwise function as a Common node in the network 200.
  • Client node 205 is a network node from which a user may submit a new transaction request. For example, the Client node 205 may provide a transaction request including data for a new transaction block that may be added to a blockchain. In the disclosed embodiments, for example, the user may be any person, software application, or other entity that can generate or otherwise provide a transaction request at the Client node 205.
  • Each Common node 230 may serve as a bridge, relay, or router configured to forward one or more transaction requests throughout the network 200. FIG. 2 illustrates exemplary Common nodes 230 a-d, although there may be one or more Common nodes in the network. A Common node 230 may receive a transaction request from the Client node 205 or another Common node 230 in the network 200. In operation, a transaction request may be originated at a Client node 205, routed through the network 200 via one or more Client and/or Common nodes, until it is received by each of the validator nodes in the Committee 210. In accordance with the disclosed embodiments, a Common node 230 may be a candidate to become a new validator node in the Committee 210. Conversely, an Associate or Leader node may be removed from the Committee and, in some cases, may become a Common node.
  • In the Committee 210, the Leader node 260 coordinates with the other Associate nodes 240 to reach a consensus of a disposition (e.g., accept or reject) for each new received transaction request and, in some disclosed embodiments, broadcasts the consensus decision to one or more network nodes in the network 200. For example, in certain embodiments where each of the Common nodes 230 maintains a copy of a current blockchain, the consensus decision from the Committee whether to add a new transaction block based on a received transaction request may be communicated to at least those Common nodes that store copies of the relevant blockchain. While FIG. 2 illustrates a set of Associate nodes 240 a-c, those skilled in the art will appreciate there may be one or more Associate nodes in the Committee; there is preferably a single Leader node 260, although it is also contemplated that other embodiments (not shown) could employ more than one Leader node. In some embodiments, each Associate node 240 is configured to communicate directly with the Leader node 260. Further, as part of certain network events or procedures, an Associate node also may communicate directly with one or more other Associate nodes, such as in response to a “View Change” event where the validator-node membership of the Committee is modified to select a new Leader node 260.
  • Further to the disclosed embodiments, the term of validator nodes in the Committee 210 may be limited. For example, in some embodiments, the Committee may have a predetermined term limit, e.g., measured in time or transactions, after which the specific validator nodes constituting the Committee may be updated or adjusted. One or more members 240 and 260 in the Committee 210 may be replaced at the end of each Committee term. In the disclosed embodiments, the term length for an Associate or Leader node may be defined as a fixed time interval, a predetermined number of transactions or events, or may be in response to one or more predetermined triggering events. In some cases, an Associate or Leader validator node may be removed from the Committee before the end of its term as a result of a discovered malfunction, period of non-responsiveness, malicious behavior, or other event or action deemed unacceptable for participation in the Committee.
  • Preferably, each Associate and Leader node stores information about each of other validator nodes in the Committee 210. For example, each of the Associate and Leader validator nodes may store the IP address of each of other validator nodes in the Committee. Each Associate and Leader node also may store public keys corresponding to each of the other validator nodes in the Committee. In some embodiments, the validator nodes may maintain “live” or “active” communications connections or sessions with each other and transmit signals from time to time to keep those connections or sessions active. Alternatively, the Associate and Leader validator nodes may not communicate with each other until one or more events trigger a need for such communications, such as in response to a view-change event or any other procedure to select a new Leader node in the Committee.
  • FIGS. 3A and 3B each depict a schematic block diagram of an exemplary network architecture of Committee 210 that may be used in accordance with the disclosed embodiments of the invention. In FIG. 3A, the Committee 210 includes a Leader node 260 and a plurality of Associate nodes 240, each of which may be directly connected to the Leader node 260. In the exemplary embodiment of FIG. 3A, the Associate nodes may be configured to communicate directly with the Leader node 260 until a certain event, such as a view-change event or procedure for changing the Leader node in the Committee, in which case each Associate node in the Committee may communicate with other Associate nodes in the Committee.
  • In the exemplary embodiment of FIG. 3B, the Committee 210 contains the Leader node 260, the plurality of Associate nodes 240 a 1, 240 a 2, 240 a 3, 240 a 4, 240 b 1, 240 b 2, and one or more other Associate nodes arranged in a tree structure. Each Associate node may be logically connected in the tree structure with at least one parent and/or child Associate nodes. For example, in FIG. 3B, Associate nodes 240 a 1 and 240 a 2 are connected with their parent Associate node 240 b 1, and Associate nodes 240 a 3 and 240 a 4 are connected with their parent Associate node 240 b 2. Associate nodes 240 b 1 and 240 b 2 are further connected with one or more additional levels of parent nodes, which eventually are connected to the Leader node 260.
  • In some embodiments, each parent node in the exemplary tree structure of FIG. 3B is connected with same number of child nodes, and each Associate node other than the root (i.e., the Leader node 260) may have same number of sibling nodes; in other embodiments, the number of child nodes of each parent node may vary. The number of levels in the tree structure and the number(s) of nodes at each level also may vary depending on the implementation of the Committee. Further, the arrangement of the validator nodes in the tree structure may be ordered, for example, where each node in the tree is assigned with a sequence number. Using an ordered data structure, such as an ordered tree in FIG. 3B, for the validator nodes may form a first-in, first-out queue that can serve various purposes described further in the disclosed embodiments.
  • In some embodiments, the Associate and Leader nodes may each store information about each of all other validator nodes in the Committee 210. In other embodiments, each validator node may store information about only some of the other validator nodes in the Committee 210. For example, an Associate or Leader validator node may be configured to only store information about its parent node, child nodes, sibling nodes, or combinations of such nodes, as defined by the logical arrangement of nodes in the exemplary tree structure shown in FIG. 3B. The stored information may include one or more of the IP address of another validator node, the public key corresponding to that other validator node, and/or other information that may help identify that other validator node. In some embodiments, a validator node may maintain live connections with its parent and child nodes and transmit pulse signals or other messages from time to time, for example, to keep those connections active. Alternatively, a validator node may not communicate with any of the other validator nodes until a certain event, such as a view-change event or procedure for changing the Leader node in the Committee.
  • FIG. 4 illustrates a schematic block diagram of an exemplary blockchain 450 that may be used in accordance with the disclosed embodiments. Copies of the blockchain 450 may be maintained by many different nodes (e.g., Common nodes 230, Associate nodes 240, or Leader node 260) in the network 200. The exemplary blockchain 450 comprises one or more blocks, such as blocks 401 a-401 d. A block 401 may include at least one message, such as message 407 b or message 407 d. In this context, the message contains any type of data, such as transaction data that may have been generated by one or more Client nodes in the network.
  • A block also may include a header, such as the header 402 b in block 401 b. The header may include, for example, at least one of: a hash value 403 b of a previous block in the blockchain 450, a digital signature 404 b, a hash value (not shown) based on at least one message 407 b, and a timestamp (not shown), which may indicate a date and/or time when the block was added to the blockchain. In some embodiments, the header may be digitally signed with a cryptographic key of an authorized system, and the digital signature may be included in the header. Preferably, this digital signature may be verified using a public key of the authorized system, which may be a node in the network or any other trusted authority.
  • In accordance with some of the disclosed embodiments, there may be at least two types of blockchains 450: a KeyBlock blockchain and a TransactionBlock blockchain. Although the two blockchains are described separately below, alternatively they could be merged into one blockchain including multiple types of blocks: KeyBlock blocks and TransactionBlock blocks.
  • FIG. 5A depicts an exemplary KeyBlock blockchain 500 that may be used in accordance with certain disclosed embodiments. In some embodiments, the KeyBlock blockchain is formed using individual blocks, such as the exemplary Keyblock blocks 501 a, 501 b, and 501 c, which store one or more cryptographic public keys that can be used by at least some of the network nodes in network 200. In an exemplary embodiment, each block 501 in the KeyBlock chain may correspond to a different term of the Committee 210. The message data stored in each block 501 may store one or more public keys for the validator nodes in the Committee 210. When a new Committee 210 is formed, or the validator nodes in the Committee are changed or reassigned, a new block 501 is added to the KeyBlock chain corresponding to the new composition of the Committee. Particularly, a KeyBlock block 501 preferably stores a public “epoch” key, which is a cryptographic key that is used by the validator nodes during the term of the corresponding Committee 210. In some embodiments, each block 501 in the KeyBlock chain also may store the public keys of the individual validator nodes in the block's corresponding Committee 210.
  • FIG. 5B depicts an exemplary TransactionBlock chain 510 that may be used in accordance with the disclosed embodiments of the invention. A TransactionBlock chain is a blockchain in which individual blocks, such as exemplary TransactionBlock blocks 511 a, 511 b, and 511 c, store messages containing any type of transaction data that may be processed by the system. A TransactionBlock block may contain a message, for example Transactions 517 b or 517 c, corresponding to one or more transactions in the network. In this context, the transaction data is any data that may be stored in the blockchain 510, and is not limited to any particular type of transaction data. In accordance with the disclosed embodiments, each block 511 in the TransactionBlock blockchain 510 stores information about one or more transactions processed by the Committee. For example, a transaction may correspond to currency or electronic funds transferring, where the information may include payer account information, payee account information, amount to be transferred, and/or the type of currency. By way of another example, a transaction may be a patent assignment agreement, where the information may include the patent number, the assignor and the assignee of the patent. It may also include any witness that has witnessed the transaction or may include the entire contract assigning the patent. The transaction data in the TransactionBlock blocks (TB) 511 generally may correspond to data for one or more financial, legal, commercial, collaborative, or any other types of transactions.
  • Further to the disclosed embodiments, the TBs are generated by the Committee 210. The Committee 210 may generate a TB in certain time intervals. For example, the Committee 210 may generate a TB every ten minutes or other predetermined time interval, and in this example, the TB may store data for all transactions that the Committee has processed during that time interval. In some embodiments, the Committee 210 may generate a new TB when it has received a certain amount of transaction requests or has processed a certain number of transactions. In some embodiments, the Committee may generate a new TB when a certain amount of transactions are processed or when a certain period of time has lapsed. In yet other exemplary embodiments, a new TB is generated when the size of the transaction data to be included in a TB reaches a threshold size. For example, a TB may be generated as a result of the Committee having received a predetermined number, such as 1024, currency transactions, whereas another exemplary implementation may generate a new TB when the Committee has received a different number, such as 10, patent transactions to include in a patent assignment, since the data for each patent assignment transaction may be larger than the data required for a currency transaction. Preferably, the TransactionBlock blockchain may be modified in the same manner that the KeyBlock blockchain is modified in the steps described with reference with FIGS. 9-11.
  • FIG. 6 depicts exemplary communications that may be exchanged among network nodes in network 200 in an exemplary process for reconfiguring the Committee 210 in accordance with the disclosed embodiments. The first stage of reconfiguring membership of the Committee 210 may be referred to as a “campaign,” where Common nodes 230 may compete or otherwise request to become a new validator node in the Committee 210. After a new campaign has started, a Common node 230 may submit a request (“candidate request”) to become a new validator node to at least some of the other nodes in the P2P network 200, and the request is received by at least one of the Associate nodes 240 and Leader node 260 in the Committee 210. Multiple candidate Common nodes 230, for example nodes 300 a, 300 b, 300 c, and 300 d in FIG. 6, may send their respective candidate requests CR-a, CR-b, CR-c, and CR-d, to the validator nodes in the Committee after the campaign is started. In some embodiments, the campaign to select a new validator node may end based on the expiration of a certain time period, triggering event, or reception of a message indicating an end of the campaign in the P2P network 200. In the disclosed embodiments, however, a campaign may be ongoing without a predetermined termination.
  • In some disclosed embodiments, a candidate Common node 230 may encrypt its candidate request using an epoch public key and transmit the encrypted candidate request through the P2P network. In such embodiments, because the corresponding epoch private key is known only to the validator nodes, only the Associate and Leader nodes may successfully decrypt the received candidate request. Each Associate and Leader node 240 and 260 in the Committee 210 selects what it considers is its preferred candidate to join the Committee as a new validator node based on the candidate requests it has received during the campaign.
  • A candidate request may include a proof of work (POW), proof of authority (POA), a proof of stake (POS), or any combination of the these. Based on the POW, POA, or POS data in the received candidate requests, each Associate and Leader validator node determines a “best” (preferred or optimal) candidate Common node to join the Committee. After a validator node selects its best candidate, it transmits a “decision,” including information necessary to form a request for reconfiguration, to that candidate Common node. When a candidate Common node receives a sufficient number of decisions, e.g., above a threshold number, from the validator nodes, it generates a request for reconfiguration, triggering the second stage of the reconfiguration process.
  • In the example of FIG. 6, the candidate Common node 230 c may receive a sufficient number of decisions from the validator nodes, e.g., above a threshold number, in response to its candidate request, and would thereafter prepare a request for reconfiguration. In contrast, the other candidate Common nodes 230 a, 300 b, and 300 d, may not have received enough decisions to initiate the second stage of the reconfiguration process.
  • FIG. 7 depicts a flowchart showing a sequence of steps that may be performed by a Common node 230 according to a first stage of the exemplary reconfiguration process in accordance with the disclosed embodiments. In this context, the Common node is a candidate to become a new Associate validator node in the Committee 210. The sequence starts at step 700 and proceeds to step 710, where a campaign is triggered. There are several ways that a campaign may be triggered in the network 200. In some embodiments, a campaign is always triggered, in which case Common nodes may send candidate requests at any time. For example, in such embodiments, a Common node may create a new candidate request whenever it has completed one or more POW challenges. In some embodiments, a campaign may be triggered by certain events, such as a failure of a validator node, an update of a network protocol, or any other predefined event(s). In some embodiments, a campaign may be triggered by a certain time interval. In some embodiments, at least one of the validator nodes in the Committee may communicate the start of a new campaign to the Common nodes in the network.
  • In some disclosed embodiments, a Common node 230 operates in the campaign by producing at least one proof of work, which is a piece of data that is difficult to produce but easy for others to verify. For example, a POW on message m may include a hash value of the combination of message m plus a nonce value, where the resulting hash value may have to meet certain conditions, for example, being smaller than a threshold value.
  • In one illustrative example, a candidate Common node 230 may repeatedly generate a hash value by varying a nonce value (step 710) and checking whether a generated hash value based on the nonce value and/or a message m satisfies a predetermined condition (step 720). If the condition is satisfied, and thus a valid POW is produced, the candidate Common node proceeds to the next step 730. In this example, many algorithms may be used to generate the hash value. For example, in the campaign, the validator nodes may require the hash value to be produced using a SHA-256 algorithm applied to a message m and a nonce value, where the hash value must be smaller than a threshold, such as less than 2240. Other algorithms could also be used for producing the POW, such as but not limited to Scrypt, Blake-256, CryptoNight, HEFTY1, Quark, SHA-3, scrypt-jane, scrypt-n, and combinations thereof. More generally, the validator nodes in the Committee may require a POW based on any arbitrary selected piece of verifiable information. For example, the network may be configured to require candidate Common nodes 230 to provide a POW based on the first 80 bytes of a current transaction block or on a hash value of the previous block. In another exemplary embodiment, the network may be configured to require candidate Common nodes 230 to provide a POW based on a snapshot of the current system state. In yet other exemplary embodiments, the candidate Common nodes 230 may run the campaign by producing a proof of stake, for example, based on their age, value, or other weighting algorithm(s). In some other embodiments, the candidate Common nodes 230 may run the campaign by producing POA, POS and/or POW data that are included in their candidate requests.
  • In step 730, the candidate Common node 230 generates a candidate request. As noted, the candidate request may include a POW, POA, or POS or a combination thereof, and it preferably also includes information about the Common node 230 itself, such as one or more of its Internet Protocol (IP) address or other network address, a network or user identifier, a network or user account number, a public key for the candidate Common node, and/or any other relevant information that may be used for identifying the node. The Common node also may digitally sign at least some of the information in its candidate request using its private key.
  • In step 740, the candidate Common node 230 preferably encrypts the generated candidate request with an epoch public key that is known to all of the validator nodes. In some embodiments, the epoch public key is stored in a current Keyblock block of a Keyblock blockchain, which the Common node has previously accessed to obtain the epoch public key. The encryption may utilize any appropriate encryption algorithm, such as but not limited to SHA3, ECC25519, ED25519, etc. An encryption algorithm is preferably selected so the candidate Common node may encrypt information using the public epoch key, but each of other network nodes in the P2P network 200 cannot decrypt the information unless it knows the epoch private key.
  • In step 750, the candidate Common node 230 transmits its encrypted candidate request to at least one adjacent (“peer”) node in the P2P network 200, wherein the other nodes in the network 200 relay the candidate request to distribute it throughout the network. The candidate request may reach at least one validator node, which in turn makes a decision based on the candidate requests it has received to select a “best” candidate to become a new validator node. In some embodiments, the best candidate decision may be based on the first Common node to send a valid POW, POA, and/or POS in its candidate request. The validator node sends its decision to the selected candidate (e.g., as explained with reference to FIG. 8).
  • In step 760, the candidate Common node 230 may receive a best-candidate decision from an Associate or Leader validator node if that Common node was selected by the validator node. The Common node 230 then verifies the content of the decision. The Common node 230 may verify, for example, whether a snapshot of system-status information included in the decision matches the system-status information that it has stored locally (or can otherwise access). The Common node 230 may also similarly verify other best candidate decisions that it receives from other validator nodes in the Committee. In some embodiments, the Common node 230 also may verify a digital signature of the decision using a public key of the sending validator node.
  • In step 770, the candidate Common node 230 determines whether it has received a sufficient number of decisions from validator nodes in the Committee. In some embodiments, for example, the threshold number of validator nodes may be predefined when the system is set up in the P2P network. The threshold number may also be determined or updated each time a new Committee is formed, for example, by adding and/or removing Associate or Leader validator nodes. Preferably, the threshold number is determined based on the fault tolerance of the system. For a tolerance of f, a threshold value of 2f+1 may be required. If the Common node 230 has not received enough decisions to meet or exceed the threshold, or if it has not received any decision, it continues waiting for validator-node decisions in response to its candidate request. The Common node may wait, for example, until expiration of a time-out period that terminates the process (step 790) or until it has received enough decisions to meet or exceed the threshold (step 770). In some embodiments, the Common node may terminate the process when it receives a new signed KeyBlock block (not shown). In some embodiments, if the Common node 230 receives 2f+1 decisions, it proceeds to step 780.
  • In step 780, the candidate Common node 230 generates a request for reconfiguration and transmits the request to each of the validator nodes 240 and 260 in the Committee 210. The request for reconfiguration may include information from the best-candidate decisions it received. It also may include information about the Common node 230, such as a public key it will be using if it is added to the Committee. Because the Committee information is preferably included in each of the best-candidate decisions, the Common node 230 may transmit its request for reconfiguration directly to each of the validator nodes in the Committee.
  • FIG. 8 depicts a flowchart showing an exemplary sequence of steps that a validate node may perform as part of the first stage of the process for reconfiguring the Committee 210 in accordance with the disclosed embodiments. According to this exemplary embodiment, the Leader node 260 and Associate nodes 240 perform substantially same steps in the first stage of the reconfiguration process. For this reason, the exemplary sequence of steps in FIG. 8 will be generally described below as steps performed by a validator node, without distinguishing steps performed by Associate nodes relative to the Leader node.
  • In step 810, a validator node receives a candidate request that had been sent from one of the Common nodes 230 in the network 200. In step 820, the validator node verifies the candidate request. In some embodiments, the validator node verifies the candidate request by decrypting it using an epoch private key, e.g., that it previously received from the Leader node 260 or it previously generated if the validator node is the Leader node. If the received candidate request is determined to be valid, the validator nodes adds the candidate Common node corresponding to the candidate request to a candidate pool (step 830). Otherwise, the validator node discards the received candidate request.
  • In step 840, the validator node may determine whether it has received a sufficient number of candidates, for example, exceeding a threshold number. The size of the candidate pool may vary. In some embodiments, the size of the pool is one, which means each validator node selects the first Common node that has sent a valid candidate request to the validator node. In some embodiments, the size of the candidate pool may be a number selected based on the POW, POA and/or POS being evaluated or otherwise selected based on experience with the particular POW, POA, or POS. In other embodiments, the size of the candidate pool may be indefinite, and in some embodiments, the validator nodes may accept candidate requests for the duration of a predetermined time window. For example, each validator node may accept candidate requests within ten minutes after it receives its first candidate request.
  • In step 850, the validator node selects its choice of a best candidate from the candidate pool. In one embodiment, such selection may be based on which candidate Common node sent a candidate request including a POW that is closest (or furthest) from a threshold value. For example, if the POW must be smaller than a threshold value as described above, then the validator node may select a Common node as its best candidate based on which Common node sent a POW is closest to the threshold. In other exemplary embodiments, the validator node may select a candidate Common node based on which POW is based on a nonce value that is the smallest, largest, or closest to a predefined number. In some embodiments, the validator node may select the candidate Common node that generates the first valid POW.
  • Because it may take some time for a candidate request to be transmitted from a candidate Common Node to the validator node through the P2P network, in some embodiments the receiving validator node may wait at least a minimum amount of time before deciding which candidate Common node will be its best candidate, so an earlier-generated but later-received candidate request can be considered, reducing the impact of the P2P network delay to the validator node's decision. In another exemplary embodiment, the validator node's selection may be based on elements other than, or in addition to, POW, such as POS or POA. The validator node may use a weighted equation to determine its selected best candidate.
  • In step 860, the validator node generates a best-candidate decision, which is a message or other notification that it communicates to the selected candidate Common node, based on the validator node's selection of the best candidate at step 850. The notification may include information about the validator nodes in the current Committee 210, such as but not limited to the IP addresses of each of the validator nodes in the Committee 210. The decision also may include a snapshot of at least some of the current system's state information, including for example the height of one or more blockchains. In some embodiments, the snapshot of the system state may be a hash value of current transaction data.
  • In step 870, the validator node transmits its candidate-decision notification to the candidate Common node, for example, using the Common node's IP address that was included in the Common node's candidate request. In some embodiments, the transmission of the candidate-decision notification from the validator node to the selected Common node may be further secured using encryption technologies.
  • FIG. 9 depicts an exemplary exchange of communications among validator nodes that may be used for reconfiguring the membership of the Committee 210 in accordance with certain disclosed embodiments. As explained with reference to FIG. 7, a candidate Common node 230 may determine that it has been selected to join the Committee when that Common node has received a threshold number of “best” candidate decisions from the validator nodes in the Committee. The selected Common node 230 may generate a request for reconfiguration at step 780 and transmit the request to reconfigure the Committee 210, so as to include the Common node, to each of the validator nodes. In an alternative embodiment, the selected Common node may send the request for reconfiguration to one of the validator nodes in the Committee 210 and that recipient validator node then synchronizes (e.g., forwards) the received request for reconfiguration to the other validator nodes in the Committee 210.
  • In the second stage of reconfiguring the membership of the Committee 210, the Leader node 260 coordinates with the Associate nodes 240 to reach a consensus over the membership and/or logical configuration of the next Committee 210. It is possible that not all of the validator nodes may have received the selected Common node's request for reconfiguration because of various predictable or unpredictable failures that may have prevented the request from reaching one or more of the validator nodes. It is also possible that some validator nodes may receive incorrect or illegal requests for reconfiguration, for example, from a malicious network node or a malfunctioning node. In either situation, a validator node that fails to receive a proper request for reconfiguration may not function properly in participating in the selection of the membership and/or logical configuration of a new Committee. The disclosed embodiments prevent catastrophic failures in the selection of a new Committee, and allow the validator nodes to reach a consensus about the composition of the new Committee, using a two-round signature protocol that provides fault tolerance even when one or more of the validator nodes has failed or otherwise become compromised. Preferably, to tolerate f failed validator nodes, the Committee must include at least 3f+1 validator nodes.
  • In step 910, after receiving a request for reconfiguration from a Common node 230, the Leader node 260 verifies the request and creates a Preliminary KeyBlock block (PKB). For the purpose of illustration and discussion in the exemplary embodiment of FIG. 9, the newly created PKB is referred to as the “PKB-1.” The Leader node 260 then transmits PKB-1 to each Associate node 240 in the Committee 210. As described above, in some embodiments, the Leader node 260 and Associate nodes 240 may be connected in a star structure, in which case the PKB-1 is transmitted directly from the Leader node to each of the Associate nodes. Alternatively, the Leader node 260 and Associate nodes 240 may be connected hierarchically, such as in a tree structure, in which case the PKB-1 is transmitted from the Leader node at the root of the tree structure and relayed by Associate nodes at the various levels of the hierarchical tree structure, until the PKB-1 has been received by each of the Associate nodes.
  • In step 920, each Associate node receives and stores the received PKB-1 in its local memory or in any external memory accessible to that node. The Associate node verifies the accuracy of the received PKB-1 by comparing the data in the PKB-1 block with data in the previously-received request for reconfiguration from the selected Common node. The data may represent, for example, the IP address, public key, or other identifying information relating to the selected Common node. Based on the verification performed by each Associate node, each Associate node may independently generate a Partial Prepare Signature (PPS) and transmit the generated PPS to the Leader node 260, either directly or indirectly depending on the logical configuration of the Committee 210. The PPS signature may comprise a digital signature of at least some information stored in the PKB-1 block, and may be generated using the Associated node's private key so the Leader node can subsequently verify the PPS signature using the Associate node's corresponding public key.
  • In step 930, Leader node 260 collects all of the PPS signatures that it has received from the Associate nodes. When the Leader node has received more than a predefined threshold number of PPS signatures, the Leader node 260 aggregates the partial signatures to create an Aggregate Prepare Signature (APS). The Leader node may transmit the APS signature to the Associate nodes in the same manner that it transmitted the PKB-1.
  • In step 940, each Associate node 240 verifies the Aggregate Prepare Signature, for example, using the validator node's public key. By verifying the received APS signature, the Associate nodes 240 learn whether a sufficient number of Associate nodes have received the PKB-1. If an Associate node 240 successfully verifies the APS signature, it may generate a Partial Commit Signature (PCS) and transmit the PCS signature to the Leader node 260 in the same manner that it generated and transmitted a PPS signature.
  • In step 950, the Leader node 260 collects the transmitted PCS signatures. When it receives a threshold number of PCS signatures, the Leader node 260 generates an Aggregate Commit Signature (ACS), indicating that the Leader node has finalized the PKB-1 for addition as a new block to add to the Keyblock blockchain. The Leader node 260 may broadcast the finalized PKB-1, which is referred to as “KB-1” in FIG. 9, to each of the Associate nodes and any Common nodes that store copies of the KeyBlock blockchain in the network 200. After receiving KB-1, each Associate or Common node may verify the authentication of the KB-1 by checking the ACS signature and then, if the block is verified, store the KB-1 in its storage and update its operation in accordance with the information in KB-1. For example, future candidate requests from the Common nodes 230 may be encrypted using a new public epoch key that is included in KB-1.
  • The new Committee 210 may start operating as soon as the KB-1 is formed and is transmitted to at least one of the Associate or Common nodes. In this example, the new Committee includes the newly-selected Common node, which now becomes an Associate node in the Committee. In forming the new Committee, the Leader node also may have removed a previous Associate node to replace it with the newly-selected Common node, for example, based on the age, priority level, or any other criteria associated with the Associated node being removed from the Committee. The new Committee 210 may, in response to future candidate requests and requests for reconfiguration, generate the next KeyBlock block, for example KB-2, and establish the next Committee using the same procedure discussed above.
  • Although the exemplary embodiment above is described in the context of a blockchain implementation, persons skilled in the art will understand that other data-management schemes can also benefit from using the two-round signature protocol described above in connection with a Committee having a Leader node and one or more Associate nodes. For example, instead of transmitting the PKB-1 to each Associate node, the Leader node 260 instead may transmit a Structured Query Language (SQL) instruction to the Associate nodes at step 910. In such an alternative embodiment, at step 950 the Leader node may transmit at least one finalized SQL instruction associated with its ACS signature for each Associate and/or Common node that receives the finalized SQL instruction to execute.
  • FIG. 10 is a flowchart showing an exemplary sequence of steps that a Leader node 260 may perform as part of a second stage of a process for reconfiguring the Committee 210 in accordance with certain disclosed embodiments. The sequence starts at step 1000 and proceeds to Step 1010 where the Leader node 260 receives and verifies a request for reconfiguration that it receives either directly from a selected candidate Common node 230 or indirectly via an Associate node 240. The Leader node 260 may or may not have previously transmitted a best-candidate decision to the selected candidate Common node 230 during the first stage of the reconfiguration process. In some embodiments, the Leader node 260 may discard a request for reconfiguration if the request does not correspond to a Common node that the Leader node selected during the first stage of the reconfiguration process. In other embodiments, whether the Leader node has previously selected the Common node does not affect the Leader node's verification of the Common node's request for reconfiguration as long as the request bears sufficient information for verifying whether the candidate Common node has received a sufficient number of “best” candidate decisions from validator nodes in the Committee.
  • It is possible that the Leader node 260 may receive multiple requests for reconfiguration from candidate Common nodes during the same reconfiguration process. In this case, the Leader node may first select a “best” request for reconfiguration in accordance with certain rules for selecting a “best” candidate. In another embodiment, the Leader node 260 may proceed with multiple requests for reconfiguration. It may verify each request for reconfiguration against information included in one or more previously-received candidate request(s). The Leader node also may verify whether a received request for reconfiguration includes a sufficient number of signatures of validator nodes, for example, above a predetermined threshold number of signatures. The Leader node 260 alternatively, or in addition, may utilize other verification methods to ensure the authentication and accuracy of each request for reconfiguration that it receives for a candidate Common node seeking to join the Committee as a new validator node. Upon the successful verification of the request for reconfiguration, the Leader node 260 proceeds to step 1020.
  • At step 1020, the Leader node 260 determines the members of the next Committee. Preferably, the next Committee is formed by replacing one or more of the existing the validator nodes in the Committee with candidate node(s) corresponding to the received request(s) for reconfiguration. For example, the Leader node may replace an existing Associate node with the selected candidate Common node that sent the request for reconfiguration, after the Leader node has verified that request at step 1010. In some embodiments, the oldest validator node will be removed from the next Committee and be replaced with the selected candidate Common node. In a blockchain implementation, for example, the validator node that consecutively appears in furthest block may be removed and replaced. In other embodiments, the Leader node 260 may generate a queue of validator nodes according their age or other indication of seniority, for example, where the oldest validator node is at the rear of the queue and the youngest validator node is at the front. The age of the validators may be defined by the length of continuous time that the validator node has served on the Committee. In some embodiments, the Leader node 260 may take other factors, such as POS or past performance or priority levels, into consideration when generating the order of validator nodes in the queue. For example, the Leader node may modify the order of the queue by moving a validator node to the rear of the queue if it has not been working properly, e.g., the validator node has not responded in a previous round of voting, or if the validator node has responded in an incorrect way, or if the validator node has acted suspiciously or maliciously in other ways or has failed to act at all.
  • In accordance with the exemplary embodiments, the validator node at the rear of the queue would be removed from the next Committee and be replaced with the selected candidate Common node. Those skilled in the art will appreciate that the queue in the exemplary embodiments may be replaced with any other suitable data structure that the Leader node may use to keep track of an order of validator nodes to remove from the Committee, for example, to replace with a selected candidate Common node.
  • In some embodiments, the Leader node 260 may determine the next Leader node serving the next Committee according to predetermined rules. For example, the Leader node 260 may determine the selected candidate Common node (i.e., the youngest validator node to participate in the next Committee) to be the next Leader. In other embodiments, where a queue of validator nodes has been created, the Leader node 260 may pick a validator node located at a predetermined position in the queue to be the next Leader node. In some embodiments, the Leader node could choose a new Leader node according to a predefine protocol, such as based on a POW challenge among the Associate nodes in the Committee. In yet other embodiments, the Leader node may select a validator node to serve as the next Leader node according to a weighted equation involving POS, POA, age, or other parameters.
  • In some embodiments, the Leader node 260 may collect the public keys of all the validator nodes of the next Committee after the Leader node has determined which network nodes will be on the next Committee. The public keys may have been previously received and stored in Leader nodes's local memory, or another memory accessible to the Leader node, or the Leader node may request the public keys from each network node that will serve as a validator node on the next Committee. The Leader node may further generate a new pair of epoch public and private keys. The new pair of epoch keys will be used during the term of the next Committee to digitally sign and validate transaction blocks and/or other blockchain blocks. Alternatively, the next Leader node may generate the new pair of epoch public and private keys and transmit, or have transmitted, the new pair of epoch public/private keys to the current Leader node 260. In some embodiments, the new epoch public/private keys are generated by the next Leader node, encrypted using the current epoch public key, and transmitted to the current Leader node, who can validate the encrypted new-epoch keys using the current epoch private key.
  • In step 1030, the Leader node 260 generates the PKB-1, which is described above with reference to step 910 in FIG. 9. PKB-1, as well as all PKBs, has a structure described with reference FIG. 5A. The PKB-1 may contain the public key of the new epoch key pair. In some embodiments, it also may include public keys of all of the validator nodes of the next Committee. In some embodiments, PKB-1 may contain the height (e.g., length) of a current blockchain and/or other system information or other desired information. PKB-1 may further contain a hash value of the highest (most recent) KeyBlock block in the KeyBlock chain, i.e. the parent KeyBlock block, which may be referred to as KB-0. In this case, the KeyBlock blocks may be linked through their hash values and copies of the KeyBlock blockchain stored and distributed among the validator nodes in the Committee.
  • After the PKB-1 is generated, the Leader node 260 transmits the PKB-1 to each Associate node in the Committee, either sending it directly or indirectly to the Associate node depending on whether the Leader node has a direct connection to that Associate node (step 1040). In some embodiments, for example, the Leader node 260 may be directly connected to each of the Associate nodes 240, for example, forming a star network. In some embodiments, Associate nodes 240 and the Leader 260 may be connected in a tree structure, in which the Leader node serves as a root node, to which one or more of the Associate nodes are connected. Each Associate node connected to the root then serves as the root node for the next level, to which one or more of the other Associate nodes are connected. In these embodiments, the PKB-1 may be first transmitted to the Associate nodes directly connected to the Leader node 260 and then may be further transmitted by these Associate nodes to other levels of Associate nodes.
  • In step 1050, the Leader node 260 collects Partial Prepare Signatures from the Associate nodes 240. The PPS signatures may be generated by the Associate nodes using the exemplary process described with reference to FIG. 11. The Associate nodes may transmit their PPS signatures to the Leader node 260 directly or route them to the Leader node via the exemplary tree structure described above with reference to FIG. 3B. To generate an aggregate signature in certain embodiments, the Leader node 260 must receive a threshold number of partial signatures from the Associate nodes. The threshold number of PPS signatures that the Leader node is configured to receive may vary depending on the selection of the multi-signature scheme and/or the fault tolerance of the system. Preferably, the Leader node is configured such that at least 2f+1 signatures are required to create an aggregate signature in a system tolerating f faults. The Leader node 260 may wait, for example, until expiration of a time-out period that terminates the reconfiguration or until it has received the threshold number of PPS signatures, at step 1055. If the time-out period expires, then the process 1000 may terminate at step 1058.
  • In step 1060, the Leader node 260 generates an aggregate prepare signature using a multi-signature scheme. In the disclosed embodiments, many algorithms may be used to generate the APS signature, such as using Schnorr multi-signatures. The multi-signature scheme may provide that the Leader node waits until it receives a threshold number of signatures from its Associate node co-signers, and when it does, it can generate an APS signature for the entire Committee of validator nodes. In a preferred embodiment, the threshold number is 2f+1 for a system that can tolerate f faulty validator nodes. This threshold may vary depending on the setup of the system. In some embodiments, the aggregate signature generated by the Leader node at step 1060 may be subsequently verified using an epoch public key for the validator-node Committee or by a set of public keys corresponding to individual validator nodes in the Committee.
  • At step 1070, the Leader node 260 transmits the generated APS signature to the Associate nodes 240 in the same manner as it transmitted the PKB-1 block at step 1040 and, at step 1080, the Leader node collects partial commit signatures from the Associate nodes in the same manner as it collected the PPS signatures in step 1050. The Leader node 260 may wait, for example, until expiration of a time-out period that terminates the reconfiguration or until it has received a threshold number of PCS signatures, at step 1085. If the time-out period expires, then the process 1000 may terminate at step 1058. In some embodiments, the Leader node 260 may transmit a private epoch key to an Associate node in response to receiving a PCS signature from that Associate node. In alternative embodiments, the Leader node 260 may transmit the private epoch key to the Associate nodes at another time in the process 1000.
  • When it receives at least a predetermined threshold number of PCS signatures from the Associate nodes, at step 1090 the Leader node 260 generates an aggregate commit signature in the same manner as it generated the APS signature in step 1060. The Leader node finalizes the PKB-1 block by incorporating the generated ACS signature into the PKB-1 block, thereby creating a finalized KeyBlock KB-1. At step 1095, the Leader node 260 transmits the KB-1 block to each of the Associate nodes and, optionally, transmits KB-1 to at least one of Common nodes. The Leader node may broadcast the KB-1 block or otherwise transmit it so the new Keyblock KB-1 is received by each of the Associate nodes and any Common node(s) storing a copy of the Keyblock blockchain. After receiving the new KB-1 block, the Associate nodes and Common nodes may further transmit the KB-1 block to other network nodes in the network 200 to ensure it is added to every copy of the Keyblock blockchain.
  • FIG. 11 depicts a flowchart showing a sequence of steps that an Associate node 240 may perform as part of a second stage of the exemplary process for reconfiguring the Committee 210 in accordance with the disclosed embodiments. The sequence starts with step 1100, where the Associate node 240 receives a request for reconfiguration from a Common node 230. As explained above, the request for reconfiguration indicates the Common node has received at least a predetermined number of best-candidate decisions from the validator nodes in the Committee, for example, that were returned to the Common node in response to its POW challenge, POA, and/or POS that it provided to the Committee to be selected as a new validator node in the Committee 210. The Associate node may receive the request for reconfiguration directly from the Common node associated with the request. Alternatively, the Associate node may receive the request from another validator node. In some embodiments, the Associate node may decrypt the request using an epoch private key before further accessing and/or processing the contents of the request.
  • In step 1110, the Associate node verifies the received request for reconfiguration. For example, it may verify whether the request for reconfiguration contains sufficient information, for example at least one valid digital signature, to establish the Common node associated with this request has received at least a predetermined number of best-candidate decisions. In some embodiments, the Associate node may verify whether information in the request matches, or is consistent with, at least some system information that the Associate node stores. The Associate node also may verify whether the received request for reconfiguration contains sufficient information to add the Common node as a validator node in a new Committee 210, for example, based on at least one IP address, public key, etc. in the request for reconfiguration. In some embodiments, it is irrelevant whether the Common node associated with the request is the Common node that the Associate node has selected as its “best” candidate for the new Committee during the first stage of the reconfiguration process. On the other hand, in some alternative embodiments, the request may fail to pass the Associate node's verification if the Common node corresponding to the received request is not the same Common node that the Associate node selected in the first stage of the reconfiguration process.
  • The Associate node may receive requests for reconfiguration associated with different Common nodes during the same reconfiguration of the Committee 210. In some embodiments, the Associate node 240 may have to determine a “best” request for reconfiguration from among the requests for reconsideration that it received based on one or more rules, e.g., as agreed by the validator nodes or otherwise configured within the system. For example, in some embodiments, when the Associate node receives requests for reconsideration associated with different Common nodes, the Associate node may determine that the request including the earliest timestamp should be processed for the second stage of the reconfiguration process in FIG. 11. In some other embodiments, the Associate node may process all the requests for reconfiguration that it has received during this stage of the reconfiguration process.
  • In step 1120, Associate node 240 may receive the preliminary KeyBlock PKB-1 from the Leader node 260. Further to the disclosed embodiments, the Associate node may verify whether the received PKB-1 was generated by the Leader node 260 by verifying a digital signature in the PKB-1, for example, using the Leader 260 node's public key. It also may verify whether the PKB-1 was generated in accordance with the request for reconfiguration it received in step 1110. For example, the Associate node may verify the accuracy of members of the proposed new Committee identified in the received PKB-1. In some embodiments, Associate node 240 may determine the members of the new Committee and compare its determined list of members with members identified in the PKB-1. In yet other embodiments, the Associate node 240 may generate its own preliminary KeyBlock block and compare its generated KeyBlock block with the received PKB-1. If the PKB-1 fails to pass the Associate node's verification(s), or the Associate node does not receive any PKB-1 from the Leader node 260 before expiration of a timeout period at step 1125, the Associate node may initiate a view change procedure to select a new Leader node at step 1195. Otherwise, the Associate node 240 proceeds to step 1130.
  • In step 1130, the Associate node generates a partial prepared signature using its private key that has not been disclosed to other network nodes in the network 200. In some embodiments, the PPS signature may be generated using a multi-signature scheme.
  • In step 1140, the Associate node 240 transmits the generated PPS signature to the Leader node 260. In some embodiments, the Associate node may transmit the generated PPS signature directly to the Leader node 260 or indirectly to the Leader node, for example, when the validator nodes are organized in a tree structure as illustrated in FIG. 3B. In an exemplary embodiment, the Associate node may first transmit the PPS signature to its parent node, which in turn relays this partial signature to the next level until the signature reaches the Leader node 260. For example, with reference to FIG. 3A, the Associate node 240 a 1 generates a PPS signature and transmits the partial signature to the Associate node 240 b 1. The Associate node 240 b 1 may generate its own PPS signature, which it may transmit separately or together with the PPS signature that it received from Associate node 240 a 1, to the Leader node 260.
  • In another embodiment, multiple Associate nodes may transmit PPS signatures to the same parent Associate node in the hierarchical arrangement of the Committee's validator nodes. The parent Associate node may generate an aggregated partial signature using the PPS partial signatures that it has received from its child nodes and transmit the aggregated partial signature to its parent Associate node at the next level of the hierarchical arrangement. The aggregated partial signature may be a concatenation of multiple PPS signatures (signed or unsigned) or may be otherwise derived from the multiple PPS partial signatures. For example, the Associate node 240 a 1 may generate a partial signature and transmit the PPS signature to Associate node 240 b 1. Associate node 240 b 1 generates a aggregate partial signature using PPS signatures it has received from Associate nodes 240 a 1 and 240 a 2 and, optionally, a partial signature generated by itself. The Associate node 240 b 1 then transmits the generated aggregated partial signature to the next level, for example the Leader node 260, which further aggregates received PPS partial signatures from the Associate nodes.
  • In step 1150, the Associate node 240 receives an aggregate prepare signature from the Leader node 260. After the APS signature is received, the Associate node verifies the authentication of this aggregate signature. Depending on the multi-signature scheme used by the validator nodes in the Committee for this stage of the reconfiguration process, the Associate node may verify the signature using one or more public keys it has previously received. If the received APS signature fails the Associate node's verification, or if the Associate node does not receive any APS signature before the expiration of a time-out period at step 1155, the Associate node may initiate a view change process at step 1195.
  • After the Associate node has verified the Leader node's APS signature at step 1150, the Associate node 240 can be confident that a sufficient number of Associate nodes in the Committee have received and verified the PKB-1 block. Then, at step 1160, the Associate node 240 generates a partial commit signature in the same manner as it generated a partial prepare signature in step 1130, and at step 1170 it transmits the PCS signature in the same manner as it transmitted the PPS signature in step 1140. In some embodiments, the Associate node 240 may generate a PCS signature using a different algorithm than it uses to generate a PPS signature.
  • In step 1180, the Associate node receives an aggregate commit signature from the Leader node 260. In some embodiments, the Leader node may transmit the finalized the KB-1 with the ACS signature. Further, in some embodiments, the Leader node may only transfer the ACS signature and each Associate node adds the received ACS signature to the PKB-1 block that it previously received at step 1120, thereby creating the same KB-1 block at each of the Associate nodes. The ACS signature may be verified in the same manner as described in step 1150. If the received ACS signature fails the Associate node's verification, or if the Associate node does not receive any aggregate commit signature before the expiration of a time-out period at step 1185, the Associate node may initiate a view change process at step 1195.
  • After the Associate node has verified the ACS signature, the Associate node may be confident that a sufficient number of Associate nodes have confirmed that they have learned that a sufficient number of Associate nodes received the proper PBK-1 block. At step 1190, the Associate node may add the new Keyblock block KB-1 to its copy of the Keyblock blockchain and also may update its database in accordance with at least some information contained in the received PBK-1. In some embodiments, the Associate node may further transmit the KB-1 to at least one Common node in the network 200. Although the Keyblock data structure described in the context of FIGS. 10 and 11 is in the form of a blockchain, those skilled in the art will understand that the disclosed embodiments may be implemented when adding new information to other types of data structures that could also be benefit from the reconfiguration processes described above.
  • FIG. 12 depicts a flowchart showing a sequence of steps that an Associate node 240 may perform as part of an exemplary view change process 1195 to select a new Leader node 260 in accordance with certain disclosed embodiments. The view change process may be used to change the Leader node 260 in cases where the Leader node is deemed inappropriate to continue serving as the Leader node. For example, the Leader node may have stopped responding because of a denial of service (DoS) or distributed DoS attack. In other embodiments, one or more of the Associate nodes may detect that the Leader node 260 has been compromised, for example, by software and/or people within or outside of the entity, such as an enterprise or government, that manages the network 200. An Associate node also may determine that the Leader node is malfunctioning in various scenarios, including the scenarios described with reference to FIG. 11. For example, the Associate node may detect that the Leader node has not sent any new KeyBlock and/or TransactionBlock blocks for a predetermined amount of time, which may be a configured time limit set by a system administrator or otherwise agreed upon by the Associate nodes. The Associate node also may detect that the Leader node may have sent out one or more erroneous preliminary blocks, such as blocks including a wrong signature or one or more blocks with incorrect information.
  • Multiple Associate nodes that detect a malfunctioning of the Leader node 260 may initiate a view change process at or around a same time. In some embodiments, each Associate node 240 may select a new Leader node according to a set of predefined rules. Preferably, a new Leader node is selected based on a consensus by a majority of the Associate nodes. When a consensus is reached to identify the new Leader node, although it has not yet been formally recorded as the Leader node in a new KeyBlock block of the KeyBlock blockchain, the new Leader node may act as a Leader node and generate the new preliminary KeyBlock block PKB-1, which will identify the new Leader node for the next Committee 210. Thereafter, the new Leader node may coordinate with the Associate nodes to reach a consensus decision to finalize and adopt the new KB-1 block recording the composition of the new Committee including the new Leader node.
  • The sequence starts at step 1200 and proceeds to step 1210, where a view change process is triggered. A view change may be triggered when an Associate node 240 determines the Leader node is malfunctioning, compromised, or otherwise untrusted or unavailable. The view change also may be triggered when the Associate node receives requests for a view change from a threshold number of Associate nodes. In some embodiments, for example, a predetermined threshold number of Associate nodes required to trigger a view change is f+1 for a system having fault tolerance off validator nodes.
  • In step 1220, an Associate node 240 determines, for example according to one or more rules, or otherwise selects a new Leader node. As described with reference to step 1020 of FIG. 10, there may be various strategies to select a new Leader node. In some embodiments, the Associate node selects a new Leader node using the same strategy that the Leader node 260 selects a new Leader node in step 1020. In some embodiments, the Associate node may select a new Leader node using a different strategy than the Leader node 260 uses. For example, the current Leader node in step 1020 may select the youngest validator node to be the new Leader node while the Associate node in step 1220 may select the oldest validator node to be the new Leader node.
  • In step 1230, an Associate node 240 transmits a request for view change to the other validator nodes in the Committee. The request for view change may include information about the new Leader node, such as but not limited to its IP address, public key, or other identifying information. The request for view change may be encrypted or signed by the Associate node using a known algorithm, using either its own private key or the Committee's epoch private key. In some embodiments, an Associate node may perform this step before performing step 1220 and, thus, the request for view change may not include information about the new Leader node. If a request for view change is transmitted before the Associate node determines the new Leader node, the Associate node may send an updated request, or any other notice or message indicating the Associate node's selection for a new Leader node, after it has determined the new Leader node. In such embodiments, the Associate node may transmit its updated request for view change (or other notification or message) identifying its selection for a new Leader node to its selected new Leader node and, optionally, also to the other Associate nodes. Even if an Associate node determines that it should be the new Leader node, the Associate node still may transmit the request for view change to the other validator nodes in the Committee.
  • In some embodiments, an Associate node 240 may transmit the request for view change to the other validator nodes directly, regardless of the network structure of the Committee 210. In some embodiments where a tree structure is adopted, the Associate node may only transmit the request to its child, parent, and/or sibling nodes, if such nodes exist. In these exemplary embodiments, an Associate node receiving such a request for view change may further transmit the request to its own child, parent, and/or sibling nodes to propagate the request throughout the hierarchical tree structure.
  • In step 1240, the Associate node 240 receives and verifies requests for view change that it receives from the other validator nodes. It examines each received request to determine whether it has been selected as the new Leader node in the request. In some embodiments, if the Associate node determines that it has received a predetermined threshold number of requests for view change that designates itself as the new Leader node, then the Associate node assumes it has become the new Leader node in the Committee. The predetermined threshold number for this determination is preferably greater than or equal to 2 f+1 requests identifying the Associate node as the new Leader node, where f is an intended fault tolerance of the system. At step 1260, if the Associate node determines that it has not received the predetermined threshold number of requests and a predefined time-out period is expired, it may continue serve as an Associate node in the Committee or start another round of view-change, choosing a second best leader based on the rules described at step 1220, if it determines a new Leader node has not been properly selected by the network.
  • In step 1250, the Associate node 240 assumes that it is the new Leader node and determines the validator-node membership of the new Committee 210. In some embodiments, the membership of the Committee does not change except that the Associate node becomes the new Leader node and the existing Leader node becomes an Associate node. In other embodiments, the existing Leader node may be removed from the Committee 210. If the existing Leader node is removed, a new campaign may be triggered to identify a Common node to add to the new Committee. In alternative embodiments, a new campaign is not triggered when a new Leader node is selected and the old Leader node is removed, in which case the new Committee may contain one less validator node. In such alternative embodiments, one less validator node may be removed in the next reconfiguration process.
  • In step 1270, the assumed new Leader node generates a Preliminary KeyBlock block PKB-1 reflecting the determined membership of the new Committee as described in steps 1020 of FIG. 10. In step 1280, the assumed new Leader node coordinates with the other Associate nodes to perform the process of the second stage of reconfiguration to finalize the new Committee in the same manner as described with reference to FIGS. 9-11.
  • In step 1250, where the Associate node determines it is not selected as the new Leader node, the Associate node may act as an ordinary Associate node and coordinate with the new Leader node to perform the process of the second stage of reconfiguration to finalize the new Committee in the same manner as described with reference to FIGS. 9-11.
  • After a new KeyBlock block is signed by the new Committee, including the new Leader node, with an aggregate commit signature, the new KB block is broadcasted or otherwise transmitted to network nodes in the network 200 and the view change process is completed.
  • Although the steps described with reference to FIG. 12 are sequenced, these steps are not necessarily performed in the order of the exemplary sequence. In some embodiments, for example, some of the Associate nodes in the Committee may perform certain steps in FIG. 12 first while other Associate nodes may perform these steps later.
  • While illustrative embodiments have been described herein, the scope of any and all embodiments having equivalent elements, modifications, omissions, combinations (e.g., of aspects across various embodiments), adaptations and/or alterations as would be appreciated by those skilled in the art based on the present disclosure. The limitations in the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application. The examples are to be construed as non-exclusive. Furthermore, the steps of the disclosed routines may be modified in any manner, including by reordering steps and/or inserting or deleting steps.
  • For example, the methods and systems described herein may be deployed in part or in whole through a machine that executes computer software, program codes, and/or instructions on a processor. The present invention may be implemented as a method on the machine, as a system or apparatus as part of or in relation to the machine, or as a computer program product embodied in a computer readable medium executing on one or more of the machines. In some embodiments, the processor may be part of a server, cloud server, client, network infrastructure, mobile computing platform, stationary computing platform, or other computing platform. The storage medium associated with the processor for storing methods, programs, codes, program instructions or other type of instructions capable of being executed by the computing or processing device may include but may not be limited to one or more of a SSD, optical disk, flash memory, hard disk, RAM, ROM, cache and the like.
  • The methods and/or processes described above, and steps associated therewith, may be realized in hardware, software or any combination of hardware and software suitable for a particular application. The hardware may include a general-purpose computer and/or dedicated computing device or specific computing device or particular aspect or component of a specific computing device. The processes may be realized in one or more microprocessors, microcontrollers, embedded microcontrollers, programmable digital signal processors or other programmable device, along with internal and/or external memory. The processes may also, or instead, be embodied in an application specific integrated circuit, a programmable gate array, programmable array logic, or any other device or combination of devices that may be configured to process electronic signals. As noted above, it will further be appreciated that one or more of the processes may be realized as a computer executable code capable of being executed on a machine-readable medium.
  • Accordingly, it is intended that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.

Claims (21)

1. A network node in a network comprising a committee of validator nodes and at least one client node, the network node comprising at least one processor and at least one memory containing instructions that, when executed by the processor, configure the network node to perform the steps comprising:
transmitting to the committee of validator nodes a request to become a new validator node in the committee;
receiving a response from at least one validator node in the committee confirming that the network node has been selected to become a new validator node in the committee;
generating a request for data confirming the network node is the new validator node;
receiving the data, wherein the data indicates that at least a threshold number of validator nodes have confirmed that the network node is selected to be the new validator node; and
coordinating with the other validator nodes in the committee to process a transaction received from the client node in the network.
2. The network node of claim 1, wherein the transaction received from the client node contains transaction data and the validator nodes in the committee process the transaction data to form a new block to be added to a TransactionBlock blockchain.
3. The network node of claim 1, wherein public key information for at least one of the validator nodes in the committee is stored in a current block of a KeyBlock blockchain.
4. The network node of claim 1, wherein the instructions that, when executed by the processor, further configure the network node to perform: coordinating with the other validator nodes in the committee to add a new block to a KeyBlock blockchain, the new block corresponding to the committee including the network node.
5. The network node of claim 1, wherein the identity of at least one validator node in the committee is unknown to the network node before the network node receives the response.
6. The network node of claim 1, wherein the instructions that, when executed by the processor, further configure the network node to perform: generating at least one of a proof of work or a proof of stake.
7. The network node of claim 1, wherein the instructions that, when executed by the processor, further configure the network node to perform: receiving a confirmation from at least one validator node in the committee indicating that the network node has been selected for new membership in the committee.
8. The network node of claim 7, wherein the confirmation is digitally signed using a multi-signature from validator nodes in the committee.
9. A non-transitory computer readable medium storing instructions that, when executed by executed by a processor of a network node in a network comprising a committee of validator nodes and at least one client node, configure the network node to perform the steps comprising:
transmitting to the committee of validator nodes a request to become a new validator node in the committee;
receiving a response from at least one validator node in the committee confirming that the network node has been selected to become a new validator node in the committee;
generating a request for data confirming the network node is the new validator node;
receiving the data, wherein the data indicates that at least a threshold number of validator nodes have confirmed that the network node is selected to be the new validator node; and
coordinating with the other validator nodes in the committee to process a transaction received from the client node in the network.
10. The computer readable medium of claim 9, wherein the transaction received from the client node contains transaction data and the validator nodes in the committee process the transaction data to form a new block to be added to a TransactionBlock blockchain.
11. The computer readable medium of claim 9, wherein public key information for at least one of the validator nodes in the committee is stored in a current block of a KeyBlock blockchain.
12. The computer readable medium of claim 9, wherein the instructions that, when executed by the processor, further configure the network node to perform: coordinating with the other validator nodes in the committee to add a new block to a KeyBlock blockchain, the new block corresponding to the committee including the network node.
13. The computer readable medium of claim 9, wherein the identity of at least one validator node in the committee is unknown to the network node before the network node receives the response.
14. The computer readable medium of claim 9, wherein the instructions that, when executed by the processor, further configure the network node to perform: generating at least one of a proof of work or a proof of stake.
15. The computer readable medium of claim 9, wherein the instructions that, when executed by the processor, further configure the network node to perform: receiving a confirmation from at least one validator node in the committee indicating that the network node has been selected for new membership in the committee.
16. The computer readable medium of claim 9, wherein the confirmation is digitally signed using a multi-signature from validator nodes in the committee.
17. A method for managing a network node in a network comprising a committee of validator nodes and at least one client node, comprising:
transmitting to the committee of validator nodes a request to become a new validator node in the committee;
receiving a response from at least one validator node in the committee confirming that the network node has been selected to become a new validator node in the committee;
generating a request for data confirming the network node is the new validator node;
receiving the data, wherein the data indicates that at least a threshold number of validator nodes have confirmed that the network node is selected to be the new validator node; and
coordinating with the other validator nodes in the committee to process a transaction received from the client node in the network.
18. The method of claim 17, wherein the transaction received from the client node contains transaction data and the validator nodes in the committee process the transaction data to form a new block to be added to a TransactionBlock blockchain.
19. The method of claim 17, wherein public key information for at least one of the validator nodes in the committee is stored in a current block of a KeyBlock blockchain.
20. The method of claim 17, wherein the instructions that, when executed by the processor, further configure the network node to perform: coordinating with the other validator nodes in the committee to add a new block to a KeyBlock blockchain, the new block corresponding to the committee including the network node.
21-40. (canceled)
US16/591,578 2019-09-27 2019-10-02 Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system Abandoned US20210099312A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/591,578 US20210099312A1 (en) 2019-09-27 2019-10-02 Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201962907412P 2019-09-27 2019-09-27
US16/591,578 US20210099312A1 (en) 2019-09-27 2019-10-02 Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system

Publications (1)

Publication Number Publication Date
US20210099312A1 true US20210099312A1 (en) 2021-04-01

Family

ID=75161574

Family Applications (6)

Application Number Title Priority Date Filing Date
US16/591,578 Abandoned US20210099312A1 (en) 2019-09-27 2019-10-02 Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system
US16/591,604 Active 2040-08-29 US11411721B2 (en) 2019-09-27 2019-10-02 Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system
US16/796,363 Active 2042-01-08 US11907174B2 (en) 2019-09-27 2020-02-20 Systems and methods for managing data generation, storage, and verification in a distributed system having a committee of validator nodes
US16/796,214 Abandoned US20210099294A1 (en) 2019-09-27 2020-02-20 Systems and methods for pipelining processes of selecting and utilizing a committee of validator nodes in a distributed system
US16/796,082 Active 2041-06-16 US11516006B2 (en) 2019-09-27 2020-02-20 Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system
US17/884,277 Pending US20220385460A1 (en) 2019-09-27 2022-08-09 Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system

Family Applications After (5)

Application Number Title Priority Date Filing Date
US16/591,604 Active 2040-08-29 US11411721B2 (en) 2019-09-27 2019-10-02 Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system
US16/796,363 Active 2042-01-08 US11907174B2 (en) 2019-09-27 2020-02-20 Systems and methods for managing data generation, storage, and verification in a distributed system having a committee of validator nodes
US16/796,214 Abandoned US20210099294A1 (en) 2019-09-27 2020-02-20 Systems and methods for pipelining processes of selecting and utilizing a committee of validator nodes in a distributed system
US16/796,082 Active 2041-06-16 US11516006B2 (en) 2019-09-27 2020-02-20 Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system
US17/884,277 Pending US20220385460A1 (en) 2019-09-27 2022-08-09 Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system

Country Status (1)

Country Link
US (6) US20210099312A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200134578A1 (en) * 2018-10-25 2020-04-30 Thunder Token Inc. Blockchain consensus systems and methods involving a time parameter
US20210119776A1 (en) * 2019-10-21 2021-04-22 Infineon Technologies Ag Proof-of-work based on block cipher
US11080412B1 (en) * 2020-08-20 2021-08-03 Spideroak, Inc. Efficiently computing validity of a block chain
US20210409224A1 (en) * 2020-06-29 2021-12-30 Electronics And Telecommunications Research Institute Method and apparatus for creating blocks in blockchain system
US11343313B1 (en) * 2021-01-28 2022-05-24 International Business Machines Corporation Fault tolerant periodic leader rotation for blockchain
US20220239497A1 (en) * 2018-08-28 2022-07-28 Blocklyncs Llc Digital data management
CN114925403A (en) * 2022-05-18 2022-08-19 易观科技股份有限公司 Block chain mixed consensus data processing method and system
US20230188597A1 (en) * 2020-05-12 2023-06-15 Beijing Wodong Tianjun Information Technology Co., Ltd. Systems and Methods for Establishing Consensus in Distributed Communications
US11818276B1 (en) * 2022-10-07 2023-11-14 Uab 360 It Optimized header information to enable access control
US11973744B2 (en) * 2020-05-12 2024-04-30 New Jersey Institute Of Technology Systems and methods for establishing consensus in distributed communications

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430064B (en) * 2017-03-30 2020-12-04 腾讯科技(深圳)有限公司 Block chain system, message processing method and storage medium
WO2021073953A1 (en) * 2019-10-15 2021-04-22 Sepior Aps Digital signature generation using a cold wallet
US11861427B2 (en) * 2019-11-01 2024-01-02 Microsoft Technology Licensing, Llc Pooled validator node configuration for hosted blockchain network
US11899654B2 (en) * 2020-02-14 2024-02-13 VMware LLC Linear byzantine agreement
US11250021B2 (en) 2020-04-17 2022-02-15 International Business Machines Corporation Faster view change for blockchain
CN111522648B (en) * 2020-07-03 2020-10-09 支付宝(杭州)信息技术有限公司 Transaction processing method and device for block chain and electronic equipment
US11741083B2 (en) * 2020-07-24 2023-08-29 International Business Machines Corporation Cross-shard private atomic commit
US20220237111A1 (en) * 2021-01-23 2022-07-28 Dido Solutions, Inc. Distributed immutable data object testing
CN113535732B (en) * 2021-07-23 2023-07-25 东北大学 Verifiable query optimization method for reputation-behavior correlation-oriented double-block chain
FR3127304A1 (en) * 2021-09-17 2023-03-24 Commissariat A L'energie Atomique Et Aux Energies Alternatives PIPELINED FORMATION METHOD OF A CHAIN OF BLOCKS GUARANTEEING THE VIVACITY OF TRANSACTIONS
WO2023250424A1 (en) * 2022-06-22 2023-12-28 Ntt Research, Inc. Protocols for game-theoretically-fair operator election in blockchain settings
CN115190130B (en) * 2022-09-13 2022-12-02 北京笔新互联网科技有限公司 Data processing method and device based on block chain, electronic equipment and storage medium
CN116527684B (en) * 2023-07-03 2023-09-05 江西农业大学 Multi-chain information interaction method based on 1+1+N relay consensus committee

Family Cites Families (58)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69638307D1 (en) * 1995-06-05 2011-01-27 Cqrcert Llc Method and device for digital signature in several steps
WO2000049768A1 (en) * 1999-02-17 2000-08-24 Thomas Mittelholzer Method for signature splitting to protect private keys
JP3584831B2 (en) * 2000-01-18 2004-11-04 日本電気株式会社 Signature calculation system by mobile agent and recording medium recording program
JP4477678B2 (en) * 2008-01-21 2010-06-09 富士通株式会社 Electronic signature method, electronic signature program, and electronic signature device
US8607066B1 (en) * 2008-08-04 2013-12-10 Zscaler, Inc. Content inspection using partial content signatures
US9465648B2 (en) * 2012-07-31 2016-10-11 Hewlett Packard Enterprise Development Lp Distributed transaction processing through commit messages sent to a downstream neighbor
US9418130B2 (en) * 2012-11-06 2016-08-16 Tibco Software, Inc. Data replication protocol with efficient update of replica machines
US10025915B2 (en) * 2013-12-05 2018-07-17 Lenovo (Singapore) Pte. Ltd. Contact signature authentication of user of device
WO2015118160A1 (en) * 2014-02-10 2015-08-13 Thomson Licensing Signing methods for delivering partial signatures, and/or threshold signatures, corresponding verification methods, and corresponding electronic devices
US10459892B2 (en) * 2014-04-23 2019-10-29 Qumulo, Inc. Filesystem hierarchical aggregate metrics
US9608829B2 (en) 2014-07-25 2017-03-28 Blockchain Technologies Corporation System and method for creating a multi-branched blockchain with configurable protocol rules
EP3193256B1 (en) * 2016-01-12 2018-08-01 Politechnika Poznanska A fault-tolerant data processing computer system and method for implementing a distributed two-tier state machine
US11048723B2 (en) * 2016-04-08 2021-06-29 Chicago Mercantile Exchange Inc. Bilateral assertion model and ledger implementation thereof
EP3459002B1 (en) * 2016-05-19 2020-07-08 Telefonaktiebolaget LM Ericsson (publ) Methods and devices for handling hash-tree based data signatures
US10878522B2 (en) * 2016-08-18 2020-12-29 First American Financial Corporation Systems and methods for using blockchains to record, manage, and transfer ownership rights to land titles
US10049017B2 (en) * 2016-10-04 2018-08-14 Nec Corporation Method and system for byzantine fault-tolerance replicating of data on a plurality of servers
US10360191B2 (en) 2016-10-07 2019-07-23 International Business Machines Corporation Establishing overlay trust consensus for blockchain trust validation system
US10158527B2 (en) 2016-10-28 2018-12-18 International Business Machines Corporation Changing an existing blockchain trust configuration
US10657526B2 (en) * 2016-10-28 2020-05-19 International Business Machines Corporation System and method to dynamically setup a private sub-blockchain based on agility of transaction processing
CN107171829B (en) 2017-04-24 2019-12-24 杭州趣链科技有限公司 Dynamic node management method realized based on BFT consensus algorithm
CN109792437B (en) * 2017-05-16 2021-01-12 北京大学深圳研究生院 Consensus method for decentralized domain name system
WO2018217804A1 (en) * 2017-05-22 2018-11-29 Visa International Service Association Network for improved verification speed with tamper resistant data
GB201709367D0 (en) * 2017-06-13 2017-07-26 Nchain Holdings Ltd Computer-implemented system and method
US10361870B2 (en) * 2017-09-14 2019-07-23 The Toronto-Dominion Bank Management of cryptographically secure exchanges of data using permissioned distributed ledgers
CN110971414B (en) * 2017-11-10 2021-05-04 财付通支付科技有限公司 Method, device, terminal and server for generating signature
US11271800B1 (en) * 2017-11-29 2022-03-08 Syed Muhammad Sajjad Rizvi Leaderless, parallel, and topology-aware protocol for achieving consensus with recovery from failure of all nodes in a group
CN108133420B (en) 2018-01-10 2020-09-11 杭州复杂美科技有限公司 Committee consensus method of block chain
EP3528468B1 (en) * 2018-02-20 2021-04-07 Nokia Technologies Oy Profile information sharing
KR102250810B1 (en) 2018-03-23 2021-05-11 블록체인랩스 주식회사 Blockchain system with consensus algorithm based on proof-of -transaction and method there of
US20190354518A1 (en) * 2018-05-01 2019-11-21 Michael Zochowski Chain mesh network for decentralized transaction systems
US20190370793A1 (en) * 2018-06-04 2019-12-05 Decentralized Finance Labs, Inc. Hybrid consensus for blockchain using proof of work and proof of stake
CA3046020A1 (en) * 2018-06-14 2019-12-14 Zero31Skytech Inc. Apparatus, system and method to limit access to open networks by requiring the consensus of pre-existing nodes to admit candidate nodes
US20200013027A1 (en) 2018-07-06 2020-01-09 Decentralized Finance Labs, Inc. Hybrid proof of work and proof of stake consensus to reduce circulating tokens in a blockchain system
US11693840B2 (en) * 2018-07-12 2023-07-04 International Business Machines Corporation Database storing authenticated skill-based attributes
US20200026699A1 (en) 2018-07-20 2020-01-23 True Blockchain Technology Ltd. Highly Performant Decentralized Public Ledger with Hybrid Consensus
US11159307B2 (en) * 2018-08-08 2021-10-26 International Business Machines Corporation Ad-hoc trusted groups on a blockchain
CN109039748B (en) 2018-08-10 2021-09-03 上交所技术有限责任公司 Method for dynamically adding and deleting nodes by PBFT protocol
US20200052917A1 (en) 2018-08-10 2020-02-13 Peertracks Inc. Systems and methods for an online media marketplace
CN108965469B (en) 2018-08-16 2021-07-30 北京京东尚科信息技术有限公司 Dynamic management method, device, equipment and storage medium for members of block chain network
US20200084041A1 (en) * 2018-09-07 2020-03-12 Nebulas IO Limited Automated Blockchain Protocol Update
US11222009B2 (en) 2018-09-28 2022-01-11 Thunder Token Inc. High throughput blockchain consensus systems and methods with low finalization time
US20200162261A1 (en) 2018-11-18 2020-05-21 Ramachandran Iyer System and method of blockchain consensus mechanism with custom hardware based on geographic distribution, density, node asset and reputation
US11055313B2 (en) * 2018-12-05 2021-07-06 Ebay Inc. Free world replication protocol for key-value store
CN109728941A (en) * 2018-12-20 2019-05-07 北京比新科技有限公司 A kind of block chain leader election method and device thereof
PL3571825T3 (en) * 2018-12-21 2021-08-16 Advanced New Technologies Co., Ltd. Verifying integrity of data stored in a consortium blockchain using a public sidechain
TW202034666A (en) * 2018-12-24 2020-09-16 柯賓漢數位金融科技有限公司 Method for information confirmation in distributed systems using hybrid byzantine agreement
CN109561160A (en) * 2019-01-28 2019-04-02 众安信息技术服务有限公司 Network-initiating node bootstrap technique and equipment based on distributed hash list
SG11201908853YA (en) * 2019-03-18 2019-10-30 Alibaba Group Holding Ltd System and method for ending view change protocol
EP3607733B1 (en) * 2019-03-18 2022-02-09 Advanced New Technologies Co., Ltd. Consensus system downtime recovery
US11777712B2 (en) * 2019-03-22 2023-10-03 International Business Machines Corporation Information management in a database
CN110049029B (en) * 2019-04-04 2021-07-20 矩阵元技术(深圳)有限公司 Consensus node determination method, device, computer equipment and storage medium
US11126593B2 (en) * 2019-06-15 2021-09-21 Facebook, Inc. Scalable, secure, efficient, and adaptable distributed digital ledger transaction network
WO2020254923A1 (en) 2019-06-15 2020-12-24 Indian Institute Of Technology, Delhi Method in blockchain systems for fast stabilization and increased responsiveness using links
US20200394648A1 (en) * 2019-06-15 2020-12-17 Facebook, Inc. Scalable, secure, efficient, and adaptable distributed digital ledger transaction network
US11405204B2 (en) 2019-06-15 2022-08-02 Meta Platforms, Inc Scalable, secure, efficient, and adaptable distributed digital ledger transaction network
US11343073B2 (en) * 2019-06-18 2022-05-24 Electronics And Telecommunications Research Institute Apparatus and method for achieving distributed consensus based on decentralized byzantine fault tolerance
US20210026745A1 (en) * 2019-07-24 2021-01-28 The University Of North Carolina At Charlotte Methods, systems, and computer readable media for providing byzantine fault tolerance
US11228452B2 (en) * 2019-09-16 2022-01-18 Cisco Technology, Inc. Distributed certificate authority

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11716204B2 (en) * 2018-08-28 2023-08-01 Blocklyncs Llc Digital data management
US20220239497A1 (en) * 2018-08-28 2022-07-28 Blocklyncs Llc Digital data management
US20200134578A1 (en) * 2018-10-25 2020-04-30 Thunder Token Inc. Blockchain consensus systems and methods involving a time parameter
US20210119776A1 (en) * 2019-10-21 2021-04-22 Infineon Technologies Ag Proof-of-work based on block cipher
US20230188597A1 (en) * 2020-05-12 2023-06-15 Beijing Wodong Tianjun Information Technology Co., Ltd. Systems and Methods for Establishing Consensus in Distributed Communications
US11973744B2 (en) * 2020-05-12 2024-04-30 New Jersey Institute Of Technology Systems and methods for establishing consensus in distributed communications
US20210409224A1 (en) * 2020-06-29 2021-12-30 Electronics And Telecommunications Research Institute Method and apparatus for creating blocks in blockchain system
US11087016B1 (en) 2020-08-20 2021-08-10 Spideroak, Inc. Implementation of a file system on a block chain
US11544392B2 (en) 2020-08-20 2023-01-03 Spideroak, Inc. Implementation of a file system on a block chain
US11568068B2 (en) 2020-08-20 2023-01-31 Spideroak, Inc. Implementation of a file system on a block chain
US11841957B2 (en) 2020-08-20 2023-12-12 Spideroak, Inc. Implementation of a file system on a block chain
US11080412B1 (en) * 2020-08-20 2021-08-03 Spideroak, Inc. Efficiently computing validity of a block chain
US11343313B1 (en) * 2021-01-28 2022-05-24 International Business Machines Corporation Fault tolerant periodic leader rotation for blockchain
CN114925403A (en) * 2022-05-18 2022-08-19 易观科技股份有限公司 Block chain mixed consensus data processing method and system
US11818276B1 (en) * 2022-10-07 2023-11-14 Uab 360 It Optimized header information to enable access control

Also Published As

Publication number Publication date
US11907174B2 (en) 2024-02-20
US11411721B2 (en) 2022-08-09
US20220385460A1 (en) 2022-12-01
US20210099279A1 (en) 2021-04-01
US20210099294A1 (en) 2021-04-01
US20210097537A1 (en) 2021-04-01
US11516006B2 (en) 2022-11-29
US20210097538A1 (en) 2021-04-01

Similar Documents

Publication Publication Date Title
US11411721B2 (en) Systems and methods for selecting and utilizing a committee of validator nodes in a distributed system
US11748337B2 (en) System and method of decentralized management of multi-owner nodes using blockchain
Lei et al. Reputation-based byzantine fault-tolerance for consortium blockchain
CN109871669B (en) Data sharing solution based on block chain technology
US11283634B2 (en) System and method for detecting replay attack
US11128522B2 (en) Changing a master node in a blockchain system
CN115210741B (en) Partially ordered blockchain
US20200128043A1 (en) System and method for detecting replay attack
US11949691B2 (en) Malicious peer identification
US20180308091A1 (en) Fairness preserving byzantine agreements
US10735464B2 (en) System and method for detecting replay attack
US11943237B2 (en) Malicious peer identification for database block sequence
JP2020511807A (en) Achieving consensus among network nodes in distributed systems
JP2022508247A (en) High-performance distributed recording system with reliability-based consensus
US20230037932A1 (en) Data processing method and apparatus based on blockchain network, and computer device
CN111241593A (en) Data synchronization method and device for block chain nodes
CN111052091A (en) Method for forming consensus in a network and nodes constituting the network
Danezis et al. Blockmania: from block dags to consensus
US11343313B1 (en) Fault tolerant periodic leader rotation for blockchain
US20220329411A1 (en) Blockchain processing offload to network device
CN114745140B (en) Urban planning field block chain consensus verification method and system based on aggregation encryption
US20200394162A1 (en) Operation management method for distributed ledger system, operation management system for distributed ledger system, and operation management program for distributed ledger system
Tsai et al. Lessons learned from developing permissioned blockchains
CN111211876B (en) Method and device for sending response message aiming at data request and block chain system
US20230353394A1 (en) Cross-blockchain transaction processing method and apparatus, computer device, computer storage medium, and computer program product

Legal Events

Date Code Title Description
AS Assignment

Owner name: CYPHERIUM BLOCKCHAIN INC., NEW YORK

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:GUO, YANGRUI;YANG, QIANDONG;ZHOU, HUI;AND OTHERS;SIGNING DATES FROM 20190928 TO 20190930;REEL/FRAME:050609/0335

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION