|
| 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 |
0 commit comments