daemon

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "2.5.0"

Variables

View Source
var Config config
View Source
var WalletPrimaryAddress string

Functions

func Balance

func Balance(ctx context.Context, indices []uint64) (*walletrpc.GetBalanceResponse, error)

func DbMigrate added in v2.4.0

func DbMigrate(url, conn string)

func GetPaymentRequest added in v2.2.0

func GetPaymentRequest(ctx context.Context, address string, min, max uint64) (model.ReceiveGetResponse, error)

func Health

func Health(ctx context.Context) model.HealthResponse

func Receive

func Receive(ctx context.Context, xmr uint64, desc, callbackUrl string) (string, time.Time, error)

func Run

func Run()

func SqliteMigrateParseDSN added in v2.4.0

func SqliteMigrateParseDSN(conn string) string

go-migrate's sqlite3 library doesn't use standard DSN connection strings

func TransferSplit added in v2.5.0

Types

type Receiver added in v2.1.0

type Receiver struct {
	Index, Expected uint64
	Description     string
	CreatedAt       time.Time
}

Jump to

Keyboard shortcuts

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