Versions in this module Expand all Collapse all v3 v3.0.1 Dec 26, 2023 Changes in this version + type BlockIndex struct + Index *storePb.StoreInfo + MetaIndex *storePb.StoreInfo + RWSetsIndex []*storePb.StoreInfo + TxsIndex []*storePb.StoreInfo + type BlockIndexMeta struct + BlockHash []byte + BlockTimestamp int64 + Height uint64 + RwSets []string + TxIds []string v3.0.0 Dec 23, 2022 Changes in this version + func DeserializeBlock(serializedBlock []byte) (*storePb.BlockWithRWSet, error) + func DeserializeMeta(serializedBlock []byte) (*storePb.SerializedBlock, error) + type BlockWithSerializedInfo struct + Block *commonPb.Block + ContractEvents []*commonPb.ContractEvent + Index *storePb.StoreInfo + Meta *storePb.SerializedBlock + MetaIndex *storePb.StoreInfo + RWSetsIndex []*storePb.StoreInfo + SerializedContractEvents [][]byte + SerializedMeta []byte + SerializedTxRWSets [][]byte + SerializedTxs [][]byte + TxRWSets []*commonPb.TxRWSet + Txs []*commonPb.Transaction + TxsIndex []*storePb.StoreInfo + func NewBlockSerializedInfo() *BlockWithSerializedInfo + func SerializeBlock(blockWithRWSet *storePb.BlockWithRWSet) ([]byte, *BlockWithSerializedInfo, error) + func (b *BlockWithSerializedInfo) ReSet() + func (b *BlockWithSerializedInfo) SerializeEventTopicTable(buf *proto.Buffer) error + func (b *BlockWithSerializedInfo) SerializeMeta(buf *proto.Buffer) error + func (b *BlockWithSerializedInfo) SerializeTxRWSets(buf *proto.Buffer) error + func (b *BlockWithSerializedInfo) SerializeTxs(buf *proto.Buffer) error Other modules containing this package chainmaker.org/chainmaker/store/v2