Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachManager ¶
AttachManager attach cache manager to the database, and return it. dir is root directory for storing files for cache. mem is number of levels of tree items to store in the memory. file is number of levels of tree items to store in files.
Types ¶
type NodeCache ¶
type NodeCache struct {
// contains filtered or unexported fields
}
func AccountNodeCacheOf ¶
AccountNodeCacheOf get node cache of the account specified by *id*. If node cache for the account is not enabled, it returns nil.
func WorldNodeCacheOf ¶
WorldNodeCacheOf get node cache of the world if it has. If node cache for world state is not enabled, it returns nil.
Click to show internal directories.
Click to hide internal directories.