itest: RegisterSpendNtfn detects reorgs

Added itest "reorg_notifications" which tests that RegisterSpendNtfn behaves as
expected during a reorg. A reorg notification is produced after a reorg affects
the block which has produced a spending notification for this registration.
This commit is contained in:
Boris Nagaev committed 2025-07-28 20:18:09 -03:00
1 parent 2e36f9b8b9
commit 8723113d27
2 files changed
+206

No files matched your search

+4
View File
@@ -46,6 +46,10 @@ var allTestCases = []*lntest.TestCase{
Name: "send selected coins channel reserve",
TestFunc: testSendSelectedCoinsChannelReserve,
},
{
Name: "reorg notifications",
TestFunc: testReorgNotifications,
},
{
Name: "disconnecting target peer",
TestFunc: testDisconnectingTargetPeer,