refactor: outbox (inbox query) improvements

feat: sync account tool
This commit is contained in:
2024-04-05 14:11:40 +01:00
parent a88fda2a22
commit a938e466d7
16 changed files with 207 additions and 85 deletions

View File

@ -257,14 +257,6 @@ export class NostrSystem extends EventEmitter<NostrSystemEvents> implements Syst
}
}
});
this.pool.on("eose", (id, sub) => {
const c = this.pool.getConnection(id);
if (c) {
for (const [, v] of this.#queryManager) {
v.eose(sub, c);
}
}
});
this.pool.on("auth", (_, c, r, cb) => this.emit("auth", c, r, cb));
this.pool.on("notice", (addr, msg) => {
this.#log("NOTICE: %s %s", addr, msg);