Documentation ¶
Index ¶
- func CompactRange(dbHandle protocol.DBHandle, logger protocol.Logger)
- func ConcurrentWriteBatch(batches []protocol.StoreBatcher, writeFunc conCurfunc, blockHeight uint64) error
- func ConstructDBIndexInfo(blkIndex *storePb.StoreInfo, offset, byteLen uint64) []byte
- func DecodeValueToIndex(blockIndexByte []byte) (*storePb.StoreInfo, error)
- func ElapsedMillisSeconds(start time.Time) int64
- func PathExists(path string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompactRange ¶
func CompactRange(dbHandle protocol.DBHandle, logger protocol.Logger)
func ConcurrentWriteBatch ¶
func ConcurrentWriteBatch(batches []protocol.StoreBatcher, writeFunc conCurfunc, blockHeight uint64) error
ConcurrentWriteBatch Concurrent write batch to db
func ConstructDBIndexInfo ¶ added in v2.2.0
func DecodeValueToIndex ¶ added in v2.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.