plebble
|
Public Member Functions | |
main () | |
void | test_datagram_parse (int mode_) |
void | main_test () |
![]() | |
hmi (PrintStream os) | |
hmi (String[] args0, PrintStream os) | |
hmi (params p_, PrintStream os) | |
hmi (shell_args a, PrintStream os) | |
byte[] | from_hex (String s) |
void | store_file (byte[] bytes) |
void | req_file (String hashb58) |
void | store_kv (String k, String v) |
void | rm_kv (String k) |
void | rm_f (String hashb58) |
ko | run () |
boolean | isup () |
pair< ko, cfg1 > | load_cfg (String home, boolean gen) |
ko | start () |
ko | start (busyled_t.handler_t busyled_handler_send, busyled_t.handler_t busyled_handler_recv, datagram.dispatcher_t dis) |
void | stop () |
void | join () |
void | on_connect (ko error) |
void | on_peer_disconnected (final String reason) |
void | verification_completed (boolean ok) |
void | interactive_shell () |
KeyPair | get_keys () |
Static Public Member Functions | |
static void | main (String[] args) |
![]() | |
static void | help (params p, PrintStream os) |
static void | trader_help (boolean interactive, PrintStream os) |
static boolean | test () |
Package Functions | |
void | check (String a, String b) |
void | check (hash_t a, hash_t b) |
void | check (sha256.hash_t a, sha256.hash_t b) |
void | check (byte[] a, byte[] b) |
void | check (uint64_t a, uint64_t b) |
void | check (uint32_t a, uint32_t b) |
void | check (uint16_t a, uint16_t b) |
void | check (uint8_t a, uint8_t b) |
void | check (int64_t a, int64_t b) |
void | check (PublicKey a, PublicKey b) |
void | check (PrivateKey a, PrivateKey b) |
sha256.hash_t | create_instance_H () |
PrivateKey | create_instance_k () |
PublicKey | create_instance_p () |
hash_t | create_instance_h () |
uint64_t | create_instance_u8 () |
int64_t | create_instance_i8 () |
uint16_t | create_instance_u2 () |
uint32_t | create_instance_u4 () |
byte[] | create_instance_v () |
String | create_instance_s () |
![]() | |
void | constructor (PrintStream os) |
String | readFile (String path, Charset encoding) throws IOException |
byte[] | readBinFile (String path) throws IOException |
void | tx_help (params p, PrintStream os) |
ko | tx (shell_args args) |
us.wallet.daemon.api_stream | create_dapi_stream (us.wallet.daemon.api raw, PrintStream os, params p) |
us.wallet.wallet.api_stream | create_wapi_stream (us.wallet.wallet.api raw, PrintStream os, params p) |
void | trade (boolean interactive) |
ko | run_offline () |
ko | exec (String cmdline) |
ko | exec (String cmd, shell_args args) |
ko | run_online () |
void | banner (params p, PrintStream os) |
Package Attributes | |
int | mode =0 |
Random | rand = new Random() |
Additional Inherited Members | |
![]() | |
screen | scr |
us.wallet.daemon.api_stream | dapi =null |
us.wallet.wallet.api_stream | wapi =null |
hash_t | address |
boolean | advanced =false |
boolean | verbose =false |
boolean | local =false |
String | home |
String | host |
uint16_t | port |
boolean | interactive =false |
cfg1 | cfg =null |
params | p |
![]() | |
static final ko | KO_11000 =new ko("KO 11000 Invalid command.") |
static final ko | KO_10020 =new ko("KO 10020 Feature not available in RPC mode.") |
static final ko | KO_10021 =new ko("KO 10021 Feature only available in RPC mode.") |
static final ko | KO_91810 =new ko("KO 91810 Not an offline command.") |
static final ko | KO_40322 =new ko("KO 40322 Not implemented.") |
static final ko | KO_39201 =new ko("KO 39201 already started.") |
|
inline |
|
inlinestatic |
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
References us::gov::crypto::sha256.hash(), mode, and rand.
Referenced by test_datagram_parse().
|
inlinepackage |
References us::gov::crypto::ripemd160.hash(), mode, and rand.
Referenced by test_datagram_parse().
|
inlinepackage |
|
inlinepackage |
References us::gov::crypto::ec.generate_keypair(), and us::gov::crypto::ec.instance.
Referenced by test_datagram_parse().
|
inlinepackage |
References us::gov::crypto::ec.generate_keypair(), and us::gov::crypto::ec.instance.
Referenced by test_datagram_parse().
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
|
inlinepackage |
|
inline |
References us.wallet.cli.hmi.dapi, us.ko.is_ok(), us.wallet.cli.hmi.join(), us.wallet.cli.hmi.KO_39201, log, us.gov.crypto.test.symmetric_encryption.main(), us.wallet.cli.hmi.start(), us.wallet.cli.hmi.stop(), test_datagram_parse(), and us.wallet.cli.hmi.wapi.
Referenced by main().
|
inline |
References check(), create_instance_H(), create_instance_h(), create_instance_i8(), create_instance_k(), create_instance_p(), create_instance_s(), create_instance_u2(), create_instance_u8(), create_instance_v(), mode, us::gov::socket::datagram.parse_H(), us::gov::socket::datagram.parse_h(), us::gov::socket::datagram.parse_hhi8h(), us::gov::socket::datagram.parse_hi8(), us::gov::socket::datagram.parse_hi8h(), us::gov::socket::datagram.parse_hi8hi8h(), us::gov::socket::datagram.parse_Hpv(), us::gov::socket::datagram.parse_hs(), us::gov::socket::datagram.parse_hsh(), us::gov::socket::datagram.parse_hss(), us::gov::socket::datagram.parse_hsv(), us::gov::socket::datagram.parse_hu2s(), us::gov::socket::datagram.parse_hu2v(), us::gov::socket::datagram.parse_k(), us::gov::socket::datagram.parse_p(), us::gov::socket::datagram.parse_pss(), us::gov::socket::datagram.parse_pv(), us::gov::socket::datagram.parse_s(), us::gov::socket::datagram.parse_sh(), us::gov::socket::datagram.parse_sk(), us::gov::socket::datagram.parse_ss(), us::gov::socket::datagram.parse_sss(), us::gov::socket::datagram.parse_su2hi8(), us::gov::socket::datagram.parse_su2ss(), us::gov::socket::datagram.parse_u2(), us::gov::socket::datagram.parse_u2hs(), us::gov::socket::datagram.parse_u2hv(), us::gov::socket::datagram.parse_u2ss(), us::gov::socket::datagram.parse_u2u2u2k(), us::gov::socket::datagram.parse_u2u2u2s(), us::gov::socket::datagram.parse_u8(), us::gov::socket::datagram.parse_v(), us::gov::socket::datagram.parse_vk(), us::gov::socket::datagram.parse_vkp(), us::gov::socket::datagram.parse_vpk(), us::gov::socket::datagram.parse_vpv(), and us.pair< f, s >.second.
Referenced by main_test().
|
package |
|
package |