diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2020-12-10 11:39:37 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2021-02-16 10:26:17 +0100 |
commit | c286a22f7b63a8bd336d5d7606c339053ee0054b (patch) | |
tree | 9678e8ba40b1e8afc7033f4714e1ccaee39f4f52 /src/chainparams.cpp | |
parent | 5e112269c311a559bfded814d3c3c438349a1986 (diff) |
Add debug startup parameter -fastprune for more effective pruning tests
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r-- | src/chainparams.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 88cf5ef0a8..f439436e07 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -406,7 +406,7 @@ public: pchMessageStart[2] = 0xb5; pchMessageStart[3] = 0xda; nDefaultPort = 18444; - nPruneAfterHeight = 1000; + nPruneAfterHeight = gArgs.GetBoolArg("-fastprune", false) ? 100 : 1000; m_assumed_blockchain_size = 0; m_assumed_chain_state_size = 0; |