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) DataDir(c *node.Options)
- func (o Options) DebugAPIAddr(c *node.Options)
- func (o Options) EnableApiTLS(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) ResolverConnectionCfgs(c *node.Options)
- func (o Options) TrafficContractAddr(c *node.Options)
- func (o Options) TrafficEnable(c *node.Options)
- func (o Options) WSAddr(c *node.Options)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // api setting EnableTLS bool APIPort int DebugAPIPort int EnableDebugAPI bool // rpc setting WebsocketPort int // 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 string // default type []string EnableDevNode bool EnableFullNode bool // chain setting ChainEndpoint string OracleContract string // traffic stat EnableFlowStat bool FlowContract string // domain resolver ResolverOptions string // default type []string // security Password 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) DebugAPIAddr ¶
func (Options) EnableApiTLS ¶ added in v1.3.0
func (Options) KadBinMaxPeers ¶
func (Options) LightNodeMaxPeers ¶
func (Options) OracleContractAddress ¶
func (Options) ResolverConnectionCfgs ¶ added in v1.2.3
func (Options) TrafficContractAddr ¶ added in v1.2.3
func (Options) TrafficEnable ¶ added in v1.2.3
Click to show internal directories.
Click to hide internal directories.