1
0

Bump joinmarket to fix receive-payjoin

This commit is contained in:
nicolas.dorier
2021-10-20 11:14:15 +09:00
parent 16bb5c5bae
commit ed98cf4455
2 changed files with 15 additions and 4 deletions

View File

@@ -3,8 +3,8 @@ version: "3"
services: services:
joinmarket: joinmarket:
container_name: joinmarket container_name: joinmarket
image: btcpayserver/joinmarket:0.9.1 image: btcpayserver/joinmarket:0.9.3-devbtcpay
restart: 'no' restart: unless-stopped
environment: environment:
READY_FILE: /root/.nbxplorer/btc_fully_synched READY_FILE: /root/.nbxplorer/btc_fully_synched
ENSURE_WALLET: 1 ENSURE_WALLET: 1
@@ -25,7 +25,8 @@ services:
- "nbxplorer_datadir:/root/.nbxplorer" - "nbxplorer_datadir:/root/.nbxplorer"
- "tor_datadir:/home/tor/.tor" - "tor_datadir:/home/tor/.tor"
expose: expose:
- 62601 - 62601 # obwatch
- 8080 # payjoin server
links: links:
- bitcoind - bitcoind

12
jm.sh
View File

@@ -13,6 +13,7 @@ Tooling to setup your joinmarket yield generator
bash: Open an interactive bash session in the joinmarket container bash: Open an interactive bash session in the joinmarket container
receive-payjoin: Receive a payjoin payment receive-payjoin: Receive a payjoin payment
sendpayment: Send a payjoin through coinjoin (password needed) sendpayment: Send a payjoin through coinjoin (password needed)
reset-config: Reset the configuration to its default value
Example: Example:
* jm.sh wallet-tool-generate * jm.sh wallet-tool-generate
@@ -21,6 +22,7 @@ Example:
* jm.sh receive-payjoin <amount> * jm.sh receive-payjoin <amount>
* jm.sh sendpayment <amount> <address> * jm.sh sendpayment <amount> <address>
* jm.sh wallet-tool history * jm.sh wallet-tool history
* jm.sh reset-config
* jm.sh bash * jm.sh bash
See https://github.com/btcpayserver/btcpayserver-docker/tree/master/docs/joinmarket.md for more information. See https://github.com/btcpayserver/btcpayserver-docker/tree/master/docs/joinmarket.md for more information.
@@ -34,6 +36,11 @@ while (( "$#" )); do
shift 1 shift 1
break; break;
;; ;;
reset-config)
CMD="$1"
shift 1
break;
;;
wallet-tool) wallet-tool)
CMD="$1" CMD="$1"
shift 1 shift 1
@@ -89,7 +96,10 @@ else
elif [[ "$CMD" == "set-wallet" ]]; then elif [[ "$CMD" == "set-wallet" ]]; then
docker exec joinmarket set-wallet.sh "$@" docker exec joinmarket set-wallet.sh "$@"
docker restart joinmarket docker restart joinmarket
elif [[ "$CMD" == "bash" ]]; then elif [[ "$CMD" == "reset-config" ]]; then
docker exec -ti joinmarket bash -c 'rm -f "$CONFIG"'
docker restart joinmarket
elif [[ "$CMD" == "bash" ]]; then
docker exec -ti joinmarket exec-wrapper.sh bash "$@" docker exec -ti joinmarket exec-wrapper.sh bash "$@"
else else
display_help display_help