2022-08-12 09:16:35 +02:00
|
|
|
//go:build integration
|
2022-07-22 02:55:38 +02:00
|
|
|
|
|
|
|
package itest
|
|
|
|
|
2022-08-12 11:03:44 +02:00
|
|
|
import "github.com/lightningnetwork/lnd/lntest"
|
2022-07-22 02:55:38 +02:00
|
|
|
|
2022-08-12 11:03:44 +02:00
|
|
|
var allTestCases = []*lntest.TestCase{
|
2022-07-22 11:34:36 +02:00
|
|
|
{
|
|
|
|
Name: "update channel status",
|
|
|
|
TestFunc: testUpdateChanStatus,
|
|
|
|
},
|
2022-07-26 06:12:18 +02:00
|
|
|
{
|
|
|
|
Name: "basic funding flow",
|
|
|
|
TestFunc: testBasicChannelFunding,
|
|
|
|
},
|
2022-08-15 13:03:14 +02:00
|
|
|
{
|
|
|
|
Name: "multi hop receiver chain claim",
|
|
|
|
TestFunc: testMultiHopReceiverChainClaim,
|
|
|
|
},
|
2022-07-26 11:00:27 +02:00
|
|
|
{
|
|
|
|
Name: "external channel funding",
|
|
|
|
TestFunc: testExternalFundingChanPoint,
|
|
|
|
},
|
2022-07-28 11:44:23 +02:00
|
|
|
{
|
2022-08-17 10:53:07 +02:00
|
|
|
Name: "channel backup restore basic",
|
|
|
|
TestFunc: testChannelBackupRestoreBasic,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "channel backup restore unconfirmed",
|
|
|
|
TestFunc: testChannelBackupRestoreUnconfirmed,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "channel backup restore commit types",
|
|
|
|
TestFunc: testChannelBackupRestoreCommitTypes,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "channel backup restore force close",
|
|
|
|
TestFunc: testChannelBackupRestoreForceClose,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "channel backup restore legacy",
|
|
|
|
TestFunc: testChannelBackupRestoreLegacy,
|
2022-07-28 11:44:23 +02:00
|
|
|
},
|
2022-07-28 12:25:06 +02:00
|
|
|
{
|
|
|
|
Name: "data loss protection",
|
|
|
|
TestFunc: testDataLossProtection,
|
|
|
|
},
|
2022-08-02 14:56:13 +02:00
|
|
|
{
|
|
|
|
Name: "sweep coins",
|
|
|
|
TestFunc: testSweepAllCoins,
|
|
|
|
},
|
2022-08-02 15:15:49 +02:00
|
|
|
{
|
|
|
|
Name: "disconnecting target peer",
|
|
|
|
TestFunc: testDisconnectingTargetPeer,
|
|
|
|
},
|
2022-08-02 18:25:19 +02:00
|
|
|
{
|
|
|
|
Name: "sphinx replay persistence",
|
|
|
|
TestFunc: testSphinxReplayPersistence,
|
|
|
|
},
|
2023-03-07 23:37:13 +01:00
|
|
|
{
|
|
|
|
Name: "funding expiry blocks on pending",
|
|
|
|
TestFunc: testFundingExpiryBlocksOnPending,
|
|
|
|
},
|
2022-08-02 19:00:20 +02:00
|
|
|
{
|
|
|
|
Name: "list channels",
|
|
|
|
TestFunc: testListChannels,
|
|
|
|
},
|
2022-08-03 15:29:25 +02:00
|
|
|
{
|
|
|
|
Name: "max pending channel",
|
|
|
|
TestFunc: testMaxPendingChannels,
|
|
|
|
},
|
2022-08-03 18:34:01 +02:00
|
|
|
{
|
|
|
|
Name: "garbage collect link nodes",
|
|
|
|
TestFunc: testGarbageCollectLinkNodes,
|
|
|
|
},
|
2022-08-03 18:37:47 +02:00
|
|
|
{
|
|
|
|
Name: "reject onward htlc",
|
|
|
|
TestFunc: testRejectHTLC,
|
|
|
|
},
|
2022-08-03 18:40:47 +02:00
|
|
|
{
|
|
|
|
Name: "node sign verify",
|
|
|
|
TestFunc: testNodeSignVerify,
|
|
|
|
},
|
2022-08-18 11:30:34 +02:00
|
|
|
{
|
|
|
|
Name: "list addresses",
|
|
|
|
TestFunc: testListAddresses,
|
|
|
|
},
|
2022-08-03 18:49:39 +02:00
|
|
|
{
|
|
|
|
Name: "abandonchannel",
|
|
|
|
TestFunc: testAbandonChannel,
|
|
|
|
},
|
2022-08-03 19:00:09 +02:00
|
|
|
{
|
|
|
|
Name: "recovery info",
|
|
|
|
TestFunc: testGetRecoveryInfo,
|
|
|
|
},
|
2022-08-03 19:08:52 +02:00
|
|
|
{
|
|
|
|
Name: "onchain fund recovery",
|
|
|
|
TestFunc: testOnchainFundRecovery,
|
|
|
|
},
|
2022-12-08 11:48:51 +01:00
|
|
|
{
|
|
|
|
Name: "wallet rescan address detection",
|
|
|
|
TestFunc: testRescanAddressDetection,
|
|
|
|
},
|
2022-08-03 19:22:05 +02:00
|
|
|
{
|
|
|
|
Name: "basic funding flow with all input types",
|
|
|
|
TestFunc: testChannelFundingInputTypes,
|
|
|
|
},
|
2022-08-03 19:35:18 +02:00
|
|
|
{
|
|
|
|
Name: "unconfirmed channel funding",
|
|
|
|
TestFunc: testUnconfirmedChannelFunding,
|
|
|
|
},
|
2022-08-03 20:36:12 +02:00
|
|
|
{
|
|
|
|
Name: "funding flow persistence",
|
|
|
|
TestFunc: testChannelFundingPersistence,
|
|
|
|
},
|
2022-08-03 20:48:19 +02:00
|
|
|
{
|
|
|
|
Name: "batch channel funding",
|
|
|
|
TestFunc: testBatchChanFunding,
|
|
|
|
},
|
2024-04-02 20:32:50 +02:00
|
|
|
{
|
|
|
|
Name: "open channel with unstable utxos",
|
|
|
|
TestFunc: testChannelFundingWithUnstableUtxos,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "open psbt channel with unstable utxos",
|
|
|
|
TestFunc: testPsbtChanFundingWithUnstableUtxos,
|
|
|
|
},
|
2022-08-03 21:38:09 +02:00
|
|
|
{
|
|
|
|
Name: "update channel policy",
|
|
|
|
TestFunc: testUpdateChannelPolicy,
|
|
|
|
},
|
2022-08-03 23:37:43 +02:00
|
|
|
{
|
|
|
|
Name: "send update disable channel",
|
|
|
|
TestFunc: testSendUpdateDisableChannel,
|
|
|
|
},
|
2022-08-04 00:20:13 +02:00
|
|
|
{
|
|
|
|
Name: "connection timeout",
|
|
|
|
TestFunc: testNetworkConnectionTimeout,
|
|
|
|
},
|
2022-08-04 00:28:31 +02:00
|
|
|
{
|
|
|
|
Name: "reconnect after ip change",
|
|
|
|
TestFunc: testReconnectAfterIPChange,
|
|
|
|
},
|
2022-08-04 00:32:20 +02:00
|
|
|
{
|
|
|
|
Name: "addpeer config",
|
|
|
|
TestFunc: testAddPeerConfig,
|
|
|
|
},
|
2023-04-28 17:36:22 +02:00
|
|
|
{
|
|
|
|
Name: "multi hop htlc local timeout",
|
|
|
|
TestFunc: testMultiHopHtlcLocalTimeout,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "multi hop local force close on-chain htlc timeout",
|
|
|
|
TestFunc: testMultiHopLocalForceCloseOnChainHtlcTimeout,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "multi hop remote force close on-chain htlc timeout",
|
|
|
|
TestFunc: testMultiHopRemoteForceCloseOnChainHtlcTimeout,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "private channel update policy",
|
|
|
|
TestFunc: testUpdateChannelPolicyForPrivateChannel,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "update channel policy fee rate accuracy",
|
|
|
|
TestFunc: testUpdateChannelPolicyFeeRateAccuracy,
|
|
|
|
},
|
2022-08-04 00:36:36 +02:00
|
|
|
{
|
|
|
|
Name: "unannounced channels",
|
|
|
|
TestFunc: testUnannouncedChannels,
|
|
|
|
},
|
2022-08-04 00:46:45 +02:00
|
|
|
{
|
|
|
|
Name: "graph topology notifications",
|
|
|
|
TestFunc: testGraphTopologyNotifications,
|
|
|
|
},
|
2022-08-04 00:49:43 +02:00
|
|
|
{
|
|
|
|
Name: "node announcement",
|
|
|
|
TestFunc: testNodeAnnouncement,
|
|
|
|
},
|
2022-08-04 00:59:21 +02:00
|
|
|
{
|
|
|
|
Name: "update node announcement rpc",
|
|
|
|
TestFunc: testUpdateNodeAnnouncement,
|
|
|
|
},
|
2022-08-04 01:14:26 +02:00
|
|
|
{
|
2024-01-26 03:23:01 +01:00
|
|
|
Name: "list payments",
|
2022-08-04 01:14:26 +02:00
|
|
|
TestFunc: testListPayments,
|
|
|
|
},
|
2023-09-28 12:30:22 +02:00
|
|
|
{
|
|
|
|
Name: "send direct payment",
|
|
|
|
TestFunc: testSendDirectPayment,
|
|
|
|
},
|
2022-08-04 02:25:45 +02:00
|
|
|
{
|
|
|
|
Name: "immediate payment after channel opened",
|
|
|
|
TestFunc: testPaymentFollowingChannelOpen,
|
|
|
|
},
|
2022-08-04 02:37:28 +02:00
|
|
|
{
|
|
|
|
Name: "invoice update subscription",
|
|
|
|
TestFunc: testInvoiceSubscriptions,
|
|
|
|
},
|
2022-08-04 03:05:48 +02:00
|
|
|
{
|
|
|
|
Name: "streaming channel backup update",
|
|
|
|
TestFunc: testChannelBackupUpdates,
|
|
|
|
},
|
2022-08-04 03:09:35 +02:00
|
|
|
{
|
|
|
|
Name: "export channel backup",
|
|
|
|
TestFunc: testExportChannelBackup,
|
|
|
|
},
|
2022-08-04 13:59:17 +02:00
|
|
|
{
|
|
|
|
Name: "channel balance",
|
|
|
|
TestFunc: testChannelBalance,
|
|
|
|
},
|
2022-08-04 14:02:07 +02:00
|
|
|
{
|
|
|
|
Name: "channel unsettled balance",
|
|
|
|
TestFunc: testChannelUnsettledBalance,
|
|
|
|
},
|
2022-08-04 16:19:46 +02:00
|
|
|
{
|
|
|
|
Name: "channel force closure",
|
|
|
|
TestFunc: testChannelForceClosure,
|
|
|
|
},
|
2022-08-04 16:28:27 +02:00
|
|
|
{
|
|
|
|
Name: "failing link",
|
|
|
|
TestFunc: testFailingChannel,
|
|
|
|
},
|
2022-12-02 14:40:19 +01:00
|
|
|
{
|
|
|
|
Name: "chain kit",
|
|
|
|
TestFunc: testChainKit,
|
|
|
|
},
|
2022-08-18 18:16:27 +02:00
|
|
|
{
|
|
|
|
Name: "neutrino kit",
|
|
|
|
TestFunc: testNeutrino,
|
|
|
|
},
|
2022-08-04 21:34:42 +02:00
|
|
|
{
|
|
|
|
Name: "etcd failover",
|
|
|
|
TestFunc: testEtcdFailover,
|
|
|
|
},
|
2022-08-05 11:48:35 +02:00
|
|
|
{
|
|
|
|
Name: "hold invoice force close",
|
|
|
|
TestFunc: testHoldInvoiceForceClose,
|
|
|
|
},
|
2022-08-05 11:59:00 +02:00
|
|
|
{
|
|
|
|
Name: "hold invoice sender persistence",
|
|
|
|
TestFunc: testHoldInvoicePersistence,
|
|
|
|
},
|
2022-08-05 12:12:11 +02:00
|
|
|
{
|
|
|
|
Name: "maximum channel size",
|
|
|
|
TestFunc: testMaxChannelSize,
|
|
|
|
},
|
2022-08-05 12:15:48 +02:00
|
|
|
{
|
|
|
|
Name: "wumbo channels",
|
|
|
|
TestFunc: testWumboChannels,
|
|
|
|
},
|
2022-08-05 12:22:19 +02:00
|
|
|
{
|
|
|
|
Name: "max htlc pathfind",
|
|
|
|
TestFunc: testMaxHtlcPathfind,
|
|
|
|
},
|
2022-08-05 12:36:15 +02:00
|
|
|
{
|
|
|
|
Name: "multi-hop htlc error propagation",
|
|
|
|
TestFunc: testHtlcErrorPropagation,
|
|
|
|
},
|
2022-08-05 12:44:52 +02:00
|
|
|
{
|
|
|
|
Name: "multi-hop payments",
|
|
|
|
TestFunc: testMultiHopPayments,
|
|
|
|
},
|
2024-02-09 15:21:51 +01:00
|
|
|
{
|
|
|
|
Name: "estimate route fee",
|
|
|
|
TestFunc: testEstimateRouteFee,
|
|
|
|
},
|
2022-08-06 23:50:49 +02:00
|
|
|
{
|
|
|
|
Name: "anchors reserved value",
|
|
|
|
TestFunc: testAnchorReservedValue,
|
|
|
|
},
|
2022-08-07 00:06:02 +02:00
|
|
|
{
|
|
|
|
Name: "3rd party anchor spend",
|
|
|
|
TestFunc: testAnchorThirdPartySpend,
|
|
|
|
},
|
2022-08-07 01:53:43 +02:00
|
|
|
{
|
|
|
|
Name: "open channel reorg test",
|
|
|
|
TestFunc: testOpenChannelAfterReorg,
|
|
|
|
},
|
2022-08-11 06:49:11 +02:00
|
|
|
{
|
|
|
|
Name: "psbt channel funding",
|
|
|
|
TestFunc: testPsbtChanFunding,
|
|
|
|
},
|
2022-08-11 07:07:33 +02:00
|
|
|
{
|
|
|
|
Name: "sign psbt",
|
|
|
|
TestFunc: testSignPsbt,
|
|
|
|
},
|
2024-02-06 12:26:01 +01:00
|
|
|
{
|
|
|
|
Name: "fund psbt",
|
|
|
|
TestFunc: testFundPsbt,
|
|
|
|
},
|
2022-08-08 06:19:48 +02:00
|
|
|
{
|
|
|
|
Name: "resolution handoff",
|
|
|
|
TestFunc: testResHandoff,
|
|
|
|
},
|
2022-08-08 06:30:01 +02:00
|
|
|
{
|
|
|
|
Name: "REST API",
|
|
|
|
TestFunc: testRestAPI,
|
|
|
|
},
|
2023-04-28 17:36:22 +02:00
|
|
|
{
|
|
|
|
Name: "multi hop htlc local chain claim",
|
|
|
|
TestFunc: testMultiHopHtlcLocalChainClaim,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "multi hop htlc remote chain claim",
|
|
|
|
TestFunc: testMultiHopHtlcRemoteChainClaim,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "multi hop htlc aggregation",
|
|
|
|
TestFunc: testMultiHopHtlcAggregation,
|
|
|
|
},
|
2022-08-08 06:59:19 +02:00
|
|
|
{
|
|
|
|
Name: "revoked uncooperative close retribution",
|
|
|
|
TestFunc: testRevokedCloseRetribution,
|
|
|
|
},
|
2022-08-08 14:50:03 +02:00
|
|
|
{
|
|
|
|
Name: "revoked uncooperative close retribution zero value " +
|
|
|
|
"remote output",
|
|
|
|
TestFunc: testRevokedCloseRetributionZeroValueRemoteOutput,
|
|
|
|
},
|
2022-08-08 18:49:51 +02:00
|
|
|
{
|
|
|
|
Name: "revoked uncooperative close retribution remote hodl",
|
|
|
|
TestFunc: testRevokedCloseRetributionRemoteHodl,
|
|
|
|
},
|
2022-08-08 19:20:00 +02:00
|
|
|
{
|
|
|
|
Name: "single-hop send to route",
|
|
|
|
TestFunc: testSingleHopSendToRoute,
|
|
|
|
},
|
2022-08-08 19:24:05 +02:00
|
|
|
{
|
|
|
|
Name: "multi-hop send to route",
|
|
|
|
TestFunc: testMultiHopSendToRoute,
|
|
|
|
},
|
2022-08-08 19:27:10 +02:00
|
|
|
{
|
|
|
|
Name: "send to route error propagation",
|
|
|
|
TestFunc: testSendToRouteErrorPropagation,
|
|
|
|
},
|
2022-08-08 19:30:45 +02:00
|
|
|
{
|
|
|
|
Name: "private channels",
|
|
|
|
TestFunc: testPrivateChannels,
|
|
|
|
},
|
2022-08-08 19:36:00 +02:00
|
|
|
{
|
|
|
|
Name: "invoice routing hints",
|
|
|
|
TestFunc: testInvoiceRoutingHints,
|
|
|
|
},
|
2022-08-08 19:39:19 +02:00
|
|
|
{
|
|
|
|
Name: "multi-hop payments over private channels",
|
|
|
|
TestFunc: testMultiHopOverPrivateChannels,
|
|
|
|
},
|
2022-08-08 19:47:50 +02:00
|
|
|
{
|
|
|
|
Name: "query routes",
|
|
|
|
TestFunc: testQueryRoutes,
|
|
|
|
},
|
2022-08-08 20:00:03 +02:00
|
|
|
{
|
|
|
|
Name: "route fee cutoff",
|
|
|
|
TestFunc: testRouteFeeCutoff,
|
|
|
|
},
|
2023-01-16 00:49:16 +01:00
|
|
|
{
|
|
|
|
Name: "rpc middleware interceptor",
|
|
|
|
TestFunc: testRPCMiddlewareInterceptor,
|
|
|
|
},
|
2022-08-09 08:30:44 +02:00
|
|
|
{
|
|
|
|
Name: "macaroon authentication",
|
|
|
|
TestFunc: testMacaroonAuthentication,
|
|
|
|
},
|
2022-08-09 08:33:15 +02:00
|
|
|
{
|
|
|
|
Name: "bake macaroon",
|
|
|
|
TestFunc: testBakeMacaroon,
|
|
|
|
},
|
2022-08-09 08:35:45 +02:00
|
|
|
{
|
|
|
|
Name: "delete macaroon id",
|
|
|
|
TestFunc: testDeleteMacaroonID,
|
|
|
|
},
|
2022-08-09 09:18:39 +02:00
|
|
|
{
|
|
|
|
Name: "stateless init",
|
|
|
|
TestFunc: testStatelessInit,
|
|
|
|
},
|
2022-08-09 09:27:54 +02:00
|
|
|
{
|
|
|
|
Name: "single hop invoice",
|
|
|
|
TestFunc: testSingleHopInvoice,
|
|
|
|
},
|
2022-08-09 09:36:07 +02:00
|
|
|
{
|
|
|
|
Name: "wipe forwarding packages",
|
|
|
|
TestFunc: testWipeForwardingPackages,
|
|
|
|
},
|
2022-08-09 12:57:39 +02:00
|
|
|
{
|
|
|
|
Name: "switch circuit persistence",
|
|
|
|
TestFunc: testSwitchCircuitPersistence,
|
|
|
|
},
|
2022-08-09 13:04:36 +02:00
|
|
|
{
|
|
|
|
Name: "switch offline delivery",
|
|
|
|
TestFunc: testSwitchOfflineDelivery,
|
|
|
|
},
|
2022-08-09 13:09:59 +02:00
|
|
|
{
|
|
|
|
Name: "switch offline delivery persistence",
|
|
|
|
TestFunc: testSwitchOfflineDeliveryPersistence,
|
|
|
|
},
|
2022-08-09 13:15:20 +02:00
|
|
|
{
|
|
|
|
Name: "switch offline delivery outgoing offline",
|
|
|
|
TestFunc: testSwitchOfflineDeliveryOutgoingOffline,
|
|
|
|
},
|
2022-08-09 21:18:54 +02:00
|
|
|
{
|
|
|
|
Name: "sendtoroute multi path payment",
|
|
|
|
TestFunc: testSendToRouteMultiPath,
|
|
|
|
},
|
2022-08-10 05:34:59 +02:00
|
|
|
{
|
|
|
|
Name: "send multi path payment",
|
|
|
|
TestFunc: testSendMultiPathPayment,
|
|
|
|
},
|
2022-08-10 22:10:40 +02:00
|
|
|
{
|
|
|
|
Name: "sendpayment amp invoice",
|
|
|
|
TestFunc: testSendPaymentAMPInvoice,
|
|
|
|
},
|
2022-08-10 21:02:44 +02:00
|
|
|
{
|
|
|
|
Name: "sendpayment amp invoice repeat",
|
|
|
|
TestFunc: testSendPaymentAMPInvoiceRepeat,
|
|
|
|
},
|
2022-08-10 22:38:11 +02:00
|
|
|
{
|
|
|
|
Name: "send payment amp",
|
|
|
|
TestFunc: testSendPaymentAMP,
|
|
|
|
},
|
2022-08-10 23:06:35 +02:00
|
|
|
{
|
|
|
|
Name: "sendtoroute amp",
|
|
|
|
TestFunc: testSendToRouteAMP,
|
|
|
|
},
|
2022-08-10 23:35:22 +02:00
|
|
|
{
|
|
|
|
Name: "forward interceptor dedup htlcs",
|
|
|
|
TestFunc: testForwardInterceptorDedupHtlc,
|
|
|
|
},
|
2022-08-10 23:59:10 +02:00
|
|
|
{
|
|
|
|
Name: "forward interceptor",
|
|
|
|
TestFunc: testForwardInterceptorBasic,
|
|
|
|
},
|
2022-08-11 01:06:23 +02:00
|
|
|
{
|
|
|
|
Name: "zero conf channel open",
|
|
|
|
TestFunc: testZeroConfChannelOpen,
|
|
|
|
},
|
2022-08-11 01:15:33 +02:00
|
|
|
{
|
|
|
|
Name: "option scid alias",
|
|
|
|
TestFunc: testOptionScidAlias,
|
|
|
|
},
|
2022-08-11 04:52:35 +02:00
|
|
|
{
|
|
|
|
Name: "scid alias channel update",
|
|
|
|
TestFunc: testUpdateChannelPolicyScidAlias,
|
|
|
|
},
|
2022-08-11 04:59:09 +02:00
|
|
|
{
|
|
|
|
Name: "scid alias upgrade",
|
|
|
|
TestFunc: testOptionScidUpgrade,
|
|
|
|
},
|
2022-08-11 05:13:47 +02:00
|
|
|
{
|
|
|
|
Name: "nonstd sweep",
|
|
|
|
TestFunc: testNonstdSweep,
|
|
|
|
},
|
2022-08-11 05:39:16 +02:00
|
|
|
{
|
|
|
|
Name: "multiple channel creation and update subscription",
|
|
|
|
TestFunc: testBasicChannelCreationAndUpdates,
|
|
|
|
},
|
2022-08-11 05:44:29 +02:00
|
|
|
{
|
|
|
|
Name: "derive shared key",
|
|
|
|
TestFunc: testDeriveSharedKey,
|
|
|
|
},
|
2022-08-11 05:59:14 +02:00
|
|
|
{
|
|
|
|
Name: "sign output raw",
|
|
|
|
TestFunc: testSignOutputRaw,
|
|
|
|
},
|
2022-08-11 06:23:33 +02:00
|
|
|
{
|
|
|
|
Name: "sign verify message",
|
|
|
|
TestFunc: testSignVerifyMessage,
|
|
|
|
},
|
2022-08-11 06:37:39 +02:00
|
|
|
{
|
2024-04-11 10:58:24 +02:00
|
|
|
Name: "bumpfee",
|
|
|
|
TestFunc: testBumpFee,
|
2022-08-11 06:37:39 +02:00
|
|
|
},
|
2022-08-25 14:50:55 +02:00
|
|
|
{
|
|
|
|
Name: "taproot",
|
|
|
|
TestFunc: testTaproot,
|
|
|
|
},
|
2023-10-10 19:54:26 +02:00
|
|
|
{
|
|
|
|
Name: "simple taproot channel activation",
|
|
|
|
TestFunc: testSimpleTaprootChannelActivation,
|
|
|
|
},
|
2022-08-11 08:01:08 +02:00
|
|
|
{
|
|
|
|
Name: "wallet import account",
|
|
|
|
TestFunc: testWalletImportAccount,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "wallet import pubkey",
|
|
|
|
TestFunc: testWalletImportPubKey,
|
|
|
|
},
|
2022-08-11 09:42:36 +02:00
|
|
|
{
|
|
|
|
Name: "async payments benchmark",
|
|
|
|
TestFunc: testAsyncPayments,
|
|
|
|
},
|
2022-08-11 09:56:06 +02:00
|
|
|
{
|
|
|
|
Name: "remote signer",
|
|
|
|
TestFunc: testRemoteSigner,
|
|
|
|
},
|
2022-08-12 12:19:51 +02:00
|
|
|
{
|
|
|
|
Name: "taproot coop close",
|
|
|
|
TestFunc: testTaprootCoopClose,
|
|
|
|
},
|
2022-09-20 10:01:49 +02:00
|
|
|
{
|
|
|
|
Name: "trackpayments",
|
|
|
|
TestFunc: testTrackPayments,
|
|
|
|
},
|
2023-11-15 12:58:52 +01:00
|
|
|
{
|
|
|
|
Name: "trackpayments compatible",
|
|
|
|
TestFunc: testTrackPaymentsCompatible,
|
|
|
|
},
|
2022-10-10 15:18:29 +02:00
|
|
|
{
|
|
|
|
Name: "open channel fee policy",
|
|
|
|
TestFunc: testOpenChannelUpdateFeePolicy,
|
|
|
|
},
|
2023-01-11 11:39:18 +01:00
|
|
|
{
|
|
|
|
Name: "custom message",
|
|
|
|
TestFunc: testCustomMessage,
|
|
|
|
},
|
2022-12-03 16:35:04 +01:00
|
|
|
{
|
|
|
|
Name: "sign verify message with addr",
|
|
|
|
TestFunc: testSignVerifyMessageWithAddr,
|
|
|
|
},
|
2023-01-05 23:40:35 +01:00
|
|
|
{
|
|
|
|
Name: "zero conf reorg edge existence",
|
|
|
|
TestFunc: testZeroConfReorg,
|
|
|
|
},
|
2022-08-11 13:08:25 +02:00
|
|
|
{
|
|
|
|
Name: "async bidirectional payments",
|
|
|
|
TestFunc: testBidirectionalAsyncPayments,
|
|
|
|
},
|
2023-02-27 09:28:45 +01:00
|
|
|
{
|
2023-02-28 08:35:36 +01:00
|
|
|
Name: "lookup htlc resolution",
|
|
|
|
TestFunc: testLookupHtlcResolution,
|
2023-02-27 09:28:45 +01:00
|
|
|
},
|
2022-12-06 12:52:00 +01:00
|
|
|
{
|
2024-02-09 11:45:36 +01:00
|
|
|
Name: "watchtower",
|
|
|
|
TestFunc: testWatchtower,
|
2023-05-04 13:11:03 +02:00
|
|
|
},
|
2021-12-22 11:48:55 +01:00
|
|
|
{
|
|
|
|
Name: "channel fundmax",
|
|
|
|
TestFunc: testChannelFundMax,
|
|
|
|
},
|
2023-04-07 13:10:27 +02:00
|
|
|
{
|
|
|
|
Name: "htlc timeout resolver extract preimage remote",
|
|
|
|
TestFunc: testHtlcTimeoutResolverExtractPreimageRemote,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "htlc timeout resolver extract preimage local",
|
|
|
|
TestFunc: testHtlcTimeoutResolverExtractPreimageLocal,
|
|
|
|
},
|
2023-04-25 15:38:41 +02:00
|
|
|
{
|
|
|
|
Name: "custom features",
|
|
|
|
TestFunc: testCustomFeatures,
|
|
|
|
},
|
2023-06-10 21:29:47 +02:00
|
|
|
{
|
|
|
|
Name: "utxo selection funding",
|
|
|
|
TestFunc: testChannelUtxoSelection,
|
|
|
|
},
|
2023-06-14 00:14:17 +02:00
|
|
|
{
|
|
|
|
Name: "update pending open channels",
|
|
|
|
TestFunc: testUpdateOnPendingOpenChannels,
|
|
|
|
},
|
2022-10-31 16:31:41 +01:00
|
|
|
{
|
|
|
|
Name: "query blinded route",
|
|
|
|
TestFunc: testQueryBlindedRoutes,
|
|
|
|
},
|
2022-12-13 20:44:00 +01:00
|
|
|
{
|
|
|
|
Name: "forward blinded",
|
|
|
|
TestFunc: testForwardBlindedRoute,
|
|
|
|
},
|
2024-02-15 15:18:51 +01:00
|
|
|
{
|
|
|
|
Name: "receiver blinded error",
|
|
|
|
TestFunc: testReceiverBlindedError,
|
|
|
|
},
|
2024-02-15 15:55:41 +01:00
|
|
|
{
|
|
|
|
Name: "relayer blinded error",
|
|
|
|
TestFunc: testRelayingBlindedError,
|
|
|
|
},
|
2024-02-15 16:13:41 +01:00
|
|
|
{
|
|
|
|
Name: "introduction blinded error",
|
|
|
|
TestFunc: testIntroductionNodeError,
|
|
|
|
},
|
2023-11-07 13:05:18 +01:00
|
|
|
{
|
|
|
|
Name: "removetx",
|
|
|
|
TestFunc: testRemoveTx,
|
|
|
|
},
|
2024-02-01 20:47:10 +01:00
|
|
|
{
|
|
|
|
Name: "listsweeps",
|
|
|
|
TestFunc: testListSweeps,
|
|
|
|
},
|
2024-01-21 17:30:32 +01:00
|
|
|
{
|
|
|
|
Name: "fail funding flow psbt",
|
|
|
|
TestFunc: testPsbtChanFundingFailFlow,
|
|
|
|
},
|
2024-01-12 04:05:32 +01:00
|
|
|
{
|
|
|
|
Name: "coop close with htlcs",
|
|
|
|
TestFunc: testCoopCloseWithHtlcs,
|
|
|
|
},
|
2024-02-21 18:46:33 +01:00
|
|
|
{
|
|
|
|
Name: "open channel locked balance",
|
|
|
|
TestFunc: testOpenChannelLockedBalance,
|
|
|
|
},
|
2024-03-19 15:18:53 +01:00
|
|
|
{
|
|
|
|
Name: "nativesql no migration",
|
|
|
|
TestFunc: testNativeSQLNoMigration,
|
|
|
|
},
|
2024-04-01 15:28:54 +02:00
|
|
|
{
|
|
|
|
Name: "sweep anchor cpfp local force close",
|
|
|
|
TestFunc: testSweepAnchorCPFPLocalForceClose,
|
|
|
|
},
|
2024-04-03 20:15:12 +02:00
|
|
|
{
|
|
|
|
Name: "sweep htlcs",
|
|
|
|
TestFunc: testSweepHTLCs,
|
|
|
|
},
|
2024-04-12 11:52:21 +02:00
|
|
|
{
|
|
|
|
Name: "sweep commit output and anchor",
|
|
|
|
TestFunc: testSweepCommitOutputAndAnchor,
|
|
|
|
},
|
2022-07-22 11:34:36 +02:00
|
|
|
}
|