FIELD: computing.
SUBSTANCE: invention relates to the field of computing. A computer-implemented method of protecting transactions with limited access stored in a blockchain supported by a blockchain network is disclosed, the method comprises: a blockchain node in a blockchain network receives a request to read a specific block into a blockchain, and the request is received from a lightweight node from a set of lightweight nodes of the blockchain network and includes into itself the identification information of the lightweight node, while the specified specific block is represented by the source Merkle tree containing many branches and a block header, while each branch in the original Merkle tree contains many transactions, the first hash value from the first values of the hash function, which generated based on the corresponding transaction, and a second hash value that is generated by concatenating the first hash values, with the block header of the original Merkle tree containing the block hash value that contains the root hash value generated by concatenating the second the hash values of each branch of the original Merkle tree, the hash of the previous block and the nonce, identify by the blockchain node permissions associated with the identity of the lightweight node, determine a subset of transactions from the set of transactions available to the lightweight node based on the identified permissions, generate the isolated Merkle tree by the blockchain node by removing from the original Merkle tree transactions other than a subset of transactions among the set of transactions and the first hash associated with at least one of the remote transactions, the isolated Merkle tree providing a lightweight node with a check of the integrity of a particular block without accessing remote transactions that were part of the original of the Merkle tree, with the identified permissions indicating that the lightweight node does not have access to remote transactions, and the blockchain node sends a response to the lightweight node that includes the isolated Merkle tree, while the original Merkle tree is intended to be directed to one or more nodes that are different from the set of lightweight nodes in the blockchain network.
EFFECT: invention ensures data isolation in the blockchain network.
11 cl, 6 dwg
Authors
Dates
2021-03-25—Published
2018-12-13—Filed