Documentation ¶
Overview ¶
Package resulthelper package
Index ¶
- Constants
- func BuildKVBatch(batch *types.UpdateBatch, blockInfo *serialization.BlockWithSerializedInfo, ...)
- func ConstructTxRWSetIDKey(txId string) []byte
- func ConstructTxRWSetIndexKey(txId string) []byte
- func GetTxRWSetFromKVDB(txId string, dbHandle protocol.DBHandle, cache *cache.StoreCacheMgr) (*commonPb.TxRWSet, error)
Constants ¶
View Source
const ( TxRWSetIdxKeyPrefix = 'r' TxRWSetIndexKeyPrefix = "ri" ResultDBSavepointKey = "resultSavepointKey" )
nolint
Variables ¶
This section is empty.
Functions ¶
func BuildKVBatch ¶
func BuildKVBatch(batch *types.UpdateBatch, blockInfo *serialization.BlockWithSerializedInfo, logger protocol.Logger)
BuildKVBatch add next time @Description: @param batch @param blockInfo @param dbType @param logger @return *types.UpdateBatch
func ConstructTxRWSetIDKey ¶
ConstructTxRWSetIDKey return byte array format []byte{'r',txId} @Description: @param txId @return []byte
func ConstructTxRWSetIndexKey ¶
ConstructTxRWSetIndexKey construct key format []byte{'r','i',txId} @Description: @param txId @return []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.