lnd/funding
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
..
batch.go funding: add all parameters to batch open channel 2023-07-26 09:49:22 +02:00
batch_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
commitment_type_negotiation.go funding: code style cleanup for the funding package 2023-01-12 22:40:51 +10:30
commitment_type_negotiation_test.go server+funding: allow scid-alias, zero-conf chantypes, scid-alias 2022-07-07 17:10:28 -04:00
config_integration.go funding: rename FundingLocked related functions and variables 2023-03-17 18:21:58 +08:00
interfaces.go multi: replace FundingLocked and funding_locked strings 2023-03-17 18:21:59 +08:00
log.go lnd+funding: register funding logger 2020-12-17 09:36:34 -05:00
manager.go multi: add itest to check race between channel_ready and update_add_htlc 2023-08-09 01:29:19 +08:00
manager_test.go multi: remove pending channel from Brontide when funding flow failed 2023-08-09 01:29:18 +08:00