tests: Remove unused constant MAX_INV_SZ#13068
tests: Remove unused constant MAX_INV_SZ#13068practicalswift wants to merge 1 commit intobitcoin:masterfrom
Conversation
Last use removed in 9c92c8c
|
utACK d66943d there are other references, but all in .cpp/.h |
|
Concept ACK - though I wonder if we shouldn't, instead, add a test that uses this, e.g. tests that this is the maximum number of INVs returned? |
|
@laanwj Yes, more testing would be nice! This PR is "up for grabs" for someone who can take on that task :-) |
|
@fanquake I was about to push a new version with a short --- a/test/functional/test_framework/messages.py
+++ b/test/functional/test_framework/messages.py
@@ -31,7 +31,9 @@ MY_VERSION = 70014 # past bip-31 for ping/pong
MY_SUBVERSION = b"/python-mininode-tester:0.0.3/"
MY_RELAY = 1 # from version 70001 onwards, fRelay should be appended to version messages (BIP37)
-MAX_INV_SZ = 50000
+# TODO: Add a test test that uses MAX_INV_SZ - e.g. tests that this is the maximum number of INVs returned
+# MAX_INV_SZ = 50000
+
MAX_BLOCK_BASE_SIZE = 1000000
COIN = 100000000 # 1 btc in satoshisMakes sense? |
|
@practicalswift No strong opinion about that, I can't re-open the PR for some reason, I think you need to push back the old branch before that is possible. |
|
@laanwj Actually I've already force pushed to the old branch – see below :-) |
Remove unused constant
MAX_INV_SZ.Last use removed in 9c92c8c.