Track sats consumed

This commit is contained in:
2024-02-21 20:29:58 +00:00
parent f41064f670
commit febeb1b0d4
5 changed files with 519 additions and 11 deletions

View File

@ -39,6 +39,12 @@ public class UserStream
public string ForwardClientId { get; set; } = null!;
public DateTime LastSegment { get; set; } = DateTime.UtcNow;
/// <summary>
/// Total sats charged during this stream
/// </summary>
public decimal MilliSatsCollected { get; set; }
public List<UserStreamGuest> Guests { get; init; } = new();
}