IP Library Granted Patent US 11,947,522
Granted Patent B2
US 11,947,522 · App. 17/452,492 · Granted Apr 2, 2024

Method and system for pruning blocks from blockchains for data retention and storage scalability purposes

Inventor: Stephen Higgins (County Dublin, IE)
Assignee: MASTERCARD INTERNATIONAL INCORPORATED
G06F16/2379
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,947,522
App. No.
17/452,492
Granted
Apr 2, 2024
Kind
B2
Abstract

A method for confirming configuration of a new current genesis block in a blockchain configured to enable pruning before the new current genesis block includes: receiving, by a blockchain node in a blockchain network, a genesis response message from another node in the network, the message including a configuration value and an ordinal value; identifying a plurality of standard blocks in the blockchain added subsequent to an earlier genesis block that includes a number preceding the ordinal value; aggregating smart contract state changes from each of the identified plurality of standard blocks; and validating the configuration value included in the received genesis response message based on the aggregated smart contract state changes. The aggregating of smart contract states can be done by the processor of the blockchain node configuring the new current genesis block, or by another blockchain node.

Claims (23)

1. A method for confirming configuration of a new genesis block in a blockchain configured to enable pruning before the new genesis block, comprising:

receiving, by a receiver of a blockchain node in a blockchain network, a genesis response message from another node in the blockchain network, the genesis response message including at least a (1) configuration value that is an aggregation of identified state changes in smart contracts since a most recent genesis block and (2) an ordinal value that indicates a number of the new genesis block in relation to all past genesis blocks;

identifying, by a processor in the blockchain node, a plurality of blocks in the blockchain added subsequent to an earlier genesis block that includes a number preceding the ordinal value;

aggregating, by the processor of the blockchain node or a processor of another blockchain node in the same blockchain, state changes from each of the identified plurality of blocks; and

validating, by the processor of the blockchain node, the configuration value included in the received genesis response message based on the aggregated state changes.

2. The method of claim 1 , further comprising:

applying, by the processor of the blockchain node, the aggregated state changes to one or more corresponding smart contracts in a state database associated with the blockchain stored in a memory of the blockchain node.

3. The method of claim 1 , further comprising:

generating, by the processor of the blockchain node, a Merkle root using the aggregated state changes, wherein

validating the configuration value includes comparing the configuration value with the generated Merkle root for a match.

4. A system for confirming configuration of a new genesis block in a blockchain configured to enable pruning prior to the current genesis block, comprising:

a blockchain network;

another node in the blockchain network; and

a blockchain node in the blockchain network including

a receiver receiving a genesis response message from another node in the blockchain network, the genesis response message including at least a (1) configuration value that is an aggregation of identified state changes in smart contracts since a most recent genesis block record and (2) an ordinal value that indicates a number of the new genesis block in relation to all past genesis blocks, and

a processor

identifying a plurality of blocks in the blockchain added subsequent to an earlier genesis block that includes a number preceding the ordinal value,

aggregating state changes from each of the identified plurality of blocks, and

validating the configuration value included in the received genesis response message based on the aggregated state changes.

5. The system of claim 4 , wherein the processor of the blockchain node further applies the aggregated state changes to one or more corresponding smart contracts in a state database associated with the blockchain stored in a memory of the blockchain node.

6. The system of claim 4 , wherein

the processor of the blockchain node further generates a Merkle root using the aggregated state changes, and

validating the configuration value includes comparing the configuration value with the generated Merkle root for a match.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 27, 2021
From: HIGGINS, STEPHEN
To: MASTERCARD INTERNATIONAL INCORPORATED
Reel/Frame 057934/0079 →
Continuity (1)
Related Publication 20230129559A1 · Apr 27, 2023