mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-05 20:49:48 +02:00
watchtower/wtpolicy: add RewardBase to Policy
This commit is contained in:
parent
948646b58b
commit
26f4131102
@ -48,6 +48,11 @@ type Policy struct {
|
|||||||
// for this session.
|
// for this session.
|
||||||
MaxUpdates uint16
|
MaxUpdates uint16
|
||||||
|
|
||||||
|
// RewardBase is the fixed amount allocated to the tower when the
|
||||||
|
// policy's blob type specifies a reward for the tower. This is taken
|
||||||
|
// before adding the proportional reward.
|
||||||
|
RewardBase uint32
|
||||||
|
|
||||||
// RewardRate is the fraction of the total balance of the revoked
|
// RewardRate is the fraction of the total balance of the revoked
|
||||||
// commitment that the watchtower is entitled to. This value is
|
// commitment that the watchtower is entitled to. This value is
|
||||||
// expressed in millionths of the total balance.
|
// expressed in millionths of the total balance.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user