mirror of https://github.com/bumi/lnrpc
Update grpc files for v0.7.1
This commit is contained in:
parent
83d71fae31
commit
809f80a8ed
|
@ -1161,6 +1161,14 @@ message Channel {
|
|||
|
||||
/// A set of flags showing the current state of the channel.
|
||||
string chan_status_flags = 19 [json_name = "chan_status_flags"];
|
||||
|
||||
/// The minimum satoshis this node is required to reserve in its balance.
|
||||
int64 local_chan_reserve_sat = 20 [json_name = "local_chan_reserve_sat"];
|
||||
|
||||
/**
|
||||
The minimum satoshis the other node is required to reserve in its balance.
|
||||
*/
|
||||
int64 remote_chan_reserve_sat = 21 [json_name = "remote_chan_reserve_sat"];
|
||||
}
|
||||
|
||||
|
||||
|
@ -1468,6 +1476,15 @@ message PendingChannelsResponse {
|
|||
|
||||
int64 local_balance = 4 [ json_name = "local_balance" ];
|
||||
int64 remote_balance = 5 [ json_name = "remote_balance" ];
|
||||
|
||||
/// The minimum satoshis this node is required to reserve in its balance.
|
||||
int64 local_chan_reserve_sat = 6 [json_name = "local_chan_reserve_sat"];
|
||||
|
||||
/**
|
||||
The minimum satoshis the other node is required to reserve in its
|
||||
balance.
|
||||
*/
|
||||
int64 remote_chan_reserve_sat = 7 [json_name = "remote_chan_reserve_sat"];
|
||||
}
|
||||
|
||||
message PendingOpenChannel {
|
||||
|
@ -1634,6 +1651,12 @@ message QueryRoutesRequest {
|
|||
self is assumed.
|
||||
*/
|
||||
string source_pub_key = 8;
|
||||
|
||||
/**
|
||||
If set to true, edge probabilities from mission control will be used to get
|
||||
the optimal route.
|
||||
*/
|
||||
bool use_mission_control = 9;
|
||||
}
|
||||
|
||||
message EdgeLocator {
|
||||
|
@ -1777,6 +1800,7 @@ message RoutingPolicy {
|
|||
int64 fee_rate_milli_msat = 4 [json_name = "fee_rate_milli_msat"];
|
||||
bool disabled = 5 [json_name = "disabled"];
|
||||
uint64 max_htlc_msat = 6 [json_name = "max_htlc_msat"];
|
||||
uint32 last_update = 7 [json_name = "last_update"];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1796,7 +1820,7 @@ message ChannelEdge {
|
|||
uint64 channel_id = 1 [json_name = "channel_id"];
|
||||
string chan_point = 2 [json_name = "chan_point"];
|
||||
|
||||
uint32 last_update = 3 [json_name = "last_update"];
|
||||
uint32 last_update = 3 [json_name = "last_update", deprecated = true];
|
||||
|
||||
string node1_pub = 4 [json_name = "node1_pub"];
|
||||
string node2_pub = 5 [json_name = "node2_pub"];
|
||||
|
@ -1851,6 +1875,9 @@ message NetworkInfo {
|
|||
int64 max_channel_size = 9 [json_name = "max_channel_size"];
|
||||
int64 median_channel_size_sat = 10 [json_name = "median_channel_size_sat"];
|
||||
|
||||
// The number of edges marked as zombies.
|
||||
uint64 num_zombie_chans = 11 [json_name = "num_zombie_chans"];
|
||||
|
||||
// TODO(roasbeef): fee rate info, expiry
|
||||
// * also additional RPC for tracking fee info once in
|
||||
}
|
||||
|
@ -2147,8 +2174,8 @@ message Payment {
|
|||
/// The path this payment took
|
||||
repeated string path = 4 [ json_name = "path" ];
|
||||
|
||||
/// The fee paid for this payment in satoshis
|
||||
int64 fee = 5 [json_name = "fee"];
|
||||
/// Deprecated, use fee_sat or fee_msat.
|
||||
int64 fee = 5 [json_name = "fee", deprecated = true];
|
||||
|
||||
/// The payment preimage
|
||||
string payment_preimage = 6 [json_name = "payment_preimage"];
|
||||
|
@ -2171,6 +2198,12 @@ message Payment {
|
|||
|
||||
// The status of the payment.
|
||||
PaymentStatus status = 10 [json_name = "status"];
|
||||
|
||||
/// The fee paid for this payment in satoshis
|
||||
int64 fee_sat = 11 [json_name = "fee_sat"];
|
||||
|
||||
/// The fee paid for this payment in milli-satoshis
|
||||
int64 fee_msat = 12 [json_name = "fee_msat"];
|
||||
}
|
||||
|
||||
message ListPaymentsRequest {
|
||||
|
|
|
@ -194,6 +194,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||
optional :private, :bool, 17
|
||||
optional :initiator, :bool, 18
|
||||
optional :chan_status_flags, :string, 19
|
||||
optional :local_chan_reserve_sat, :int64, 20
|
||||
optional :remote_chan_reserve_sat, :int64, 21
|
||||
end
|
||||
add_message "lnrpc.ListChannelsRequest" do
|
||||
optional :active_only, :bool, 1
|
||||
|
@ -349,6 +351,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||
optional :capacity, :int64, 3
|
||||
optional :local_balance, :int64, 4
|
||||
optional :remote_balance, :int64, 5
|
||||
optional :local_chan_reserve_sat, :int64, 6
|
||||
optional :remote_chan_reserve_sat, :int64, 7
|
||||
end
|
||||
add_message "lnrpc.PendingChannelsResponse.PendingOpenChannel" do
|
||||
optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
|
||||
|
@ -412,6 +416,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||
repeated :ignored_nodes, :bytes, 6
|
||||
repeated :ignored_edges, :message, 7, "lnrpc.EdgeLocator"
|
||||
optional :source_pub_key, :string, 8
|
||||
optional :use_mission_control, :bool, 9
|
||||
end
|
||||
add_message "lnrpc.EdgeLocator" do
|
||||
optional :channel_id, :uint64, 1
|
||||
|
@ -466,6 +471,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||
optional :fee_rate_milli_msat, :int64, 4
|
||||
optional :disabled, :bool, 5
|
||||
optional :max_htlc_msat, :uint64, 6
|
||||
optional :last_update, :uint32, 7
|
||||
end
|
||||
add_message "lnrpc.ChannelEdge" do
|
||||
optional :channel_id, :uint64, 1
|
||||
|
@ -500,6 +506,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||
optional :min_channel_size, :int64, 8
|
||||
optional :max_channel_size, :int64, 9
|
||||
optional :median_channel_size_sat, :int64, 10
|
||||
optional :num_zombie_chans, :uint64, 11
|
||||
end
|
||||
add_message "lnrpc.StopRequest" do
|
||||
end
|
||||
|
@ -607,6 +614,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|||
optional :value_msat, :int64, 8
|
||||
optional :payment_request, :string, 9
|
||||
optional :status, :enum, 10, "lnrpc.Payment.PaymentStatus"
|
||||
optional :fee_sat, :int64, 11
|
||||
optional :fee_msat, :int64, 12
|
||||
end
|
||||
add_enum "lnrpc.Payment.PaymentStatus" do
|
||||
value :UNKNOWN, 0
|
||||
|
|
Loading…
Reference in New Issue