lnrpc: extend the FeeReportResponse to include fee revenue sums

This commit is contained in:
Olaoluwa Osuntokun 2018-02-27 22:20:46 -08:00
parent 473dfd115b
commit ff720e1252
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
1 changed files with 9 additions and 0 deletions

View File

@ -1488,6 +1488,15 @@ message ChannelFeeReport {
message FeeReportResponse {
/// An array of channel fee reports which describes the current fee schedule for each channel.
repeated ChannelFeeReport channel_fees = 1 [json_name = "channel_fees"];
/// The total amount of fee revenue (in satoshis) the switch has collected over the past 24 hrs.
uint64 day_fee_sum = 2 [json_name = "day_fee_sum"];
/// The total amount of fee revenue (in satoshis) the switch has collected over the past 1 week.
uint64 week_fee_sum = 3 [json_name = "week_fee_sum"];
/// The total amount of fee revenue (in satoshis) the switch has collected over the past 1 month.
uint64 month_fee_sum = 4 [json_name = "month_fee_sum"];
}
message PolicyUpdateRequest {