Versions in this module Expand all Collapse all v0 v0.1.0 Jun 8, 2018 Changes in this version + const CreateSideChainTxsTable + const DBName + const DriverName + const MaxSignalQueueLen + const QueryHeightCode + func HandleSignal(handler func()) + type DataStore interface + AddSideChainTx func(transactionHash, genesisBlockAddress string) error + HasSideChainTx func(transactionHash string) (bool, error) + ResetDataStore func() error + var DbCache DataStore + func OpenDataStore() (DataStore, error) + type DataStoreImpl struct + func (store *DataStoreImpl) AddSideChainTx(transactionHash, genesisBlockAddress string) error + func (store *DataStoreImpl) HasSideChainTx(transactionHash string) (bool, error) + func (store *DataStoreImpl) ResetDataStore() error + type SignalMap map[os.Signal]func()