lnd/lntypes
Keagan McClelland 1a5b5c5f62
lntypes: Add a ChannelParty type.
This commit introduces a ChannelParty type to LND. It is useful for
consolidating all references to the duality between the local and
remote nodes. This is currently handled by having named struct rows
or named boolean parameters, named either "local" or "remote". This
change alleviates the programmer from having to decide which node
should be bound to `true` or `false`. In an upcoming commit we will
change callsites to use this.
2024-07-31 14:50:23 -07:00
..
channel_party.go lntypes: Add a ChannelParty type. 2024-07-31 14:50:23 -07:00
comparison_test.go lntypes+routing: add generic Min/Max functions 2022-12-12 13:22:28 +01:00
comparison.go lntypes+routing: add generic Min/Max functions 2022-12-12 13:22:28 +01:00
hash.go lntypes: add ZeroHash 2019-06-05 12:41:41 +02:00
preimage.go lntypes: add preimage Matches method 2019-03-15 10:08:26 +01:00
txsize_test.go lntypes: add new units WeightUnit and VByte 2024-05-24 23:56:28 +08:00
txsize.go lntypes: add new units WeightUnit and VByte 2024-05-24 23:56:28 +08:00