Skip to content

Commit

Permalink
Merge pull request #224 from SatoshiPortal/releases/v0.7.0
Browse files Browse the repository at this point in the history
Releases/v0.7.0
  • Loading branch information
Kexkey authored Jul 1, 2021
2 parents 080cc3b + 00bb08b commit f3419ed
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 77 deletions.
18 changes: 9 additions & 9 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

TRACING=1

# CYPHERNODE VERSION "v0.6.0-dev", dev over v0.6.0
CONF_VERSION="v0.6.0-dev-local"
GATEKEEPER_VERSION="v0.6.0-dev-local"
TOR_VERSION="v0.6.0-dev-local"
PROXY_VERSION="v0.6.0-dev-local"
NOTIFIER_VERSION="v0.6.0-dev-local"
PROXYCRON_VERSION="v0.6.0-dev-local"
OTSCLIENT_VERSION="v0.6.0-dev-local"
PYCOIN_VERSION="v0.6.0-dev-local"
# CYPHERNODE VERSION "v0.7.0"
CONF_VERSION="v0.7.0-local"
GATEKEEPER_VERSION="v0.7.0-local"
TOR_VERSION="v0.7.0-local"
PROXY_VERSION="v0.7.0-local"
NOTIFIER_VERSION="v0.7.0-local"
PROXYCRON_VERSION="v0.7.0-local"
OTSCLIENT_VERSION="v0.7.0-local"
PYCOIN_VERSION="v0.7.0-local"

trace()
{
Expand Down
5 changes: 0 additions & 5 deletions cyphernodeconf_docker/build.sh

This file was deleted.

48 changes: 0 additions & 48 deletions cyphernodeconf_docker/run.sh

This file was deleted.

22 changes: 11 additions & 11 deletions dist/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -849,17 +849,17 @@ ALWAYSYES=0
SUDO_REQUIRED=0
AUTOSTART=0

# CYPHERNODE VERSION "v0.6.0-dev", dev over v0.6.0
SETUP_VERSION="v0.6.0-dev"
CONF_VERSION="v0.6.0-dev"
GATEKEEPER_VERSION="v0.6.0-dev"
TOR_VERSION="v0.6.0-dev"
PROXY_VERSION="v0.6.0-dev"
NOTIFIER_VERSION="v0.6.0-dev"
PROXYCRON_VERSION="v0.6.0-dev"
OTSCLIENT_VERSION="v0.6.0-dev"
PYCOIN_VERSION="v0.6.0-dev"
CYPHERAPPS_VERSION="dev"
# CYPHERNODE VERSION "v0.7.0"
SETUP_VERSION="v0.7.0"
CONF_VERSION="v0.7.0"
GATEKEEPER_VERSION="v0.7.0"
TOR_VERSION="v0.7.0"
PROXY_VERSION="v0.7.0"
NOTIFIER_VERSION="v0.7.0"
PROXYCRON_VERSION="v0.7.0"
OTSCLIENT_VERSION="v0.7.0"
PYCOIN_VERSION="v0.7.0"
CYPHERAPPS_VERSION="v0.7.0"
BITCOIN_VERSION="v0.21.1"
LIGHTNING_VERSION="v0.10.0"
TRAEFIK_VERSION="v1.7.9-alpine"
Expand Down
4 changes: 2 additions & 2 deletions docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ aarch64_docker="arm64"
arch_docker=${x86_docker}

v1="v0"
v2="v0.6"
v3="v0.6.0"
v2="v0.7"
v3="v0.7.0"

echo "\nBuilding Cyphernode Core containers\n"
echo "arch_docker=$arch_docker\n"
Expand Down
3 changes: 2 additions & 1 deletion proxy_docker/app/script/batching.sh
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ removefrombatch() {
trace "[removefrombatch] id missing"
response='{"result":null,"error":{"code":-32700,"message":"outputId is required","data":'${request}'}}'
else
batcher_id=$(sql "SELECT batcher_id FROM recipient WHERE id=${id}")
# We don't want to remove an already spent output
batcher_id=$(sql "SELECT batcher_id FROM recipient WHERE id=${id} AND tx_id IS NULL")
returncode=$?
trace_rc ${returncode}

Expand Down
14 changes: 13 additions & 1 deletion proxy_docker/app/script/watchrequest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ watchtxidrequest() {
trace "[watchtxidrequest] cbxconf_url=${cbxconf_url}"
local nbxconf=$(echo "${request}" | jq ".nbxconf")
trace "[watchtxidrequest] nbxconf=${nbxconf}"
local cb1cond
local cbxcond
local inserted
local id_inserted
local result
Expand All @@ -353,7 +355,17 @@ watchtxidrequest() {

if [ "${returncode}" -eq 0 ]; then
inserted=1
id_inserted=$(sql "SELECT id FROM watching_by_txid WHERE txid=${txid} AND callback1conf=${cb1conf_url} AND callbackxconf=${cbxconf_url}")
if [ "${cb1conf_url}" = "null" ]; then
cb1cond=" IS NULL"
else
cb1cond="=${cb1conf_url}"
fi
if [ "${cbxconf_url}" = "null" ]; then
cbxcond=" IS NULL"
else
cbxcond="=${cbxconf_url}"
fi
id_inserted=$(sql "SELECT id FROM watching_by_txid WHERE txid=${txid} AND callback1conf${cb1cond} AND callbackxconf${cbxcond}")
trace "[watchtxidrequest] id_inserted: ${id_inserted}"
else
inserted=0
Expand Down

0 comments on commit f3419ed

Please sign in to comment.