Documentation ¶
Index ¶
- Constants
- func DecodeToTx(hexStr string) (*wire.MsgTx, error)
- func GetMaxMin(ranks map[string]uint64) (uint64, uint64, string, []string)
- func GetTransactionWeight(msgTx *wire.MsgTx) int64
- func MsgBlockToBlock(msgBlock *wire.MsgBlock, params *chaincfg.Params) types.Block
- func MsgTxToTx(msgTx *wire.MsgTx, params *chaincfg.Params) types.Tx
- func RandRange(min int, max int) int
- func ScriptToPubkeyInfo(script []byte, params *chaincfg.Params) (types.ScriptPubkeyInfo, error)
- func SortTx(txs []common.Transaction)
- func ValueSat(value interface{}) float64
Constants ¶
View Source
const (
WitnessScaleFactor = 4
)
Variables ¶
This section is empty.
Functions ¶
func GetTransactionWeight ¶
func MsgBlockToBlock ¶
func ScriptToPubkeyInfo ¶
func SortTx ¶
func SortTx(txs []common.Transaction)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.