# US 2023/0412402 A1 · Endorsement policy consolidation in blockchain networks

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

- Number: US 2023/0412402 A1
- Document ID: US20230412402A1
- Status: Published application
- Kind: A1
- Application number: 17/806,974
- Filed: 2022-06-15
- Published: 2023-12-21
- Earliest claimed: 2022-06-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Manish Sethi; Andrew John Coleman
- Web page: https://patentgrep.com/patent/US20230412402A1

## CPC

- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 9/3247: {involving digital signatures}
- H04L 9/3297: {involving time stamps, e.g. generation of time stamps}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system receives an operation by a trusted node on a blockchain, simulates an execution of the operation, and captures endorsement policy information related to the execution of the operation.

## Claims

### Claim 1

A system comprising:
a memory; and
a processor in communication with the memory, the processor being configured to perform processes comprising:
receiving an operation by a trusted node on a blockchain, wherein the operation includes a read;
simulating, by the trusted node, a full set of all endorsers needed to validate the operation; and
capturing endorsement policy information of the full set of all endorsers related to the validation of the operation.

### Claim 2 (depends on 1)

The system for claim 1, wherein the endorsement policy information captured includes, identifications (IDs) of each smart contract encountered, IDs of each private data collection, and ID of a chaincode for the blockchain where the operation is to be executed.

### Claim 3 (depends on 2)

The system of claim 2, further comprising:
determining one or more endorsement policies associated with individual states for each of the IDs.

### Claim 4 (depends on 3)

The system of claim 3, further comprising:
capturing, for each read operation, the IDs of each contract and ledger encountered in order to determine data availability constraints.

### Claim 5 (depends on 4)

The system of claim 4, wherein the data availability constraints comprise what nodes a read operation may be executed at.

### Claim 6 (depends on 5)

The system of claim 5, further comprising:
determining, based on the captured endorsement policy information, the endorsement policies applicable to the operation; and
combing the endorsement policies together with the data availability constraints to generate one or more merged policies.

### Claim 7 (depends on 6)

The system of claim 6 further comprising, selecting an efficient endorsement from the one or more merged policies.

### Claim 8 (depends on 7)

The system of claim 7, wherein an efficiency of the efficient endorsement is determined by considering one or more elements selected from a group consisting of a height of the blockchain on the nodes, local verse remote node usage, and a total number of endorsements.

### Claim 9

A method comprising:
receiving an operation by a trusted node on a blockchain, wherein the operation includes a read;
simulating, by the trusted node, a full set of all endorsers needed to validate the operation; and
capturing endorsement policy information of the full set of all endorsers related to the validation of the operation.

### Claim 10 (depends on 9)

The method of claim 9, wherein the endorsement policy information captured includes, identifications (IDs) of each smart contract encountered, IDs of each private data collection, and ID of a chaincode for the blockchain where the operation is to be executed.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
determining one or more endorsement policies associated with individual states for each of the IDs.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
capturing, for each read operation, the IDs of each contract and ledger encountered in order to determine data availability constraints, wherein the data availability constraints comprise what nodes a read operation may be executed at.

### Claim 13 (depends on 9)

The method of claim 9, wherein the operation includes a write.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
determining, based on the captured endorsement policy information, the endorsement policies applicable to the operation; and
combing the endorsement policies together with the data availability constraints to generate one or more merged policies.

### Claim 15 (depends on 14)

The method of claim 14 further comprising, selecting an efficient endorsement from the one or more merged policies.

### Claim 16 (depends on 15)

The method of claim 15, wherein an efficiency of the efficient endorsement is determined by considering one or more elements selected from a group consisting of a height of the blockchain on the nodes, local verse remote node usage, and a total number of endorsements.

### Claim 17

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processors to perform a method, the method comprising:
receiving an operation by a trusted node on a blockchain, wherein the operation includes a read;
simulating, by the trusted node, a full set of all endorsers needed to validate the operation; and
capturing endorsement policy information of the full set of all endorsers related to the validation of the operation.

### Claim 18 (depends on 17)

The computer program product for claim 17, wherein the endorsement policy information captured includes, identifications (IDs) of each smart contract encountered, IDs of each private data collection, and ID of a chaincode for the blockchain where the operation is to be executed.

### Claim 19 (depends on 18)

The computer program product of claim 18, further comprising:
determining one or more endorsement policies associated with individual states for each of the IDs; and
capturing, for each read operation, the IDs of each contract and ledger encountered in order to determine data availability constraints.

### Claim 20 (depends on 17)

The computer program product of claim 17, wherein the operation includes a write.
