payment

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2017 License: ISC Imports: 10 Imported by: 0

Documentation

Overview

control of payment verification

Index

Constants

View Source
const (
	ReceiptLength         = 64 // hex bytes
	NonceLength           = 64 // hex bytes
	RequiredConfirmations = 3
)

maximum values

Variables

This section is empty.

Functions

func Finalise added in v0.2.0

func Finalise()

stop all payment handlers

func GetPayments added in v0.3.5

func GetPayments(ownerData []byte, previousTransfer *transactionrecord.BitmarkTransfer) []*transactionrecord.Payment

get payment record from a specific block given the blocks 8 byte big endian key

func Initialise added in v0.2.0

func Initialise(configuration *Configuration) error

create the tables

Types

type Configuration added in v0.2.0

type Configuration struct {
	Bitcoin  *bitcoin.Configuration  `libucl:"bitcoin" hcl:"bitcoin" json:"bitcoin"`
	Litecoin *litecoin.Configuration `libucl:"litecoin" hcl:"litecoin" json:"litecoin"`
}

configuration for each sub-module

Directories

Path Synopsis
Detect payment records in the Bitcoin Block Chain Payments are indicated by OP_RETURN embedded data, this is compressed to fit it within the 80 byte Bitcoin limit.
Detect payment records in the Bitcoin Block Chain Payments are indicated by OP_RETURN embedded data, this is compressed to fit it within the 80 byte Bitcoin limit.
Detect payment records in the Litecoin Block Chain Payments are indicated by OP_RETURN embedded data, this is compressed to fit it within the 80 byte Litecoin limit.
Detect payment records in the Litecoin Block Chain Payments are indicated by OP_RETURN embedded data, this is compressed to fit it within the 80 byte Litecoin limit.

Jump to

Keyboard shortcuts

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