straycat on Nostr: Turning out to be more difficult than I thought. If I try to access the strfry lmdb ...
Turning out to be more difficult than I thought.
If I try to access the strfry lmdb directly with a tool like node-lmdb or lmdb-query, I get a seg fault. Maybe incompatibility bc strfry doesn’t use plain lmdb but rather hoytech’s bespoke repo, lmdbxx?
I can get the command line to spit out entire events to the console using ./strfry scan. If I could get it to spit out just the event ids received in some time interval (not created_at but when received by the relay), that would be good enough for now.
Learning about negentropy, perhaps some of those tools will work.
Published at
2025-01-17 14:39:11Event JSON
{
"id": "bc2a20af5270fdc5069296d271d5bc806caebb4dd0bf456770d945c00a035d0d",
"pubkey": "e5272de914bd301755c439b88e6959a43c9d2664831f093c51e9c799a16a102f",
"created_at": 1737124751,
"kind": 1,
"tags": [
[
"e",
"4837c8a2ea039a2ed571b6b874fd2b792304aa08de22b68496172996cfa0ea85",
"",
"root"
],
[
"e",
"069f64e453d4d4456670cd332b2dd32f3243d5a64bffc4ade92af6cea628e447",
"",
"reply"
],
[
"p",
"7ed7d5c3abf06fa1c00f71f879856769f46ac92354c129b3ed5562506927e200"
]
],
"content": "Turning out to be more difficult than I thought.\n\nIf I try to access the strfry lmdb directly with a tool like node-lmdb or lmdb-query, I get a seg fault. Maybe incompatibility bc strfry doesn’t use plain lmdb but rather hoytech’s bespoke repo, lmdbxx?\n\nI can get the command line to spit out entire events to the console using ./strfry scan. If I could get it to spit out just the event ids received in some time interval (not created_at but when received by the relay), that would be good enough for now.\n\nLearning about negentropy, perhaps some of those tools will work.",
"sig": "b059214e74ccbb17c556b0c355dd679769bd9fb59a60829e7a30c5deca0442bc33ea6fcf3c92b96bd9961616d98b2ae9b464ba4dee66da7e69fc23fb2397b419"
}