Private smart contract events in a permissioned blockchain
AssigneeOracle International Corporation
InventorsCarlo Innocenti, Sharthak Mishra
Life of this patent
Estimating the term…
Abstract
Herein is privacy for a smart contract that contains chaincode that sends chaincode events. In a configurable and backwards compatible way, broadcast of a chaincode event can be restricted. Before committing a transaction to a blockchain and without storing a newly generated private event into the transaction, the following are stored into the private event: an event payload, a hash of the payload and, unlike the state of the art, an identifier of a subscriber or organization that can receive the private event. After committing the transaction is an asynchronous detection that the identifier of the subscriber is associated with the event and, responsively, the payload of the event is sent to the subscriber.
Claims20
A method comprising:
- before committing a transaction to a blockchain:
- associating an identifier of a client with an event that contains a payload,
- storing a hash of the payload of the event in the transaction without storing the payload in the transaction;
- detecting, after committing the transaction, that the identifier of the client is associated with the event;
- and
- sending, responsive to said detecting, the payload of the event to the client.
One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause:
- before committing a transaction to a blockchain:
- associating an identifier of a client with an event that contains a payload,
- storing a hash of the payload of the event in the transaction without storing the payload in the transaction;
- detecting, after committing the transaction, that the identifier of the client is associated with the event;
- and
- sending, responsive to said detecting, the payload of the event to the client.
Dependencies are inferred from the claim text.