From 0b3d332c09272a9fa98ccf668a4b4923df54977a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 5 Jul 2026 22:32:06 -0700 Subject: Test harnesses mine on the consolidated bc regtest node The standalone ark-regtest bitcoind is retired: captaind, ark-electrs, and the sp indexer all run against the coinos dev node (bc container, RPC published at 127.0.0.1:18453, minrelaytxfee=0 for exit chains). Co-Authored-By: Claude Fable 5 --- tools/minimal-smoke.js | 2 +- tools/sp-test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/minimal-smoke.js b/tools/minimal-smoke.js index 1e80d67..bd0d588 100644 --- a/tools/minimal-smoke.js +++ b/tools/minimal-smoke.js @@ -10,7 +10,7 @@ import { generateMnemonic } from '@scure/bip39'; import { wordlist } from '@scure/bip39/wordlists/english'; import { buildHtml } from '../build.js'; -const BCLI = `bitcoin-cli -regtest -datadir=${process.env.HOME}/ark-regtest/bitcoind -rpcport=18543 -rpcwallet=miner`; +const BCLI = `docker exec bc bitcoin-cli -rpcwallet=coinos`; const sleep = (ms) => new Promise((r) => setTimeout(r, ms)); const sh = (cmd) => execSync(cmd, { shell: '/bin/bash' }).toString().trim(); diff --git a/tools/sp-test.js b/tools/sp-test.js index d602d0f..b55ec29 100644 --- a/tools/sp-test.js +++ b/tools/sp-test.js @@ -19,7 +19,7 @@ import { wordlist } from '@scure/bip39/wordlists/english'; const PORT = 5199; const APP = `http://localhost:${PORT}`; -const BCLI = `bitcoin-cli -regtest -datadir=${process.env.HOME}/ark-regtest/bitcoind -rpcport=18543 -rpcwallet=miner`; +const BCLI = `docker exec bc bitcoin-cli -rpcwallet=coinos`; const sleep = (ms) => new Promise((r) => setTimeout(r, ms)); const sh = (cmd) => execSync(cmd, { shell: '/bin/bash' }).toString().trim(); const mine = (n = 1) => sh(`${BCLI} generatetoaddress ${n} $(${BCLI} getnewaddress) >/dev/null`); -- cgit v1.2.3