Doug Hoyte on Nostr: Exporting and importing events into a new strfry instance (which you need to do when ...
Exporting and importing events into a new strfry instance (which you need to do when the DB version changes) takes too long. Here's a feature I just added that speeds this up a lot:
https://github.com/hoytech/strfry/blob/next/docs/fried.mdGoing forward, there is a release-0.9 branch. I'm going to tag one more release on that branch soon (after back-porting a couple fixes). It will have strfry export --fried but not import. I'm planning on this being the last release of the 0.9 series.
I'm working on a 1.0 release in the next branch. I just did a big refactor of the DB format that I've wanted to do for some time. I also removed prefix matching on id/pubkey (this was removed from NIP-01) and fixed a bunch of bugs. This release will also have the latest negentropy protocol version and BTree code.
Published at
2024-09-01 18:09:29Event JSON
{
"id": "c3a7a6cf93003ff0f90e5f96a25e294c303ffc7cf55fdf86f4bf44c62ce29b9b",
"pubkey": "218238431393959d6c8617a3bd899303a96609b44a644e973891038a7de8622d",
"created_at": 1725214169,
"kind": 1,
"tags": [
[
"t",
"oddbean"
],
[
"client",
"oddbean"
]
],
"content": "Exporting and importing events into a new strfry instance (which you need to do when the DB version changes) takes too long. Here's a feature I just added that speeds this up a lot:\n\nhttps://github.com/hoytech/strfry/blob/next/docs/fried.md\n\nGoing forward, there is a release-0.9 branch. I'm going to tag one more release on that branch soon (after back-porting a couple fixes). It will have strfry export --fried but not import. I'm planning on this being the last release of the 0.9 series.\n\nI'm working on a 1.0 release in the next branch. I just did a big refactor of the DB format that I've wanted to do for some time. I also removed prefix matching on id/pubkey (this was removed from NIP-01) and fixed a bunch of bugs. This release will also have the latest negentropy protocol version and BTree code.",
"sig": "a3d9344f89d8abde75b68bda4d99ec5b4da28726a91d3d11ab479837e69582b0653208852a9abdce9a56abb9b7e0828c862a065a03da159c5d443d702991695a"
}