Secure blockchain-based consensus

The congress system on blockchain networks allows nodes to collaboratively provide external data to smart contracts, addressing the lack of autonomy and security by ensuring secure and autonomous execution.

JP2024153818AActive Publication Date: 2024-10-29NCHAIN LICENSING AG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024124144
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2017-04-18
Filing Date
2024-07-31
Publication Date
2024-10-29
Estimated Expiration
2038-04-16

AI Technical Summary

Technical Problem

Smart contracts on blockchain networks lack the ability to access external information, reducing their autonomy and security due to reliance on trusted external agents for data retrieval.

Method used

A method involving a 'congress' system where nodes collaborate to securely provide external data to scripts, using a consensus mechanism to ensure data integrity and autonomy, allowing scripts to access and execute based on external information.

Benefits of technology

Enables secure and autonomous execution of smart contracts by providing external data without relying on trusted external agents, enhancing security and functionality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024153818000004
    Figure 2024153818000004
  • Figure 2024153818000005
    Figure 2024153818000005
  • Figure 2024153818000006
    Figure 2024153818000006
Patent Text Reader

Abstract

To provide a method and system for activating a script related to a distributed ledger.SOLUTION: A method includes: broadcasting a transaction, by a node in a blockchain network, to a congress pool to join a congress formed of a group of nodes; after the congress accepting a request from a requester to activate a script, preparing, by the node, a blockchain transaction cryptographically locked with a public key associated with the congress pool; cooperatively generating, by the node cooperating with other nodes of the group, a valid cryptographic signature for the transaction to spend the transaction; after the blockchain transaction being unlocked, receiving data from a plurality of information providing systems; determining a center point for the data received from the plurality of information providing systems; and activating, by the node in cooperation with other nodes of the congress, the script based on the center point.SELECTED DRAWING: None
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates generally to distributed ledgers, and more particularly to methods and systems for initiating scripts associated with such distributed ledgers. The present invention is particularly suited, but not limited to, for initiating such scripts based on information that is not available in the distributed ledger.

[0002] This document uses the term "blockchain" to include all forms of electronic, computer-based distributed ledgers. These forms include, but are not limited to, blockchain and transaction chain technology, permissioned and non-permissioned ledgers, shared ledgers, and variations thereof. The most widely known application of blockchain technology is the Bitcoin ledger, although other blockchain implementations have been proposed and developed. Although reference is made herein to Bitcoin for convenience and illustrative purposes, it should be noted that the present invention is not limited to use with the Bitcoin blockchain, and alternative blockchain implementations and protocols are within the scope of the present invention.

[0003] A blockchain is a consensus-based electronic ledger implemented as a computer-based decentralized system of blocks, which consist of transactions and other information. In the case of Bitcoin, each transaction is a data structure that encodes the transfer of control of digital assets between participants in the blockchain system, and each transaction contains at least one input and at least one output. Blocks are chained together because each block contains a hash of the previous block, creating a permanent, immutable record of all transactions written to the blockchain since its inception. Transactions contain small programs known as scripts embedded in their inputs and outputs, and the scripts specify who can access the transaction's outputs and how. In the Bitcoin platform, these scripts are written using a stack-based scripting language.

[0004] In order for a transaction to be written to the blockchain, it must be "validated." Some network nodes act as miners and work to ensure that each transaction is valid; invalid transactions are rejected from the network. For example, a software client installed on the node performs this validation on transactions that reference unspent transaction outputs (UTXOs). Validation can be done by executing its lock and unlock scripts. If the execution of the lock and unlock scripts evaluates to TRUE and certain other conditions are met (such as including sufficient mining fees), the transaction is valid and can be written to the blockchain. Thus, to be written to the blockchain, a transaction must be i) verified by the node that receives the transaction (when a transaction is verified, the node relays it to other nodes in the network); ii) added to a new block constructed by miners; and iii) mined, i.e., added to the public ledger of past transactions. A transaction is considered confirmed when a sufficient number of blocks have been added to the blockchain to make the transaction effectively irreversible.

[0005] While blockchain technology is most widely known for its use in implementing cryptocurrencies, digital entrepreneurs are beginning to explore the use of both the cryptographic security system on which Bitcoin is based, and the data that can be stored on the blockchain to implement new systems. It would be highly advantageous to use blockchain for automating tasks and processes that are not limited to the cryptocurrency realm. Such a solution would allow for a broader range of applications while leveraging the benefits of blockchain (e.g., permanent, tamper-proof record of events, distributed processing, etc.).

[0006] Blockchain technology has been used to provide a platform for smart contracts. A smart contract is a computerized transaction protocol that executes the terms of a contract. Once implemented on the blockchain, a smart contract is a computerized protocol that is stored on the blockchain and triggered by blockchain transactions, and when executed, can write data to the blockchain. Once implemented on the blockchain, a smart contract can be visible to all users of the blockchain network.

[0007] A smart contract often needs to be activated by a message or transaction. That is, a smart contract typically needs to be poked by an external agent for the code to be executed. Furthermore, a smart contract typically does not have access to information outside the blockchain itself. Without access to such information, a smart contract may not be able to determine which clauses of the agreement should be executed / enforced. To obtain such external information, a trusted external agent is sometimes used to provide access to information that is outside the blockchain and required by the smart contract. Reliance on a trusted external agent reduces the autonomous and self-enforcing nature of a smart contract. Reliance on a trusted external agent may reduce the security and usefulness of a smart contract. Summary of the Invention

[0008] Thus, according to the present invention there is provided a method as defined in the accompanying claims.

[0009] As described in more detail below, congresses can be formed on a blockchain network. A congress is an open membership group that any node in the blockchain network can join if it submits a sufficient stake to a pool associated with the congress. For example, a node can join a congress by transferring digital assets, such as digital currency (e.g., Bitcoin), tokens, or other stakes or consideration, to an account associated with the congress. Advantageously, congresses can be used to securely launch scripts, such as smart contracts. For example, congresses can be used to reliably provide data from external sources to scripts. Congresses can be used to securely reach consensus in a distributed system where message exchange between nodes is insecure. For example, congresses can reliably provide data from external sources to scripts, and can provide data securely even when communication between nodes in the congress is insecure.

[0010] Thus, according to the present invention, a computer-implemented method is provided, the computer-implemented method including: i) by a node in a blockchain network, broadcasting a transaction to a congress pool to join a congress formed of a group of nodes; ii) by the node, after the congress accepts a request from a requester to launch a script, preparing a transaction to pay the congress pool, the transaction being configured to allow multiple information providers to add inputs to the transaction; iii) by the node cooperating with other nodes of the group, after the inputs are added to the transaction, cooperatively generating a valid signature for the transaction to spend the transaction; iv) by the node cooperating with other nodes of the congress, after the transaction is spent, receiving data from the multiple information providers; v) determining a centre point for the data received from the multiple information providers; and vi) by the node cooperating with other nodes of the congress, launching the script based on the centre point.

[0011] In some embodiments, a computer-implemented method is provided that includes: i) by a node in a blockchain network, broadcasting a transaction to a congress pool to join a congress formed of a group of nodes; ii) after the congress accepts a request from a requester to launch a script, by the node, preparing a blockchain transaction cryptographically locked with a public key associated with the congress, the blockchain transaction configured to allow multiple information providing systems to add inputs to the blockchain transaction; iii) after the inputs are added to the blockchain transaction, by the node cooperating with other nodes of the group, cooperatively generating a valid cryptographic signature for the blockchain transaction to unlock the blockchain transaction; iv) after the transaction is unlocked, receiving data from the multiple information providing systems; v) determining a central point for the data received from the multiple information providing systems; and vi) by the node cooperating with other nodes of the congress, launching the script based on the central point.

[0012] In some embodiments, the computer-implemented method includes: i) identifying, by a node based on a central point, a subset of information providing systems that provided data near the central point; and ii) allowing, by the node collaborating with other nodes in the group, a transfer of digital assets (i.e., tokens) to each information provider in the subset (i.e., each information providing system in the subset).

[0013] In some embodiments, the digital assets (i.e., tokens) included in the transfer include one or more digital assets (i.e., tokens) received by the congress pool from a requester. In some embodiments, the request includes a threshold indicator, and the subset is identified based on the threshold indicator. The threshold indicator can be received from the requester.

[0014] In some embodiments, the inputs to the transaction (i.e., the inputs to the blockchain transaction) include respective proof of solution data, and the method includes determining, based on the proof of solution data, that the data received from at least one of the information providing systems corresponds to the committed solution.

[0015] In some embodiments, the inputs to the transactions (i.e., the inputs to the blockchain transactions) include respective proof of solution data, and the method further includes: i) determining that the data received from at least one of the information providing systems does not correspond to (match) the proof of solution data received from the information providing system; and ii) discarding the data if the data received from at least one of the information providing systems is determined to not correspond to the committed solution based on the proof of solution data.

[0016] In some embodiments, inputs to a transaction include digital assets (i.e., tokens) that are held as a security (i.e., locked for security).

[0017] In some embodiments, the information provider system includes in the transaction (i.e., the blockchain transaction) a hash based on the public key, the solution to the claim, and the salt. In some embodiments, the data received from the plurality of information providers includes the public key, the solution to the claim, and the salt. The method may further include: i) generating a hash based on the public key, the solution to the claim, and the salt; and ii) comparing the generated hash to a hash included in the transaction (i.e., the blockchain transaction).

[0018] In some embodiments, the computer-implemented method further includes: i) detecting malicious activity by a malicious party, where the malicious party is one of the nodes of the congress; and ii) confiscating at least a portion of the digital assets (i.e., tokens) previously transferred by the malicious party to the congress pool using a private key share. The confiscating step may include transferring to an unsepndable account.

[0019] According to the present invention, there is provided an electronic device including an interface device, a processor coupled to the interface device, and a memory coupled to the processor, the memory storing computer-executable instructions that, when executed, configure the processor to perform the methods described herein.

[0020] According to the present invention, a computer-readable storage medium may be provided that includes computer-executable instructions that, when executed, configure a processor to perform the methods described herein. [Brief description of the drawings]

[0021] These and other aspects of the invention will be apparent from and will be elucidated with reference to the embodiments described hereinafter, which embodiments of the invention will now be described, by way of example only, with reference to the accompanying drawings, in which: [Figure 1] FIG. 1 is a block diagram of an exemplary blockchain network. [Diagram 2] FIG. 1 is a block diagram of an exemplary electronic device that can function as a node in a blockchain network. [Diagram 3] 1 is a flow chart of an exemplary method for initiating a congress. [Figure 4] 4 is a flow chart of an exemplary method for joining a congress. [Diagram 5] 1 is a flow chart of an exemplary method for confiscating digital assets. [Figure 6] 1 is a flow chart of an example method for redeploying key shares. [Figure 7] 13 is a flow chart of a further exemplary method for redistributing key shares. [Figure 8] 1 is a flow chart of an exemplary method for returning a deposit. [Figure 9] FIG. 1 is a block diagram of an exemplary blockchain network. [Figure 10] 1 is a flowchart of an example method for requesting invocation of a script. [Figure 11] 1 is a flowchart of an example method for requesting invocation of a script. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] Blockchain Network Referring initially to FIG. 1, this figure illustrates in block diagram form an exemplary blockchain network 100 associated with a blockchain. The blockchain network may be a public blockchain network, which is a peer-to-peer open membership network that anyone can join without an invitation or the consent of other members. Distributed electronic devices running an instance of the blockchain protocol on which the blockchain network 100 operates may participate in the blockchain network 100. Such distributed electronic devices may be referred to as nodes 102. The blockchain protocol may be, for example, the Bitcoin protocol.

[0023] The electronic devices that execute the blockchain protocol and form the nodes 102 of the blockchain network 100 may be various types of devices, including, for example, computers such as desktop computers, laptop computers, tablet computers, servers, mobile devices such as smartphones, wearable computers such as smart watches, or other electronic devices.

[0024] The nodes 102 of the blockchain network 100 are coupled to one another using suitable communication technologies, which may include wired and wireless communication technologies. Such communications conform to a protocol associated with the blockchain. For example, the Bitcoin protocol may be used when the blockchain is the Bitcoin blockchain.

[0025] Nodes 102 maintain a global ledger of all transactions in the blockchain. Thus, the global ledger is a distributed ledger. Each node 102 may store a full or partial copy of the global ledger. In the case of a proof-of-work-certified blockchain, transactions by nodes 102 that affect the global ledger are verified by other nodes 102 to ensure that the validity of the global ledger is maintained. In the case of a proof-of-work-based blockchain, blocks are also verified by checking the proof-of-work sent with the block.

[0026] At least some of the nodes 102 act as miners 104 in the blockchain network 100. The blockchain network 100 of FIG. 1 is a proof-of-work blockchain in which miners 104 perform costly computations to facilitate transactions on the blockchain. For example, a proof-of-work blockchain may require miners to solve a cryptographic problem. In Bitcoin, miners 104 find a nonce by hashing the block header with SHA-256 to a number less than a value dictated by the current difficulty. The hashing power required for the proof-of-work algorithm means that a transaction is considered effectively irreversible after a certain number of blocks have been mined on top of it. The miner 104 who solves the cryptographic problem creates a new block in the blockchain and broadcasts this new block to the other nodes 102. The other nodes 102 verify that the miner 104 has in fact solved the cryptographic problem and therefore demonstrated sufficient proof-of-work before accepting that the block should be added to the blockchain. Blocks are added to the blockchain (i.e., a global distributed ledger) by consensus of nodes 102.

[0027] Blocks created by miners 104 include transactions broadcast to the blockchain by nodes 102. For example, a block may include a transaction from an address associated with one node 102 to an address associated with another node 102. In this way, a block serves as a record of transactions from one address to another. A party requesting that a transaction be included in a block proves that it has the authority to initiate a transfer (e.g., in the case of Bitcoin, to spend Bitcoin) by signing the request with a private key that corresponds to a public key. Only if the request is validly signed can the transfer (transaction) be added to the block.

[0028] In the case of Bitcoin, there is a one-to-one correspondence between public keys and addresses: each public key is associated with a single address. Thus, references herein to transferring digital assets to or from a public key (e.g., paying a public key) and to transferring digital assets to or from an address associated with that public key refer to general actions.

[0029] Some of the nodes 102 may not act as miners, but instead participate as validating nodes. Validating transactions may include verifying signatures, checking references to valid UTXOs, etc.

[0030] The example of FIG. 1 includes six nodes 102, two of which participate as miners 104. In practice, the number of nodes 102 or miners 104 may be different. In many blockchain networks, the number of nodes 102 and miners 104 may be much higher than the number shown in FIG. 1.

[0031] As described below, various nodes 102 may cooperate to form a group, referred to herein as a congress 110. In the illustrated example, three nodes 102 are shown as participating in the congress 110. However, the actual members of the congress 110 may be much larger.

[0032] A congress 110 is an open membership group that a node 102 may join by submitting sufficient contributions to a pool associated with the congress 110. For example, a node may join a congress by transferring digital assets, such as digital currency (e.g., Bitcoin), tokens, or other contributions or consideration, to an account associated with the congress 110. Nodes 102 that participate in a congress may be nodes in a blockchain network, including both mining and non-mining nodes. In at least some applications of congress, nodes that act as congress members monitor the blockchain in the sense that they download (but do not necessarily retain) the complete blockchain.

[0033] The techniques for joining, leaving and participating in a congress 110 are described in more detail below.

[0034] Electronic devices acting as nodes 2 is a block diagram illustrating components of an exemplary electronic device 200 that may function as a node 102 (FIG. 1) in a peer-to-peer blockchain network 100 (FIG. 1). The exemplary electronic device 200 may also be referred to as a processing device. The electronic device may take a variety of forms including, for example, a desktop computer, a laptop computer, a tablet computer, a server, a mobile device such as a smartphone, a wearable computer such as a smart watch, or another type of form.

[0035] The electronic device 200 includes a processor 210, a memory 220, and an interface device 230. These components may be directly or indirectly coupled to each other and may communicate with each other. For example, the processor 210, the memory 220, and the interface device 230 may communicate with each other via a bus 240. The memory 220 stores a computer software program including machine-readable instructions and data for performing functions described herein. For example, the memory may include processor-executable instructions that, when executed by the processor 210, cause the electronic device to perform the methods described herein. The processor-executable instructions may include instructions that, when executed by the processor 210, cause the electronic device to implement a protocol associated with the blockchain network 100 (FIG. 1). For example, the instructions may include instructions for implementing the Bitcoin protocol.

[0036] Memory 220 may store the global ledger of blockchain network 100 (FIG. 1), or a portion thereof. That is, memory 220 may store all the blocks of the blockchain, or a portion of the blocks, such as the most recent blocks, or a portion of the information in some blocks.

[0037] 2, memory 220 is shown as a single block, in reality electronic device 200 may include multiple memory components. The memory components may be of various types including, for example, RAM, HDD, SSD, flash drive, etc. Different types of memory may be suitable for different purposes. Additionally, while memory 220 is shown separate from processor 210, processor 210 may include embedded memory.

[0038] As shown in FIG. 2, the processor 210 can include a secure area such as a trusted execution environment (TEE) 250. The TEE 250 is an isolated execution environment that provides additional security to the electronic device 200, such as isolated execution, integration of trusted applications, and asset confidentiality. The TEE 250 provides an execution space that ensures that computer instructions and data loaded into the TEE 250 are protected in terms of confidentiality and integrity. The TEE 250 can be used to protect the integrity and confidentiality of critical resources, such as keys. Since the TEE 250 is implemented at least partially at the hardware level, the instructions and data executed within the TEE 250 are protected against access and manipulation from the rest of the electronic device 200 and from external parties, such as the owner of the electronic device. The data and computations within the TEE 250 are secured from parties operating the node 102 that includes the TEE 250.

[0039] The TEE 250 may operate to instantiate an enclave and add pages of memory one at a time, hashing cumulatively. Similar operations may be performed on a remote machine (which may be the development machine or another machine), which determines and stores the expected hash. The contents of the enclave may then be verified on the remote machine to ensure that the enclave is running an approved algorithm. This verification may be done by comparing hashes. Once the enclave is fully constructed, it is locked down. It is possible to run code on the TEE 250 and send secrets to the code, but the code cannot be modified. The final hash may be signed by an authentication key, which may be made available to the data owner to verify before sending the secret to the enclave.

[0040] The TEE 250 may be used to protect the confidentiality and integrity of secret key shares related to the Congress public key used by the Congress 110 (FIG. 1). For example, the TEE 250 may be used to generate and store secret key shares. The TEE 250 aims to ensure that members cannot directly obtain information about the secret key shares held within the TEE 250 enclave or other secret key shares from inter-member or inter-enclave communications. The protocol is robust against enclave threshold compromise. Additionally, the TEE 250 allows for remote attestation that may be used by the nodes 102 (FIG. 1) to prove to other nodes 102 that the TEE 250 is authentic and is executing approved computer-executable instructions for the protocol implemented by the Congress 110. Remote attestation may be provided by the TEE 250 by executing a specific portion of code and sending a hash of the code inside the enclave signed with the enclave's internal attestation key.

[0041] The TEE 250 may be used to guarantee the deletion of private key shares when a member of the Congress 110 that previously used the private key shares on the electronic device 200 chooses to leave the Congress. The electronic device 200 may provide proof of deletion to other Congress members via a remote attestation protocol provided by the TEE 250. Proof of deletion may be required before a member is permitted to withdraw his / her member deposit; that is, the return of the deposit may be conditioned on proof of deletion of the private key shares held within the member's enclave.

[0042] The TEE 250 may be equipped with a secure random number generator internal to the TEE's enclave, which may be used to generate secret keys, random challenges, or other random data. The TEE 250 may also be configured to read data from and write data to external memory. Such data may be encrypted with a secret key held only within the enclave.

[0043] The TEE 250 can be implemented using a variety of platforms, including the Trusted Platform Module (TPM) and Intel Software Guard Extensions (SGX). For example, SGX supports remote attestation, which allows an enclave to obtain signed statements of what a given member has, called a quote, from the processor running the particular enclave. A third-party attestation service, such as the Intel Attestation Service (IAS), can attest that these signed statements come from a genuine CPU that complies with the SGX specification.

[0044] The electronic device 200 functions as a node 102 (FIG. 1) in the blockchain network 100 (FIG. 1) and can participate or otherwise join a congress 110 (FIG. 1). A congress 110 is formed when a group of digital asset holders pool digital assets, such as digital currency, tokens, or other contributions or consideration, supported by the blockchain network 100 (FIG. 1).

[0045] Congress and Threshold Signatures A congress 110 may be a permissioned or permissionless group. That is, any node 102 (FIG. 1) in the blockchain network 100 (FIG. 1) may participate in the congress 110 (i.e., any node that monitors and stores at least a portion of the information in the blockchain). To participate in the congress 110, a node 102 transfers one or more digital assets to a digital asset pool associated with the congress 110 (i.e., to a public group address associated with one or more digital assets, which in turn is associated with other members of the congress). This digital asset pool may be referred to as a congress pool. For example, a node 102 may participate in the congress 110 by transferring (i.e., depositing) such digital assets to an address associated with the congress pool (i.e., a “congress address,” which may also be referred to as a public group address). The digital assets are under the control of a group threshold signature with a single public key, referred to as the congress public key. The congress members hold distributively generated private key shares. The number of shares held may be proportional to the amount deposited in the pool.

[0046] Digital assets managed by the Congress 110, including digital assets transferred to a Congress address, are under the control of a threshold signature scheme. The threshold signature scheme requires a group of members whose combined holdings of private key shares exceed a threshold to generate a valid signature that allows a digital asset to be transferred away from the control of the Congress 110. That is, at least the threshold number of private key shares must be used to generate a valid signature for an outgoing transfer of a digital asset managed by the Congress 110.

[0047] The Congress public key encumbers digital assets deposited in the Congress Pool by members of Congress 110 in exchange for private key shares, and digital assets deposited in an address associated with the Congress Pool by members or non-members of Congress 110 (i.e., placed under full, partial, or conditional control of Congress) (deposited for reasons other than obtaining private key shares). Non-members or members may deposit digital assets in an address associated with Congress for a variety of reasons. In one example, described in more detail below, members or non-members may deposit digital assets in Congress 110 to move such assets to another blockchain (which may be referred to as an alternative chain, such as a side chain). A side chain may be a blockchain that runs in parallel (i.e., in parallel with) the main blockchain.

[0048] Since the same Congress public key may manage both member deposits (i.e., digital assets provided by Congress members in exchange for private key shares) and digital assets provided by members or non-members for other purposes, at least some deposits to addresses associated with the Congress may be specially flagged to indicate the type of deposit. For example, a transaction transferring digital assets to a Congress address may include a flag, identifier, or other attribute indicating the nature of the deposit being made. As an example, a transaction transferring digital assets to a Congress address that is not made for the purpose of participating in a Congress or increasing the congress member's stake may include a special identifier indicating that the deposit is being made for another purpose. Such an identifier may be used by the nodes 102 associated with the Congress 110 when managing private key generation. More specifically, a node 102 that deposits digital assets for the purpose of joining a group will be assigned a Congress 110 private key share (as a result of the deposit of the digital assets), while other nodes 102 that deposit digital assets for other purposes (e.g., for transfer to a sidechain) may not hold the Congress private key share (i.e., corresponding to the Congress public key).

[0049] The Congress 110 may act as an autonomous group where cooperative actions are enforced by the threat of confiscation of all or part of the member deposits. Many honest members may participate in the cooperative protocol to confiscate such digital assets of non-cooperative or malicious members. That is, member deposits in the Congress Pool may be subject to confiscation to ensure that all nodes 102 operate in compliance with a predefined protocol or standard. Confiscation means permanently blocking the return of member deposits that are deemed confiscated. Digital assets forming member deposits that are not returned due to malicious activity may remain in the Congress Pool but may not be returned (e.g., if there is consensus (on the Alt Chain) that they should not be returned), may be transferred to a non-spendable address immediately or in the future, or may be otherwise confiscated. The nature of the confiscation may vary depending on whether the Congress acts as a bonded validator set for the sidechain.

[0050] Additionally, if a Congress Member wishes to leave the Congress 110, the Member may withdraw his / her Member Deposit (i.e., request that the Congress 110 transfer the Member Deposit back to the Member's personal address), however, the withdrawal of funds may only be performed if a number of private key shares exceeding the threshold required to generate a valid digital signature are used by the member of the group (i.e., the Congress) approving the withdrawal.

[0051] The threshold signature scheme implemented by Congress 110 can be of various types. A threshold signature scheme allows for the sharing of signing power among n parties, as long as at least a threshold number of private key shares contribute to the generation of a valid signature. Any subset smaller than the threshold cannot generate a valid signature. More specifically, each party manages a share of a private signing key, and a threshold number of key shares must be used to combine the partial signatures to generate a valid signature. Any subset of key shares smaller than the threshold cannot generate a valid signature.

[0052] The threshold signature scheme can be an Elliptic Curve Digital Signature Algorithm (ECDSA) scheme. For example, the ECDSA scheme is described by Ibrahim et al. in “A robust threshold elliptic curve digital signature providing a new verifiable secret sharing scheme”, 2003 EIII 46 th It can be of the type proposed in Midwest Symposium on Circuits and Systems, 1: 276-280 (2003). This threshold signature scheme is an extension of the digital signature scheme, an elliptic curve cryptography-based algorithm, in which t+1 key shares from n key share holders are required to reconstruct a private key. Using this scheme, valid signatures can be constructed without the need to reconstruct a private key and without one party having to reveal their key shares to the other parties.

[0053] The maximum number of adversaries allowed by this scheme is t, since t+1 key shares are sufficient to reconstruct the secret. An adversary in Ibrahim et al.'s model is an entity that can bribe a party holding a secret share and gain access to that secret share. There can be different types of adversaries. For example, a Byzantine adversary is an adversary who pretends to participate in the protocol but actually transmits false information. The ECDSA scheme proposed by Ibrahim is robust against malicious adversaries up to t<=n / 4. This robustness can be increased to t<=n / 3, but at the cost of increased complexity.

[0054] Ibrahim et al.'s ECDSA scheme is robust to halting an adversary for t<=n / 3, which can prevent corrupted parties from joining the protocol or halt them from joining midstream.

[0055] The ECDSA scheme includes various mechanisms that the nodes 102 can use to identify malicious or non-cooperative parties. For example, verifiable secret sharing (VSS) can be used to share the polynomial required for Shamir's secret sharing (SSS). SSS is a form of secret sharing where a secret is split into multiple parts and each participant is provided with their own unique part. These parts can be used to reconstruct the secret. VSS can be used by the nodes 102 to identify malicious nodes 102 or members when inconsistent shares are provided to different nodes 102 or when shares are secretly sent to nodes that are different from the blinded shares broadcast to all nodes. Inconsistent shares can be identified by any one of the nodes 102. The sharing of the secret can be made verifiable by including auxiliary information that allows the nodes 102 to verify the shares as consistent.

[0056] The transmission of erroneous shares (i.e., shares different from the broadcasted blind shares) to individual nodes can be identified by the intended recipient nodes of the shares. The identification of erroneous shares that are privately transmitted to nodes can be made publicly verifiable using techniques of Publicly Verifiable Secret Sharing (PVSS). Such techniques can avoid the possibility of delays in identifying fraudulent senders that can occur if PVSS is not used and the recipient of the erroneous share is offline or is disconnected from a substantial portion of the network when the erroneous share is transmitted.

[0057] Misbehavior, such as providing inconsistent shares to different nodes, may be addressed by the Congress 110 to thwart malicious behavior. For example, if a node 102 (FIG. 1) is identified as a malicious actor by other nodes 102, then a threshold (e.g., t+1) number of nodes 102 (i.e., nodes associated with the Congress members) may cooperate to punish the malicious actor. For example, the nodes 102 may take action with respect to digital assets (e.g., digital currency, tokens, or other contributions or consideration) deposited with the Congress by the malicious actor. For example, the Congress may burn such digital currency, tokens, contributions or consideration by transferring them to a non-spendable address, or the Congress may confiscate such digital assets by reaching a consensus with other nodes to refuse to authorize their return to the malicious actor. Non-cheating nodes 102 may also thwart cheating by cooperating to exclude the cheating node (e.g., by effectively invalidating the key share, e.g., by excluding the node from participation in the congress protocol, or by re-sharing the secret key and not allocating shares to the cheating node).

[0058] The ECDSA technique described above can be strengthened using a TEE. For example, the threshold ECDSA signature technique based on Ibrahim et al. assumes a strong adversary, referred to here as a Byzantine adversary. This type of adversary may behave arbitrarily, not only refusing to participate in the signing process and refusing to intervene and stop the participants, but also pretending to participate in good faith and sending false information. However, using a TEE and generating the data used for signing within an enclave in the TEE where the secret private key shares are stored may provide additional security, since the enclave is highly unlikely to be compromised in significant numbers. For example, if each TEE is assigned only one key share, and assuming n is large enough, it can be reasonably expected that the number of TEEs that can be compromised will not reach the robustness threshold against a Byzantine adversary. This allows the protocol to be secure if it is resistant to a small percentage of malicious adversaries relative to the total number of key shares.

[0059] For example, if every node has a TEE, obtaining secrets stored within the enclave can be achieved with great effort and expense only through physical access to the node, unless the TEE manufacturer has been compromised. Such a manufacturer-level compromise is expected to be manageable. For example, if the manufacturer dishonestly claims that multiple public keys correspond to a legitimate TEE, a malicious node could launch an attack by directly accessing the private key shares. However, such an attack would require a significant number of key shares to allow the manufacturer to create valid signatures without assistance from other nodes. This would mean accumulating a large portion of the total pool of stake, which would be quite expensive. Moreover, carrying out an attack would destroy a large portion of the pool of stake held.

[0060] When using a TEE, it is useful to consider the robustness of the protocol against “corrupted nodes.” A corrupted node is one in which hardware external to the TEE is corrupted, but the integrity of the TEE is not compromised. A corrupted node can control what information the enclave receives and what information it does not receive. In particular, a corrupted node can suspend, i.e., refrain from participating in the protocol. If the information provided to the protocol needs to be signed by a private key kept secret in the enclave (if the corresponding public key was authenticated during the attestation), the private key is as trustworthy as the enclave itself. Thus, a corrupted node cannot send arbitrary (authenticated) information to the protocol, but can only try to suspend or trick the enclave into acting corruptly, for example by providing old information to the enclave. Thus, in the case of a corrupted node, a successful attack requires the collection of a sufficient number of partial signatures to generate a complete signature. In a TEE, the Ibrahim et al. protocol is robust against 2t corrupted nodes. Since signatures can be generated for n-2t>=2t+1, a qualifying subset of key shares of size 2t+1<=(n+1) / 2 is sufficient. Thus, when using a TEE, the threshold of a threshold signature scheme can be configured to be a number equal to or greater than 50% of the key shares in order to generate valid signatures in the presence of corrupted nodes.

[0061] Other threshold signature schemes can also be used. For example, a threshold signature scheme is a type of ECDSA threshold scheme proposed by Goldfeder et al., “Securing Bitcoin Wallets Via a New DSA / EDCSA threshold signature scheme”, (2015). This protocol allows t+1 parties to generate valid signatures. As a result, the number of key shares that an adversary must control to generate a valid signature is equal to the number of key shares that the adversary must possess to reconstruct the private key. This technique can provide an efficient scheme when unanimity is required to generate a valid signature. In the most general case, this scheme imposes space requirements that scale exponentially with the number of congress members, since for any threshold, the entire protocol must be repeated for a possible subset of t+1 players out of n. Thus, a large number of key shares must be stored for large values ​​of both n and t. To mitigate such storage requirements, standard Bitcoin multi-signatures can be combined with threshold signatures. In particular, when multiple signatures are used to lock digital assets, each private key is divided into shares. This approach makes larger congresses more efficient in terms of space requirements. Scaling properties can also be improved by iteratively constructing the scheme for large numbers of participants at multiple levels among smaller party sizes. For example, the threshold signature scheme can be combined with the approach of Cohen et al., Efficient Multiparty Protocols via Log-Depth Threshold Formulas (2013), Advances in Cryptology - CRYPTO 2013 pp 185-202.

[0062] Other threshold schemes may be used, including non-ECDSA signature schemes. For example, the nodes 110 may implement the congress 110 using a threshold scheme based on the Schnorr scheme.

[0063] A node 102 (FIG. 1) in a blockchain network 100 (FIG. 1) may implement a congress protocol based on a selected threshold signature scheme. Such a node 102 may include computer executable instructions stored in memory 220 (FIG. 2) that implement the congress protocol. Such instructions, when executed by a processor 210 (FIG. 2), cause the node 102 (such as an electronic device 200 of the type described with reference to FIG. 2) to perform one or more methods of the congress protocol. Such methods may include any one or combination of the methods 300, 400, 500, 600, 700, 800, 1000 of FIGS. 4-8 and 10. Thus, the congress protocol may include one or more of the methods 300, 400, 500, 600, 700, 800, 1000 of FIGS. 4-8 and 10. These methods may be performed by the node in cooperation with other nodes associated with other congress members.

[0064] The start of the Congress 3, there is shown a method 300 for initiating a congress 110. The method 300 may be performed by an initial trusted party to set up the congress 110. That is, a node 102 associated with the initial trusted party may perform the method 300.

[0065] The method 300 includes providing a congress public key at operation 302. The congress public key may be provided to other nodes 102 to enable other nodes to pay for the congress public key if they wish to participate in the congress, i.e., other nodes may transfer digital assets to an address associated with the congress public key in order to participate in the congress.

[0066] The node 102 executing the method 300 allows payments to be made to the public key until one or more conditions are met, in operation 304. For example, the node may allow payments to be made to the public key for a set period of time or for a set number of blocks. After the conditions are met (e.g., after the expiration of the period of time or after mining a number of blocks), the node 102 executing the method 300 identifies the initial members of the congress, in operation 306.

[0067] After the parties that will make up the initial constituency of the congress have been identified, the private key is divided into private key shares according to a threshold signature scheme in operation 307. The private key shares are then distributed from the node 102 executing the method 300 to the identified parties in operation 308. The private key shares are associated with a threshold signature scheme, which may be of the type described herein.

[0068] During operation 308, the nodes 102 identified as congress members cooperate to generate new private key shares and new public keys. The original key shares initially sent to such nodes by the trusted party can be used to sign and broadcast a transaction that sends all digital assets in the congress pool to the new public key, which then becomes the congress public key. That is, during operation 308, a new public group address is established and the digital assets under the congress's control are transferred to this new address, which becomes the new address of the group and is associated with the congress public key. After this transfer is confirmed, the congress can operate trustlessly. The new public group address is formed so that it can receive future deposits of digital assets from other nodes that wish to join the congress or for other purposes as described above. Here, the congress members are considered to be registered with the congress and these nodes can operate without the assistance of the initially trusted party. Furthermore, the original trusted parties will no longer be involved in any part of the running of the Congress.

[0069] Joining a Congress after it has begun Referring now to FIG. 4, this figure illustrates a method 400 of participating in a congress. The method 400 of FIG. 4 may operate in conjunction with the method 300 of FIG. 3, but the method 400 of FIG. 4 is performed by a different one of the nodes 102 operating in the same blockchain network 100 (FIG. 1) operated by the node performing the method 300 of FIG. 3. The method 400 of FIG. 4 includes, at operation 402, obtaining a congress public key. The congress public key may be obtained directly from a party initiating the congress, such as the node performing the method 300 of FIG. 3, or may be obtained from a third party, including, for example, a third party system operating outside the blockchain network 100 (FIG. 1). For example, the congress public key may be obtained from a public web server accessible via the public internet.

[0070] A node 102 performing the method 400 pays a congress public key by broadcasting a transaction of digital assets from a private account associated with the node 102 to a congress address (i.e., an address associated with the congress public key) in operation 404. More specifically, the node 102 broadcasts a transaction to transfer one or more digital assets to a public group address associated with the congress public key. The public group address is an address for a congress pool. The congress pool contains other digital assets associated with other members of the congress. Thus, the transaction in operation 404, when added to a block by the miner 104 (FIG. 1), transfers the digital assets to the congress pool, which contains digital assets from other members. The public group address may receive both transfers from participants who wish to participate in the congress and transfers from participants who do not wish to participate in the congress. Parties that do not wish to participate in the Congress may transfer digital assets to the Congress Pool, where such digital assets may be placed under full, partial, or conditional control by the Congress using a threshold signature scheme employed by the Congress.

[0071] The transaction in operation 404 may include a flag, identifier, or other attribute that indicates that the party transferring the digital asset wishes to participate in the congress and that a deposit is being made for such purposes.

[0072] After depositing the digital assets into the congress pool, the node 102 executing the method 400 receives a private key share in operation 406. The node 102 then regenerates the private key share by executing a single instance of the protocol in operation 408. The generation of the private key share may be performed within the TEE of the node 102.

[0073] In operation 408, node 102 generates private key shares for use in a threshold signature scheme in which at least a threshold number of private key shares must be used to generate valid signatures for transactions on behalf of the Congress. Other holders of private key shares are other members of the Congress who have joined the Congress on a permissioned or non-permissioned basis by transferring their respective digital assets to the public group address.

[0074] To regenerate the secret key shares, existing congress members may cooperate to update the key shares in operation 408. For example, node 102 may generate a random polynomial of degree t, with the constant term being zero.

number

number

number

[0075] The private key shares may be generated within the TEE 250 (FIG. 2) and securely stored in the node 102. For example, the private key shares may be stored in the TEE 250.

[0076] After the private key shares are generated by each node, the funds under the control of the previous Congress public key (e.g., the funds transferred to the public group address associated with the original Congress public key) are transferred (with the cooperation of a sufficient number of group nodes to generate valid signatures under the threshold signature scheme) to the new Congress public key associated with the new private key shares.

[0077] After the private key share is generated in operation 408, the private key share may be used in operation 410 of method 400. The private key share may be used to cooperatively generate a valid signature for a transaction from a public group address (which may be broadcast by a member). That is, the private key share may be used to contribute to the signature generation in a threshold signature scheme. In a threshold signature scheme, a threshold number of private key shares of the congress must be used by each member to generate a valid signature that allows the digital asset to be transferred away from the congress. The node 102 executing method 400 may retrieve the private key share from storage and use this private key share to contribute to the signature generation. If a sufficient number of other congress members also contribute to the signature generation using their respective private keys, a signature may be generated and a valid spend transaction may be broadcast. The spend transaction is completed when the miners 104 (FIG. 1) of the blockchain network 100 add the transaction to a mined block (which is added to the blockchain by consensus of the nodes 102 in the blockchain network 100) and the block is confirmed. At this point, the digital assets represented in the transaction may no longer be under the control of Congress, i.e., such digital assets may no longer be restricted by the Congress public key.

[0078] The use of the private key share in operation 408 may be performed within the TEE of node 102. The TEE protects the private key share such that neither other parts of the system nor the member itself can access any data stored in the enclave, such as the private key share. Additionally, the TEE protects the private key in that the TEE cannot retain a copy of the private key, since when a member wants to withdraw and receive a deposit, the member must certify deletion of the private key before returning the member deposit.

[0079] Method 400 of Figure 4 may be performed during or after an initial setup phase, i.e., method 400 may be performed before the initial key shares are distributed (e.g., during operation 308 of method 300 of Figure 3) or after (e.g., during rebalancing, discussed in more detail below).

[0080] The transaction in operation 410 can transfer digital assets back to the party that originally deposited them in the Congress Pool. That is, the transfer may return the digital assets to the depositor. The transfer may also transfer the digital assets to another location. For example, the digital assets may be transferred to a third party or to a non-spendable address.

[0081] Confiscation of Digital Assets

[0033] Referring now to Figure 5, an exemplary method 500 for confiscating digital assets is shown. The method 500 of Figure 5 may be performed by the node 102, which may be the same node that performs the method 400 of Figure 4. The method 500 may be performed after operation 408 of the method 400 of Figure 4. As such, the node 102 already has access to the private key shares when the method 500 of Figure 5 is performed.

[0082] In operation 502, node 102 detects malicious activity by a malicious party. The malicious party may be another member of the congress. Malicious activity is detected when node 102 determines that a congress member violates a predefined protocol or criteria. For example, a node that is a member of a congress may be considered a malicious member if it reports false information (i.e., false, inconsistent, or unacceptable information) to other members of the congress.

[0083] In operation 503, in response to detecting malicious activity, node 102, in cooperation with other nodes in the congress, may suspend the member that is the malicious participant, i.e., the congress may exclude the malicious participant from further participation in the congress.

[0084] To ensure that all nodes 102 operate in compliance with a predefined protocol or standard, member deposits in the Congress Pool may be subject to confiscation. Confiscation means permanently blocking the return of a member deposit that is deemed to have been confiscated. Digital assets forming a member deposit that are not returned due to malicious activity may remain in the Congress Pool, but may not be returned (depending on the consensus that this action should be taken), may be transferred immediately or in the future to another unspendable address, or may be confiscated. The nature of the confiscation may depend on whether the Congress acts as a set-aside validator set for the side chain. For example, in operation 504, in response to detecting malicious activity by a malicious party, the node 102 executing the method 500 may use a private key share to provide a partial signature on a confiscation transaction (a transaction that transfers digital assets to a non-spendable address or to another node as a reward for exposing malicious activity). That is, the node cooperates with other nodes in the Congress to confiscate at least a portion of the digital assets previously transferred by the malicious party to a public group address (i.e., the Congress Pool). That is, in response to a group member identifying a violation of a predefined protocol or criteria, the private key share is utilized to contribute to the approval of a transaction of one or more digital assets associated with that group member and held within the Congress Pool.

[0085] Because a threshold signature scheme is used with the Congress public key, an individual node acting alone cannot transfer another Congress member's digital asset deposit away from the Congress pool (e.g., to a non-spendable address). Rather, the digital asset is confiscated by transfer only if each member uses a threshold number of private key shares to generate a valid signature to transfer the digital asset to another address, or if members of a group with at least a threshold number of private key shares reach a consensus (in operation 503) to put a member on hold, and any withdrawal requests from the on-hold member are automatically ignored. If the digital asset is confiscated by transfer, the other address to which the digital asset may be transferred may be associated with a non-spendable address. For example, this other address may be an address for which no private key exists, preventing anyone from accessing the digital asset tied to the public key of this address. If a transaction is confirmed that transfers the digital assets to a non-spendable address, or if there is consensus on the sidechain that the digital assets should be confiscated, the digital assets may be considered burned since they are no longer held by any member of the Congress or indeed by any node in the blockchain network 100.

[0086] Thus, in operation 504, a node can confiscate digital assets by using its private key share in cooperation with other members of the congress to generate a valid signature to a transaction's unspendable address, which in some embodiments can involve reaching a consensus on the second blockchain that all or a portion of a member's deposit should be permanently taken away.

[0087] Additionally, in some implementations, the congress serves as a set of reserve validators that secure a proof-of-stake sidechain, which may be used as a broadcast channel. For example, the congress members of a sidechain may reach a consensus that a member has acted maliciously. This consensus may correspond to the confirmation of a sidechain transaction that contains criminal evidence of malicious activity. Once consensus is reached, any withdrawal requests made by the malicious member of a member deposit are rejected and the deposit is considered confiscated. The confiscated digital assets may be burned at some point in the future. That is, after some time, a threshold number of members (not including the malicious member) may cooperate to approve the transfer of the confiscated digital assets to a non-spendable trust.

[0088] Because the Congress is an open group that nodes 102 of the blockchain network 100 can join by depositing digital assets, group membership may change periodically. When such changes occur, the private key share distributions may be updated. Referring now to FIG. 6, an example method 600 for updating the private key share distributions is shown. Method 600 may be performed by nodes 102 of the blockchain network 100 in cooperation with other nodes of the blockchain network 100.

[0089] Renewing the secret key share distribution with the new public address At operation 602 of method 600, node 102 detects a redeployment request, which is a request whose fulfillment involves redeployment of key shares. For example, node 102 may detect that a new prospective member has transferred digital assets to a public group address or that an existing member has requested a withdrawal of a member deposit.

[0090] Digital assets may be transferred to the public group address by nodes that request to participate in or increase their participation in the congress, and by other nodes that do not request to participate in the congress, but instead transfer the digital assets to the congress for another purpose (such as by transferring the digital assets to a sidechain, as described below). In operation 602, node 102 may use one or more attributes included in at least a portion of the digital asset to public group address transactions to identify congress members (i.e., parties that transfer the digital assets to the congress public key to participate in the congress, and not parties for another purpose). For example, a particular transaction may be flagged as a special transaction using transaction attributes. Such attributes (or the presence or absence of the attributes) may indicate the purpose of making the transfer. For example, a flag may be included in a transaction if the transferor is not requesting to participate in the congress.

[0091] Upon detecting the request in operation 602, the fulfillment involves redistribution of the key shares, and in operation 604, new private key shares are generated by node 102, similar to how the private key shares were generated in operation 408 of method 400 of FIG. 4. The other member nodes of the congress also generate their own private key shares. These private key shares can be used in a threshold signature scheme with the new congress public key. A member that leaves the congress at this point does not generate new private key shares during operation 604, and since the leaving member is not assigned private key shares for use with the new congress public key, the leaving member loses the ability to participate in the congress and is no longer considered a congress member.

[0092] Further, upon detection of a redeployment request (which is a request whose fulfillment involves redeployment of key shares), in operation 606, node 102, in cooperation with other congress members, transfers all digital assets in the public group address to a new public address associated with the new public key (which becomes the new congress public key).

[0093] Thus, according to method 600 of Figure 6, when the distribution of the deposit is changed or a request to withdraw the deposit is received from a member, the private key shares may be regenerated and all digital assets under the control of the Congress may be moved to the new public key. The frequency with which the members of the Congress may be updated may be limited by the block time of the blockchain network 100. In many applications, only infrequent rebalancing may be required.

[0094] Update the secret key share distribution while preserving the existing public group address 7, a further exemplary method 700 for updating distribution of private key shares is shown. Method 700 may be performed by node 102 of blockchain network 100 in cooperation with other nodes of blockchain network 100.

[0095] In method 700 of FIG. 7, the congress public key is not changed every time the distribution of member deposits is changed. When a request to allocate new key shares is detected (which may occur by depositing digital assets to a public group address in operation 702), node 102 cooperates with other members of the congress to issue new private key shares of the same public key to new members of the group (in operation 704). The number of cooperating nodes is at least the threshold number of nodes required to generate digital signatures in the threshold signature scheme. In operation 704, additional key shares are allocated while other key shares remain the same. This may involve a change in the threshold (of the threshold signature scheme), but in practice the change is small. Alternatively, in operation 704, additional key shares may be allocated while other key shares are updated. Such an update must be accompanied by proof of deletion of any previously generated key shares. In this case, new shares can be allocated while maintaining the same threshold (in the context of SSS, this involves sharing with a new polynomial of increased degree).

[0096] In operation 702, node 102 may identify congress members (i.e., parties transferring a digital asset to a congress public key in order to participate in the congress, and not parties for other purposes) using one or more attributes included in at least a portion of a transaction to the public group address of the digital asset. For example, a particular transaction may be flagged as a special transaction using an attribute of the transaction. Such an attribute (or the presence or absence of the attribute) may indicate the purpose of making the transfer. For example, a flag may be included in a transaction if the transferor is not requesting to participate in the congress.

[0097] When a member leaves a congress using method 700, the member can securely delete his / her private key shares. To ensure that the old member's private key shares cannot be used, members of the congress may be required to use nodes 102 with a special TEE. A TEE is an architecture implemented at the hardware level that ensures that instructions and data executed within the TEE are protected from access and manipulation from the rest of the system. Using hardware mechanisms, the TEE can address the challenge of remote attestation that can be used to verify the integrity of the system to external parties such as other nodes of the congress.

[0098] Each member node may use a certified TEE configured to generate one or more random secret values ​​that remain inaccessible to the host system without compromising the hardware at the integrated circuit level. The secret value thus generated is used in the distributed generation of secret key shares (e.g., in operation 410 of method 400 of FIG. 4). This secret value may also be used to establish a public key that is shared during the setup phase of the congress. Because the computations associated with the setup protocol are performed within the TEE's enclave, no member or former member can obtain information about their own or other's secret key shares from member-to-member communications or otherwise. The enclave within the TEE may perform a remote attestation protocol that may be used to prove to other nodes that the TEE enclave is authentic and is executing authorized computer-readable instructions.

[0099] Computations related to changing groups are performed within the TEE enclave, e.g., the generation of a new secure random secret that can be used in computing a new polynomial for SSS purposes is performed within the TEE enclave.

[0100] The TEE enclave also aims to ensure that the obsolete previous key shares and previous secrets are securely deleted before returning the member deposit. More specifically, in order to return the member deposit, the authentication protocol may require the TEE enclave to attest to the deletion of the key shares. Each node 102 may interpret such attestation as confirmation that the required deletion has occurred at the other nodes via the remote attestation protocol. Thus, the method 700 may also include a step of verifying that the private key shares previously held in the TEE of the member who left the congress have been deleted from the nodes associated with that member. This verification may be done by receiving a proof of the deletion of the private key shares. Thus, the remote attestation protocol may be used to obtain authentication for the deletion of the private key shares previously held in the TEE of the member who left the congress.

[0101] Method 600 of Figure 6 and method 700 of Figure 7 each have various advantages. For example, method 600 of Figure 6 does not rely on secure deletion, nor does it need to rely on trusted hardware. However, method 600 of Figure 6 may benefit from such hardware in some circumstances, as such hardware may make malicious pooling of key shares less likely to occur.

[0102] Method 700 of FIG. 7 avoids the need to relock digital assets under a new congress public key every time the constituency changes. Additionally, in some circumstances, method 700 may update constituencies faster than method 600 of FIG. 6 because, under method 700 of FIG. 7, digital assets are not moved to a new public key, so no transaction needs to be added to the blockchain to move all digital assets to a new public key. That is, because the public key does not change, constituencies can be updated using method 700 of FIG. 7 without waiting for several blocks to be generated to confirm the transfer of digital assets to a new public key.

[0103] Unregistering from the Congress As mentioned above, a group member may request to leave the congress from time to time, and digital assets deposited in the congress pool may be returned to the group member when the group member is deregistered from the congress. Referring now to Figure 8, an exemplary method 800 for returning a deposit is shown in flow chart form. The method may be performed by node 102 in cooperation with other nodes 102 of the congress.

[0104] In operation 802 of method 800, node 102 receives a withdrawal request from a requester who is a congress member. The withdrawal request may also be referred to as a deregistration request. The withdrawal request is a request to withdraw digital assets that were previously deposited by the requester and are currently managed by the congress. The request may be broadcast by the requester to all congress members.

[0105] In response to receiving the request, node 102 evaluates the request against determined criteria in operation 804. Such criteria may be predefined criteria. If the Congress operates according to a Congress protocol in which the Congress public key is not changed every time the group membership changes, node 102 may verify in operation 804 that the private key share was deleted by the requester. Such verification may be obtained using a remote attestation protocol associated with the TEE.

[0106] If the Congress protocol is such that the Congress public key changes when constituency changes, node 102 may not acknowledge the deletion of the private key share since the private key share is no longer valid. Instead, a new Congress key may be used and other digital assets under Congress control may be transferred to the new Congress key.

[0107] If the nodes 102 approve the withdrawal request based on the evaluation, then in operation 806, the nodes facilitate the withdrawal of the digital assets. That is, the nodes 102 use their private key shares to collaboratively generate a digital signature and use the digital signature to return to the requester the digital assets previously deposited by the requester. For example, the digital assets may be sent back to an address where the digital assets were previously received. Operation 806 is performed according to a threshold signature scheme, whereby the withdrawal occurs only if at least a threshold number of congress members approve the withdrawal. Operation 806 is performed after a period of inactivity for a member wishing to deregister. This waiting period prevents members from engaging in fraudulent activities while executing the protocol for the return of member deposits.

[0108] Trustless agents for smart contracts Congress provides a secure mechanism for performing various functions, and the Congress Protocol can be used for a variety of purposes. In general, Congress operates trustlessly and manages ownership of digital assets.

[0109] The Congress Protocol can be used, for example, to provide a trustless agent with respect to smart contracts. More specifically, the Congress Protocol can be used to activate scripts such as smart contracts. Activation of a smart contract can "poke" the smart contract to cause it to execute one or more functions of the smart contract, or activation of a smart contract can provide external data to the smart contract. That is, data that is external to the blockchain network on which the smart contract executes can be securely obtained and used in conjunction with the smart contract using the Congress Protocol. Thus, the Congress Protocol can be used to provide autonomous activation of blockchain scripts associated with smart contracts (i.e., to "poke" such blockchain scripts) or to provide such blockchain scripts with access to external data (i.e., data that was not previously available on the blockchain). As described in more detail below, the Congress Protocol can be used to provide data feeds for pokers and smart contracts on the blockchain network.

[0110] 9, a system for initiating scripts on a blockchain network 900 is illustrated in block diagram form. The system includes a number of nodes 102a, 102b, 102c, which may be nodes of a blockchain network, such as the blockchain network of FIG. 1. The nodes 102 include a number of congress nodes 102a. A congress node is a node that has joined a group of the blockchain network 900, referred to herein as a congress 110. A congress node may have joined a group in the manner described above with reference to FIG. 4.

[0111] At least one of the nodes in the system of FIG. 9 is a requester node 102b. The requester node 102b is a node that initiates a request to activate a script. Such a request may involve the deposit of digital assets that function as a bounty. More specifically, the digital assets may be held between nodes for distribution to facilitate the fulfillment of the request. For example, the bounty may be distributed between information providers that assist in the fulfillment of the request, and between congress members whose participation provides security and reliability to the protocol.

[0112] A request may be a request to obtain external data (i.e., data not yet available in the blockchain network) and provide such data to a script, such as a smart contract, or otherwise activate such a script. For example, a request may be a request to trigger a smart contract when a specified condition is met (e.g., to activate a smart contract at a particular time or when external data meets a specified condition, etc.).

[0113] The nodes of the blockchain network 900 also include a number of information providing systems, which may also be referred to as information providing nodes 102c. These information providing nodes 102c are electronic devices whose purpose is to fulfill or assist in the fulfillment of requests issued by the requester nodes 102b. For example, the information providing nodes 102c may operate to retrieve data from external data sources, such as web servers.

[0114] As described in more detail below, while information providing nodes generally function to fulfill requests issued by requester nodes, congress nodes cooperate to provide security and reliability, e.g., congress nodes may operate to enhance the accuracy of information or actions performed or provided by information providing nodes for the purpose of fulfilling requests.

[0115] Thus, a node 102 (FIG. 1) in a blockchain network 100 (FIG. 1) may implement a trustless agent protocol to initiate or facilitate the initiation of scripts, such as smart contracts. Such a node 102 may include computer-executable instructions stored in memory 220 (FIG. 2) that implement such a protocol. Such instructions, when executed by a processor 210 (FIG. 2), cause the node 102 (such as an electronic device 200 of the type described with reference to FIG. 2) to execute one or more methods of the protocol. Such methods may include any one or combination of methods 300, 400, 500, 600, 700, 800, 1000, or 1100 of FIGS. 3-8, 10, and 11.

[0116] Referring now to Figure 10, this figure illustrates a method that may be performed by a requester node 102b (Figure 9). The method of Figure 10 may be referred to as a requester method 1000. The requester node 102b may be a node associated with a script, such as a participant of a smart contract on a blockchain network.

[0117] In operation 1002 of the requester method 1000 (FIG. 10), the requester node 102b issues a request. The request is a request to activate a script, such as a smart contract. The request provides a reward in the form of digital assets associated with the blockchain network 100 in exchange for safely and securely activating the script. The request may include a variety of information, including one or more of the following: an identifier of the script associated with the request, such as a public key associated with the script state; minimum participant information, which may specify a minimum number of information providers to be used to activate the script; fee information, such as a mining fee provided to the congress to facilitate the activation of the script; and / or a threshold indicator that specifies an acceptable amount of variation from consensus data and / or information regarding external data used in the activation of the script. Other data may be included in the request in place of or in addition to the data described above.

[0118] The request may originate from outside the blockchain (i.e., "off-chain"). For example, the request may originate at a web server accessible via the Internet. For example, the request may originate at an exchange, which may be a server where multiple requests from multiple requester nodes are published.

[0119] In operation 1004 of the method 1000 by the requester, the requester node 102b determines that one or more congresses have accepted the request, i.e., the requester node 102b determines that the congress (consisting of multiple congress nodes 102a) has offered to launch a script according to the request.

[0120] The requester node 102b may select one or more congresses that have accepted the request at operation 1006. The requester node 102b may, for example, evaluate reputation data of each congress against one or more thresholds. The reputation data may, for example, be based on ratings or other metrics provided by other requester nodes 102b that previously participated in the relevant congress to facilitate completion of the request.

[0121] The requestor node 102b may select a single congress among those that accepted the request, or the requestor node 102b may select multiple such congresses. The requestor node 102b may select all congresses that accepted the request or a subset of such congresses. Selecting multiple congresses effectively allows the selected congresses to compete against each other.

[0122] In operation 1008 of the requester method, the requester node broadcasts a transaction (which may be referred to as a blockchain transaction) that is paid to a congress pool associated with the selected congress. The transaction includes a reward in the form of a digital asset that is paid to a public group address that accepts the request and is associated with the congress selected in operation 1006. The transaction may include a link to data related to the request. For example, the link may be a link to a server that stores information about the request. Such information may include, for example, an identifier of the script associated with the request, such as a public key associated with the script state; minimum participant information, which may specify a minimum number of information providers to be used to launch the script; fee information, such as a mining fee provided to the congress to facilitate the launch of the script; threshold indicators that specify an acceptable amount of variation from consensus data and / or information about external data used in the launch of the script, or other information, conditions, requirements.

[0123] Transactions involving bounties are time-locked, so that the transaction is only valid at a specified time in the future. Time-locking may prevent a transaction from being added to the blockchain until a specified amount of time has passed.

[0124] If multiple congresses are selected (in operation 1006) to facilitate completion of the request, the transaction locks the bounty, thereby allowing only the congress that completes the request earliest to claim the bounty.

[0125] Referring now to FIG. 11, a congress method 1100 is shown. The congress method 1100 may be performed by a congress node in cooperation with other congress nodes. That is, a congress node may be configured with computer-executable instructions for performing the method 1100 in cooperation with other congress nodes. That is, the congress method 1100 may be performed by one or more nodes participating in a congress to become a congress node. More specifically, a node in a blockchain network may participate in a congress formed of a group of congress nodes by broadcasting a transaction to a congress pool. The transaction transfers control of one or more digital assets to the congress. Such digital assets serve as member deposits for the depositing member and are subject to confiscation as described above with reference to FIG. 5. Techniques for participating in a congress are described in more detail above, particularly with reference to FIG. 4.

[0126] After a node joins a congress and becomes a congress node, the method 1100 of FIG. 11 may be performed by the congress node in cooperation with other congress nodes of the same congress.

[0127] In operation 1102, the congress node identifies a request. The request may be a request issued in operation 1002 of method 1000 by a requestor of FIG.

[0128] In operation 1104, the congress node cooperates with other nodes in the congress to accept the request. The acceptance of the request may be notified to the requester node that issued the request. The congress nodes may be configured to cooperate with each other before accepting the request to determine whether to accept the request. For example, the congress nodes may reach a consensus on whether to accept the request. For example, the consensus may be reached by using private key shares. That is, congress members may use private key shares to effectively vote on whether to accept the request. The request is accepted by the congress if at least a threshold number of private key shares are used to effectively vote to accept the request. This voting procedure may occur, for example, in a side chain (i.e., a blockchain that is not the main blockchain).

[0129] After the congress accepts the request from the requester and launches the script, the congress node can detect a transaction from the requester that includes a bounty associated with the request in operation 1106. That is, the congress node can determine that the transaction broadcast in operation 1008 of method 1000 by the requester has been added to the blockchain. As previously mentioned, the transaction broadcast in operation 1008 may be time-locked to not add the transaction to the blockchain until a particular time. In such a case, operation 1106 is executed after that time.

[0130] Once the transaction broadcast in operation 1008 (which may be referred to as the “first transaction”) is determined to be confirmed by the congress node (which may occur after at least a threshold number of blocks have been created on top of that first transaction), the node prepares (in operation 1108) a transaction (which may be referred to as the “second transaction”) paid to the congress pool (i.e., the public group address associated with the congress) and publishes the transaction.

[0131] The second transaction may be configured to allow multiple contributing systems (e.g., contributing node 102c in FIG. 9) to add inputs to the transaction. For example, the second transaction may sign SIGHASH_ALL|SIGHASH_ANYONECANPAY. SIGHASH_ALL is the default signature hash type that signs the entire transaction except for the signature script, preventing modification of the signed parts. SIGHASH_ANYONECANPAY is the signature hash type that signs only the current input.

[0132] An information providing system, such as information providing node 102c, can then commit to completing the request. To do so, the information providing system adds to the second transaction. For example, the information providing system adds digital assets held by the information providing system as inputs to the second transaction. Such digital assets are provided by the information providing system as security (i.e., they are held as a security deposit) to ensure that the information providing system operates according to the request and according to the protocol.

[0133] The information provider also adds proof of solution data to the second transaction as metadata. For example, a hash based on the solution to the request can be added to the second transaction. The solution can be external data, such as data available over the Internet or from another data source required for the operation of the script. In such a case, the proof of solution data can be a hash based on the external data. The hash can be based on the public key of the information provider and / or a salt for security. The salt is random data used as an additional input to the hash function. As an example, the second transaction is updated by the information provider to include metadata determined as HASH(q+PK+s), where q is the solution, PK is the public key of the information provider, and s is the salt.

[0134] The congress may keep participation in the second transaction open until one or more predefined conditions are met. The predefined conditions may be, for example, time-based conditions. For example, the predefined conditions may include terminating participation when at least a threshold time has elapsed since the issuance of the second transaction. That is, the information provider may be provided with a certain amount of time during which it can participate. Once that time period has expired, the information provider (node) may no longer be allowed to participate.

[0135] The predefined conditions may require participation of at least a threshold number of information providers, i.e., participation in the second transaction may remain open until at least a threshold number of information providers commit to completing the request by adding their respective deposits as inputs to the second transaction.

[0136] The pre-defined conditions for remaining open to participation may be defined by the Congress or may be defined by the requester, e.g., the requester may include the pre-defined conditions in the request.

[0137] In operation 1110, after determining that a predefined condition is met (e.g., after an input is added to the transaction by the information provider), the congress locks the participation of the information provider. That is, the congress node executing method 1100 can cooperate with other congress nodes to prevent further commitments from being added to the second transaction. The congress node can do so by spending the second transaction (i.e., unlocking the second transaction) in cooperation with the other congress nodes. More specifically, the congress node can cooperate with such other congress nodes to cooperatively generate a valid cryptographic signature for spending the transaction using a private key share held by the congress node. Such congress nodes may cooperate by adding partial signatures generated based on their respective private key shares until a valid signature is generated according to a threshold signature scheme. Once the second transaction has been mined and a sufficient number of blocks have been added on top of the second transaction and confirmed, the transaction is considered spent.

[0138] The second transaction acts as a register of information providers that have committed to completing the request. That is, the second transaction acts as a register of information providers that have indicated that they have a solution to the request and have committed to providing the solution. The second transaction also acts to collect deposits from each participating information provider and provide a proof of solution that the information provider is about to send, thereby ensuring that the value cannot be changed later and cannot be copied by other participants.

[0139] After the second transaction has been spent, in operation 1112, the congress node may receive data from the multiple information providing systems that added inputs to the second transaction. For example, the solutions proposed by each information providing system are now provided by the information providing systems to the congress node. The solution q may be sent along with other information used in the hashing that was added to the second transaction by the information providing systems. For example, the solution q may be provided along with the public key PK and salt s of the information providing system.

[0140] After receiving the data in operation 1112, the congress node may verify that the solution q corresponds to the committed solution (i.e., the solution identified by the proof of solution data of the second transaction). For example, the congress node may perform a hash (i.e., HASH(q+PK+s)) on the solution q, the public key PK, and the salt s. This hash may be compared to the hash of the second transaction to determine whether the solution corresponds to the committed solution. If the solution does not correspond to the committed solution (e.g., the generated hash does not correspond to the hash of the second transaction), then the solution (i.e., the data representing the solution) is discarded and the following operations of method 1000 are not used.

[0141] In operation 1114, the congress node, in cooperation with other congress nodes, identifies the correct data (e.g., the correct solution) for the request. The congress node may, for example, determine a center point of the data received from the multiple information systems. For example, if the data represents numerical values, the center point may be the average value of all values ​​received from the information systems in operation 1112 (i.e., the center point may be determined as the average of all values ​​received). As a further example, in some embodiments, the center point may be the most common value or solution received from the information systems (i.e., the center point may be determined as the mode of all values ​​received). As a further example, in some embodiments, the center point may be the median value received from the information systems (i.e., the center point may be determined as the median of all values ​​received). The center point may be determined based on the data received from the requester. For example, the requester may specify a technique to be used to identify the center point, and in operation 1114, the congress may use the specified technique.

[0142] The central point may be selected by consensus of the Congress Nodes. As an example, the determination of the central point may occur on a sidechain, where the Congress Nodes may use their respective private key shares to collaboratively generate a valid signature for a transaction representing the central point. Once a valid signature is generated, this indicates that the Congress has reached agreement on the central point.

[0143] In operation 1116, the congress node, in cooperation with other nodes of the congress, identifies the information providing systems that provided the correct data. That is, the congress node can identify a subset of the information providing systems that provided data intended to fulfill the request. The subset is made up of the information providing systems that provided data sufficiently close to the correct data identified in operation 1114. For example, the node can identify as the subset the information providing systems that provided data near the center point identified in operation 1114. In some circumstances, all information providing systems that provided data may have provided the correct data, and in other circumstances, only a portion of such information providing systems may have provided the correct data.

[0144] A threshold may be used to identify information providing systems that provided data that is sufficiently close to the correct data. The threshold may be specified by the requester. For example, a request issued by a requester may include a threshold indicator. The threshold indicator may be included in the request itself or may be linked to the request. That is, the request may be linked to data, such as data on a server, that defines the threshold indicator. The threshold indicator may be used to define a required accuracy and identify a subset of information providers that are deemed to have sent correct information. For example, the threshold indicator may specify a percentage or other metric that is used to determine whether given data is sufficiently close to the correct data to be determined to be correct. Information providing systems that provided data within a threshold amount of the correct data are determined to have provided sufficiently correct data in operation 1116 and are identified as having provided correct data.

[0145] In some cases, only data that matches the correct data is considered correct, i.e., in some cases, the threshold indicator may be set to zero so that only data that matches the correct data is considered close enough to the correct data to be determined to be correct, i.e., when the threshold indicator is set to zero, the data must be the same as the correct data to be considered valid.

[0146] In operation 1118, the congress node cooperates with other congress nodes to launch the script associated with the request. The congress node may launch the script based on the correct data. For example, the congress node may launch the script based on the central point of data determined in operation 1114. The congress nodes cooperate to send a transaction to the blockchain network that unlocks the script associated with the request. The transaction includes the correct data, and the transaction may use this data according to the code in the script.

[0147] In operation 1120, the congress node, in cooperation with other congress nodes, distributes the bounty received in the transaction detected in operation 1106. More specifically, the transaction may broadcast a portion of the bounty to each of the information providing systems determined to have provided sufficiently correct data (which may be a subset of all information providing systems that provide data upon request, or all such systems in the case that all such systems provide correct data upon request). For example, the congress node may cooperate with other congress nodes of a group of nodes forming the congress to authorize the transfer of the digital asset to each information providing system in the subset. The transaction transfers the digital asset bound by the congress public key to the public key associated with the information providing system that has sent sufficiently correct data. To sign the transaction, the congress node uses its private key shares to generate a valid signature in cooperation with other congress nodes (using sufficient respective private key shares to generate a valid signature according to the threshold signature scheme). The transaction may also distribute a portion of the bounty to one or more congress members.

[0148] A congress node may cooperate with other congress nodes to return at least a portion of the deposits provided by the information providers. For example, a congress node may broadcast a transaction containing a valid signature generated in cooperation with other congress nodes according to a threshold signature scheme. Upon request, it may return deposits to information providers that provided sufficiently correct data. Deposits of information providers that did not provide sufficiently accurate data may be forfeited, i.e., such deposits may not be returned. For example, the deposits of nodes that did not provide sufficiently correct data may be distributed among the nodes that provided sufficiently correct values.

[0149] Although the methods described above are generally described as being performed at a node, the functioning of the methods relies on cooperation with other nodes and may be performed elsewhere.

[0150] It should be noted that the above-described embodiments are illustrative rather than limiting of the present invention, and that those skilled in the art can design many alternative embodiments without departing from the scope of the present invention as defined by the appended claims. In the claims, reference signs placed in parentheses shall not be construed as limiting the scope of the claims. Words such as "comprising, having, comprises" do not exclude the presence of elements or steps other than those listed in the claim or the specification as a whole. In this specification, "comprises, comprising" means "includes, including" or "consists of, consisting of". A reference to a singular element does not exclude a reference to a plural of such element and vice versa. The present invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The mere fact that certain means are recited in mutually different dependent claims does not indicate that a combination of these means cannot be used to advantage.

[0151] The contents of the claims as originally filed are described below as examples. [Example 1] 1. A computer-implemented method, the computer-implemented method comprising: A node in the blockchain network broadcasts the transaction to a congress pool to participate in a congress formed by a group of nodes; preparing, by the nodes after the congress accepts a request to launch a script from a requester, a blockchain transaction cryptographically locked with a public key associated with the congress pool, the blockchain transaction configured to allow multiple information providers to add inputs to the blockchain transaction; after the input has been added to the blockchain transaction, cooperatively generating, by the node in cooperation with other nodes in the group, a valid cryptographic signature of the blockchain transaction to unlock the blockchain transaction; receiving data from the plurality of information providing systems after the transaction is unlocked; determining a center point of the data received from the plurality of information providing systems; and initiating said script by said node in cooperation with other nodes of said congress based on said central point. A computer-implemented method. [Example 2] Identifying, by the node based on the center point, a subset of the information providing systems that contributed data about the center point; 2. The computer-implemented method of claim 1, further comprising: allowing transfer of a token by the node cooperating with other nodes in the group to each information provider system in the subset. [Example 3] The computer-implemented method of claim 2 , wherein the tokens included in the transfer include one or more tokens received by the congress pool from the requestor. [Example 4] 4. The computer-implemented method of claim 2 or 3, wherein the request includes a threshold indicator, and the subset is identified based on the threshold indicator. [Example 5] The computer-implemented method of claim 4 , wherein the threshold indicator is received from the requestor. [Example 6] The inputs include respective proof of solution data; 6. The computer-implemented method of claim 1, further comprising determining, based on the proof of solution data, that the data received from at least one of the information providing systems corresponds to a committed solution. [Example 7] The inputs include respective proof of solution data; The method comprises: determining that the data received from at least one of the information providing systems does not correspond to the proof of solution data received from that information providing system; 6. The computer-implemented method of claim 1, further comprising: discarding the data received from the at least one information providing system if the data is determined to not correspond to a committed solution based on the proof of solution data. [Example 8] The computer-implemented method of claim 1 , wherein the input includes a token that is locked for security purposes. [Example 9] 9. The computer-implemented method of claim 1, wherein the information providing system includes in the blockchain transaction a hash based on a public key, a solution to the challenge, and a salt. [Example 10] the data received from the plurality of information providing systems includes a public key, a solution to the request, and a salt; The method comprises: generating a hash based on the public key, the solution to the challenge, and the salt; 10. The computer-implemented method of claim 9, further comprising comparing the generated hash with the hash included in the blockchain transaction. [Example 11] detecting malicious activity by a malicious party, the malicious party being one of the nodes of the congress; 11. The computer-implemented method of claim 1, further comprising: confiscating at least a portion of the tokens previously transferred by the malicious party to the congress pool using a secret key share. [Example 12] 12. The computer-implemented method of claim 11, wherein the step of confiscating includes transferring to a non-spendable account. [Example 13] A computer-readable storage medium comprising computer-executable instructions that, when executed, configure a processor to perform the method of any one of claims 1 to 12. [Example 14] An electronic device, the electronic device comprising: An interface device; a processor coupled to the interface device; a memory coupled to the processor storing computer executable instructions that, when executed, configure the processor to perform the method of any one of claims 1 to 12; electronic equipment. [Example 15] The electronic device of claim 14 , wherein the processor includes a trusted execution environment, and the computer-executable instructions are executed within the trusted execution environment.

Claims

1. A computer-implemented method, the computer-implemented method comprising: After the congress accepts a request from a requester to launch a script, A node preparing a blockchain transaction cryptographically locked with a public key associated with a congress pool, the blockchain transaction configured to allow multiple information providers to add inputs to the blockchain transaction; determining a center point of data received from the plurality of information providing systems; and the node in cooperation with other nodes of the congress invoking the script based on the central point. A computer-implemented method.

2. Based on the center point, the node identifies a subset of the information providing systems that contributed data about the center point; 2. The computer-implemented method of claim 1, further comprising the step of the node cooperating with other nodes in a group to authorize transfer of the token to each information provider system in the subset.

3. The computer-implemented method of claim 2 , wherein the tokens included in the transfer include one or more tokens received by the congress pool from the requestor.

4. 4. The computer-implemented method of claim 2 or 3, wherein the request includes a threshold indicator, and the subset is identified based on the threshold indicator.

5. The computer-implemented method of claim 4 , wherein the threshold indicator is received from the requestor.

6. The inputs include respective proof of solution data; 6. The computer-implemented method of claim 1, further comprising determining, based on the proof of solution data, that the data received from at least one of the information providing systems corresponds to a committed solution.

7. The inputs include respective proof of solution data; The method comprises: determining that the data received from at least one of the information providing systems does not correspond to the proof of solution data received from that information providing system; 6. The computer-implemented method of claim 1, further comprising: discarding the data received from the at least one of the information provision systems in response to determining that the data does not correspond to a committed solution based on the proof of solution data.

8. The computer-implemented method of claim 1 , wherein the input includes a token that is locked for security purposes.

9. 9. The computer-implemented method of claim 1, wherein the information providing system includes in the blockchain transaction a hash based on a public key, a solution to the challenge, and a salt.

10. the data received from the plurality of information providing systems includes the public key, the solution to the request, and the salt; The method comprises: generating a hash based on the public key, the solution to the challenge, and the salt; 10. The computer-implemented method of claim 9, further comprising: comparing the generated hash with the hash included in the blockchain transaction.

11. detecting malicious activity by a malicious party, the malicious party being one of the nodes of the congress; 11. The computer-implemented method of claim 1, further comprising: confiscating at least a portion of the tokens previously transferred by the malicious party to the congress pool using a secret key share.

12. 12. The computer-implemented method of claim 11, wherein the step of confiscating includes transferring to a non-spendable account.

13. A computer-readable storage medium comprising computer-executable instructions that, when executed, configure a processor to perform the method of any one of claims 1 to 12.

14. An electronic device, the electronic device comprising: An interface device; a processor coupled to the interface device; and a memory coupled to the processor storing computer executable instructions that, when executed, configure the processor to perform the method of any one of claims 1 to 12. electronic equipment.

15. The electronic device of claim 14 , wherein the processor includes a trusted execution environment, and the computer-executable instructions are executed within the trusted execution environment.

Citation Information

Patent Citations

  • Computationally efficient transfer processing, auditing, and search apparatuses, methods and systems

    WO2017011601A1

  • System and method for decentralized autonomous healthcare economy platform

    WO2017024071A1