Documentation
¶
Index ¶
- Constants
- Variables
- func CheckTx(height, epochNum, txNum int, mads *moeingads.MoeingADS, rbt rabbit.RabbitStore, ...)
- func ExecuteBlock(height int, mads *moeingads.MoeingADS, root storetypes.RootStoreI, ...) (retry bool)
- func MyGet(rbt rabbit.RabbitStore, key []byte) []byte
- type Block
- type Epoch
- type FuzzConfig
- type Operation
- type Pair
- type RefL1
- type RefL2
- type Tx
Constants ¶
View Source
const ( OpRead = 8 OpCheckProof = 4 OpWrite = 1 OpDelete = 0 )
View Source
const (
FirstByteOfCacheableKey = byte(105)
)
==============================
Variables ¶
View Source
var ( GuardStart = []byte{0, 0, 0, 0, 0, 0, 0, 0} GuardEnd = []byte{255, 255, 255, 255, 255, 255, 255, 255} )
View Source
var DBG bool
Functions ¶
func CheckTx ¶
func CheckTx(height, epochNum, txNum int, mads *moeingads.MoeingADS, rbt rabbit.RabbitStore, tx *Tx, cfg *FuzzConfig, blkSuc bool)
func ExecuteBlock ¶
func ExecuteBlock(height int, mads *moeingads.MoeingADS, root storetypes.RootStoreI, block *Block, cfg *FuzzConfig, inParallel bool) (retry bool)
Types ¶
type Block ¶
func GenerateRandBlock ¶
type FuzzConfig ¶
type FuzzConfig struct {
MaxReadCountInTx uint32
MaxCheckProofCountInTx uint32
MaxWriteCountInTx uint32
MaxDeleteCountInTx uint32
MaxTxCountInEpoch uint32
MaxEpochCountInBlock uint32
EffectiveBits uint64
MaxValueLength int
MaxActiveCount int
TxSucceedRatio float32
BlockSucceedRatio float32
BlockPanicRatio float32
RootType string //MockRoot MockDataTree Real
ConsistencyEveryNBlock int
PruneEveryNBlock int
KeepRecentNBlock int
ReloadEveryNBlock int
}
type RefL1 ¶ added in v0.3.0
type RefL1 struct {
// contains filtered or unexported fields
}
func (*RefL1) ClearCache ¶ added in v0.3.0
func (r *RefL1) ClearCache()
func (*RefL1) FlushCache ¶ added in v0.3.0
func (r *RefL1) FlushCache()
Click to show internal directories.
Click to hide internal directories.