WIP: triangles-api data + scanner updates (committed per Sami request, not yet reviewed)

This commit is contained in:
Krystie
2026-06-13 22:08:31 -07:00
parent 8c5910ae31
commit 293e3abcac
5 changed files with 4347 additions and 346 deletions
+339 -339
View File
File diff suppressed because it is too large Load Diff
+4002 -1
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -1,6 +1,6 @@
{
"lastProcessedBlock": 694165,
"chainHeight": 2196057,
"lastUpdate": "2026-03-27T02:13:26.929Z",
"totalAddresses": 0
"lastProcessedBlock": 780500,
"chainHeight": 2205253,
"lastUpdate": "2026-06-14T05:07:40.775Z",
"totalAddresses": 41290
}
+1 -1
View File
@@ -10,7 +10,7 @@ const path = require('path');
const RPC_URL = 'http://127.0.0.1:19112';
const RPC_USER = 'trianglesrpc';
const RPC_PASS = 'rpc$(openssl rand -hex 16)';
const RPC_PASS = '2KVK2FvLZBW9Hxv4a2Uj3dMRDAXdh4ei6S5tdZ3z2Mme';
const DATA_DIR = path.join(__dirname, 'data');
const STATE_FILE = path.join(DATA_DIR, 'scanner-state.json');
+1 -1
View File
@@ -7,7 +7,7 @@ const PORT = process.env.PORT || 3051;
const RPC_URL = 'http://127.0.0.1:19112';
const RPC_USER = 'trianglesrpc';
const RPC_PASS = 'xK7mNp4QvR8sWjY2bTdL9eAf';
const RPC_PASS = '2KVK2FvLZBW9Hxv4a2Uj3dMRDAXdh4ei6S5tdZ3z2Mme';
// Cache for expensive RPC calls
const cache = {};