mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-15 12:50:15 +02:00
This commit adds comprehensive integration test coverage for production taproot channels to validate end-to-end functionality in realistic scenarios. The tests verify that production taproot channels can be successfully opened, operated, and closed using the finalized taproot specification with optimized scripts and feature bits 80/81. The integration tests cover channel opening with the SIMPLE_TAPROOT_FINAL commitment type, ensuring that the complete channel lifecycle works correctly with production taproot features. Test utilities have been enhanced to support production taproot channel creation and validation, providing the necessary infrastructure for comprehensive testing scenarios. Additional unit tests have been added to the input package to validate size calculations and witness generation for production taproot witness types. These tests ensure that the new Final witness types produce correctly sized witnesses and transactions, maintaining the expected efficiency benefits of the optimized script structure. The test coverage helps ensure that production taproot channels operate correctly across all system components while maintaining compatibility with existing channel types and providing confidence in the production readiness of the implementation. |
||
|---|---|---|
| .. | ||
| fuzz_script_is_op_return_test.go | ||
| input.go | ||
| mocks.go | ||
| musig2.go | ||
| musig2_session_manager.go | ||
| musig2_test.go | ||
| script_desc.go | ||
| script_utils.go | ||
| script_utils_legacy_test.go | ||
| script_utils_template_equiv_test.go | ||
| script_utils_test.go | ||
| signdescriptor.go | ||
| signdescriptor_test.go | ||
| signer.go | ||
| size.go | ||
| size_test.go | ||
| taproot.go | ||
| taproot_test.go | ||
| test_utils.go | ||
| txout.go | ||
| txout_test.go | ||
| witnessgen.go | ||