Management of a size of a ledger
AssigneeInternational Business Machines Corporation
InventorsVishwanath Venkataramappa, Messaoud Benantar, David Y. Chang
Life of this patent
Estimating the term…
Abstract
An example operation may include one or more of connecting, by a recipient node, to a source node via a blockchain network, receiving, by the recipient node, a data block, a digest of the data block encrypted by a private key of the source node, a public key paired to the private key and an IP address of the source node, calculating, by the recipient node, a digest of the data block, decrypting, by the recipient node, the digest of the data block by the public key, comparing, by the recipient node, the decrypted digest against the digest, and in response to a match, storing the encrypted digest, the public key and the IP address of the source node onto a ledger of the recipient node.
Claims14
A system, comprising:
- a recipient node including a processor;
- a memory storing one or more instructions that when executed by the processor configure the processor to:
- connect the recipient node to a source node via a blockchain network,
- receive a data block, an encrypted digest of the data block encrypted by a private key of the source node, a public key paired to the private key, and an IP address of the source node, the encrypted digest comprising an encrypted signature of an entire ledger of the data block,
- calculate a digest of the data block, the digest comprising a signature of the entire ledger of the data block,
- decrypt the encrypted digest of the data block by the public key,
- compare the decrypted digest of the data block against the digest of the data block,
- in response to a match, store the encrypted digest of the data block, the public key, and the IP address of the source node in a ledger of the recipient node,
- store the data block in the ledger of the recipient node, and
- replace the data block stored in the ledger with the encrypted digest of the data block when the data block is not used over a pre-set time period.
A method, comprising:
- connecting a recipient node to a source node via a blockchain network;
- receiving, by the recipient node, a data block, an encrypted digest of the data block encrypted by a private key of the source node, a public key paired to the private key, and an IP address of the source node, the encrypted digest comprising an encrypted signature of an entire ledger of the data block;
- calculating a digest of the data block, the digest comprising a signature of the entire ledger of the data block;
- decrypting, by the recipient node, the encrypted digest of the data block by the public key;
- comparing, by the recipient node, the decrypted digest of the data block against the digest of the data block;
- in response to a match, storing the encrypted digest of the data block, the public key and the IP address of the source node in a ledger of the recipient node;
- storing the data block in the ledger of the recipient node, and
- replacing the data block stored in the ledger with the encrypted digest of the data block when the data block is not used over a pre-set time period.
A non-transitory computer readable medium storing one or more instructions that when read by a processor of a recipient node cause the processor to perform:
- connecting the recipient node to a source node via a blockchain network;
- receiving a data block, an encrypted digest of the data block encrypted by a private key of the source node, a public key paired to the private key, and an IP address of the source node, the encrypted digest comprising an encrypted signature of an entire ledger of the data block;
- calculating a digest of the data block, the digest comprising a signature of the entire ledger of the data block;
- decrypting the encrypted digest of the data block by the public key;
- comparing, by the recipient node, the decrypted digest of the data block against the digest of the data block;
- in response to a match, storing the encrypted digest of the data block, the public key and the IP address of the source node in a ledger of the recipient node;
- storing the data block in the ledger of the recipient node, and
- replacing the data block stored in the ledger with the encrypted digest of the data block when the data block is not used over a pre-set time period.
Dependencies are inferred from the claim text.