Last-Modified: Sun, 06 Dec 2026 02:11:07 GMT Expires: Sun, 06 Dec 2026 02:16:07 GMT coinos-ui.git/src/components/AppHeader.svelte, branch staging coinos ui — legacy coinos.io web app (SvelteKit) https://git.coinos.io/coinos-ui.git/atom?h=staging 2026-03-06T23:07:08Z lint 2026-03-06T23:07:08Z Adam Soltys adam@coinos.io 2026-03-06T23:07:08Z urn:sha1:d14c03e3f2e3806e17852a440d2a39f377570758 tuning 2026-03-05T07:06:35Z Adam Soltys adam@coinos.io 2026-03-05T07:06:35Z urn:sha1:e5f37b003d93a17c2a9958697269b2d3228d8830 preload 2026-03-03T22:49:16Z Adam Soltys adam@coinos.io 2026-03-03T22:49:16Z urn:sha1:1109581ac894bc7f872c53989d1aecde7cfa229f inline icons 2026-03-03T06:37:05Z Adam Soltys adam@coinos.io 2026-03-03T06:37:05Z urn:sha1:11d358ad0412b794ecf89b4da9f99ac41ed9c3fe fix svelte-check issues 2026-03-03T05:32:59Z Adam Soltys adam@coinos.io 2026-03-03T05:32:59Z urn:sha1:f73a6be565bace826404d470b8e8a8c1a25eb19e ui tweaks 2026-02-26T22:08:26Z Adam Soltys adam@coinos.io 2026-02-26T22:08:26Z urn:sha1:36079a4309b5628c7a253264aed1da41b149841b ui tweaks 2026-02-13T20:26:29Z Adam Soltys adam@coinos.io 2026-02-13T20:26:29Z urn:sha1:8bba3619333b88df230a1dd3ba3d9ca59701779a format 2026-02-12T04:10:43Z Adam Soltys adam@coinos.io 2026-02-12T04:10:43Z urn:sha1:56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 fix ts errors 2026-02-12T01:09:39Z Adam Soltys adam@coinos.io 2026-02-12T01:09:39Z urn:sha1:3aa9ce1b5985397d7f568887ec6f881df13c1034 remove unused imports 2026-02-12T00:16:10Z Adam Soltys adam@coinos.io 2026-02-12T00:16:10Z urn:sha1:8a4b0087cbfe8b43d9b43d19af6d991a646ef3d7 eateExceptions.js?h=cln-rest&id=3d2a86d67471b093debcaf0bdd68dd185561776c'>blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
BitcoinCore = require("bitcoin-core");
fs = require("fs");
config = require("./config");
bc = new BitcoinCore(config.bitcoin);
l = require("pino")();
require("./db");

console.log(db.Payment);

(async () => {
  payments = (
    await db.Payment.findAll({
      attributes: ["hash"],
    })
  ).map((p) => p.hash);
  const transactions = await bc.listTransactions("*", 1000);
  var stream = fs.createWriteStream("exceptions", {
    flags: "a",
    emitClose: true,
  });
  transactions.map((tx) => {
    if (!payments.includes(tx.txid)) {
      l.info("writing", tx.txid);
      stream.write(tx.txid + "\n");
    }
  });
  stream.end();
  stream.on("close", () => {
    l.info("done");
    process.exit();
  });
})();