Documentation ¶
Index ¶
- Variables
- func CheckFactomBalance() (int64, int64, error)
- func CreateAnchorEntry(aRecord *anchor.AnchorRecord, chainID interfaces.IHash, ...) (*entryBlock.Entry, error)
- func CreateAndSendAnchor(ar *anchor.AnchorRecord) (string, error)
- func CreateFirstBitcoinAnchorEntry() *entryBlock.Entry
- func CreateFirstEthereumAnchorEntry() *entryBlock.Entry
- func JustFactomize(entry *entryBlock.Entry) (string, string, error)
- func JustFactomizeChain(entry *entryBlock.Entry) (string, string, error)
- func LoadConfig(c *config.AnchorConfig)
- func SaveAnchorsIntoFactom(dbo *database.AnchorDatabaseOverlay) error
- func SynchronizeFactomData(dbo *database.AnchorDatabaseOverlay) (int, error)
- func TopupECAddress() error
Constants ¶
This section is empty.
Variables ¶
View Source
var AnchorSigPublicKeys []interfaces.Verifier
View Source
var BitcoinAnchorChainID interfaces.IHash
df3ade9eec4b08d5379cc64270c30ea7315d8a8a1a69efe2b98a60ecdd69e604
View Source
var ECAddress *factom.ECAddress
View Source
var ECBalanceThreshold int64
View Source
var EthereumAnchorChainID interfaces.IHash
6e4540d08d5ac6a1a394e982fb6a2ab8b516ee751c37420055141b94fe070bfe
View Source
var FactoidBalanceThreshold int64
View Source
var FirstBitcoinAnchorChainEntryHash interfaces.IHash
View Source
var FirstEthereumAnchorChainEntryHash interfaces.IHash
View Source
var IgnoreWrongEntries bool = true
View Source
var ServerECKey *primitives.PrivateKey
View Source
var ServerPrivKey *primitives.PrivateKey
Functions ¶
func CheckFactomBalance ¶
func CreateAnchorEntry ¶
func CreateAnchorEntry(aRecord *anchor.AnchorRecord, chainID interfaces.IHash, serverPrivKey *primitives.PrivateKey) (*entryBlock.Entry, error)
func CreateAndSendAnchor ¶
func CreateAndSendAnchor(ar *anchor.AnchorRecord) (string, error)
Takes care of sending the entry to the Factom network, returns txID
func CreateFirstBitcoinAnchorEntry ¶
func CreateFirstBitcoinAnchorEntry() *entryBlock.Entry
func CreateFirstEthereumAnchorEntry ¶
func CreateFirstEthereumAnchorEntry() *entryBlock.Entry
func JustFactomize ¶
func JustFactomize(entry *entryBlock.Entry) (string, string, error)
func JustFactomizeChain ¶
func JustFactomizeChain(entry *entryBlock.Entry) (string, string, error)
func LoadConfig ¶
func LoadConfig(c *config.AnchorConfig)
func SaveAnchorsIntoFactom ¶
func SaveAnchorsIntoFactom(dbo *database.AnchorDatabaseOverlay) error
func SynchronizeFactomData ¶
func SynchronizeFactomData(dbo *database.AnchorDatabaseOverlay) (int, error)
Returns number of blocks synchronized
func TopupECAddress ¶
func TopupECAddress() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.