mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 12:44:19 +01:00
Dynamic min-relay-fee and dust amount (#280)
* [btc-embedded] add chainfee.Estimator and extraAPI interfaces * dynamic fee amount * dynamic dust amount * [client] fix linter errors * [domain] fix unit tests * [server] return dust amount in GetInfo RPC * [sdk] fix lnd dependencie * go work sync * fix witness stack size forfeit tx size estimator * remove hardcoded fee values in covenant txbuilder * lower liquid feerate * fix after reviews * go work sync
This commit is contained in:
@@ -147,6 +147,7 @@ func (h *handler) Ping(ctx context.Context, req *arkv1.PingRequest) (*arkv1.Ping
|
||||
Id: e.Id,
|
||||
CosignersPubkeys: cosignersKeys,
|
||||
UnsignedTree: castCongestionTree(e.UnsignedVtxoTree),
|
||||
UnsignedRoundTx: e.UnsignedRoundTx,
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -348,7 +349,7 @@ func (h *handler) GetInfo(ctx context.Context, req *arkv1.GetInfoRequest) (*arkv
|
||||
UnilateralExitDelay: info.UnilateralExitDelay,
|
||||
RoundInterval: info.RoundInterval,
|
||||
Network: info.Network,
|
||||
MinRelayFee: info.MinRelayFee,
|
||||
Dust: int64(info.Dust),
|
||||
BoardingDescriptorTemplate: info.BoardingDescriptorTemplate,
|
||||
}, nil
|
||||
}
|
||||
@@ -515,6 +516,7 @@ func (h *handler) listenToEvents() {
|
||||
Id: e.Id,
|
||||
CosignersPubkeys: cosignersKeys,
|
||||
UnsignedTree: castCongestionTree(e.UnsignedVtxoTree),
|
||||
UnsignedRoundTx: e.UnsignedRoundTx,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user