# US 2019/0356471 A1 · Ad-hoc smart contract generation in a blockchain

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

- Number: US 2019/0356471 A1
- Document ID: US20190356471A1
- Status: Published application
- Kind: A1
- Application number: 15/982,829
- Filed: 2018-05-17
- Published: 2019-11-21
- Earliest claimed: 2018-05-17
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Garfield Vaughn; Tetiana Iakovenko; Marcelo A. Martins; Nitin Gaur; Rolando Franco
- Web page: https://patentgrep.com/patent/US20190356471A1

## CPC

- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/3247: {involving digital signatures}
- H04L 9/3265: {using certificate chains, trees or paths; Hierarchical trust model}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An example operation may include one or more of identifying blockchain transactions for a particular blockchain, identifying blockchain transaction metrics from the blockchain transactions, determining whether the blockchain transaction metrics require a change to current blockchain operating rules, and when the blockchain transaction metrics require the change to the current blockchain operating rules, modifying the current blockchain operating rules.

## Claims

### Claim 1

A method, comprising:
identifying a plurality of blockchain transactions for a particular blockchain;
identifying one or more blockchain transaction metrics from the plurality of blockchain transactions;
determining whether the one or more blockchain transaction metrics require a change to one or more current blockchain operating rules; and
when the one or more blockchain transaction metrics require the change to the one or more current blockchain operating rules, modifying the one or more current blockchain operating rules.

### Claim 2 (depends on 1)

The method of claim 1, wherein the modifying the one or more current blockchain operating rules comprises creating a new smart contract and sending the new smart contract with the modified one or more current blockchain operating rules to the blockchain.

### Claim 3 (depends on 1)

The method of claim 1, wherein the one or more blockchain transactions metrics comprise one or more of a majority party to the plurality of blockchain transactions, a size of the plurality of blockchain transactions, a frequency over a defined period of time of the plurality of blockchain transactions, a number of the plurality of blockchain transactions, a newly identified party, not previously identified, to one or more of the plurality of blockchain transactions, and an established prioritized party to one or more of the plurality of blockchain transactions.

### Claim 4 (depends on 1)

The method of claim 1, wherein identifying a plurality of blockchain transactions for a particular blockchain comprises identifying the plurality of blockchain transactions over a defined period of time.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
identifying a new member has joined the blockchain network; and
responsive to identifying the new member has joined the blockchain network, collecting the identified one or more blockchain transaction metrics.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
identifying an existing member has quit the blockchain network; and
responsive to identifying the existing member has quit the blockchain network, collecting the identified one or more blockchain transaction metrics.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining whether the one or more blockchain transaction metrics require a change to one or more current blockchain operating rules comprises comparing the one or more blockchain transaction metrics to one or more blockchain operating rule thresholds to determine whether the one or more blockchain transaction metrics exceed the one or more blockchain operating rule thresholds.

### Claim 8

An apparatus, comprising:
a processor configured to
identify a plurality of blockchain transactions for a particular blockchain;
identify one or more blockchain transaction metrics from the plurality of blockchain transactions;
determine whether the one or more blockchain transaction metrics require a change to one or more current blockchain operating rules; and
when the one or more blockchain transaction metrics require the change to the one or more current blockchain operating rules, modify the one or more current blockchain operating rules.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the processor modifies the one or more current blockchain operating rules via being further configured to create a new smart contract and send the new smart contract with the modified one or more current blockchain operating rules to the blockchain.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the one or more blockchain transactions metrics comprise one or more of a majority party to the plurality of blockchain transactions, a size of the plurality of blockchain transactions, a frequency over a defined period of time of the plurality of blockchain transactions, a number of the plurality of blockchain transactions, a newly identified party, not previously identified, to one or more of the plurality of blockchain transactions, and an established prioritized party to one or more of the plurality of blockchain transactions.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein the processor identifies a plurality of blockchain transactions for a particular blockchain via being further configured to identify the plurality of blockchain transactions over a defined period of time.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein the processor is further configured to
identify a new member has joined the blockchain network; and
responsive to the new member being identified as having joined the blockchain network, collect the identified one or more blockchain transaction metrics.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein the processor is further configured to
identify an existing member has quit the blockchain network; and
responsive to the existing member being identified as having quit the blockchain network, collect the identified one or more blockchain transaction metrics.

### Claim 14 (depends on 8)

The apparatus of claim 8, wherein the processor determines whether the one or more blockchain transaction metrics require a change to one or more current blockchain operating rules via the processor being further configured to compare the one or more blockchain transaction metrics to one or more blockchain operating rule thresholds to determine whether the one or more blockchain transaction metrics exceed the one or more blockchain operating rule thresholds.

### Claim 15

A non-transitory computer readable storage medium being configured to store instructions that when executed cause a processor to perform:
identifying a plurality of blockchain transactions for a particular blockchain;
identifying one or more blockchain transaction metrics from the plurality of blockchain transactions;
determining whether the one or more blockchain transaction metrics require a change to one or more current blockchain operating rules; and
when the one or more blockchain transaction metrics require the change to the one or more current blockchain operating rules, modifying the one or more current blockchain operating rules.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the modifying the one or more current blockchain operating rules comprises creating a new smart contract and sending the new smart contract with the modified one or more current blockchain operating rules to the blockchain.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the one or more blockchain transactions metrics comprise one or more of a majority party to the plurality of blockchain transactions, a size of the plurality of blockchain transactions, a frequency over a defined period of time of the plurality of blockchain transactions, a number of the plurality of blockchain transactions, a newly identified party, not previously identified, to one or more of the plurality of blockchain transactions, and an established prioritized party to one or more of the plurality of blockchain transactions.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein identifying a plurality of blockchain transactions for a particular blockchain comprises identifying the plurality of blockchain transactions over a defined period of time.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the processor is further configured to perform:
identifying a new member has joined the blockchain network; and
responsive to identifying the new member has joined the blockchain network, collecting the identified one or more blockchain transaction metrics.

### Claim 20 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the processor is further configured to perform:
identifying an existing member has quit the blockchain network; and
responsive to identifying the existing member has quit the blockchain network, collecting the identified one or more blockchain transaction metrics, and wherein determining whether the one or more blockchain transaction metrics require a change to one or more current blockchain operating rules comprises comparing the one or more blockchain transaction metrics to one or more blockchain operating rule thresholds to determine whether the one or more blockchain transaction metrics exceed the one or more blockchain operating rule thresholds.
