mirror of
https://github.com/runcitadel/core.git
synced 2024-12-28 15:42:59 +00:00
Update various dependencies & switch to bitcoin core
This commit is contained in:
parent
29fd455ffb
commit
c71bbcb7e5
|
@ -2,9 +2,9 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
compose: v2.12.2
|
||||
compose: v2.17.2
|
||||
dashboard: ghcr.io/runcitadel/dashboard:no-https@sha256:7fc5a5b70496240e6e48a381e8ac3c7978e7343285fda4951c00846580d6216d
|
||||
manager: runcitadel/api:main@sha256:12d299d8850d830fa5abd0e64c8537dfcbaec662de18376b0d7b01fa59895132
|
||||
middleware: ghcr.io/runcitadel/middleware:main@sha256:cbd5fd2ab5afe420025c61e276d21c79a004d6148b8dfdd58649adb55907682b
|
||||
app-cli: runcitadel/app-manager:backports@sha256:11a8c1b73fe5e4c6f45126d5bde10b5a469977e280319c62e2edfacad256012d
|
||||
app-cli: runcitadel/app-manager:backports@sha256:953c23bf2e176a0b2b9dbe4e3e82d897b04ae6048a2e202a3b043c6e393285c5
|
||||
tor: ghcr.io/runcitadel/tor-latest:main@sha256:761948a86f8367238eb61f991cf87094b12a8a772be0eabec00d66164d13075f
|
||||
|
|
11
karen
11
karen
|
@ -10,11 +10,11 @@ import os
|
|||
rootDir = os.path.dirname(os.path.abspath(__file__))
|
||||
os.chdir(rootDir)
|
||||
|
||||
if os.path.exists("karen.socket"):
|
||||
os.remove("karen.socket")
|
||||
if os.path.exists("events/karen.socket"):
|
||||
os.remove("events/karen.socket")
|
||||
|
||||
server = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||
server.bind("karen.socket")
|
||||
server.bind("events/karen.socket")
|
||||
|
||||
while True:
|
||||
server.listen(1)
|
||||
|
@ -23,9 +23,12 @@ while True:
|
|||
if datagram:
|
||||
instructions = datagram.decode("utf-8").strip().split()
|
||||
cmd = instructions[0]
|
||||
if(cmd == "trigger"):
|
||||
if cmd == "trigger":
|
||||
trigger = instructions[1]
|
||||
instructions.pop(0)
|
||||
instructions.pop(0)
|
||||
os.system("events/triggers/{} {}".format(trigger, " ".join(instructions)))
|
||||
elif cmd == "exec":
|
||||
instructions.pop(0)
|
||||
os.system(" ".join(instructions))
|
||||
conn.close()
|
||||
|
|
|
@ -117,7 +117,6 @@ cat <<EOF > "$CITADEL_ROOT"/statuses/update-status.json
|
|||
{"state": "installing", "progress": 80, "description": "Starting new containers", "updateTo": "$RELEASE"}
|
||||
EOF
|
||||
cd "$CITADEL_ROOT"
|
||||
rm -f apps/port*.yml || true
|
||||
./scripts/start || true
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# SPDX-FileCopyrightText: 2021-2022 Citadel and contributors
|
||||
# SPDX-FileCopyrightText: 2021-2023 Citadel and contributors
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
bitcoin:
|
||||
container_name: bitcoin
|
||||
image: lncm/bitcoind:v23.0@sha256:57317c90d89156a30327fe1b8e51b836e0fd1a8ba13721eb2e75e6b35a570e26
|
||||
image: lncm/bitcoind:v24.0@sha256:db19fe46f30acd3854f4f0d239278137d828ce3728f925c8d92faaab1ba8556a
|
||||
depends_on:
|
||||
- tor
|
||||
volumes:
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# SPDX-FileCopyrightText: 2021-2022 Citadel and contributors
|
||||
# SPDX-FileCopyrightText: 2021-2023 Citadel and contributors
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
bitcoin:
|
||||
container_name: bitcoin
|
||||
image: ghcr.io/runcitadel/bitcoinknots:main@sha256:5fbee0f6f0d09d42aacc11c373ffe6162210c42ce21e6eba294e547e3ad80219
|
||||
image: lncm/bitcoind:v24.0@sha256:db19fe46f30acd3854f4f0d239278137d828ce3728f925c8d92faaab1ba8556a
|
||||
depends_on:
|
||||
- tor
|
||||
volumes:
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# SPDX-FileCopyrightText: 2022 Citadel and contributors
|
||||
# SPDX-FileCopyrightText: 2022-2023 Citadel and contributors
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
lightning:
|
||||
container_name: lightning
|
||||
image: lightninglabs/lnd:v0.15.4-beta@sha256:f5b19812ab7d28faa350838dac4bb88e7fcf9ae905e44d3539be41a97b80ca23
|
||||
image: lightninglabs/lnd:v0.15.5-beta@sha256:ce94136ccfc48d36f058ae48fdeb53d84dbbb8f972bbae3af98e4fdfb98d641b
|
||||
user: 1000:1000
|
||||
depends_on:
|
||||
- tor
|
||||
|
|
|
@ -68,7 +68,7 @@ def setService(name, implementation):
|
|||
except FileNotFoundError:
|
||||
installed = {
|
||||
"lightning": "lnd",
|
||||
"bitcoin": "knots"
|
||||
"bitcoin": "core"
|
||||
}
|
||||
installed[name] = implementation
|
||||
with open(os.path.join(nodeRoot, "services", "installed.yml"), 'w') as stream:
|
||||
|
@ -99,7 +99,7 @@ def uninstallService(name):
|
|||
except FileNotFoundError:
|
||||
installed = {
|
||||
"lightning": "lnd",
|
||||
"bitcoin": "knots"
|
||||
"bitcoin": "core"
|
||||
}
|
||||
try:
|
||||
del installed[name]
|
||||
|
@ -116,7 +116,7 @@ def installServices():
|
|||
except FileNotFoundError:
|
||||
installed = {
|
||||
"lightning": "lnd",
|
||||
"bitcoin": "knots"
|
||||
"bitcoin": "core"
|
||||
}
|
||||
|
||||
for key, value in installed.items():
|
||||
|
|
|
@ -38,9 +38,6 @@ blockfilterindex=1
|
|||
peerbloomfilters=1
|
||||
peerblockfilters=1
|
||||
|
||||
# Bitcoin Knots only, Bitcoin Core simply ignores this
|
||||
reindex=auto
|
||||
|
||||
<external-ip>
|
||||
|
||||
# NOTE: The options addnode, connect, port, bind, rpcport, rpcbind and wallet
|
||||
|
|
Loading…
Reference in New Issue
Block a user