From ac9e5581c874ac6a42367c2f185986af55a5a4b1 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Sat, 21 Apr 2018 17:39:14 +0200 Subject: [PATCH] pytest: Start nodes with --rescan=1 This shaves off about 15% of our integration testing suite on my machine. It assumes we never reorg below the first block the node starts with, which is true for all tests, so it's safe. Signed-off-by: Christian Decker --- tests/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/utils.py b/tests/utils.py index 34214c81e..88ffb5eeb 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -23,6 +23,7 @@ LIGHTNINGD_CONFIG = { "cltv-delta": 6, "cltv-final": 5, "locktime-blocks": 5, + "rescan": 1, } DEVELOPER = os.getenv("DEVELOPER", "0") == "1"