METHOD AND SYSTEM FOR PREDICTION OF SMART CONTRACT VIOLATION USING DYNAMIC STATE SPACE CREATION

    公开(公告)号:US20210312472A1

    公开(公告)日:2021-10-07

    申请号:US17266890

    申请日:2018-08-17

    IPC分类号: G06Q30/00 G06N5/04

    摘要: A method implemented by a network device to predict smart contract violations, where the network device is communicatively coupled to one or more computing nodes that execute one or more smart contracts that are configured to perform transactions on a blockchain. The method includes generating a control flow graph for each of the one or more smart contracts, retrieving, from the blockchain, a current state of a variable utilized by the one or more smart contracts following execution of a transaction that updates the variable, generating or updating a state space tree based on the current state of the variable and the control flow graphs generated for the one or more smart contracts, determining whether the state space tree meets a predefined violation requirement, and sending an alert to the one or more computing nodes in response to determining that the state space tree meets the violation requirement.