Move redeem transactions creation client-side (#388)

* move OOR transaction creation client-side

* robust redeem tx checks

* optimize GetVtxos db call

* rename CompleteAsyncPayment --> SubmitRedeemTx

* fix permissions.go
This commit is contained in:
Louis Singer
2024-11-25 13:38:04 +01:00
committed by GitHub
parent d184fc0f41
commit 12d666bfdf
67 changed files with 1772 additions and 5548 deletions

View File

@@ -1467,7 +1467,7 @@ func (a *covenantArkClient) createAndSignForfeits(
ControlBlock: *ctrlBlock,
}
feeAmount, err := common.ComputeForfeitMinRelayFee(
feeAmount, err := common.ComputeForfeitTxFee(
feeRate,
&waddrmgr.Tapscript{
RevealedScript: leafProof.Script,