Versions in this module Expand all Collapse all v0 v0.1.0 Jun 27, 2019 Changes in this version + const AccountBalanceViewName + const AccountHistoryTableName + const EpochAddressIndexName + const ProtocolID + type AccountBalance struct + Address string + BalanceChange string + EpochNumber uint64 + type AccountHistory struct + ActionHash string + Address string + BlockHeight uint64 + EpochNumber uint64 + In string + Out string + type Protocol struct + NumDelegates uint64 + NumSubEpochs uint64 + Store s.Store + func NewProtocol(store s.Store, numDelegates uint64, numSubEpochs uint64) *Protocol + func (p *Protocol) CreateTables(ctx context.Context) error + func (p *Protocol) HandleBlock(ctx context.Context, tx *sql.Tx, blk *block.Block) error + func (p *Protocol) Initialize(ctx context.Context, tx *sql.Tx, genesis *indexprotocol.Genesis) error