# US 2024/0202185 A1 · Method and system for pruning blocks from a blockchain

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0202185 A1
- Document ID: US20240202185A1
- Status: Published application
- Kind: A1
- Application number: 18/590,334
- Filed: 2024-02-28
- Published: 2024-06-20
- Earliest claimed: 2021-10-27
- Assignees: Mastercard International Incorporated
- Applicants: Mastercard International Incorporated
- Inventors: Stephen HIGGINS
- Web page: https://patentgrep.com/patent/US20240202185A1

## CPC

- G06F 16/2379: {Updates performed during online database operations; commit processing}
- H04L 63/12: {Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32)}
- G06F 16/1834: {implemented based on peer-to-peer networks, e.g. gnutella (p2p communication protocols H04L67/104)}
- G06F 16/184: {implemented as replicated file system}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- H04L 9/3247: {involving digital signatures}
- H04L 9/3297: {involving time stamps, e.g. generation of time stamps}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## 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

### Claim 1

A system for processing a new blockchain transaction in a blockchain configured to enable pruning prior to a current genesis block, comprising:
a blockchain network,
a blockchain node in the blockchain network; and
a plurality of additional nodes in the blockchain network;
wherein the blockchain node in the blockchain network includes
a receiver receiving a new blockchain transaction, the new blockchain transaction including at least one or more transaction inputs and one or more transaction outputs,
a processor
validating the new blockchain transaction, wherein validating the new blockchain transaction includes validating that each of the one or more transaction inputs is unspent, and
generating a new block, wherein the new block includes at least a block header and one or more blockchain data values, one of the one or more blockchain data values including the new blockchain transaction,
a transmitter transmitting the generated new block to the plurality of additional nodes in the blockchain network, and
a memory storing the one or more transaction outputs in a state database associated with the blockchain and an identify of the most recent recurring genesis block.

### Claim 2 (depends on 1)

The system of claim 1, wherein the receiver of the blockchain node further receives a confirmation message from a majority of the plurality of additional nodes prior to storing the one or more transaction outputs.

### Claim 3 (depends on 1)

The system of claim 1, wherein validating that each of the one or more transaction inputs includes identifying one or more earlier blockchain data values stored in one or more preceding blocks in the blockchain that include the one or more transaction outputs.

### Claim 4 (depends on 1)

The system of claim 1, wherein validating that each of the one or more transaction inputs includes identifying each of the one or more transaction inputs and the corresponding currency amount in the state database.

### Claim 5 (depends on 4)

The system of claim 4, wherein validating that each of the one or more transaction inputs includes identifying each of the one or more transaction inputs in a configuration value in a most recent genesis block in the blockchain.

### Claim 6

A method for processing a new blockchain transaction in a blockchain configured to enable pruning prior to a current genesis block, comprising:
receiving, by a receiver of a blockchain node in a blockchain network, a new blockchain transaction, the new blockchain transaction including at least one or more transaction inputs and, one or more transaction outputs, and, for each of the one or more transaction inputs, a corresponding currency amount;
validating, by a processor of the blockchain node, the new blockchain transaction, wherein validating the new blockchain transaction includes validating that each of the one or more transaction inputs is associated with the corresponding currency amount in the blockchain;
generating, by the processor of the blockchain node, a new block, wherein the new block includes at least a block header and one or more blockchain data values, one of the one or more blockchain data values including the new blockchain transaction;
transmitting, by a transmitter of the blockchain node, the generated new block to a plurality of additional nodes in the blockchain network; and
storing, in a memory of the blockchain node, the one or more transaction outputs in a state database associated with the blockchain.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
receiving, by the receiver of the blockchain node, a confirmation message from a majority of the plurality of additional nodes prior to storing the one or more transaction outputs.

### Claim 8 (depends on 6)

The method of claim 6, wherein validating that each of the one or more transaction inputs is associated with a corresponding currency amount in the blockchain includes identifying one or more earlier blockchain data values stored in one or more preceding blocks in the blockchain that include the one or more transaction outputs.

### Claim 9 (depends on 6)

The method of claim 6, wherein validating that each of the one or more transaction inputs is associated with a corresponding currency amount in the blockchain includes identifying each of the one or more transaction inputs and the corresponding currency amount in the state database.

### Claim 10 (depends on 6)

The method of claim 6, wherein validating that each of the one or more transaction inputs is associated with the corresponding currency amount in the blockchain includes identifying each of the one or more transaction inputs and the corresponding currency amount in a configuration value in a most recent genesis block in the blockchain.
