WalletOptions

* struct WalletOptions Struct wallet options files and network status storage models

Members

Functions

setDefault
void setDefault()

@brief set default values for wallet

Mixins

__anonymous
mixin JSONCommon
Undocumented in source.
__anonymous
mixin JSONConfig
Undocumented in source.

Variables

accountfile
string accountfile;

account file name/path

addr
string addr;

address part of network socket

billsfile
string billsfile;

bills file name/path

contract_address
string contract_address;
Undocumented in source.
contract_shell_endpoint
string contract_shell_endpoint;
Undocumented in source.
contractfile
string contractfile;

contract file name/path

dart_address
string dart_address;
Undocumented in source.
dart_shell_endpoint
string dart_shell_endpoint;
Undocumented in source.
devicefile
string devicefile;

device file name/path

faucet_shell_endpoint
string faucet_shell_endpoint;
Undocumented in source.
paymentrequestsfile
string paymentrequestsfile;

payments request file name/path

port
ushort port;

port part of network socket

questions
string[] questions;
Undocumented in source.
quizfile
string quizfile;

questions file name/path

walletfile
string walletfile;

wallet file name/path

Mixed In Members

From mixin JSONCommon

check
alias check = Check!OptionException
Undocumented in source.
ArrayElementTypes
alias ArrayElementTypes = AliasSeq!(bool, string, double, int)
Undocumented in source.
isSupportedArray
eponymoustemplate isSupportedArray(T)
Undocumented in source.
isSupportedAssociativeArray
eponymoustemplate isSupportedAssociativeArray(T)
Undocumented in source.
isSupported
eponymoustemplate isSupported(T)
Undocumented in source.
toJSON
JSON.JSONValue toJSON()
stringify
string stringify()

Stringify the struct

parse
void parse(JSON.JSONValue json_value)

Intialize a struct from a JSON

From mixin JSONConfig

parseJSON
void parseJSON(string json_text)
Undocumented in source. Be warned that the author may not have intended to support it.
load
void load(string config_file)
Undocumented in source. Be warned that the author may not have intended to support it.
save
void save(string config_file)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta