lnd.xprv/discovery
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
..
bootstrapper.go multi: use timeout field in dialer 2020-09-16 11:50:04 +08:00
chan_series.go discovery: adhere to proper channel chunk splitting for ReplyChannelRange 2020-12-08 15:18:07 -08:00
gossiper_test.go discovery/gossiper: ignore remote ChannelAnnouncement for own channel 2021-02-11 15:13:51 +01:00
gossiper.go discovery/gossiper: ignore remote ChannelAnnouncement for own channel 2021-02-11 15:13:51 +01:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
message_store_test.go lnwire: prep wire messages for TLV extensions 2021-02-24 17:31:55 +01:00
message_store.go multi: add reset closure to kvdb.View 2020-11-05 17:57:12 +01:00
mock_test.go multi: remove returned error from WipeChannel 2020-04-02 17:39:29 -07:00
reliable_sender_test.go multi: move WaitPredicate, WaitNoError, WaitInvariant to lntest/wait 2019-09-19 12:46:29 -07:00
reliable_sender.go discovery,fundingmanager: avoid serialization in NotifyWhenOnline 2019-06-04 16:36:21 -03:00
sync_manager_test.go discovery+lnwire: remove embedding within ReplyChannelRange 2021-02-24 17:31:55 +01:00
sync_manager.go discovery: don't historical sync when NumActiveSyncers == 0 2021-02-10 09:35:45 -08:00
syncer_test.go discovery+lnwire: remove embedding within ReplyChannelRange 2021-02-24 17:31:55 +01:00
syncer.go discovery+lnwire: remove embedding within ReplyChannelRange 2021-02-24 17:31:55 +01:00