Documentation
¶
Index ¶
- Constants
- func AskMyIP(seeds []string) (string, error)
- func ClearPortMapping() error
- func CreateID(seeds []string, wallet *vault.Wallet, txnFee common.Fixed64) error
- func Execute()
- func GetID(seeds []string, publickey []byte, createMode bool) ([]byte, error)
- func GetOrCreateID(seeds []string, wallet *vault.Wallet, txnFee common.Fixed64, createMode bool) ([]byte, error)
- func GetRemoteVersionNum() (int, error)
- func InitLedger(account *vault.Account) error
- func JoinNet(nn *nnet.NNet) error
- func SetupPortMapping() error
- type NetVer
Constants ¶
View Source
const (
NetVersionNum = 31 // This is temporary and will be removed soon after mainnet is stabilized
)
Variables ¶
This section is empty.
Functions ¶
func AskMyIP ¶
AskMyIP request to seeds randomly, in order to obtain self's externIP and corresponding chordID
func ClearPortMapping ¶
func ClearPortMapping() error
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetOrCreateID ¶
func GetRemoteVersionNum ¶
func InitLedger ¶
func SetupPortMapping ¶
func SetupPortMapping() error
Types ¶
Click to show internal directories.
Click to hide internal directories.