rpc: Fix typo in OpenChannelRequest

This commit is contained in:
Steven Roose 2018-03-15 18:32:35 +01:00
parent b866806d67
commit 9516d8da52
3 changed files with 10 additions and 18 deletions

@ -519,9 +519,7 @@ func (m *ChannelPoint) String() string { return proto.CompactTextStri
func (*ChannelPoint) ProtoMessage() {} func (*ChannelPoint) ProtoMessage() {}
func (*ChannelPoint) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} } func (*ChannelPoint) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
type isChannelPoint_FundingTxid interface { type isChannelPoint_FundingTxid interface{ isChannelPoint_FundingTxid() }
isChannelPoint_FundingTxid()
}
type ChannelPoint_FundingTxidBytes struct { type ChannelPoint_FundingTxidBytes struct {
FundingTxidBytes []byte `protobuf:"bytes,1,opt,name=funding_txid_bytes,proto3,oneof"` FundingTxidBytes []byte `protobuf:"bytes,1,opt,name=funding_txid_bytes,proto3,oneof"`
@ -1558,9 +1556,7 @@ func (m *CloseStatusUpdate) String() string { return proto.CompactTex
func (*CloseStatusUpdate) ProtoMessage() {} func (*CloseStatusUpdate) ProtoMessage() {}
func (*CloseStatusUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{41} } func (*CloseStatusUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{41} }
type isCloseStatusUpdate_Update interface { type isCloseStatusUpdate_Update interface{ isCloseStatusUpdate_Update() }
isCloseStatusUpdate_Update()
}
type CloseStatusUpdate_ClosePending struct { type CloseStatusUpdate_ClosePending struct {
ClosePending *PendingUpdate `protobuf:"bytes,1,opt,name=close_pending,oneof"` ClosePending *PendingUpdate `protobuf:"bytes,1,opt,name=close_pending,oneof"`
@ -1730,9 +1726,9 @@ type OpenChannelRequest struct {
LocalFundingAmount int64 `protobuf:"varint,4,opt,name=local_funding_amount" json:"local_funding_amount,omitempty"` LocalFundingAmount int64 `protobuf:"varint,4,opt,name=local_funding_amount" json:"local_funding_amount,omitempty"`
// / The number of satoshis to push to the remote side as part of the initial commitment state // / The number of satoshis to push to the remote side as part of the initial commitment state
PushSat int64 `protobuf:"varint,5,opt,name=push_sat" json:"push_sat,omitempty"` PushSat int64 `protobuf:"varint,5,opt,name=push_sat" json:"push_sat,omitempty"`
// / The target number of blocks that the closure transaction should be confirmed by. // / The target number of blocks that the funding transaction should be confirmed by.
TargetConf int32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf" json:"target_conf,omitempty"` TargetConf int32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf" json:"target_conf,omitempty"`
// / A manual fee rate set in sat/byte that should be used when crafting the closure transaction. // / A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte" json:"sat_per_byte,omitempty"` SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte" json:"sat_per_byte,omitempty"`
// / Whether this channel should be private, not announced to the greater network. // / Whether this channel should be private, not announced to the greater network.
Private bool `protobuf:"varint,8,opt,name=private" json:"private,omitempty"` Private bool `protobuf:"varint,8,opt,name=private" json:"private,omitempty"`
@ -1814,9 +1810,7 @@ func (m *OpenStatusUpdate) String() string { return proto.CompactText
func (*OpenStatusUpdate) ProtoMessage() {} func (*OpenStatusUpdate) ProtoMessage() {}
func (*OpenStatusUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{44} } func (*OpenStatusUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{44} }
type isOpenStatusUpdate_Update interface { type isOpenStatusUpdate_Update interface{ isOpenStatusUpdate_Update() }
isOpenStatusUpdate_Update()
}
type OpenStatusUpdate_ChanPending struct { type OpenStatusUpdate_ChanPending struct {
ChanPending *PendingUpdate `protobuf:"bytes,1,opt,name=chan_pending,oneof"` ChanPending *PendingUpdate `protobuf:"bytes,1,opt,name=chan_pending,oneof"`
@ -3714,9 +3708,7 @@ func (m *PolicyUpdateRequest) String() string { return proto.CompactT
func (*PolicyUpdateRequest) ProtoMessage() {} func (*PolicyUpdateRequest) ProtoMessage() {}
func (*PolicyUpdateRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{92} } func (*PolicyUpdateRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{92} }
type isPolicyUpdateRequest_Scope interface { type isPolicyUpdateRequest_Scope interface{ isPolicyUpdateRequest_Scope() }
isPolicyUpdateRequest_Scope()
}
type PolicyUpdateRequest_Global struct { type PolicyUpdateRequest_Global struct {
Global bool `protobuf:"varint,1,opt,name=global,oneof"` Global bool `protobuf:"varint,1,opt,name=global,oneof"`

@ -965,10 +965,10 @@ message OpenChannelRequest {
/// The number of satoshis to push to the remote side as part of the initial commitment state /// The number of satoshis to push to the remote side as part of the initial commitment state
int64 push_sat = 5 [json_name = "push_sat"]; int64 push_sat = 5 [json_name = "push_sat"];
/// The target number of blocks that the closure transaction should be confirmed by. /// The target number of blocks that the funding transaction should be confirmed by.
int32 target_conf = 6; int32 target_conf = 6;
/// A manual fee rate set in sat/byte that should be used when crafting the closure transaction. /// A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
int64 sat_per_byte = 7; int64 sat_per_byte = 7;
/// Whether this channel should be private, not announced to the greater network. /// Whether this channel should be private, not announced to the greater network.

@ -1756,12 +1756,12 @@
"target_conf": { "target_conf": {
"type": "integer", "type": "integer",
"format": "int32", "format": "int32",
"description": "/ The target number of blocks that the closure transaction should be confirmed by." "description": "/ The target number of blocks that the funding transaction should be confirmed by."
}, },
"sat_per_byte": { "sat_per_byte": {
"type": "string", "type": "string",
"format": "int64", "format": "int64",
"description": "/ A manual fee rate set in sat/byte that should be used when crafting the closure transaction." "description": "/ A manual fee rate set in sat/byte that should be used when crafting the funding transaction."
}, },
"private": { "private": {
"type": "boolean", "type": "boolean",