1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
#![allow(clippy::integer_arithmetic)] macro_rules! ACCOUNT_STRING { () => { r#", one of: * a base58-encoded public key * a path to a keypair file * a hyphen; signals a JSON-encoded keypair on stdin * the 'ASK' keyword; to recover a keypair via its seed phrase * a hardware wallet keypair URL (i.e. usb://ledger)"# }; } #[macro_use] macro_rules! pubkey { ($arg:expr, $help:expr) => { $arg.takes_value(true) .validator(is_valid_pubkey) .help(concat!($help, ACCOUNT_STRING!())) }; } extern crate serde_derive; pub mod checks; pub mod cli; pub mod cluster_query; pub mod feature; pub mod inflation; pub mod nonce; pub mod program; pub mod send_tpu; pub mod spend_utils; pub mod stake; pub mod test_utils; pub mod validator_info; pub mod vote;