Add Bitcoin average quota

This commit is contained in:
nicolas.dorier
2018-04-18 18:23:39 +09:00
parent 73ed4003a3
commit 6936b034cb
6 changed files with 88 additions and 24 deletions

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Services.Rates;
namespace BTCPayServer.Models.ServerViewModels
{
@@ -14,5 +15,6 @@ namespace BTCPayServer.Models.ServerViewModels
[Display(Name = "Cache the rates for ... minutes")]
[Range(0, 60)]
public int CacheMinutes { get; set; }
public GetRateLimitsResponse RateLimits { get; internal set; }
}
}