* refactor: add type SimpleAlert
* refactor(Jam): jsx to tsx
* feat(Jam): add success message
* chore: clarify workaround and add hint for dev mode
* refactor(PageTitle): jsx to tsx
* fix(Jam): reload data when leaving success screen
* feat(regtest): set time between blocks to 11s
* feat(regtest): set liquiditywait to 13s
---------
Co-authored-by: Gigi <dergigi@pm.me>
* dev(flags): add distinct dev mode for local development
* docs(dev): npm start -> npm run dev:start
* chore(features): move skipWalletBackupConfirmation flag to debugFeatures.ts
* regtest: adapt regtest params for easier testing
* regtest: start two makers in dev setup
* regtest: own bitcoin rpcauth for tertiary jm instance
* docs(regtest): add info about tertiary container
* dev(regtest): remove nbxplorer in favor of simpler custom regtest-initializer
* dev(regtest): use jsonrpc 2.0 requests to create and load wallet
* dev(regtest): upgrade bitcoin core from v22 to v23
* fix(regtest): wait-for-bitcoind should wait for at least >=0 blocks
* dev(regtest): use jam-dev-standalone
* dev(regtest): add npm script regtest:build
this command will build the development setup with docker cache
enabled. usually must fast as it will only pull in newer base
images and not download and recompile jm again. this is the
preferred way if you made only a few adaptions to the images
and e.g. not want to fetch the current master of jm.
* feat: use joinmarket-webui standalone container in regtest setup
* dev: use build flag --docker-install in regtest env
* dev: build first jm instance from master; remove image based on btcpayserver
* dev: fix creating wallets in docker setup 'latest'
* update: use newest dev image from public registry
* review: remove checksum of dev-standalone image
* review: add '--pull' arg to docs for rebuilding regtest setup
* fix: prevent 'config value not set' on cj in regtest env
'max_cj_fee' config values must be present when invoking a
coinjoin via the api. the default config for the regtest env
did not include these values before, hence they could not
be overridden in docker-compose setup file.
* dev: switch irc server from miniirc to ergochat
* dev: start second joinmarket container
In order to successfully perform a CoinJoin, there must be at least one
maker. This commit adds a second JoinMarket container with
jmwalletd accessible on port 29183.
* dev: add helper script to mine a block
* dev: add container switch to regtest-control script
* dev: invoke mine-block in regtest-control script
* dev: add flag '--unmatured' to regtest-control script
Sometimes it is desired that block rewards do not reach maturity
immediately. This is convenient if you want to supply several wallets
with coins, but do not want to generate many blocks all the time.
* dev: add helper script to start maker service
This script helps in providing both JoinMarket containers a wallet with
spendable coins and starting the Maker Service in the secondary
container. Its main goal is to make CoinJoin transactions possible in the
regtest environment.
* dev: move common functions to script common.sh
* fix: use correct irc host in docker setup
* dev: use ergochat image from ghcr.io
* dev: dont lock secondary wallet in setup script
normally the wallet should be locked, but it seems this leads to the
maker service responding very slowly which causes failing coinjoins.
as the secondary instance is never interacted with directly, we can
refrain from unlocking the wallet for now.
* docs: add debug log command to docker readme
* cleanup: rename script 'regtest-control' to 'fund-wallet'
* dev: upgrade joinmarket from v0.9.3 to use current master branch
* review: add more descriptive comments and cleanup files
* dev: add script to fund jm wallet with regtest coins
* dev: fix typos and remove dead code from regtest-control.sh script
* dev: require wallet names to end with '.jmdat'