lnd.xprv/discovery
Olaoluwa Osuntokun a9d6273828
discovery: add new TestPropagateChanPolicyUpdate test case
In this commit, we add a new test case to exercise a recent bug fix to
ensure that we no longer broadcast private channel policy changes. Along
the way, a few helper functions were added to slim down the test to the
core logic compared to some of the existing tests in this package. In
the future, these new helper functions should be utilized more widely for
tests in this package in order to cut down on some of the duplicated
logic.
2019-04-10 17:05:49 -07:00
..
bootstrapper.go discovery: update autopilot.Node usage to match recent API changes 2018-08-29 15:45:39 -07:00
chan_series.go discovery/chan_series+utils: include max htlc when syncing with peers 2019-01-22 08:42:28 +01:00
gossiper_test.go discovery: add new TestPropagateChanPolicyUpdate test case 2019-04-10 17:05:49 -07:00
gossiper.go discovery: ensure we don't broadcast policy changes for private channels 2019-04-10 17:05:48 -07:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
message_store_test.go discovery/message_store: add gossip message store 2019-02-14 18:29:39 -08:00
message_store.go discovery/message_store: add gossip message store 2019-02-14 18:29:39 -08:00
mock_test.go peer: add SendMessageLazy 2019-03-05 17:08:22 -08:00
reliable_sender_test.go discovery: replace waitPredicate with lntest version 2019-04-03 15:08:12 -07:00
reliable_sender.go discovery: add missing offline peer check before sending message reliably 2019-03-28 17:21:28 -07:00
sync_manager_test.go discovery: introduce gossiper SyncManager subsystem 2019-04-03 15:08:32 -07:00
sync_manager.go Merge pull request #2905 from cfromknecht/split-chunk-size 2019-04-09 19:27:20 -07:00
syncer_test.go discovery: make batch size distinct from chunk size, reduce to 500 2019-04-06 15:27:26 -07:00
syncer.go discovery: make batch size distinct from chunk size, reduce to 500 2019-04-06 15:27:26 -07:00
utils.go discovery/chan_series+utils: include max htlc when syncing with peers 2019-01-22 08:42:28 +01:00