mleku on Nostr: yeah, nah, i can't do that... the search functions need to be able to apply secondary ...
yeah, nah, i can't do that... the search functions need to be able to apply secondary filters and sift out replaced events and whatnot.
so, fuggit, i'm just going to make a protobuf for events. maybe some day in the future i'll make a whole protobuf protocol to replace the existing one but for now just going to use protobuf. the database itself, badger, uses protobuf encoding for data as it is.
Published at
2024-11-15 19:52:08Event JSON
{
"id": "d8cbb256daccd0be59bae5e1c2a15515c9401dda2970ff9ed68b6cc751183ddc",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1731700328,
"kind": 1,
"tags": [
[
"e",
"18136eff2906a639ebc50c5a9cd942e2102e295f9ddd254d134b6c6d25e472a2",
"wss://nostr.land/",
"mention"
],
[
"e",
"e00e8f7a8bd8c04e8b183f15a32a5b3832df2bb4041010bbe0f41e0229c06cf1",
"wss://nostr.land/",
"root",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "yeah, nah, i can't do that... the search functions need to be able to apply secondary filters and sift out replaced events and whatnot.\n\nso, fuggit, i'm just going to make a protobuf for events. maybe some day in the future i'll make a whole protobuf protocol to replace the existing one but for now just going to use protobuf. the database itself, badger, uses protobuf encoding for data as it is.",
"sig": "5649d90f2ca2322d6b5edb2c42eac01fbb15339f9ea44b26a683bd54bf3c30a896d835e18cde8b4b0199942491d469a6df87903074ed97074912678fb63c189c"
}