lnrpc: make remote_id and channel_point strings in ActiveChannel
This commit is contained in:
parent
b88b2d4c91
commit
2ea21422b5
135
lnrpc/rpc.pb.go
135
lnrpc/rpc.pb.go
@ -176,13 +176,15 @@ func (*HTLC) ProtoMessage() {}
|
|||||||
func (*HTLC) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
func (*HTLC) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||||
|
|
||||||
type ActiveChannel struct {
|
type ActiveChannel struct {
|
||||||
FundingTxid []byte `protobuf:"bytes,1,opt,name=funding_txid,proto3" json:"funding_txid,omitempty"`
|
// TODO(roasbeef): make channel points a string everywhere in rpc?
|
||||||
Capacity int64 `protobuf:"varint,2,opt,name=capacity" json:"capacity,omitempty"`
|
RemoteId string `protobuf:"bytes,1,opt,name=remote_id" json:"remote_id,omitempty"`
|
||||||
LocalBalance int64 `protobuf:"varint,3,opt,name=local_balance" json:"local_balance,omitempty"`
|
ChannelPoint string `protobuf:"bytes,2,opt,name=channel_point" json:"channel_point,omitempty"`
|
||||||
RemoteBalance int64 `protobuf:"varint,4,opt,name=remote_balance" json:"remote_balance,omitempty"`
|
Capacity int64 `protobuf:"varint,3,opt,name=capacity" json:"capacity,omitempty"`
|
||||||
UnsettledBelance int64 `protobuf:"varint,5,opt,name=unsettled_belance" json:"unsettled_belance,omitempty"`
|
LocalBalance int64 `protobuf:"varint,4,opt,name=local_balance" json:"local_balance,omitempty"`
|
||||||
PendingHtlcs []*HTLC `protobuf:"bytes,6,rep,name=pending_htlcs" json:"pending_htlcs,omitempty"`
|
RemoteBalance int64 `protobuf:"varint,5,opt,name=remote_balance" json:"remote_balance,omitempty"`
|
||||||
NumUpdates int64 `protobuf:"varint,7,opt,name=num_updates" json:"num_updates,omitempty"`
|
UnsettledBelance int64 `protobuf:"varint,6,opt,name=unsettled_belance" json:"unsettled_belance,omitempty"`
|
||||||
|
PendingHtlcs []*HTLC `protobuf:"bytes,7,rep,name=pending_htlcs" json:"pending_htlcs,omitempty"`
|
||||||
|
NumUpdates uint64 `protobuf:"varint,8,opt,name=num_updates" json:"num_updates,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ActiveChannel) Reset() { *m = ActiveChannel{} }
|
func (m *ActiveChannel) Reset() { *m = ActiveChannel{} }
|
||||||
@ -621,65 +623,66 @@ var _Lightning_serviceDesc = grpc.ServiceDesc{
|
|||||||
}
|
}
|
||||||
|
|
||||||
var fileDescriptor0 = []byte{
|
var fileDescriptor0 = []byte{
|
||||||
// 950 bytes of a gzipped FileDescriptorProto
|
// 961 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x6e, 0xdb, 0x36,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x6e, 0xdb, 0x36,
|
||||||
0x14, 0x9e, 0x62, 0x3b, 0xb5, 0x8f, 0xec, 0x24, 0xa6, 0x9d, 0x46, 0xd5, 0x3a, 0xa0, 0x20, 0xd6,
|
0x14, 0x9e, 0x63, 0x3b, 0xb1, 0x8f, 0xec, 0x24, 0xa6, 0x9d, 0x46, 0xd5, 0x3a, 0xa0, 0x20, 0xd6,
|
||||||
0x2e, 0x18, 0x0a, 0x0f, 0x70, 0x77, 0x31, 0xb4, 0x40, 0x01, 0x37, 0x09, 0x96, 0xad, 0x5d, 0x1b,
|
0x2e, 0x18, 0x0a, 0x0f, 0x70, 0x77, 0x31, 0xb4, 0x40, 0x01, 0x37, 0x09, 0x96, 0xad, 0x5d, 0x1b,
|
||||||
0x2c, 0x1e, 0x8a, 0x5d, 0x11, 0xb2, 0xc4, 0xc4, 0x42, 0x65, 0x52, 0x13, 0xa9, 0x24, 0xde, 0x03,
|
0x2c, 0x1e, 0x8a, 0x5d, 0x11, 0xb2, 0xc4, 0xc4, 0x42, 0x65, 0x52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x87, 0x5d, 0x3f, 0xef, 0xa5, 0x29, 0x38, 0xea, 0x41, 0x7b, 0xa6,
|
||||||
0x47, 0x90, 0x84, 0x87, 0x9f, 0xbc, 0x9a, 0x31, 0x95, 0x6a, 0x89, 0xe4, 0x24, 0x17, 0x5e, 0x5d,
|
0x1c, 0x41, 0x62, 0x1e, 0x7c, 0x74, 0xeb, 0xc6, 0x54, 0xaa, 0x25, 0x92, 0x93, 0x4c, 0xb8, 0x0d,
|
||||||
0x7d, 0x36, 0xf1, 0x3f, 0x0e, 0x74, 0x46, 0xa1, 0x8c, 0x6f, 0xa8, 0x35, 0xe4, 0x3d, 0x5e, 0x3c,
|
0xf5, 0xd9, 0xc2, 0xff, 0xd6, 0xa0, 0x3b, 0x0e, 0x64, 0x74, 0x4b, 0xad, 0x21, 0xf5, 0x9d, 0x94,
|
||||||
0x80, 0x66, 0x18, 0xa4, 0x41, 0x18, 0xcb, 0xb9, 0xcd, 0x7d, 0x08, 0x1d, 0x95, 0x36, 0x48, 0xc8,
|
0xce, 0xb9, 0xa4, 0xc5, 0x53, 0x6d, 0x74, 0x04, 0xdd, 0x20, 0x3f, 0x25, 0x89, 0xf6, 0x6b, 0xee,
|
||||||
0x24, 0x48, 0x02, 0x16, 0x52, 0x93, 0xbf, 0xa6, 0xb4, 0xdc, 0xcb, 0xe8, 0x8c, 0x4b, 0xba, 0x88,
|
0x29, 0x74, 0x08, 0xad, 0xc0, 0x4f, 0xfc, 0x20, 0x92, 0x0b, 0x93, 0xbc, 0xae, 0x81, 0xea, 0x29,
|
||||||
0xd7, 0x4d, 0xfc, 0x11, 0x74, 0x73, 0x55, 0x87, 0x94, 0x09, 0x8d, 0xc8, 0x84, 0x16, 0x47, 0x0d,
|
0x3f, 0x26, 0x53, 0x3f, 0xf6, 0x59, 0x40, 0xcd, 0x23, 0x75, 0x55, 0xdf, 0x7d, 0x9b, 0xb2, 0x88,
|
||||||
0x73, 0x84, 0xa1, 0x93, 0xd2, 0xe2, 0xc5, 0xa9, 0x4c, 0x42, 0xe1, 0xed, 0x1a, 0x23, 0xba, 0x56,
|
0x37, 0x4d, 0xfc, 0x21, 0xf4, 0x32, 0xa5, 0x4d, 0xca, 0x98, 0x86, 0x64, 0x4a, 0xf3, 0xa3, 0x5d,
|
||||||
0x21, 0x53, 0x65, 0x0f, 0x5c, 0x96, 0xcf, 0x48, 0x9e, 0x46, 0x81, 0xa4, 0xc2, 0x7b, 0xa0, 0x2f,
|
0x73, 0x84, 0xa1, 0x9b, 0xd0, 0x7c, 0x22, 0x66, 0x32, 0x0e, 0x84, 0xbb, 0x67, 0xcc, 0xe9, 0xd8,
|
||||||
0xe2, 0x7f, 0x1d, 0xa8, 0x6b, 0x91, 0x34, 0xe7, 0xa4, 0xd4, 0xb1, 0x54, 0xa8, 0x55, 0x95, 0x4c,
|
0xaa, 0x19, 0xe5, 0x7d, 0x70, 0x58, 0x36, 0x27, 0x59, 0x12, 0xfa, 0x92, 0x0a, 0xb7, 0xa5, 0x2e,
|
||||||
0x53, 0x6e, 0x54, 0x1b, 0x55, 0x33, 0x08, 0x25, 0xde, 0x64, 0xae, 0xf2, 0x11, 0x41, 0x95, 0x66,
|
0x36, 0xf0, 0x3f, 0x35, 0x68, 0xe8, 0xc2, 0xe9, 0xe9, 0x89, 0x8b, 0xda, 0x96, 0x52, 0x2a, 0x65,
|
||||||
0x9a, 0x68, 0x7d, 0x19, 0xcb, 0x68, 0x78, 0x63, 0x18, 0xd6, 0x75, 0xf5, 0x22, 0x90, 0x05, 0x6a,
|
0xd4, 0x22, 0x9a, 0xd5, 0xe6, 0xd5, 0x0d, 0x42, 0x15, 0x74, 0xba, 0x50, 0xf9, 0x88, 0xa0, 0x4a,
|
||||||
0xd7, 0x70, 0xb6, 0x11, 0x83, 0x31, 0x64, 0x74, 0xf2, 0x98, 0x4d, 0x94, 0xf8, 0x91, 0xd7, 0xd4,
|
0xa9, 0x16, 0xd0, 0x28, 0x63, 0x29, 0x0d, 0x6e, 0x0d, 0xf9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c, 0x47, 0xdb, 0x0f, 0xf3, 0x5c, 0xd3, 0x5d, 0xf3,
|
||||||
0x0c, 0x82, 0x57, 0x08, 0x00, 0x00,
|
0xf7, 0xe2, 0xf9, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x90, 0xc6, 0xa9, 0x9d, 0x6b, 0x08, 0x00,
|
||||||
|
0x00,
|
||||||
}
|
}
|
||||||
|
@ -64,16 +64,18 @@ message HTLC {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message ActiveChannel {
|
message ActiveChannel {
|
||||||
bytes funding_txid = 1;
|
// TODO(roasbeef): make channel points a string everywhere in rpc?
|
||||||
|
string remote_id = 1;
|
||||||
|
string channel_point = 2;
|
||||||
|
|
||||||
int64 capacity = 2;
|
int64 capacity = 3;
|
||||||
int64 local_balance = 3;
|
int64 local_balance = 4;
|
||||||
int64 remote_balance = 4;
|
int64 remote_balance = 5;
|
||||||
|
|
||||||
int64 unsettled_belance = 5;
|
int64 unsettled_belance = 6;
|
||||||
repeated HTLC pending_htlcs = 6;
|
repeated HTLC pending_htlcs = 7;
|
||||||
|
|
||||||
int64 num_updates = 7;
|
uint64 num_updates = 8;
|
||||||
// TODO(roasbeef): other stuffs
|
// TODO(roasbeef): other stuffs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user