US 11,893,002 B2
System or method to run distributed validation of workflows across a network in a shared distributed ledger in multi-tenant cloud environment
Prithvi Krishnan Padmanabhan, San Ramon, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on May 4, 2020, as Appl. No. 16/866,486.
Prior Publication US 2021/0342329 A1, Nov. 4, 2021
Int. Cl. G06F 16/23 (2019.01); G06F 16/28 (2019.01)
CPC G06F 16/2365 (2019.01) [G06F 16/28 (2019.01)] 16 Claims
OG exemplary drawing
 
1. A method of distributed smart contract deployment in a multi-tenant environment implemented by a computing device, the method comprising:
receiving a smart contract source;
converting the smart contract source to a smart contract that is supported by a target blockchain and causing installation of the smart contract into the target blockchain to enable invocation of a smart contract consensus process of the target blockchain;
converting the smart contract source to executable code for a tenant of the multi-tenant environment, the executable code to manage validation of a data transaction before the transaction is sent to the target blockchain for validation by the smart contract; and
installing the executable code at the tenant to enforce logic of the smart contract source at the tenant of the multi-tenant environment, the logic of the smart contract source to:
determine whether conditions for validating the transaction are met without invoking the smart contract consensus process of the target blockchain;
reject the transaction when the conditions are not met; and
when (i) the conditions are met or (ii) the logic is unable to determine whether the conditions are met, send the transaction to the smart contract installed to the target blockchain for validation thereby invoking the smart contract consensus process of the target blockchain.