utxo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: BlueOak-1.0.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BitcoinID = 0
)
View Source
const (
	ChainID = 42
)

Variables

This section is empty.

Functions

func NewBitcoin

func NewBitcoin(rawConfig json.RawMessage, log dex.Logger, net dex.Network) (chain.Chain, error)

func NewDecred

func NewDecred(rawConfig json.RawMessage, log dex.Logger, net dex.Network) (chain.Chain, error)

Types

type BitcoinConfigFile

type BitcoinConfigFile struct {
	dexbtc.RPCConfig
	NodeRelay string `json:"nodeRelay"`
}

type DecredConfigFile

type DecredConfigFile struct {
	RPCUser   string `json:"rpcuser"`
	RPCPass   string `json:"rpcpass"`
	RPCListen string `json:"rpclisten"`
	RPCCert   string `json:"rpccert"`
	NodeRelay string `json:"nodeRelay"`
}

Jump to

Keyboard shortcuts

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