watchtower/wtpolicy/policy: bump default fee rate to 10 sat/byte

This commit is contained in:
Conner Fromknecht committed 2019-07-01 15:56:03 -07:00
1 parent 05107ce969
commit 4b549cb43c
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -1058,8 +1058,8 @@ var clientTests = []clientTest{
// less expensive than one that sweeps both.
name: "send and recv",
cfg: harnessCfg{
localBalance: 10000001, // ensure (% amt != 0)
remoteBalance: 20000001, // ensure (% amt != 0)
localBalance: 100000001, // ensure (% amt != 0)
remoteBalance: 200000001, // ensure (% amt != 0)
policy: wtpolicy.Policy{
TxPolicy: wtpolicy.TxPolicy{
BlobType: blob.TypeAltruistCommit,
@@ -1071,7 +1071,7 @@ var clientTests = []clientTest{
fn: func(h *testHarness) {
var (
capacity = h.cfg.localBalance + h.cfg.remoteBalance
paymentAmt = lnwire.MilliSatoshi(200000)
paymentAmt = lnwire.MilliSatoshi(2000000)
numSends = uint64(h.cfg.localBalance / paymentAmt)
numRecvs = uint64(capacity / paymentAmt)
numUpdates = numSends + numRecvs // 200 updates
+1 -1
View File
@@ -27,7 +27,7 @@ const (
// DefaultSweepFeeRate specifies the fee rate used to construct justice
// transactions. The value is expressed in satoshis per kilo-weight.
DefaultSweepFeeRate = lnwallet.SatPerKWeight(12000)
DefaultSweepFeeRate = lnwallet.SatPerKWeight(40000)
// MinSweepFeeRate is the minimum sweep fee rate a client may use in its
// policy, the current value is 4 sat/kw.