47 Commits (master)
 

Author SHA1 Message Date
alex 2290644eba
ndg: patch upgrade to v0.8.1
a bigger keyboard buttons font:
https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.8.1
1 month ago
alex 27a0f2d122
lnd: patch update from 0.17.3 to 0.17.4
bugfixes for memory leaks, chain sync in pruned nodes and pending
channel opening.

https://github.com/lightningnetwork/lnd/blob/v0.17.4-beta/docs/release-notes/release-notes-0.17.4.md
1 month ago
alex ede44be2e3
btc: upgrade bitcoind from 25.1 to 26.1
selected pertinent changes from release notes:

* nodes with multiple reachable networks will actively try to have
  at least one outbound connection to each network. this improves
  individual resistance to eclipse attacks and network level resistance
  to partition attacks.
* when using assumeutxo with -prune, the prune budget may be exceeded
  if it is set lower than 1100MB
* getrawtransaction segfault bugfix
* log mempool loading progress

all details:

- https://bitcoincore.org/en/releases/26.0/
- https://bitcoincore.org/en/releases/26.1/
1 month ago
alex 14c97fa33d
ndg: upgrade to v0.8.0
this release contains a screenlock feature.
see details on the release page:
https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.8.0
1 month ago
alex 5adea7983d
ndg: upgrade to v0.7.0
this release features node name change facility.
see details on the release page:
https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.7.0
2 months ago
alex 8571fe39aa
lnd: patch update from 0.17.2 to 0.17.3
a concurrency and memory related hotfix release.

https://github.com/lightningnetwork/lnd/blob/v0.17.3-beta/docs/release-notes/release-notes-0.17.3.md
5 months ago
alex 23911a4c9d
btc: upgrade bitcoind from 24.0.1 to 25.1
a couple selected release notes:

* transactions with 65+ bytes in non-witness data are now acceptable by
  mempool and relay policies.
* improvements to parallel compact block downloads
* avoid serving stale fee estimates

new features which nakamochi might find useful in the future:

* a new shutdownnotify option, a command to exec synchronously before
  bitcoind initiates its shutdown sequence
* a new /rest/deploymentinfo endpoint which reports consensus changes

all details:

- https://bitcoincore.org/en/releases/25.0/
- https://bitcoincore.org/en/releases/25.1/
6 months ago
alex e7cfbb235d
lnd: upgrade from 0.16.4 to 0.17.2
for what concerns nakamochi's usage, mostly stability improvements
and bugfixes. see all details here:

- https://github.com/lightningnetwork/lnd/blob/master/docs/release-notes/release-notes-0.17.0.md
- https://github.com/lightningnetwork/lnd/blob/v0-17-1-branch/docs/release-notes/release-notes-0.17.1.md
- https://github.com/lightningnetwork/lnd/blob/v0.17.2-beta/docs/release-notes/release-notes-0.17.2.md
6 months ago
alex b5fa0a0cad
lnd: evaluate timestamp at sv start time
a previous commit 8d6ec7b was missing an escaped $ sign which made the
"date" command evaluate at sysupdates execution, not sv start time.
6 months ago
alex 8d6ec7b624
lnd: suspend service start until clock sync
ndg release v0.6.0 introduced a mechanism in which LND TLS cert is
regenerated if ndg's HTTP client refuses to initialize TLS certs bundle
in https://git.qcode.ch/nakamochi/ndg/commit/b57ebacd

in most cases, it is due to outdated cert's notAfter.
however, because raspberry pi cannot preserve current system time,
it starts from year 1969 and the TLS client init fails.

the latter leads to ndg forcing LND to regenerate the certs to no avail
because the system time isn't syncronized yet.

simple solution: wait to start LND service until the system clock is in
sync.
7 months ago
alex 9861dbebcd
ndg: upgrade to v0.6.0
this release includes lightning node setup workflow without using any
command line or SSH.

see some screenshots on the release page:
https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.6.0
7 months ago
alex ca905107a1
ndg: make sure logs go into syslog instead of tty 7 months ago
alex 55a10aa04a
ndg: upgrade to v0.5.1
a previous unsuccessful release v0.5.0, introduced in f9b269a, contained
memleaks and deadlocks which are now resolved in v0.5.1.

see https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.5.1
8 months ago
alex 8d3a965b05
revert "ndg: upgrade to v0.5.0"
this reverts commit f9b269adf1

something's causing nd or ndg to crash. needs investigation.
8 months ago
alex f9b269adf1
ndg: upgrade to v0.5.0
the release adds UI for switch sysupdates channel.
there are two channels at the moment: edge (dev branch)
and stable (master branch).

see all release details at
https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.5.0
8 months ago
alex 597285e9a0
ndg: upgrade to v0.4.0
this ndg release adds lightning tab implementation and on-chain balance
on the bitcoin tab.

see all release details at
https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.4.0
9 months ago
alex b3066bf173
ndg: patch update to v0.3.1
the patch release improves on v0.3.0 in that it makes the UI update
immediately with most recent data on wakeup.

released at
https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.3.1
9 months ago
alex 15e44a80b0
ndg: upgrade to v0.3.0
this adds bitcoin tab initial implementation as per
nakamochi/ndg#9

released at
https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.3.0
9 months ago
alex 3253756c2d
ndg: push a wip version v0.2.0-1-gff883042-dev to dev channel
experiments with the bitcoin tab on touch screen:
https://git.qcode.ch/nakamochi/ndg/commit/ff883042

a pre-release is at
https://git.qcode.ch/nakamochi/ndg/releases/tag/0.2.0-1-gff883042-dev
10 months ago
alex c4dba55535
ndg: upgrade from v0.1.1 to v0.2.0
- poweroff progress report in the UI
- semver display in an info window
- stable SIGTERM handling

see release notes here:
https://git.qcode.ch/nakamochi/ndg/releases/tag/v0.2.0
10 months ago
alex 1b27131b04
lnd: patch update from 0.16.3 to 0.16.4
a memory leak bugfix:
https://github.com/btcsuite/btcwallet/pull/872

https://github.com/lightningnetwork/lnd/releases/tag/v0.16.4-beta
10 months ago
alex d2eb5156cb
lnd: patch update from 0.16.2 to 0.16.3
CPU usage optimization in mempool and other improvements:
https://github.com/lightningnetwork/lnd/blob/master/docs/release-notes/release-notes-0.16.3.md
11 months ago
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.
11 months 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.
11 months 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
1 year 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
1 year 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
1 year ago
alex 5672f8dbb9
docs: add a section on how to test changes on a live device 1 year 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.
1 year 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.
1 year 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
1 year 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
1 year 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.
1 year 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.
1 year 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".
1 year 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.
1 year 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.
1 year ago
alex 374bbe4fbb
keys: add my other, newer gpg key
this is part of my keys rollover.
1 year 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
1 year 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