cli: Add transaction-history (#9614)

automerge
This commit is contained in:
Michael Vines
2020-04-20 22:01:09 -07:00
committed by GitHub
parent 6e908a1be8
commit 914b022663
6 changed files with 132 additions and 12 deletions

View File

@ -42,6 +42,9 @@ pub enum RpcRequest {
MinimumLedgerSlot,
}
pub const MAX_GET_SIGNATURE_STATUSES_QUERY_ITEMS: usize = 256;
pub const MAX_GET_CONFIRMED_SIGNATURES_FOR_ADDRESS_SLOT_RANGE: u64 = 10_000;
impl RpcRequest {
pub(crate) fn build_request_json(&self, id: u64, params: Value) -> Value {
let jsonrpc = "2.0";