Versions in this module Expand all Collapse all v0 v0.1.0 Jun 27, 2019 Changes in this version + const ActionHistoryTableName + const ProtocolID + type ActionHistory struct + ActionHash string + ActionType string + Amount string + BlockHeight uint64 + From string + GasConsumed uint64 + GasPrice string + Nonce uint64 + ReceiptHash string + ReceiptStatus string + To string + type ActionInfo struct + ActionHash string + ActionType string + Amount string + From string + GasPrice string + Nonce uint64 + ReceiptHash hash.Hash256 + To string + type Protocol struct + Store s.Store + func NewProtocol(store s.Store) *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(context.Context, *sql.Tx, *indexprotocol.Genesis) error + type ReceiptInfo struct + GasConsumed uint64 + ReceiptHash string + ReceiptStatus string