Amir Taaki [ARCHIVE] on Nostr: 📅 Original date posted:2012-07-29 📝 Original message:Hi! Is this a valid ...
📅 Original date posted:2012-07-29
📝 Original message:Hi!
Is this a valid script?
["1 0 1", "WITHIN NOT"]
The first value (1) is tested to make sure it is between the lower (0) and upper (1) value. This evaluates to true, placing on the stack a single byte of [01]. NOT then inverses this to a 0 byte false value of [].
What am I missing here?
Thanks
Published at
2023-06-07 10:26:37Event JSON
{
"id": "2b10f2d904364e475e740af1f26e0a5ab85ebb159392d03ad41166d2d4c01bb3",
"pubkey": "c86b2a2e41d61aaf7ab7198ba65cf5a35c015f3117a71eaba5e19bb537b20051",
"created_at": 1686133597,
"kind": 1,
"tags": [
[
"e",
"dd1f257463410e44aa15ec4321365a60c6bee35557ebfeae22c2291a7c455d03",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2012-07-29\n📝 Original message:Hi!\n\nIs this a valid script?\n\n[\"1 0 1\", \"WITHIN NOT\"]\n\nThe first value (1) is tested to make sure it is between the lower (0) and upper (1) value. This evaluates to true, placing on the stack a single byte of [01]. NOT then inverses this to a 0 byte false value of [].\n\nWhat am I missing here?\n\nThanks",
"sig": "b50da10e8a33446cb18d089bc136386489de2d540debaea65678cddac7b960c67769710dd5f5d1bf064fe1bc2238810fb6e5151b2de272fd41282721e054731a"
}