2017-12-12 15:40:11 +00:00
|
|
|
# Automatically generated by pb2py
|
|
|
|
from .. import protobuf as p
|
|
|
|
|
|
|
|
|
|
|
|
class VerifyMessage(p.MessageType):
|
2018-05-09 15:14:44 +00:00
|
|
|
MESSAGE_WIRE_TYPE = 39
|
2017-12-12 15:40:11 +00:00
|
|
|
FIELDS = {
|
|
|
|
1: ('address', p.UnicodeType, 0),
|
|
|
|
2: ('signature', p.BytesType, 0),
|
|
|
|
3: ('message', p.BytesType, 0),
|
|
|
|
4: ('coin_name', p.UnicodeType, 0), # default='Bitcoin'
|
|
|
|
}
|
2018-05-09 15:14:44 +00:00
|
|
|
|
|
|
|
def __init__(
|
|
|
|
self,
|
|
|
|
address: str = None,
|
|
|
|
signature: bytes = None,
|
|
|
|
message: bytes = None,
|
|
|
|
coin_name: str = None
|
|
|
|
) -> None:
|
|
|
|
self.address = address
|
|
|
|
self.signature = signature
|
|
|
|
self.message = message
|
|
|
|
self.coin_name = coin_name
|