aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-07-05 22:32:06 -0700
committerAdam Soltys <[email protected]>2026-07-05 22:32:06 -0700
commit0b3d332c09272a9fa98ccf668a4b4923df54977a (patch)
tree4039d287ca49038875b7843b469ef242159c3855 /tools
parentba5e28249aac75310303174ac48b4c67b67224cb (diff)
downloadcoinosv3-0b3d332c09272a9fa98ccf668a4b4923df54977a.tar.gz
coinosv3-0b3d332c09272a9fa98ccf668a4b4923df54977a.zip
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 <[email protected]>
Diffstat (limited to 'tools')
-rw-r--r--tools/minimal-smoke.js2
-rw-r--r--tools/sp-test.js2
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`);