Adding payment_channel invariants, now double check the fee and that the full amounts add up

This commit is contained in:
Chris Stewart 2017-06-06 20:46:55 -05:00
parent f132c3b959
commit 8af8cff73c

View File

@ -44,6 +44,9 @@ trait Policy {
/** A default fee to use per byte on the bitcoin network */ /** A default fee to use per byte on the bitcoin network */
def defaultFee: CurrencyUnit = Satoshis(Int64(50)) def defaultFee: CurrencyUnit = Satoshis(Int64(50))
/** Max fee for a transaction is set to 10 mBTC right now */
def maxFee: CurrencyUnit = Satoshis(Int64(10)) * CurrencyUnits.oneMBTC
} }
object Policy extends Policy object Policy extends Policy