Documentation ¶
Index ¶
- Variables
- func Balance_dir() string
- func Exchange_dir() string
- func GetTestForkStartBlock() uint64
- func Init_Balance_dir()
- func Init_Data_dir(d string)
- func Init_RecordShareNum()
- func Init_Snapshot(num uint64)
- func Init_TestFork()
- func Init_TestForkStartBlock(num uint64)
- func IsDirExists(path string) bool
- func IsSnapshotMode() bool
- func IsTestFork() bool
- func IsValidRoot(root c_type.Uint256) bool
- func Light_dir() string
- func NeedSnapshot(num uint64) bool
- func RecordShareNum() bool
- func Stake_dir() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ERS = error_roots()
View Source
var G_p_thread_num = runtime.NumCPU()
View Source
var G_v_thread_num = runtime.NumCPU()
Functions ¶
func Balance_dir ¶
func Balance_dir() string
func Exchange_dir ¶
func Exchange_dir() string
func GetTestForkStartBlock ¶
func GetTestForkStartBlock() uint64
func Init_Balance_dir ¶
func Init_Balance_dir()
func Init_Data_dir ¶
func Init_Data_dir(d string)
func Init_RecordShareNum ¶
func Init_RecordShareNum()
func Init_Snapshot ¶
func Init_Snapshot(num uint64)
func Init_TestFork ¶
func Init_TestFork()
func Init_TestForkStartBlock ¶
func Init_TestForkStartBlock(num uint64)
func IsDirExists ¶
func IsSnapshotMode ¶
func IsSnapshotMode() bool
func IsTestFork ¶
func IsTestFork() bool
func IsValidRoot ¶
func NeedSnapshot ¶
func RecordShareNum ¶
func RecordShareNum() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.