|
|
@ -1383,7 +1383,7 @@ const ProtobufCMessageDescriptor anchor__descriptor = |
|
|
|
(ProtobufCMessageInit) anchor__init, |
|
|
|
NULL,NULL,NULL /* reserved[123] */ |
|
|
|
}; |
|
|
|
static const ProtobufCFieldDescriptor open_channel__field_descriptors[8] = |
|
|
|
static const ProtobufCFieldDescriptor open_channel__field_descriptors[7] = |
|
|
|
{ |
|
|
|
{ |
|
|
|
"seed", |
|
|
@ -1400,25 +1400,13 @@ static const ProtobufCFieldDescriptor open_channel__field_descriptors[8] = |
|
|
|
{ |
|
|
|
"locktime_seconds", |
|
|
|
2, |
|
|
|
PROTOBUF_C_LABEL_OPTIONAL, |
|
|
|
PROTOBUF_C_LABEL_REQUIRED, |
|
|
|
PROTOBUF_C_TYPE_UINT32, |
|
|
|
offsetof(OpenChannel, locktime_case), |
|
|
|
0, /* quantifier_offset */ |
|
|
|
offsetof(OpenChannel, locktime_seconds), |
|
|
|
NULL, |
|
|
|
NULL, |
|
|
|
0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
|
|
|
0,NULL,NULL /* reserved1,reserved2, etc */ |
|
|
|
}, |
|
|
|
{ |
|
|
|
"locktime_blocks", |
|
|
|
3, |
|
|
|
PROTOBUF_C_LABEL_OPTIONAL, |
|
|
|
PROTOBUF_C_TYPE_UINT32, |
|
|
|
offsetof(OpenChannel, locktime_case), |
|
|
|
offsetof(OpenChannel, locktime_blocks), |
|
|
|
NULL, |
|
|
|
NULL, |
|
|
|
0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
|
|
|
0, /* flags */ |
|
|
|
0,NULL,NULL /* reserved1,reserved2, etc */ |
|
|
|
}, |
|
|
|
{ |
|
|
@ -1483,19 +1471,19 @@ static const ProtobufCFieldDescriptor open_channel__field_descriptors[8] = |
|
|
|
}, |
|
|
|
}; |
|
|
|
static const unsigned open_channel__field_indices_by_name[] = { |
|
|
|
6, /* field[6] = anchor */ |
|
|
|
5, /* field[5] = commitment_fee */ |
|
|
|
2, /* field[2] = locktime_blocks */ |
|
|
|
5, /* field[5] = anchor */ |
|
|
|
4, /* field[4] = commitment_fee */ |
|
|
|
1, /* field[1] = locktime_seconds */ |
|
|
|
3, /* field[3] = revocation_hash */ |
|
|
|
4, /* field[4] = script_to_me */ |
|
|
|
2, /* field[2] = revocation_hash */ |
|
|
|
3, /* field[3] = script_to_me */ |
|
|
|
0, /* field[0] = seed */ |
|
|
|
7, /* field[7] = tx_version */ |
|
|
|
6, /* field[6] = tx_version */ |
|
|
|
}; |
|
|
|
static const ProtobufCIntRange open_channel__number_ranges[1 + 1] = |
|
|
|
static const ProtobufCIntRange open_channel__number_ranges[2 + 1] = |
|
|
|
{ |
|
|
|
{ 1, 0 }, |
|
|
|
{ 0, 8 } |
|
|
|
{ 4, 2 }, |
|
|
|
{ 0, 7 } |
|
|
|
}; |
|
|
|
const ProtobufCMessageDescriptor open_channel__descriptor = |
|
|
|
{ |
|
|
@ -1505,10 +1493,10 @@ const ProtobufCMessageDescriptor open_channel__descriptor = |
|
|
|
"OpenChannel", |
|
|
|
"", |
|
|
|
sizeof(OpenChannel), |
|
|
|
8, |
|
|
|
7, |
|
|
|
open_channel__field_descriptors, |
|
|
|
open_channel__field_indices_by_name, |
|
|
|
1, open_channel__number_ranges, |
|
|
|
2, open_channel__number_ranges, |
|
|
|
(ProtobufCMessageInit) open_channel__init, |
|
|
|
NULL,NULL,NULL /* reserved[123] */ |
|
|
|
}; |
|
|
|