diff options
author | John Newbery <john@johnnewbery.com> | 2017-10-17 16:16:39 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-11-29 17:14:48 -0500 |
commit | 873beca6deda119077f53921f0d19c3ebfc7cc44 (patch) | |
tree | 426d8ecde39b8bf44612d5a9b4098d676a5c5917 /test/functional/assumevalid.py | |
parent | 9f2c2dba21855b8cb9b193b1819be73fa4a23a99 (diff) | |
download | bitcoin-873beca6deda119077f53921f0d19c3ebfc7cc44.tar.xz |
[tests] Rename NodeConn and NodeConnCB
NodeConn -> P2PConnection
NodeConnCB -> P2PInterface
Diffstat (limited to 'test/functional/assumevalid.py')
-rwxr-xr-x | test/functional/assumevalid.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/assumevalid.py b/test/functional/assumevalid.py index 72da955641..13104f71bc 100755 --- a/test/functional/assumevalid.py +++ b/test/functional/assumevalid.py @@ -39,14 +39,14 @@ from test_framework.mininode import (CBlockHeader, CTxIn, CTxOut, NetworkThread, - NodeConnCB, + P2PInterface, msg_block, msg_headers) from test_framework.script import (CScript, OP_TRUE) from test_framework.test_framework import BitcoinTestFramework from test_framework.util import assert_equal -class BaseNode(NodeConnCB): +class BaseNode(P2PInterface): def send_header_for_blocks(self, new_blocks): headers_message = msg_headers() headers_message.headers = [CBlockHeader(b) for b in new_blocks] |