Versions in this module Expand all Collapse all v2 v2.3.4 Mar 29, 2024 v2.3.3 Jul 18, 2023 Changes in this version + const KArchivedblockheight + func BlockInfoTableNameByBlockHeight(blkHeight uint64) string + func CreateBlockInfoTableIfNotExists(db *gorm.DB, tableName string) error + func DbName(chainId string) string + func GetArchivedBlockHeight(db *gorm.DB) (uint64, error) + func InitArchiveStatusData(db *gorm.DB) error + func InsertBlockInfo(db *gorm.DB, chainId string, blkHeight uint64, blkWithRWSet []byte, ...) error + func RowsPerBlockInfoTable() uint64 + func UpdateArchivedBlockHeight(db *gorm.DB, archivedBlockHeight uint64) error + type BaseModel struct + CreatedAt sql.NullTime + DeletedAt sql.NullTime + ID int64 + UpdatedAt sql.NullTime + type BlockInfo struct + BlockHeight uint64 + BlockWithRWSet []byte + ChainID string + Hmac string + IsArchived bool + func (BlockInfo) TableName() string + type Sysinfo struct + K string + V string Other modules containing this package chainmaker.org/chainmaker/sdk-go/v3