Skip to content

Commit c0e1be0

Browse files
authored
Releases/v0.8.0 (#246)
* v0.8.0-rc.1 * cypherapps releases/v0.8.0 * Using published images v0.8.0-rc.1 * v0.8.0-rc.2 * Removed comments in builder and ask arch * Small improvement to build script * Right image tags when building locally * Added release-notes-v0.8.0.md * v0.8.0-rc.3 * v0.8.0-rc.4 * v0.8.0 final
1 parent 74f98c4 commit c0e1be0

File tree

4 files changed

+126
-31
lines changed

4 files changed

+126
-31
lines changed

build.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
TRACING=1
44

5-
# CYPHERNODE VERSION "v0.7.0-dev"
6-
CONF_VERSION="v0.7.0-dev-local"
7-
GATEKEEPER_VERSION="v0.7.0-dev-local"
8-
TOR_VERSION="v0.7.0-dev-local"
9-
PROXY_VERSION="v0.7.0-dev-local"
10-
NOTIFIER_VERSION="v0.7.0-dev-local"
11-
PROXYCRON_VERSION="v0.7.0-dev-local"
12-
OTSCLIENT_VERSION="v0.7.0-dev-local"
13-
PYCOIN_VERSION="v0.7.0-dev-local"
5+
# CYPHERNODE VERSION "v0.8.0"
6+
CONF_VERSION="v0.8.0-local"
7+
GATEKEEPER_VERSION="v0.8.0-local"
8+
TOR_VERSION="v0.8.0-local"
9+
PROXY_VERSION="v0.8.0-local"
10+
NOTIFIER_VERSION="v0.8.0-local"
11+
PROXYCRON_VERSION="v0.8.0-local"
12+
OTSCLIENT_VERSION="v0.8.0-local"
13+
PYCOIN_VERSION="v0.8.0-local"
1414

1515
trace()
1616
{

dist/setup.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -859,17 +859,17 @@ ALWAYSYES=0
859859
SUDO_REQUIRED=0
860860
AUTOSTART=0
861861

862-
# CYPHERNODE VERSION "v0.7.0-dev"
863-
SETUP_VERSION="v0.7.0-dev"
864-
CONF_VERSION="v0.7.0-dev"
865-
GATEKEEPER_VERSION="v0.7.0-dev"
866-
TOR_VERSION="v0.7.0-dev"
867-
PROXY_VERSION="v0.7.0-dev"
868-
NOTIFIER_VERSION="v0.7.0-dev"
869-
PROXYCRON_VERSION="v0.7.0-dev"
870-
OTSCLIENT_VERSION="v0.7.0-dev"
871-
PYCOIN_VERSION="v0.7.0-dev"
872-
CYPHERAPPS_VERSION="dev"
862+
# CYPHERNODE VERSION "v0.8.0"
863+
SETUP_VERSION="v0.8.0"
864+
CONF_VERSION="v0.8.0"
865+
GATEKEEPER_VERSION="v0.8.0"
866+
TOR_VERSION="v0.8.0"
867+
PROXY_VERSION="v0.8.0"
868+
NOTIFIER_VERSION="v0.8.0"
869+
PROXYCRON_VERSION="v0.8.0"
870+
OTSCLIENT_VERSION="v0.8.0"
871+
PYCOIN_VERSION="v0.8.0"
872+
CYPHERAPPS_VERSION="v0.8.0"
873873
BITCOIN_VERSION="v22.0"
874874
LIGHTNING_VERSION="v0.10.2"
875875
TRAEFIK_VERSION="v1.7.9-alpine"
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Cyphernode v0.8.0
2+
3+
Say hello to PostgreSQL! We moved from SQLite3 to PostgreSQL to take advantage of its enterprise-class features. Here are some of our motivations:
4+
5+
- Better overall performance
6+
- Easier to implement replicas / distributed redundancy
7+
- Running in an independent container: can be used by other containers as well
8+
- More/better administration tools
9+
- Easier to configure C-lightning to use PostgreSQL
10+
- Future development
11+
12+
All of that may also be possible with SQLite3, but with a lot more work.
13+
14+
If you have an existing Cyphernode installation with existing data, Cyphernode will take care of the migration: we built all the required ETL scripts that will hopefully flawlessly move your current instance to the new DBMS.
15+
16+
There are also several improvements and new features in this release. Thanks go to [@pablof7z](https://twitter.com/pablof7z) @phillamy and @schulterklopfer for their valuable contributions, feedbacks and inputs!
17+
18+
## New features
19+
20+
- PostgreSQL: migrating from SQLite3 to PostgreSQL
21+
- Automatic migration from current SQLite3 to new PostgreSQL (ETL)
22+
- New Indexes
23+
- Separate container
24+
- Support for labels when:
25+
- watching addresses
26+
- getting new addresses
27+
- New `ln_paystatus` endpoint
28+
- New `validateaddress` endpoint
29+
- New `deriveindex_bitcoind` endpoint (20x faster than Pycoin), also supports ypub/upub and zpub/vpub notations!
30+
- New `derivepubpath_bitcoind` (20x faster than Pycoin), also supports ypub/upub and zpub/vpub notations!
31+
32+
## Fixes and improvements
33+
34+
- Refactoring of _manage_missed_conf_ and _confirmation management_
35+
- `ln_pay` now first pays using `legacy_pay` (MPP disabled) and on failure (for routing reasons), retry with the `pay` plugin (MPP enabled by default)
36+
- Small fixes in `ln_pay`
37+
- Small fixes in `ln_delinvoice`
38+
- Small fixes in `ln_connectfund`
39+
- Small fixes in LN webhooks
40+
- `ln_listpays` can now take a `bolt11` string argument
41+
- Sometimes, Gatekeeper was not compliant to JWT: now it is but still compatible with previous buggy version
42+
- Fixed CN client examples
43+
- Gatekeeper now returns _401 Unauthorized_ on authentication error and _403 Forbidden_ on authorization error
44+
- Gatekeeper now waits for the Proxy to be ready before listening to requests
45+
- More graceful shutdown on certain containers
46+
- Docker now uses the `helloworld` endpoint to check Proxy's health
47+
- Better way to determine slow machine during setup
48+
- Better tests when starting up
49+
- Fixed a bug when running Cyphernode as current user instead of dedicated user
50+
- When trying to add a batcher that already exists (same `label`), it will now modify existing one
51+
- Got rid of the full rawtx from the database! Let's use Bitcoin Core if needed
52+
- `helloworld` endpoint now returns a JSON compliant response
53+
- Added and improved tests:
54+
- api_auth_docker/tests/test-gatekeeper.sh
55+
- proxy_docker/app/tests/test-manage-missed.sh
56+
- proxy_docker/app/tests/test-batching.sh
57+
- proxy_docker/app/tests/test-derive.sh
58+
- proxy_docker/app/tests/test-watchpub32.sh
59+
- proxy_docker/app/tests/test-watches.sh
60+
- Fixed typos and improved clarity in messages
61+
- Bump ws from 5.2.2 to 5.2.3 in /cyphernodeconf_docker
62+
- Bump path-parse from 1.0.6 to 1.0.7 in /cyphernodeconf_docker
63+
- Bump tmpl from 1.0.4 to 1.0.5 in /cyphernodeconf_docker
64+
- Bump validator from 10.11.0 to 13.7.0 in /cyphernodeconf_docker
65+
- Code cleaning
66+
67+
## Upgrades
68+
69+
- C-lightning from v0.10.0 to v0.10.2
70+
- Bitcoin Core from v0.21.1 to v22.0
71+
72+
## Cypherapps
73+
74+
- Batcher from v0.1.2 to v0.2.0
75+
- Spark Wallet from v0.2.17 to v0.3.0
76+
- Specter from v1.3.1 to v1.7.1

docker-build.sh

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
# Must be logged to docker hub:
44
# docker login -u cyphernode
@@ -59,18 +59,37 @@ x86_docker="amd64"
5959
arm_docker="arm"
6060
aarch64_docker="arm64"
6161

62-
# Build amd64 and arm64 first, building for arm will trigger the manifest creation and push on hub
63-
64-
#arch_docker=${arm_docker}
65-
#arch_docker=${aarch64_docker}
66-
arch_docker=${x86_docker}
67-
6862
v1="v0"
69-
v2="v0.7"
70-
v3="v0.7.0"
63+
v2="v0.8"
64+
v3="v0.8.0"
65+
66+
# Build amd64 and arm64 first, building for arm will trigger the manifest creation and push on hub
7167

72-
echo "\nBuilding Cyphernode Core containers\n"
73-
echo "arch_docker=$arch_docker\n"
68+
echo -e "\nBuild ${v3} for:\n"
69+
echo "1) AMD 64 bits (Most PCs)"
70+
echo "2) ARM 64 bits (RPi4, Mac M1)"
71+
echo "3) ARM 32 bits (RPi2-3)"
72+
echo -en "\nYour choice (1, 2, 3): "
73+
read arch_input
74+
75+
case "${arch_input}" in
76+
1)
77+
arch_docker=${x86_docker}
78+
;;
79+
2)
80+
arch_docker=${aarch64_docker}
81+
;;
82+
3)
83+
arch_docker=${arm_docker}
84+
;;
85+
*)
86+
echo "Not a valid choice."
87+
exit 1
88+
;;
89+
esac
90+
91+
echo -e "\nBuilding Cyphernode Core containers\n"
92+
echo -e "arch_docker=$arch_docker\n"
7493

7594
image "gatekeeper" "api_auth_docker/" ${arch_docker} \
7695
&& image "proxycron" "cron_docker/" ${arch_docker} \

0 commit comments

Comments
 (0)