-
java.util.Random, An instance of this class is used to generate a stream of pseudorandom numbers. The class uses a 48-bit seed, which is modified using a linear congruential formula. (See Donald Knuth, The Art of Computer Programming, Volume 2, Section 3.2.1.)
-
This class has 6 nifty functions:
- nextBoolean()
- nextDouble()
-
nextFloat()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::str::FromStr as _; | |
use solana_client::{ | |
client_error::{ClientError, ClientErrorKind}, | |
rpc_client::GetConfirmedSignaturesForAddress2Config, | |
rpc_request::RpcRequest, | |
}; | |
use solana_program::pubkey::Pubkey; | |
use solana_sdk::commitment_config::CommitmentConfig; | |
use solext::rpc::{Client as _, GetAllSignaturesForAddress as _, GetMarkerSignature as _}; |