# Functions
Base58Decode ...
Base58Encode ...
BytesToFloat64 converts byte slice to float64.
BytesToInt32 converts byte slice to int32.
BytesToInt64 converts byte slice to int64.
CopyBytes ...
Float64ToBytes converts float64 to byte slice.
FromHex string to bytes.
Hex2Bytes hex string to bytes.
Int32ToBytes converts int32 to byte slice.
Int64ToBytes converts int64 to byte slice.
LoadYamlAsViper load yaml file as viper object.
NewConfig returns a new instance of Config.
NewFixed generate Fixed from string and decimal, will truncate if decimal is smaller.
NewSimpleNotation returns a new SimpleNotation instance.
Parity ...
ParseHex ...
Sha3 ...
ToHex ...
UnifyDecimal make two fix point number have same decimal.
UnmarshalFixed unmarshal from string.
# Structs
ACCConfig account of the system.
Config provide all configuration for the application.
ConsoleLogConfig is the config for consolewriter of ilog.
DBConfig config of the database.
DebugConfig is the config of debug.
FileLogConfig is the config for filewriter of ilog.
Fixed implements fixed point number for user of token balance.
GenesisConfig config of the genesis bloc.
LogConfig is the config of ilog.
MetricsConfig is the config of metrics.
P2PConfig is the config for p2p network.
RPCConfig is the config for RPC Server.
SimpleNotation is a simple serialize notation used to convert struct to bytes.
TokenInfo config of the genesis block.
VersionConfig contrains netname(mainnet / testnet etc) and protocol info.
VMConfig config of the v8vm.
Witness config of the genesis block.