lnd/htlcswitch
Joost Jager 09386213be
htlcswitch: log link message with channel point
In lnd, log messages about channels are generally logged with a
reference to their channel point rather than the short channel id.
Channel point is reorg-resistant and also easier to look up in for
example a block explorer.

In the link however, all log messages are accompanied by short channel
id. This makes it difficult to grep a log for all channel activity. The
PEER message for example which are often crucial to analyse, are logged
with channel points.

This commit modifies the link logging to also use channel points.
2021-08-16 08:24:35 +02:00
..
hodl htlcswitch/hodl: switch from debug tag to dev 2018-10-05 13:04:45 +09:00
hop htlcswitch: concurrent onion decoding 2021-05-24 20:12:57 +02:00
circuit_map.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
circuit_test.go server+mod: use ECDH interface for sphinx router 2020-05-20 09:05:36 +02:00
circuit.go htlcswitch: move hop iterator into htlcswitch/hop package 2019-09-05 15:30:31 +02:00
decayedlog_test.go multi: make decayed log DB remote compatible 2021-08-04 14:55:53 +02:00
decayedlog.go multi: make decayed log DB remote compatible 2021-08-04 14:55:53 +02:00
failure_detail.go htlcswitch: add linkError field to htlcpacket 2020-02-06 19:43:29 +02:00
failure.go htlcswitch: add linkError field to htlcpacket 2020-02-06 19:43:29 +02:00
htlcnotifier.go feature: expose preimage in forward+settle event 2021-06-15 22:01:24 +03:00
interceptable_switch.go htlcswitch: set sourceRef when resolving packets through interceptor 2021-05-07 10:31:22 -03:00
interfaces.go htlcswitch+peer: embed ChannelUpdateHandler in ChannelLink 2021-08-10 17:15:52 -04:00
link_isolated_test.go htlcswitch: introduce and embed packetHandler interface in ChannelLink 2021-08-10 17:15:51 -04:00
link_test.go htlcswitch: introduce and embed packetHandler interface in ChannelLink 2021-08-10 17:15:51 -04:00
link.go htlcswitch: log link message with channel point 2021-08-16 08:24:35 +02:00
linkfailure.go htlcswitch: add PermanentFailure to LinkFailureError 2020-11-04 10:50:28 +01:00
log.go htlcswitch/hop: fix logging 2019-09-09 13:52:35 +02:00
mailbox_test.go htlcswitch: change ForwardPackets to return error 2020-06-18 12:48:21 +03:00
mailbox.go htlcswitch: change ForwardPackets to return error 2020-06-18 12:48:21 +03:00
mock.go htlcswitch: introduce and embed packetHandler interface in ChannelLink 2021-08-10 17:15:51 -04:00
packet.go htlcswitch: expose custom records on intercepted packet 2020-06-27 11:00:46 +02:00
payment_result_test.go lnwire: prep wire messages for TLV extensions 2021-02-24 17:31:55 +01:00
payment_result.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
sequencer.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
switch_test.go feature: expose preimage in forward+settle event 2021-06-15 22:01:24 +03:00
switch.go htlcswitch+peer: CreateAndAddLink in switch, add messageSwitch to peer 2021-08-10 17:15:52 -04:00
test_utils.go htlcswitch+peer: pass BestHeight to ChannelLinkConfig 2021-08-10 17:15:49 -04:00