|
12 | 12 | from binascii import hexlify |
13 | 13 | from subprocess import call # nosec |
14 | 14 |
|
15 | | -import highlevelcrypto |
16 | | -import knownnodes |
17 | | -import shared |
18 | | -from addresses import ( |
19 | | - calculateInventoryHash, decodeAddress, decodeVarint, encodeAddress, |
20 | | - encodeVarint, varintDecodeError |
21 | | -) |
22 | | -from bmconfigparser import BMConfigParser |
23 | | - |
24 | 15 | import helper_bitcoin |
25 | 16 | import helper_inbox |
26 | 17 | import helper_msgcoding |
27 | 18 | import helper_sent |
28 | | -from helper_sql import SqlBulkExecute, sqlExecute, sqlQuery |
29 | | -from helper_ackPayload import genAckPayload |
30 | | -from network import bmproto |
31 | | -from network.node import Peer |
32 | | - |
| 19 | +import highlevelcrypto |
| 20 | +import knownnodes |
| 21 | +import l10n |
33 | 22 | import protocol |
34 | 23 | import queues |
| 24 | +import shared |
35 | 25 | import state |
36 | 26 | import tr |
| 27 | +from addresses import ( |
| 28 | + calculateInventoryHash, decodeAddress, decodeVarint, |
| 29 | + encodeAddress, encodeVarint, varintDecodeError |
| 30 | +) |
| 31 | +from bmconfigparser import BMConfigParser |
37 | 32 | from fallback import RIPEMD160Hash |
38 | | - |
39 | | -import l10n |
| 33 | +from helper_ackPayload import genAckPayload |
| 34 | +from helper_sql import SqlBulkExecute, sqlExecute, sqlQuery |
| 35 | +from network import bmproto |
| 36 | +from network.node import Peer |
| 37 | +# pylint: disable=too-many-locals, too-many-return-statements, too-many-branches, too-many-statements |
40 | 38 |
|
41 | 39 | logger = logging.getLogger('default') |
42 | 40 |
|
|
0 commit comments