Documentation
¶
Index ¶
Constants ¶
View Source
const StringSliceDelimiter = "|"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MobileNode ¶
type MobileNode struct {
// contains filtered or unexported fields
}
func StartNode ¶
func StartNode(options *MobileNodeOptions, password string, verbosity string) (*MobileNode, error)
func (*MobileNode) ConnectedPeerCount ¶
func (a *MobileNode) ConnectedPeerCount() int
func (*MobileNode) Shutdown ¶
func (a *MobileNode) Shutdown() error
func (*MobileNode) WalletAddress ¶
func (a *MobileNode) WalletAddress() string
type MobileNodeOptions ¶
type MobileNodeOptions struct {
FullNodeMode bool
BootnodeMode bool
Bootnodes string
StaticNodes string
DataDir string
WelcomeMessage string
BlockchainRpcEndpoint string
SwapInitialDeposit string
PaymentThreshold string
SwapEnable bool
ChequebookEnable bool
UsePostageSnapshot bool
Mainnet bool
NetworkID int64
NATAddr string
CacheCapacity int64
DBOpenFilesLimit int64
DBWriteBufferSize int64
DBBlockCacheCapacity int64
DBDisableSeeksCompaction bool
RetrievalCaching bool
}
Click to show internal directories.
Click to hide internal directories.