mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-24 06:57:51 +01:00
Adding payment_channel invariants, now double check the fee and that the full amounts add up
This commit is contained in:
parent
f132c3b959
commit
8af8cff73c
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ trait Policy {
|
|||
|
||||
/** A default fee to use per byte on the bitcoin network */
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue