Documentation
¶
Index ¶
Constants ¶
View Source
const ( InputOpType = "INPUT" OutputOpType = "OUTPUT" Online Mode = "ONLINE" Offline Mode = "OFFLINE" Mainnet Network = "MAINNET" Testnet Network = "TESTNET" )
Variables ¶
View Source
var ( Currency = types.Currency{ Symbol: "DESO", Decimals: 9, } OperationTypes = []string{ InputOpType, OutputOpType, } SuccessStatus = "SUCCESS" RevertedStatus = "REVERTED" MinFeeRateNanosPerKB = uint64(1000) )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Mode Mode
Network *types.NetworkIdentifier
Params *lib.DeSoParams
Currency *types.Currency
GenesisBlockIdentifier *types.BlockIdentifier
Port int
NodePort int
DataDirectory string
MinerPublicKeys []string
TXIndex bool
Regtest bool
}
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.