Documentation ¶
Index ¶
- func AddInputsToCoverFee(tx *wire.MsgTx, walletName string, fee int64) (*wire.MsgTx, int64, error)
- func BroadcastBtcTransaction(tx *wire.MsgTx)
- func BroadcastOnBtc(dbconn *sql.DB)
- func BtcToSats(btc float64) int64
- func CheckPinning(dbconn *sql.DB)
- func ConfirmTx(dbconn *sql.DB)
- func CreateTxFromHex(txHex string) (*wire.MsgTx, error)
- func DecodeBtcScript(script string) string
- func GetBroadCastedRefundTx() types.BroadcastRefundMsg
- func GetBroadCastedSweepTx() (types.BroadcastTxSweepMsg, error)
- func GetFeeFromBtcNode(tx *wire.MsgTx) (int64, error)
- func GetHeightFromScript(script string) int64
- func GetUnspentUTXOs(walletName string) ([]btcjson.ListUnspentResult, error)
- func ReplaceByFee(tx *wire.MsgTx, amount int32)
- func SignNewFeeInputs(tx *wire.MsgTx, n int64) (*wire.MsgTx, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInputsToCoverFee ¶
func BroadcastBtcTransaction ¶
func BroadcastOnBtc ¶
func CheckPinning ¶
func DecodeBtcScript ¶
func GetBroadCastedRefundTx ¶
func GetBroadCastedRefundTx() types.BroadcastRefundMsg
func GetBroadCastedSweepTx ¶
func GetBroadCastedSweepTx() (types.BroadcastTxSweepMsg, error)
func GetHeightFromScript ¶
func GetUnspentUTXOs ¶
func GetUnspentUTXOs(walletName string) ([]btcjson.ListUnspentResult, error)
func ReplaceByFee ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.