You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ndg/src
alex a080e1ac79
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
nd,ui: add a new facility to be able to change node name
the "nodename" encompasses lnd alias and OS hostname.
while the former may be seen by lightning node peers as a node name, the
latter is how the device is seen on a local network such as WiFi.

upon receiving a comm message set_nodename, nd sets both lightning node
alias and hostname to that new name while applying restrictions such as
RFC 1123 for hostnames.

the lightning alias is written to lnd config file, regenerated and
persistent, after which the lnd daemon is restarted to pick up the
changes. network host name is changed by writing the name to
/etc/hostname and issuing "hostname <newname>" shell command.

while persisting operations are atomic, the whole sequence isn't.
in the latter case an inconsistency can be eliminated by sending a
set_nodename msg again.

the nd daemon also includes the OS hostname in the settings message when
sending it to ngui.
9 months ago
..
lightning nd,ui: add a new facility to be able to change node name 9 months ago
nd nd,ui: add a new facility to be able to change node name 9 months ago
sys nd,ui: add a new facility to be able to change node name 9 months ago
test nd,ui: add a new facility to be able to change node name 9 months ago
ui nd,ui: add a new facility to be able to change node name 9 months ago
bitcoindrpc.zig nd,ngui: remove memleaks and deadlocks mostly from v0.4.0 1 year ago
comm.zig nd,ui: add a new facility to be able to change node name 9 months ago
lightning.zig nd/conf: add lnd config (de)serializer and use it conf gen 10 months ago
nd.zig nd,ngui: remove memleaks and deadlocks mostly from v0.4.0 1 year ago
ngui.zig nd,ngui: add lightning setup process, phone pairing and reset 1 year ago
sys.zig nd,ui: add a new facility to be able to change node name 9 months ago
test.zig nd,ui: add a new facility to be able to change node name 9 months ago
types.zig nd,ui: add a new facility to be able to change node name 9 months ago
xfmt.zig ui: visualize lnd lightning report on the tab panel 1 year ago