Agent-Based Turing-Complete Transactions Integrating Feedback Within a Blockchain System

The proposed system relates generally to blockchain implementations, and is suited for, but not limited to, use with the Bitcoin blockchain. It can be used for the implementation of automated processes such as device/system control, process control, distributed computing, storage, and others. The system provides a solution which uses a blockchain to control a process executing on a computing resource. In a preferred implementation, the computing resource, running simultaneously and in parallel to the blockchain, manages a loop-based operation. The computing resource continuously monitors the state of the blockchain and any other off-blockchain input data or source. The execution of the loop is influenced by the state of the blockchain. Each iteration of the loop that is executed by the computing resource is recorded in a transaction that is written to the blockchain. It is stored as a hash within the transaction’s metadata. If the computing resource finds a transaction which contains a hash relating to the loop, it accesses the relevant portion of code. The loop contains a conditional statement which enables the computing resource to decide which action to take. The condition may be dependent upon the state of the blockchain or any other data source. The action can be any type of action, on or off the blockchain. Thus, the combination of the computing resource and the blockchain provides a solution which is (at least partially) Turing complete.