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 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 { UseDiscovery bool `libucl:"use_discovery" hcl:"use_discovery" json:"use_discovery"` Discovery *DiscoveryConfiguration `libucl:"discovery" hcl:"discovery" json:"discovery"` Bitcoin *bitcoin.Configuration `libucl:"bitcoin" hcl:"bitcoin" json:"bitcoin"` Litecoin *litecoin.Configuration `libucl:"litecoin" hcl:"litecoin" json:"litecoin"` }
configuration for each sub-module
type DiscoveryConfiguration ¶ added in v0.4.12
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. |
client side of discovery proxy
|
client side of discovery proxy |
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. |
Click to show internal directories.
Click to hide internal directories.