utils

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDelay

func ParseDelay(s string) (*arklib.RelativeLocktime, error)

func ToBitcoinNetwork

func ToBitcoinNetwork(net arklib.Network) chaincfg.Params

func ValidateHandler

func ValidateHandler(h handlers.Handler, t types.ContractType) error

ValidateHandler rejects both an interface that is nil and an interface holding a typed-nil concrete value (e.g. var h *MyHandler; validateHandler(h, ...)).

Types

This section is empty.

Jump to

Keyboard shortcuts

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