lnd.xprv/htlcswitch
Olaoluwa Osuntokun 9a6bb19770
lnwire: prep wire messages for TLV extensions
Messages:
- UpdateFulfillHTLC
- UpdateFee
- UpdateFailMalformedHTLC
- UpdateFailHTLC
- UpdateAddHTLC
- Shutdown
- RevokeAndAck
- ReplyShortChanIDsEnd
- ReplyChannelRange
- QueryShortChanIDs
- QueryChannelRange
- NodeAnnouncement
- Init
- GossipTimestampRange
- FundingSigned
- FundingLocked
- FundingCreated
- CommitSig
- ClosingSigned
- ChannelUpdate
- ChannelReestablish
- ChannelAnnouncement
- AnnounceSignatures

lnwire: update quickcheck tests, use constant for Error

multi: update unit tests to pass deep equal assertions with messages

In this commit, we update a series of unit tests in the code base to now
pass due to the new wire message encode/decode logic. In many instances,
we'll now manually set the extra bytes to an empty byte slice to avoid
comparisons that fail due to one message having an empty byte slice and
the other having a nil pointer.
2021-02-24 17:31:55 +01:00
..
hodl htlcswitch/hodl: switch from debug tag to dev 2018-10-05 13:04:45 +09:00
hop record: move CustomRecordSet 2019-12-12 00:12:19 +01:00
circuit_map.go multi: add reset closure to kvdb.Update 2020-11-05 17:57:12 +01: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 server+htlcswitch: auto compact sphinx DB too 2020-11-13 10:19:51 +01:00
decayedlog.go kvdb: add timeout options for bbolt (#4787) 2020-12-07 15:31:49 -08: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 htlcswitch: add notifications for forwards 2020-02-19 18:03:22 +02:00
interceptable_switch.go htlcswitch,rpc: expose onion blob for intercepts 2020-10-31 14:09:52 -03:00
interfaces.go watchtower/wtclient: parameterize backup task with channel type 2020-11-25 15:04:12 -08:00
link_isolated_test.go htlcswitch/test: add test cases that triggers empty commit sig 2019-11-06 09:21:21 +01:00
link_test.go htlcswitch: init mockFeeEstimator in other LinkChannelConfigs 2021-02-15 12:14:32 -08:00
link.go multi: cap anchors feerate at configurable maximum 2020-12-15 19:54:50 +01: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: init mockFeeEstimator in other LinkChannelConfigs 2021-02-15 12:14:32 -08: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 channeldb+htlcswitch: write wire messages using length prefix 2021-02-24 17:15:27 +01:00
sequencer.go multi: add reset closure to kvdb.Update 2020-11-05 17:57:12 +01:00
switch_test.go htlcswitch: remove fastsha256 in test 2020-06-24 18:08:38 +08:00
switch.go htlcswitch: log with format 2020-12-08 13:54:41 +01:00
test_utils.go htlcswitch: init mockFeeEstimator in other LinkChannelConfigs 2021-02-15 12:14:32 -08:00