We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0806dce commit 5d1829aCopy full SHA for 5d1829a
bitcoin/net.py
@@ -15,8 +15,10 @@
15
import socket
16
from binascii import hexlify
17
18
-from .core import PROTO_VERSION, CADDR_TIME_VERSION
19
-from .core.serialize import *
+from bitcoin.core.serialize import (Serializable,
+ VarStringSerializer,
20
+ ser_read,
21
+ uint256VectorSerializer,)
22
23
PROTO_VERSION = 60002
24
CADDR_TIME_VERSION = 31402
@@ -178,3 +180,12 @@ def stream_serialize(self, f):
178
180
def __repr__(self):
179
181
return "CAlert(vchMsg.sz %d, vchSig.sz %d)" % (len(self.vchMsg),
182
len(self.vchSig))
183
+
184
185
+__all__ = ('PROTO_VERSION',
186
+ 'CADDR_TIME_VERSION',
187
+ 'CAddress',
188
+ 'CInv',
189
+ 'CBlockLocator',
190
+ 'CUnsignedAlert',
191
+ 'CAlert',)
0 commit comments