OceanSlim on Nostr: I'm busy implementing user sync for grain. I'm almost to the negentropy part. When a ...
I'm busy implementing user sync for grain. I'm almost to the negentropy part. When a new user writes a note to the relay, I fetch their kind10002 and assemble their outboxes. Now I need to fetch all their notes and use negentropy to sort and store it. That sound like the right flow to you?
Published at
2025-01-15 21:31:09Event JSON
{
"id": "94e7c72312e53211f99fd219ed811c2ca12144d920898e0b4d14a3a90f8f2027",
"pubkey": "16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b",
"created_at": 1736976669,
"kind": 1,
"tags": [
[
"e",
"676a6b08ee3e9cbac23ae33b54e1c542d023a27def9075148ea1904870e7d856",
"",
"root"
],
[
"e",
"07013d551d64f9472e7dc690a88cf77da734d7d6a5cd348d65d8434c94cce9f4"
],
[
"e",
"04051fa0c573c6a43cc42d0da6d50ae1b75cf0cb93179a8e947cd498a362a346",
"",
"reply"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b"
]
],
"content": "I'm busy implementing user sync for grain. I'm almost to the negentropy part. When a new user writes a note to the relay, I fetch their kind10002 and assemble their outboxes. Now I need to fetch all their notes and use negentropy to sort and store it. That sound like the right flow to you? ",
"sig": "aeaa6ef07eb77c6d4e855af621290bdd998f64e68e171d242cc4acf96048a08cabf89da6aaf0de90cafc02eac75681e23c5a51820689197f8be96cbffc94b06d"
}