Documentation ¶
Index ¶
- func Version() string
- type Node
- type Options
- func (o Options) APIAddr(c *node.Options)
- func (o Options) Bootnodes(c *node.Options)
- func (o Options) DBBlockCacheCapacity(c *node.Options)
- func (o Options) DBDisableSeeksCompaction(c *node.Options)
- func (o Options) DBOpenFilesLimit(c *node.Options)
- func (o Options) DBWriteBufferSize(c *node.Options)
- func (o Options) DataDir(c *node.Options)
- func (o Options) DebugAPIAddr(c *node.Options)
- func (o Options) FullNode(c *node.Options)
- func (o Options) IsDev(c *node.Options)
- func (o Options) KadBinMaxPeers(c *node.Options)
- func (o Options) LightNodeMaxPeers(c *node.Options)
- func (o Options) OracleContractAddress(c *node.Options)
- func (o Options) OracleEndpoint(c *node.Options)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // api setting APIPort int DebugAPIPort int EnableDebugAPI bool // p2p setup NetworkID int64 // default type uint64 P2PPort int WelcomeMessage string // kademlia BinMaxPeers int LightMaxPeers int // cache size CacheCapacity int64 // default type uint64 // node bootstrap BootNodes []byte // default type []string EnableDevNode bool EnableFullNode bool // oracle setting ContractAddress string ChainEndpoint string // security Password string KeysPath string DataPath string // leveldb opts BlockCacheCapacity int64 // default type uint64 OpenFilesLimit int64 // default type uint64 WriteBufferSize int64 // default type uint64 DisableSeeksCompaction bool // misc Verbosity string }
Options represents the collection of configuration values to fine tune the aurora node embedded into a mobile process. The available values are a subset of the entire API provided by aurora to reduce the maintenance surface and dev complexity.
func (Options) DBBlockCacheCapacity ¶
func (Options) DBDisableSeeksCompaction ¶
func (Options) DBOpenFilesLimit ¶
func (Options) DBWriteBufferSize ¶
func (Options) DebugAPIAddr ¶
func (Options) KadBinMaxPeers ¶
func (Options) LightNodeMaxPeers ¶
func (Options) OracleContractAddress ¶
func (Options) OracleEndpoint ¶
Click to show internal directories.
Click to hide internal directories.