Yuki Kishimoto on Nostr: The v0.27 have support to negentropy but have some issues. I fixed all the issues in ...
The v0.27 have support to negentropy but have some issues. I fixed all the issues in master branch (you can specify a git repo and commit in the Cargo.toml or wait for v0.28)
To use negentropy you need a persistent DB. Configured that with the ClientBuilder, just call "client.reconcile". All the reconciled event will be saved in the db: use client.database().query(filters) to query what you need.
Published at
2024-02-06 14:33:08Event JSON
{
"id": "f8c1d62434906d77ee9ddb7efb0bf6b7bb0e958a49796686f07fe05c8b5f827f",
"pubkey": "68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272",
"created_at": 1707229988,
"kind": 1,
"tags": [
[
"e",
"a83add9517a5afe8d3ab57fababa4fe6c38b1c28d4526d9f35c9080e17be1d97",
"",
"root"
],
[
"p",
"126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f"
],
[
"r",
"v0.27"
],
[
"r",
"Cargo.toml"
],
[
"r",
"v0.28"
],
[
"r",
"client.database"
]
],
"content": "The v0.27 have support to negentropy but have some issues. I fixed all the issues in master branch (you can specify a git repo and commit in the Cargo.toml or wait for v0.28)\n\nTo use negentropy you need a persistent DB. Configured that with the ClientBuilder, just call \"client.reconcile\". All the reconciled event will be saved in the db: use client.database().query(filters) to query what you need.",
"sig": "d561dc2bce48869756000d8d53ac213b6061e1e34137908f5db5a52d2a7e08a58286542790da0088cc2e634f7b075dda4194acc085aa900142a4c9dbb37bd7d2"
}