diff options
| author | Adam Soltys <[email protected]> | 2026-03-16 23:38:47 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-16 23:38:47 -0700 |
| commit | ee88e5f213334382cbea04402cab9bc29405412a (patch) | |
| tree | af340b5582cf69c19a56c22754caafae10cc203e /lib | |
| parent | 988b7c1b028f0528433acc36a54a4a3c514108e3 (diff) | |
| download | coinos-server-ee88e5f213334382cbea04402cab9bc29405412a.tar.gz coinos-server-ee88e5f213334382cbea04402cab9bc29405412a.zip | |
streamline dev setup and docker images
- Rewrite setup.sh: auto-installs Docker, downloads regtest snapshot,
pulls images, starts all services. Idempotent, works on fresh Ubuntu/macOS.
- Create coinos-base image (196MB) shared by all containers: bitcoin,
elements, lightning, strfry, kvrocks, electrs, tigerbeetle, chopsticks.
Total pull ~490MB, down from ~4.3GB.
- Move all images to ghcr.io/coinos/* namespace.
- Drop nutshell (mint/wallet), postgres, mon from default dev compose.
- Comment out ark stack (optional), guard ark.ts against empty config.
- Add missing sampledata: lightningc, strfry, kvrocks, valkey configs.
- Strip strfry binary (145MB debug symbols removed).
- Use single CLN version (v25.12.1) for all 3 lightning nodes.
- Switch valkey to alpine variant (110MB → 41MB).
- Update config.ts.sample with correct service URLs.
- Regtest snapshot hosted on GitHub Releases (~2MB).
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ark.ts | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -185,8 +185,10 @@ export const refreshArkWallet = async (force = false) => { }; // Initial check after 60s startup delay; retry every 60s to catch ark rounds -setTimeout(refreshArkWallet, 60_000); -setInterval(() => refreshArkWallet(), 60_000); +if (config.ark?.arkPrivateKey) { + setTimeout(refreshArkWallet, 60_000); + setInterval(() => refreshArkWallet(), 60_000); +} export const sendArk = async (address: string, amount: number) => { |
