watchtower/wtpolicy/policy: bump default fee rate to 10 sat/byte
This commit is contained in:
parent
05107ce969
commit
4b549cb43c
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user