2018-01-12 12:11:22 +00:00
|
|
|
# Automatically generated by pb2py
|
2018-07-02 16:40:24 +00:00
|
|
|
# fmt: off
|
2018-01-12 12:11:22 +00:00
|
|
|
import protobuf as p
|
|
|
|
|
|
|
|
|
|
|
|
class CosiCommitment(p.MessageType):
|
2018-05-24 13:41:57 +00:00
|
|
|
MESSAGE_WIRE_TYPE = 72
|
2018-01-12 12:11:22 +00:00
|
|
|
FIELDS = {
|
|
|
|
1: ('commitment', p.BytesType, 0),
|
|
|
|
2: ('pubkey', p.BytesType, 0),
|
|
|
|
}
|
2018-02-25 17:48:44 +00:00
|
|
|
|
|
|
|
def __init__(
|
|
|
|
self,
|
|
|
|
commitment: bytes = None,
|
2018-07-02 16:40:24 +00:00
|
|
|
pubkey: bytes = None,
|
2018-05-24 13:41:57 +00:00
|
|
|
) -> None:
|
2018-02-25 17:48:44 +00:00
|
|
|
self.commitment = commitment
|
|
|
|
self.pubkey = pubkey
|