Remove duplicate method definitions in NodeConnCB subclasses
commit2a52ae63bfdde948250df1c876dcdd5af99f03b5
authorJohn Newbery <john@johnnewbery.com>
Thu, 30 Mar 2017 12:38:46 +0000 (30 08:38 -0400)
committerJohn Newbery <john@johnnewbery.com>
Tue, 18 Apr 2017 21:20:09 +0000 (18 17:20 -0400)
treed53a338b3c6c9eba1474330412dd0e5953822399
parent52e15aa4d067fc4ace12c80be5c82e85c04fcfec
Remove duplicate method definitions in NodeConnCB subclasses

All Node classes in individual test cases subclass from NodeConnCB. Many
have duplicate definitions for methods that are defined in the base
class. This commit removes those duplicate definitions.

This commit removes ~290 lines of duplicate code.
12 files changed:
test/functional/maxuploadtarget.py
test/functional/p2p-acceptblock.py
test/functional/p2p-compactblocks.py
test/functional/p2p-feefilter.py
test/functional/p2p-leaktests.py
test/functional/p2p-mempool.py
test/functional/p2p-segwit.py
test/functional/p2p-timeouts.py
test/functional/p2p-versionbits-warning.py
test/functional/sendheaders.py
test/functional/test_framework/comptool.py
test/functional/test_framework/mininode.py