lnd.xprv/lntest/itest
Calvin Zachman f5fb64e552 add new max channel size config option
- let users specify their MAXIMUM WUMBO with new config option which sets the maximum channel size lnd will accept
- current implementation is a simple check by the fundingManager rather than anything to do with the ChannelAcceptor
- Add test cases which verify that maximum channel limit is respected for wumbo/non-wumbo channels
- use --maxchansize 0 value to distinguish set/unset config. If user sets max value to 0 it will not do anything as 0 is currently used to indicate to the funding manager that the limit should not be enforced. This seems justifiable since --maxchansize=0 doesn't seem to make sense at first glance.
- add integration test case to ensure that config parsing and valiation is proper. I simplified the funding managers check electing to rely on config.go to correctly parse and set up either i) non wumbo default limit of 0.16 BTC OR ii) wumbo default soft limit of 10 BTC

Addresses: https://github.com/lightningnetwork/lnd/issues/4557
2020-09-14 21:16:32 -05:00
..
lnd_channel_backup_test.go lntest: make sure restored chans can't be closed 2020-08-12 16:49:39 +02:00
lnd_forward_interceptor_test.go lnd: fix go fmt 2020-07-08 16:46:51 +08:00
lnd_macaroons_test.go itest: test custom permissions 2020-09-04 09:50:41 +02:00
lnd_max_channel_size_test.go add new max channel size config option 2020-09-14 21:16:32 -05:00
lnd_mpp_test.go itest: switch over to routerrpc.SendToRouteV2 2020-05-12 19:56:58 +02:00
lnd_multi-hop_htlc_local_chain_claim_test.go itest: switch over to routerrpc.SendPaymentV2 2020-05-20 17:23:52 +02:00
lnd_multi-hop_htlc_local_timeout_test.go itest: switch over to routerrpc.SendPaymentV2 2020-05-20 17:23:52 +02:00
lnd_multi-hop_htlc_receiver_chain_claim_test.go itest: switch over to routerrpc.SendPaymentV2 2020-05-20 17:23:52 +02:00
lnd_multi-hop_htlc_remote_chain_claim_test.go itest: switch over to routerrpc.SendPaymentV2 2020-05-20 17:23:52 +02:00
lnd_multi-hop_local_force_close_on_chain_htlc_timeout_test.go itest: switch over to routerrpc.SendPaymentV2 2020-05-20 17:23:52 +02:00
lnd_multi-hop_remote_force_close_on_chain_htlc_timeout_test.go itest: switch over to routerrpc.SendPaymentV2 2020-05-20 17:23:52 +02:00
lnd_multi-hop_test.go itest: enable anchor commitment for multi-hop test 2020-03-27 08:01:52 +01:00
lnd_multi-hop-error-propagation_test.go itest: add _test file name suffix to tests 2020-09-04 09:50:39 +02:00
lnd_multi-hop-payments_test.go itest: add _test file name suffix to tests 2020-09-04 09:50:39 +02:00
lnd_onchain_test.go itest: add _test file name suffix to tests 2020-09-04 09:50:39 +02:00
lnd_psbt_test.go itest: add _test file name suffix to tests 2020-09-04 09:50:39 +02:00
lnd_rest_api_test.go itest: add _test file name suffix to tests 2020-09-04 09:50:39 +02:00
lnd_send_multi_path_payment_test.go itest: add _test file name suffix to tests 2020-09-04 09:50:39 +02:00
lnd_single_hop_invoice_test.go itest: switch over to routerrpc.SendPaymentV2 2020-05-20 17:23:52 +02:00
lnd_test.go add new max channel size config option 2020-09-14 21:16:32 -05:00
lnd_wumbo_channels_test.go add new max channel size config option 2020-09-14 21:16:32 -05:00
log_check_errors.sh itest: add error detection explanation 2020-05-08 13:40:29 +02:00
log_error_whitelist.txt add new max channel size config option 2020-09-14 21:16:32 -05:00
log_substitutions.txt itest: fix pattern for short_chan_id in err whitelist 2020-08-24 09:53:41 +02:00