benthecarman on Nostr: You could encode anything in a block, but your node will interpret it as bitcoin ...
You could encode anything in a block, but your node will interpret it as bitcoin script which has a very limited feature set by design. If you put python code in there, it's not going to run through a python interpreor
Published at
2023-02-10 17:05:37Event JSON
{
"id": "7e895e9d594d236f2606456f7ca29e232c58c95ef2b28df5155cc21c66bb14da",
"pubkey": "e1ff3bfdd4e40315959b08b4fcc8245eaa514637e1d4ec2ae166b743341be1af",
"created_at": 1676048737,
"kind": 1,
"tags": [
[
"e",
"bc8f2d336b1eb43f2b7708b09f7183858598a7926a3c6ddf502f84f23d072be4",
""
],
[
"e",
"9562ad7bc252a8d500f4207f503a53f2a3e30461cf80e0291b89b93f2e8c2d3e"
],
[
"p",
"0f563fe2cfdf180cb104586b95873379a0c1fdcfbc301a80c8255f33d15f039d"
]
],
"content": "You could encode anything in a block, but your node will interpret it as bitcoin script which has a very limited feature set by design. If you put python code in there, it's not going to run through a python interpreor",
"sig": "15611450bd7d0935ca8a7e66b225fb1cf8edaa4d9f28f2d14b04aa52882b337157bef25e09ea12800a21344efc0c8e90ad7d56ed731e704c9d2702979815d12d"
}