<p>The off-chain code is executed by a single node to construct the transaction which is then disseminated to the other nodes. I think it is indeed possible to keep this node busy with a never ending loop in the off-chain code. The thing is that - to my knowledge - there are no public entry points for the nodes to execute arbitrary off-chain code. You must always run the off-chain code on a specific node you have access to and which exposes only a defined set of operations. So basically you can only attack yourself.</p>

CC BY-SA 4.0
2021-09-15T07:02:09.490Z
2021-09-15T08:34:57.317Z
2021-09-15T08:34:57.317Z
Jey
<p>is it possible to execute an undecidable off-chain loop, and attack the network in this way? taking into account that the off-chain code is flat Haskell code is also complete turing.</p>

<security>
is it possible to execute an undecidable off-chain loop, and attack the network in this way?
# is it possible to execute an undecidable off-chain loop, and attack the network in this way?

(Asked by: username_0 on 2021-09-15)

is it possible to execute an undecidable off-chain loop, and attack the network in this way? taking into account that the off-chain code is flat Haskell code is also complete turing.

**Tags:** security

---

## 1 answers

### Answer by username_1 on 2021-09-15. Score: 1

The off-chain code is executed by a single node to construct the transaction which is then disseminated to the other nodes. I think it is indeed possible to keep this node busy with a never ending loop in the off-chain code. The thing is that - to my knowledge - there are no public entry points for the nodes to execute arbitrary off-chain code. You must always run the off-chain code on a specific node you have access to and which exposes only a defined set of operations. So basically you can only attack yourself.


---

