@ -2,8 +2,6 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: messages.proto
import sys
_b = sys . version_info [ 0 ] < 3 and ( lambda x : x ) or ( lambda x : x . encode ( ' latin1 ' ) )
from google . protobuf import descriptor as _descriptor
from google . protobuf import message as _message
from google . protobuf import reflection as _reflection
@ -20,7 +18,8 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package = ' basicswap ' ,
syntax = ' proto3 ' ,
serialized_options = None ,
serialized_pb = _b ( ' \n \x0e messages.proto \x12 \t basicswap \" \x84 \x03 \n \x0c OfferMessage \x12 \x11 \n \t coin_from \x18 \x01 \x01 ( \r \x12 \x0f \n \x07 \x63 oin_to \x18 \x02 \x01 ( \r \x12 \x13 \n \x0b \x61 mount_from \x18 \x03 \x01 ( \x04 \x12 \x0c \n \x04 rate \x18 \x04 \x01 ( \x04 \x12 \x16 \n \x0e min_bid_amount \x18 \x05 \x01 ( \x04 \x12 \x12 \n \n time_valid \x18 \x06 \x01 ( \x04 \x12 \x33 \n \t lock_type \x18 \x07 \x01 ( \x0e \x32 .basicswap.OfferMessage.LockType \x12 \x12 \n \n lock_value \x18 \x08 \x01 ( \r \x12 \x11 \n \t swap_type \x18 \t \x01 ( \r \x12 \x15 \n \r proof_address \x18 \n \x01 ( \t \x12 \x17 \n \x0f proof_signature \x18 \x0b \x01 ( \t \x12 \x15 \n \r pkhash_seller \x18 \x0c \x01 ( \x0c \x12 \x13 \n \x0b secret_hash \x18 \r \x01 ( \x0c \" I \n \x08 LockType \x12 \x0b \n \x07 NOT_SET \x10 \x00 \x12 \x18 \n \x14 SEQUENCE_LOCK_BLOCKS \x10 \x01 \x12 \x16 \n \x12 SEQUENCE_LOCK_TIME \x10 \x02 \" \x8c \x01 \n \n BidMessage \x12 \x14 \n \x0c offer_msg_id \x18 \x01 \x01 ( \x0c \x12 \x12 \n \n time_valid \x18 \x02 \x01 ( \x04 \x12 \x0e \n \x06 \x61 mount \x18 \x03 \x01 ( \x04 \x12 \x14 \n \x0c pkhash_buyer \x18 \x04 \x01 ( \x0c \x12 \x15 \n \r proof_address \x18 \x05 \x01 ( \t \x12 \x17 \n \x0f proof_signature \x18 \x06 \x01 ( \t \" V \n \x10 \x42 idAcceptMessage \x12 \x12 \n \n bid_msg_id \x18 \x01 \x01 ( \x0c \x12 \x15 \n \r initiate_txid \x18 \x02 \x01 ( \x0c \x12 \x17 \n \x0f \x63 ontract_script \x18 \x03 \x01 ( \x0c \x62 \x06 proto3 ' )
create_key = _descriptor . _internal_create_key ,
serialized_pb = b ' \n \x0e messages.proto \x12 \t basicswap \" \xac \x03 \n \x0c OfferMessage \x12 \x11 \n \t coin_from \x18 \x01 \x01 ( \r \x12 \x0f \n \x07 \x63 oin_to \x18 \x02 \x01 ( \r \x12 \x13 \n \x0b \x61 mount_from \x18 \x03 \x01 ( \x04 \x12 \x0c \n \x04 rate \x18 \x04 \x01 ( \x04 \x12 \x16 \n \x0e min_bid_amount \x18 \x05 \x01 ( \x04 \x12 \x12 \n \n time_valid \x18 \x06 \x01 ( \x04 \x12 \x33 \n \t lock_type \x18 \x07 \x01 ( \x0e \x32 .basicswap.OfferMessage.LockType \x12 \x12 \n \n lock_value \x18 \x08 \x01 ( \r \x12 \x11 \n \t swap_type \x18 \t \x01 ( \r \x12 \x15 \n \r proof_address \x18 \n \x01 ( \t \x12 \x17 \n \x0f proof_signature \x18 \x0b \x01 ( \t \x12 \x15 \n \r pkhash_seller \x18 \x0c \x01 ( \x0c \x12 \x13 \n \x0b secret_hash \x18 \r \x01 ( \x0c \" q \n \x08 LockType \x12 \x0b \n \x07 NOT_SET \x10 \x00 \x12 \x18 \n \x14 SEQUENCE_LOCK_BLOCKS \x10 \x01 \x12 \x16 \n \x12 SEQUENCE_LOCK_TIME \x10 \x02 \x12 \x13 \n \x0f \x41 \x42 S_LOCK_BLOCKS \x10 \x03 \x12 \x11 \n \r ABS_LOCK_TIME \x10 \x04 \" \x8c \x01 \n \n BidMessage \x12 \x14 \n \x0c offer_msg_id \x18 \x01 \x01 ( \x0c \x12 \x12 \n \n time_valid \x18 \x02 \x01 ( \x04 \x12 \x0e \n \x06 \x61 mount \x18 \x03 \x01 ( \x04 \x12 \x14 \n \x0c pkhash_buyer \x18 \x04 \x01 ( \x0c \x12 \x15 \n \r proof_address \x18 \x05 \x01 ( \t \x12 \x17 \n \x0f proof_signature \x18 \x06 \x01 ( \t \" V \n \x10 \x42 idAcceptMessage \x12 \x12 \n \n bid_msg_id \x18 \x01 \x01 ( \x0c \x12 \x15 \n \r initiate_txid \x18 \x02 \x01 ( \x0c \x12 \x17 \n \x0f \x63 ontract_script \x18 \x03 \x01 ( \x0c \" \xb2 \x03 \n \x0f XmrOfferMessage \x12 \x11 \n \t coin_from \x18 \x01 \x01 ( \r \x12 \x0f \n \x07 \x63 oin_to \x18 \x02 \x01 ( \r \x12 \x13 \n \x0b \x61 mount_from \x18 \x03 \x01 ( \x04 \x12 \x0c \n \x04 rate \x18 \x04 \x01 ( \x04 \x12 \x16 \n \x0e min_bid_amount \x18 \x05 \x01 ( \x04 \x12 \x12 \n \n time_valid \x18 \x06 \x01 ( \x04 \x12 \x36 \n \t lock_type \x18 \x07 \x01 ( \x0e \x32 #.basicswap.XmrOfferMessage.LockType \x12 \x12 \n \n lock_value \x18 \x08 \x01 ( \r \x12 \x11 \n \t swap_type \x18 \t \x01 ( \r \x12 \x15 \n \r proof_address \x18 \n \x01 ( \t \x12 \x17 \n \x0f proof_signature \x18 \x0b \x01 ( \t \x12 \x15 \n \r pkhash_seller \x18 \x0c \x01 ( \x0c \x12 \x13 \n \x0b secret_hash \x18 \r \x01 ( \x0c \" q \n \x08 LockType \x12 \x0b \n \x07 NOT_SET \x10 \x00 \x12 \x18 \n \x14 SEQUENCE_LOCK_BLOCKS \x10 \x01 \x12 \x16 \n \x12 SEQUENCE_LOCK_TIME \x10 \x02 \x12 \x13 \n \x0f \x41 \x42 S_LOCK_BLOCKS \x10 \x03 \x12 \x11 \n \r ABS_LOCK_TIME \x10 \x04 \x62 \x06 proto3 '
)
@ -30,27 +29,81 @@ _OFFERMESSAGE_LOCKTYPE = _descriptor.EnumDescriptor(
full_name = ' basicswap.OfferMessage.LockType ' ,
filename = None ,
file = DESCRIPTOR ,
create_key = _descriptor . _internal_create_key ,
values = [
_descriptor . EnumValueDescriptor (
name = ' NOT_SET ' , index = 0 , number = 0 ,
serialized_options = None ,
type = None ) ,
type = None ,
create_key = _descriptor . _internal_create_key ) ,
_descriptor . EnumValueDescriptor (
name = ' SEQUENCE_LOCK_BLOCKS ' , index = 1 , number = 1 ,
serialized_options = None ,
type = None ) ,
type = None ,
create_key = _descriptor . _internal_create_key ) ,
_descriptor . EnumValueDescriptor (
name = ' SEQUENCE_LOCK_TIME ' , index = 2 , number = 2 ,
serialized_options = None ,
type = None ) ,
type = None ,
create_key = _descriptor . _internal_create_key ) ,
_descriptor . EnumValueDescriptor (
name = ' ABS_LOCK_BLOCKS ' , index = 3 , number = 3 ,
serialized_options = None ,
type = None ,
create_key = _descriptor . _internal_create_key ) ,
_descriptor . EnumValueDescriptor (
name = ' ABS_LOCK_TIME ' , index = 4 , number = 4 ,
serialized_options = None ,
type = None ,
create_key = _descriptor . _internal_create_key ) ,
] ,
containing_type = None ,
serialized_options = None ,
serialized_start = 345 ,
serialized_end = 418 ,
serialized_end = 45 8 ,
)
_sym_db . RegisterEnumDescriptor ( _OFFERMESSAGE_LOCKTYPE )
_XMROFFERMESSAGE_LOCKTYPE = _descriptor . EnumDescriptor (
name = ' LockType ' ,
full_name = ' basicswap.XmrOfferMessage.LockType ' ,
filename = None ,
file = DESCRIPTOR ,
create_key = _descriptor . _internal_create_key ,
values = [
_descriptor . EnumValueDescriptor (
name = ' NOT_SET ' , index = 0 , number = 0 ,
serialized_options = None ,
type = None ,
create_key = _descriptor . _internal_create_key ) ,
_descriptor . EnumValueDescriptor (
name = ' SEQUENCE_LOCK_BLOCKS ' , index = 1 , number = 1 ,
serialized_options = None ,
type = None ,
create_key = _descriptor . _internal_create_key ) ,
_descriptor . EnumValueDescriptor (
name = ' SEQUENCE_LOCK_TIME ' , index = 2 , number = 2 ,
serialized_options = None ,
type = None ,
create_key = _descriptor . _internal_create_key ) ,
_descriptor . EnumValueDescriptor (
name = ' ABS_LOCK_BLOCKS ' , index = 3 , number = 3 ,
serialized_options = None ,
type = None ,
create_key = _descriptor . _internal_create_key ) ,
_descriptor . EnumValueDescriptor (
name = ' ABS_LOCK_TIME ' , index = 4 , number = 4 ,
serialized_options = None ,
type = None ,
create_key = _descriptor . _internal_create_key ) ,
] ,
containing_type = None ,
serialized_options = None ,
serialized_start = 345 ,
serialized_end = 458 ,
)
_sym_db . RegisterEnumDescriptor ( _XMROFFERMESSAGE_LOCKTYPE )
_OFFERMESSAGE = _descriptor . Descriptor (
name = ' OfferMessage ' ,
@ -58,6 +111,7 @@ _OFFERMESSAGE = _descriptor.Descriptor(
filename = None ,
file = DESCRIPTOR ,
containing_type = None ,
create_key = _descriptor . _internal_create_key ,
fields = [
_descriptor . FieldDescriptor (
name = ' coin_from ' , full_name = ' basicswap.OfferMessage.coin_from ' , index = 0 ,
@ -65,91 +119,91 @@ _OFFERMESSAGE = _descriptor.Descriptor(
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' coin_to ' , full_name = ' basicswap.OfferMessage.coin_to ' , index = 1 ,
number = 2 , type = 13 , cpp_type = 3 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' amount_from ' , full_name = ' basicswap.OfferMessage.amount_from ' , index = 2 ,
number = 3 , type = 4 , cpp_type = 4 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' rate ' , full_name = ' basicswap.OfferMessage.rate ' , index = 3 ,
number = 4 , type = 4 , cpp_type = 4 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' min_bid_amount ' , full_name = ' basicswap.OfferMessage.min_bid_amount ' , index = 4 ,
number = 5 , type = 4 , cpp_type = 4 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' time_valid ' , full_name = ' basicswap.OfferMessage.time_valid ' , index = 5 ,
number = 6 , type = 4 , cpp_type = 4 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' lock_type ' , full_name = ' basicswap.OfferMessage.lock_type ' , index = 6 ,
number = 7 , type = 14 , cpp_type = 8 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' lock_value ' , full_name = ' basicswap.OfferMessage.lock_value ' , index = 7 ,
number = 8 , type = 13 , cpp_type = 3 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' swap_type ' , full_name = ' basicswap.OfferMessage.swap_type ' , index = 8 ,
number = 9 , type = 13 , cpp_type = 3 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' proof_address ' , full_name = ' basicswap.OfferMessage.proof_address ' , index = 9 ,
number = 10 , type = 9 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) . decode ( ' utf-8 ' ) ,
has_default_value = False , default_value = b " " . decode ( ' utf-8 ' ) ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' proof_signature ' , full_name = ' basicswap.OfferMessage.proof_signature ' , index = 10 ,
number = 11 , type = 9 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) . decode ( ' utf-8 ' ) ,
has_default_value = False , default_value = b " " . decode ( ' utf-8 ' ) ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' pkhash_seller ' , full_name = ' basicswap.OfferMessage.pkhash_seller ' , index = 11 ,
number = 12 , type = 12 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) ,
has_default_value = False , default_value = b " " ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' secret_hash ' , full_name = ' basicswap.OfferMessage.secret_hash ' , index = 12 ,
number = 13 , type = 12 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) ,
has_default_value = False , default_value = b " " ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
] ,
extensions = [
] ,
@ -164,7 +218,7 @@ _OFFERMESSAGE = _descriptor.Descriptor(
oneofs = [
] ,
serialized_start = 30 ,
serialized_end = 41 8 ,
serialized_end = 45 8 ,
)
@ -174,49 +228,50 @@ _BIDMESSAGE = _descriptor.Descriptor(
filename = None ,
file = DESCRIPTOR ,
containing_type = None ,
create_key = _descriptor . _internal_create_key ,
fields = [
_descriptor . FieldDescriptor (
name = ' offer_msg_id ' , full_name = ' basicswap.BidMessage.offer_msg_id ' , index = 0 ,
number = 1 , type = 12 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) ,
has_default_value = False , default_value = b " " ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' time_valid ' , full_name = ' basicswap.BidMessage.time_valid ' , index = 1 ,
number = 2 , type = 4 , cpp_type = 4 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' amount ' , full_name = ' basicswap.BidMessage.amount ' , index = 2 ,
number = 3 , type = 4 , cpp_type = 4 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' pkhash_buyer ' , full_name = ' basicswap.BidMessage.pkhash_buyer ' , index = 3 ,
number = 4 , type = 12 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) ,
has_default_value = False , default_value = b " " ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' proof_address ' , full_name = ' basicswap.BidMessage.proof_address ' , index = 4 ,
number = 5 , type = 9 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) . decode ( ' utf-8 ' ) ,
has_default_value = False , default_value = b " " . decode ( ' utf-8 ' ) ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' proof_signature ' , full_name = ' basicswap.BidMessage.proof_signature ' , index = 5 ,
number = 6 , type = 9 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) . decode ( ' utf-8 ' ) ,
has_default_value = False , default_value = b " " . decode ( ' utf-8 ' ) ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
] ,
extensions = [
] ,
@ -229,8 +284,8 @@ _BIDMESSAGE = _descriptor.Descriptor(
extension_ranges = [ ] ,
oneofs = [
] ,
serialized_start = 42 1 ,
serialized_end = 5 61,
serialized_start = 46 1 ,
serialized_end = 60 1 ,
)
@ -240,33 +295,151 @@ _BIDACCEPTMESSAGE = _descriptor.Descriptor(
filename = None ,
file = DESCRIPTOR ,
containing_type = None ,
create_key = _descriptor . _internal_create_key ,
fields = [
_descriptor . FieldDescriptor (
name = ' bid_msg_id ' , full_name = ' basicswap.BidAcceptMessage.bid_msg_id ' , index = 0 ,
number = 1 , type = 12 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) ,
has_default_value = False , default_value = b " " ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' initiate_txid ' , full_name = ' basicswap.BidAcceptMessage.initiate_txid ' , index = 1 ,
number = 2 , type = 12 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) ,
has_default_value = False , default_value = b " " ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' contract_script ' , full_name = ' basicswap.BidAcceptMessage.contract_script ' , index = 2 ,
number = 3 , type = 12 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = _b ( " " ) ,
has_default_value = False , default_value = b " " ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
] ,
extensions = [
] ,
nested_types = [ ] ,
enum_types = [
] ,
serialized_options = None ,
is_extendable = False ,
syntax = ' proto3 ' ,
extension_ranges = [ ] ,
oneofs = [
] ,
serialized_start = 603 ,
serialized_end = 689 ,
)
_XMROFFERMESSAGE = _descriptor . Descriptor (
name = ' XmrOfferMessage ' ,
full_name = ' basicswap.XmrOfferMessage ' ,
filename = None ,
file = DESCRIPTOR ,
containing_type = None ,
create_key = _descriptor . _internal_create_key ,
fields = [
_descriptor . FieldDescriptor (
name = ' coin_from ' , full_name = ' basicswap.XmrOfferMessage.coin_from ' , index = 0 ,
number = 1 , type = 13 , cpp_type = 3 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' coin_to ' , full_name = ' basicswap.XmrOfferMessage.coin_to ' , index = 1 ,
number = 2 , type = 13 , cpp_type = 3 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' amount_from ' , full_name = ' basicswap.XmrOfferMessage.amount_from ' , index = 2 ,
number = 3 , type = 4 , cpp_type = 4 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' rate ' , full_name = ' basicswap.XmrOfferMessage.rate ' , index = 3 ,
number = 4 , type = 4 , cpp_type = 4 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' min_bid_amount ' , full_name = ' basicswap.XmrOfferMessage.min_bid_amount ' , index = 4 ,
number = 5 , type = 4 , cpp_type = 4 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' time_valid ' , full_name = ' basicswap.XmrOfferMessage.time_valid ' , index = 5 ,
number = 6 , type = 4 , cpp_type = 4 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' lock_type ' , full_name = ' basicswap.XmrOfferMessage.lock_type ' , index = 6 ,
number = 7 , type = 14 , cpp_type = 8 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR ) ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' lock_value ' , full_name = ' basicswap.XmrOfferMessage.lock_value ' , index = 7 ,
number = 8 , type = 13 , cpp_type = 3 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' swap_type ' , full_name = ' basicswap.XmrOfferMessage.swap_type ' , index = 8 ,
number = 9 , type = 13 , cpp_type = 3 , label = 1 ,
has_default_value = False , default_value = 0 ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' proof_address ' , full_name = ' basicswap.XmrOfferMessage.proof_address ' , index = 9 ,
number = 10 , type = 9 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = b " " . decode ( ' utf-8 ' ) ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' proof_signature ' , full_name = ' basicswap.XmrOfferMessage.proof_signature ' , index = 10 ,
number = 11 , type = 9 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = b " " . decode ( ' utf-8 ' ) ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' pkhash_seller ' , full_name = ' basicswap.XmrOfferMessage.pkhash_seller ' , index = 11 ,
number = 12 , type = 12 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = b " " ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
_descriptor . FieldDescriptor (
name = ' secret_hash ' , full_name = ' basicswap.XmrOfferMessage.secret_hash ' , index = 12 ,
number = 13 , type = 12 , cpp_type = 9 , label = 1 ,
has_default_value = False , default_value = b " " ,
message_type = None , enum_type = None , containing_type = None ,
is_extension = False , extension_scope = None ,
serialized_options = None , file = DESCRIPTOR , create_key = _descriptor . _internal_create_key ) ,
] ,
extensions = [
] ,
nested_types = [ ] ,
enum_types = [
_XMROFFERMESSAGE_LOCKTYPE ,
] ,
serialized_options = None ,
is_extendable = False ,
@ -274,37 +447,47 @@ _BIDACCEPTMESSAGE = _descriptor.Descriptor(
extension_ranges = [ ] ,
oneofs = [
] ,
serialized_start = 563 ,
serialized_end = 649 ,
serialized_start = 692 ,
serialized_end = 112 6,
)
_OFFERMESSAGE . fields_by_name [ ' lock_type ' ] . enum_type = _OFFERMESSAGE_LOCKTYPE
_OFFERMESSAGE_LOCKTYPE . containing_type = _OFFERMESSAGE
_XMROFFERMESSAGE . fields_by_name [ ' lock_type ' ] . enum_type = _XMROFFERMESSAGE_LOCKTYPE
_XMROFFERMESSAGE_LOCKTYPE . containing_type = _XMROFFERMESSAGE
DESCRIPTOR . message_types_by_name [ ' OfferMessage ' ] = _OFFERMESSAGE
DESCRIPTOR . message_types_by_name [ ' BidMessage ' ] = _BIDMESSAGE
DESCRIPTOR . message_types_by_name [ ' BidAcceptMessage ' ] = _BIDACCEPTMESSAGE
DESCRIPTOR . message_types_by_name [ ' XmrOfferMessage ' ] = _XMROFFERMESSAGE
_sym_db . RegisterFileDescriptor ( DESCRIPTOR )
OfferMessage = _reflection . GeneratedProtocolMessageType ( ' OfferMessage ' , ( _message . Message , ) , dict (
DESCRIPTOR = _OFFERMESSAGE ,
__module__ = ' messages_pb2 '
OfferMessage = _reflection . GeneratedProtocolMessageType ( ' OfferMessage ' , ( _message . Message , ) , {
' DESCRIPTOR ' : _OFFERMESSAGE ,
' __module__ ' : ' messages_pb2 '
# @@protoc_insertion_point(class_scope:basicswap.OfferMessage)
) )
} )
_sym_db . RegisterMessage ( OfferMessage )
BidMessage = _reflection . GeneratedProtocolMessageType ( ' BidMessage ' , ( _message . Message , ) , dict (
DESCRIPTOR = _BIDMESSAGE ,
__module__ = ' messages_pb2 '
BidMessage = _reflection . GeneratedProtocolMessageType ( ' BidMessage ' , ( _message . Message , ) , {
' DESCRIPTOR ' : _BIDMESSAGE ,
' __module__ ' : ' messages_pb2 '
# @@protoc_insertion_point(class_scope:basicswap.BidMessage)
) )
} )
_sym_db . RegisterMessage ( BidMessage )
BidAcceptMessage = _reflection . GeneratedProtocolMessageType ( ' BidAcceptMessage ' , ( _message . Message , ) , dict (
DESCRIPTOR = _BIDACCEPTMESSAGE ,
__module__ = ' messages_pb2 '
BidAcceptMessage = _reflection . GeneratedProtocolMessageType ( ' BidAcceptMessage ' , ( _message . Message , ) , {
' DESCRIPTOR ' : _BIDACCEPTMESSAGE ,
' __module__ ' : ' messages_pb2 '
# @@protoc_insertion_point(class_scope:basicswap.BidAcceptMessage)
) )
} )
_sym_db . RegisterMessage ( BidAcceptMessage )
XmrOfferMessage = _reflection . GeneratedProtocolMessageType ( ' XmrOfferMessage ' , ( _message . Message , ) , {
' DESCRIPTOR ' : _XMROFFERMESSAGE ,
' __module__ ' : ' messages_pb2 '
# @@protoc_insertion_point(class_scope:basicswap.XmrOfferMessage)
} )
_sym_db . RegisterMessage ( XmrOfferMessage )
# @@protoc_insertion_point(module_scope)