DanConwayDev on Nostr: Isn't it better to calculate it using the token events rather than the history ...
Isn't it better to calculate it using the token events rather than the history events? There will be less data to fetch and it is less likely to be effected by a client used in the past that created bad data.
Published at
2025-03-19 09:46:21Event JSON
{
"id": "537de6f54af086e405a4b6eb09baacb2debcab8ae20137c5dfcac94452de90a1",
"pubkey": "a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d",
"created_at": 1742377581,
"kind": 1,
"tags": [
[
"e",
"22d055a2ad52530ea41f297c5d187e2e53fe7837143afaff0f597ad1b74954c9",
"",
"root"
],
[
"e",
"f245b89efde442799f71bf1509f5ac09474ccde3b132024d9b31dd8f83dfd453",
"",
"reply"
],
[
"p",
"1bc70a0148b3f316da33fe3c89f23e3e71ac4ff998027ec712b905cd24f6a411"
],
[
"p",
"7fa56f5d6962ab1e3cd424e758c3002b8665f7b0d8dcee9fe9e288d7751ac194"
]
],
"content": "Isn't it better to calculate it using the token events rather than the history events? There will be less data to fetch and it is less likely to be effected by a client used in the past that created bad data.",
"sig": "955d6c64d0b8ff065219d538eaebedf045f654cd790a6f437949e156c59e21f87440ef72598801476c059ce6610b65ea56c787bb311caca922a25c0f1653f976"
}