Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableLog ¶ added in v0.1.1
func DisableLog()
DisableLog disables all library log output. Logging output is disabled by default until either UseLogger or SetLogWriter are called.
Types ¶
type Config ¶ added in v0.1.1
type Config struct { // DataDir is the data path to store db files peer addresses etc. DataDir string // The chain parameters within network settings. ChainParams *config.Params // PermanentPeers are the peers need to be connected permanently. PermanentPeers []string // GenesisAddress is the address generated by the side chain genesis block. GenesisAddress string }
type Service ¶ added in v0.1.1
type Service struct { spv.SPVService // contains filtered or unexported fields }
func NewService ¶ added in v0.1.1
func (*Service) CheckCRCArbiterSignature ¶ added in v0.1.4
func (s *Service) CheckCRCArbiterSignature(sideChainPowTx *ela.Transaction) error
func (*Service) VerifyTransaction ¶ added in v0.1.1
func (s *Service) VerifyTransaction(tx *types.Transaction) error
Click to show internal directories.
Click to hide internal directories.