25 Commits (037693e7040d7e98e7aaa30a75a2df739208d01c)
 

Author SHA1 Message Date
alex 037693e704
btc,lnd: ensure service loggers are present
without the loggers attached to the sv services, the daemons output to
the terminal, which is the touchscreen and thus "drawing" over
the ngui UI.
1 year ago
alex d71d3f15eb
apply: report a bit more info during an update run
this "splits" the output into sections so it's easier to attribute what
is curretly run. useful for debugging failures. in the end, the script
reports total CPU time it took to run the update.
1 year ago
alex 0273e3e9ca
lnd: a bigfix update from v0.16.1 to v0.16.2
the release mostly improves around mempool loading on startup.

release notes are at
https://github.com/lightningnetwork/lnd/blob/master/docs/release-notes/release-notes-0.16.2.md
but the actual changes are in btcsuite/btcwallet:
https://github.com/btcsuite/btcwallet/compare/v0.16.8...v0.16.9
2 years ago
alex 2b5baeaefc
lnd: patch update from v0.16.0 to v0.16.1
a bugfix release. one notable change is the default CLTV delay increase
from 40 to 80 blocks, or equivalently from ~7 hours to ~13 hours.
this is a more conservative default time lock which can help to avoid
unnecessary force closures due to persistent mempool backlog or node downtime.

more details at:
https://github.com/lightningnetwork/lnd/blob/master/docs/release-notes/release-notes-0.16.1.md
2 years ago
alex 535212dcac
lnd: upgrade from v0.15.5 to v0.16.0
no breaking changes. release highlights:

- prioritize sending out local gossip updates to all connected peers
- potentially missed channel updates bugfix
- rebroadcast unconfirmed transactions with each passing block the transaction
hasn't been confirmed
- channel updates without the maxHTLC message flag set are recognized as
invalid and are not relayed
- new pathfinding algorithms; leaving nakamochi with the default for now
- watchtower improvements; we don't run a watchtower at the moment
- cli now recognizes base_fee_msat and fee_rate_ppm flags for openchannel command

read more at https://lightning.engineering/posts/2023-03-29-lnd-0.16-launch/
and https://github.com/lightningnetwork/lnd/blob/master/docs/release-notes/release-notes-0.16.0.md
2 years ago
alex 5672f8dbb9
docs: add a section on how to test changes on a live device 2 years ago
alex ed0002926a
base: disable 'abort on errors' in tor setup script
the 'set -e' prevents it from actually updating the config file and
restarting when a new conf file has different contents.
2 years ago
alex a605b757d0
base: add tor service setup and config
the tor service provides hidden services for bitcoin and lightning.
in the latter case, both P2P and RPC/REST.

the commit also starts a new directory files. the idea is to mirror
config files layout in the target system.
2 years ago
alex 8be9658774
ndg: update from v0.1.0 to v0.1.1
a bugfix patch release
https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.1.1
2 years ago
alex 1be6a4dbe8
ndg: make sure ngui process terminates at sv stop
it is unclear why ngui is sometimes hanging after stopping nd service.
for now, this is a working around. follow this issue for more:
nakamochi/ndg#17
2 years ago
alex e856de67ac
ndg: add nakamochi daemon and gui setup scripts
very similar to btc and lnd.
bin downloads are directly from https://git.qcode.ch/nakamochi/ndg/releases.
2 years ago
alex 57d9548b84
apply: make sure each stage starts off back from the repo root dir
the apply.sh script should assume current directory is arbitrary after
executing each step: base, bitcoin, lnd and so on.

this commit simply changes current dir to the repo root before executing
every step.
2 years ago
alex aee0b8a3aa
btc: add bitcoin core setup using the latest v24.0.1
the scripts are nearly identical to lnd/env.

current nakamochi nodes are running bitcoind v23. so, this also upgrades
to the latest. release notes are here:
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-24.0.1.md
a notable change in v24 is the "full rbf".
2 years ago
alex 35f87341e6
base: preserve sysupdates channel on initial setup
the first run of update.sh sets up a cron job to run itself
periodically. the update script takes one position argument, the git
branch to pull changes from, which is also known as "sysupdates channel"
- master for stable, dev for testing.

the sysupdates channel was lost in the cron job setup, always defaulting
to master (stable). this commit preserves the original arg value given
to update.sh during the initial run.
2 years ago
alex 543e6b2809
base: preserve exec attr on /etc/cron.hourly/sysupdate
when testing upcoming changes on a live node, it is desirable to turn
off automatic updates simply by removing the x file permissions bit.
this commit makes sure the x bit is set only for newly created file.
2 years ago
alex 374bbe4fbb
keys: add my other, newer gpg key
this is part of my keys rollover.
2 years ago
alex 4a11224e1e
lnd: upgrade from 0.15.4 to 0.15.5
not much new, just a few bugfixes:
https://github.com/lightningnetwork/lnd/blob/v0-15-5-branch/docs/release-notes/release-notes-0.15.5.md
2 years ago
alex ac9f174568
lnd: upgrade from 0.15.3 to 0.15.4
an emergency hot fix release due to a bug where lnd nodes are unable to
parse certain transactions with very large number of witness inputs.

https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta
2 years ago
alex eebae4d129
lnd: upgrade from 0.15.2 to 0.15.3
extract from upstream release notes:

- bug has been fixed where the responder of a zero-conf channel could forget
about the channel after a hard-coded 2016 blocks
- bug where LND wouldn't send a ChannelUpdate during a channel open has been fixed
- bug has been fixed that caused fee estimation to be incorrect for taproot
inputs when using the SendOutputs call
- bug has been fixed that could cause lnd to underpay for co-op close transaction
when or both of the outputs used a P2TR address

all details are here:
https://github.com/lightningnetwork/lnd/releases/tag/v0.15.3-beta
2 years ago
alex 0ef2a8ff60
docs: clarify that shell scripts are a very temporary solution 2 years ago
alex cf56b2a567
base: switch from daily to hourly updates
in an event of a security vuln or other bug reports, nodes should get
updates as quickly as possible.
2 years ago
alex 1c6ddb1f6a
lnd: correct a typo where chmod +x was on the old run script
previous commit shut down lnd but never brought it up.
this update corrects the typo and starts the lnd service.
2 years ago
alex 9cd0affbd1
base,lnd: void linux base pkg and lnd 0.15.2 update
lnd release:
https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta

an urgent bugfix
2 years ago
alex 113868947d
update.sh: correct a REPO_DIR -> REPODIR typo 2 years ago
alex 5783d0ad37
initial import 2 years ago