Versions in this module Expand all Collapse all v0 v0.3.0 Dec 29, 2021 v0.1.0 Dec 29, 2021 v0.0.3 Dec 29, 2021 v0.0.2 Oct 11, 2021 Changes in this version type Validator + func (v *Validator) Close() error v0.0.1 Aug 25, 2021 Changes in this version + const DATABASE_HOSTNAME + const DATABASE_NAME + const DATABASE_PASSWORD + const DATABASE_PORT + const DATABASE_USER + func InitIPFSBlockService(ipfsPath string) (blockservice.BlockService, error) + func NewDB() (*sqlx.DB, error) + func PublishRaw(tx *sqlx.Tx, codec, mh uint64, raw []byte) (string, error) + func RawdataToCid(codec uint64, rawdata []byte, multiHash uint64) (cid.Cid, error) + func ResetTestDB(db *sqlx.DB) error + type Config struct + Hostname string + Name string + Password string + Port int + User string + func (c *Config) ConnString() string + func (c *Config) Init() + type Validator struct + func NewIPFSValidator(bs blockservice.BlockService) *Validator + func NewPGIPFSValidator(db *sqlx.DB) *Validator + func NewValidator(kvs ethdb.KeyValueStore, database ethdb.Database) *Validator + func (v *Validator) GetCacheStats() groupcache.Stats + func (v *Validator) ValidateStateTrie(stateRoot common.Hash) error + func (v *Validator) ValidateStorageTrie(address common.Address, storageRoot common.Hash) error + func (v *Validator) ValidateTrie(stateRoot common.Hash) error Other modules containing this package github.com/vulcanize/eth-ipfs-state-validator/v3 github.com/vulcanize/eth-ipfs-state-validator/v4