MachuPikacchu on Nostr: Thinking more in this: since functions treat memory and storage interchangeably and ...
Thinking more in this: since functions treat memory and storage interchangeably and can be restarted at arbitrary points then does state have timestamps as a first class citizen? Meaning: if my function is sensitive to data freshness then can I easily discern fresh from stale?
Published at
2024-08-09 01:52:22Event JSON
{
"id": "b602209aca41fef35a3dcb092f095c2ad88240babae884de852de98541d808d5",
"pubkey": "1e908fbc1d131c17a87f32069f53f64f45c75f91a2f6d43f8aa6410974da5562",
"created_at": 1723168342,
"kind": 1,
"tags": [
[
"e",
"74f0f7005abe68d076743f14c2f3181d22947e4b69832a1f548fe3b6fc4a7b3a",
"",
"root"
],
[
"e",
"98dc1ae928de000fe6eb63536aa93c190c1af8b937ad673678b94568d9b7107d",
"wss://relay.nostrati.com",
"reply"
],
[
"p",
"2efaa715bbb46dd5be6b7da8d7700266d11674b913b8178addb5c2e63d987331"
]
],
"content": "Thinking more in this: since functions treat memory and storage interchangeably and can be restarted at arbitrary points then does state have timestamps as a first class citizen? Meaning: if my function is sensitive to data freshness then can I easily discern fresh from stale?",
"sig": "934710c694c9f4482f486eb175111734d7dfa32f1efbae7effbab2750744a2f05ff845cc9bb52723b2f5959f532895c22e6088c767832d4a5bec019c63cb2827"
}