openbazaar-go/mobile
Version: 0.12.4
Source: https://github.com/OpenBazaar/openbazaar-go/
import "github.com/OpenBazaar/openbazaar-go/mobile"
Overview
Index
Constants
const IpnsValidatorTag = "ipns"
Variables
var DHTClientOption ipfscore.RoutingOption = constructClientDHTRouting
type Node
type Node struct {
OpenBazaarNode *core.OpenBazaarNode
// contains filtered or unexported fields
}
func NewNode
func NewNode(config NodeConfig) (*Node, error)
func (*Node) Start
func (n *Node) Start() error
func (*Node) Stop
func (n *Node) Stop() error
type NodeConfig
type NodeConfig struct {
// Path for the node's data directory
RepoPath string
// An API authentication. Authentication is turned on if not "".
AuthenticationToken string
// Use testnet
Testnet bool
// Add a custom user-agent
UserAgent string
// Add a trusted peer for the wallet
WalletTrustedPeer string
// Processes to disable
DisableWallet bool
DisableExchangerates bool
}
Generated by godoc2md