lnd/lncfg
yyforyongyu 0dd2aa0aef
multi: add itest to check race between channel_ready and update_add_htlc
This commit adds a new itest case to check the race condition found in
issue #7401. In order to control the funding manager's state, a new dev
config for the funding manager is introduced to specify a duration we
should hold before processing remote node's channel_ready message.

A new development config, `DevConfig` is introduced in `lncfg` and will
only have effect if built with flag `integration`. This can also be
extended for future integration tests if more dev-only flags are needed.
2023-08-09 01:29:19 +08:00
..
address_test.go multi: add new build tag integration 2023-02-23 21:56:09 +08:00
address.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
autopilot.go multi: fix make lint 2022-11-18 20:48:23 +08:00
bitcoind.go chainreg: update bitcoind polling config 2023-04-19 01:24:04 +08:00
btcd.go multi: fix make lint 2022-11-18 20:48:23 +08:00
caches.go multi: fix make lint 2022-11-18 20:48:23 +08:00
chain.go multi: fix make lint 2022-11-18 20:48:23 +08:00
cluster.go cluster: configurable session TTL for the leader elector 2022-03-22 14:20:36 +01:00
color_test.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
color.go lncfg: move ParseHexColor to lncfg 2022-01-24 17:42:54 +01:00
config.go htlcswitch: auto-fail held htlcs 2022-10-18 18:06:49 +02:00
db_test.go bbolt sync-freelist ignored 2021-09-27 06:49:56 +01:00
db.go multi: add new NoRevLogAmtData config option 2023-02-16 20:47:29 +02:00
dev_integration.go multi: add itest to check race between channel_ready and update_add_htlc 2023-08-09 01:29:19 +08:00
dev.go multi: add itest to check race between channel_ready and update_add_htlc 2023-08-09 01:29:19 +08:00
gossip.go multi: make SubBatchDelay configurable 2023-02-17 14:10:09 +08:00
healthcheck.go multi: fix make lint 2022-11-18 20:48:23 +08:00
htlcswitch.go multi: fix make lint 2022-11-18 20:48:23 +08:00
interface.go lncfg/interface: define Validator iface + variadic Validate 2019-04-01 16:33:50 -07:00
invoices.go multi: fix make lint 2022-11-18 20:48:23 +08:00
monitoring_off.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
monitoring_on.go multi: fix make lint 2022-11-18 20:48:23 +08:00
neutrino.go multi: fix make lint 2022-11-18 20:48:23 +08:00
protocol_experimental_off.go multi: add custom feature bits to config options 2023-05-04 10:35:48 -04:00
protocol_experimental_on.go multi: add custom feature bits to config options 2023-05-04 10:35:48 -04:00
protocol_integration.go multi: add new build tag integration 2023-02-23 21:56:09 +08:00
protocol_legacy_off.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
protocol_legacy_on.go multi: fix make lint 2022-11-18 20:48:23 +08:00
protocol.go multi: add new build tag integration 2023-02-23 21:56:09 +08:00
remotesigner.go multi: fix make lint 2022-11-18 20:48:23 +08:00
routing.go multi: fix make lint 2022-11-18 20:48:23 +08:00
rpcmiddleware.go multi: fix make lint 2022-11-18 20:48:23 +08:00
sweeper.go multi: fix make lint 2022-11-18 20:48:23 +08:00
tor.go multi: fix make lint 2022-11-18 20:48:23 +08:00
watchtower.go multi: add default watchtower config to main LND config 2023-06-15 11:36:44 +02:00
workers_test.go
workers.go multi: fix make lint 2022-11-18 20:48:23 +08:00
wtclient.go lncfg: remove deprecated PrivateTowerURIs from Wtclient cfg 2023-06-15 11:36:44 +02:00