mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 12:44:19 +01:00
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:
13
common/types.go
Normal file
13
common/types.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"github.com/btcsuite/btcd/wire"
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
)
|
||||
|
||||
type VtxoInput struct {
|
||||
Outpoint *wire.OutPoint
|
||||
Amount int64
|
||||
Tapscript *waddrmgr.Tapscript
|
||||
WitnessSize int
|
||||
}
|
||||
Reference in New Issue
Block a user