Documentation ¶
Overview ¶
Package proof - prepare blocks for prooferd
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialise ¶
func Initialise(configuration *Configuration) error
Initialise - start proofer background processes
Types ¶
type Configuration ¶
type Configuration struct { Publish []string `gluamapper:"publish" json:"publish"` Submit []string `gluamapper:"submit" json:"submit"` PrivateKey string `gluamapper:"private_key" json:"private_key"` PublicKey string `gluamapper:"public_key" json:"public_key"` SigningKey string `gluamapper:"signing_key" json:"signing_key"` PaymentAddr map[string]string `gluamapper:"payment_address" json:"payment_address"` }
Configuration - server identification in Z85 (ZeroMQ Base-85 Encoding) see: http://rfc.zeromq.org/spec:32 a block of configuration data this is read from the configuration file
type PublishedItem ¶
type PublishedItem struct { Job string Header blockrecord.Header TxZero []byte TxIds []merkle.Digest }
PublishedItem - to send to proofer
type SubmittedItem ¶
SubmittedItem - received from the proofer
Click to show internal directories.
Click to hide internal directories.