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