19 Commits (ed0002926a179bec586bdfb01c518c618ac3864a)
 

Author SHA1 Message Date
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