txbuilder

package
v0.0.0-...-73b4c3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const EnableRbfNoLockTime = wire.MaxTxInSequenceNum - 2
View Source
const MaxStandardTxWeight = blockchain.MaxBlockWeight / 10

Variables

This section is empty.

Functions

func CreateEmptyTx

func CreateEmptyTx() *wire.MsgTx

Types

type MintTxBuilder

type MintTxBuilder struct {
	// contains filtered or unexported fields
}

func NewMintTxBuilder

func NewMintTxBuilder(private *btcec.PrivateKey, net *chaincfg.Params) *MintTxBuilder

func (*MintTxBuilder) BuildMintTx

func (etb *MintTxBuilder) BuildMintTx(prev PrevInfo, req runes.EtchRequest) (*wire.MsgTx, error)

type PrevInfo

type PrevInfo struct {
	PrevTxId   string
	PrevScript []byte
	PreAmount  int64
}

func BuilderPrevInfo

func BuilderPrevInfo(txId, script string, amount int64) PrevInfo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL