Add SimulateTransaction RPC endpoint (#10106)

automerge
This commit is contained in:
Michael Vines
2020-05-19 12:08:19 -07:00
committed by GitHub
parent 5e43304eca
commit 427c78d891
5 changed files with 249 additions and 22 deletions

View File

@@ -6,6 +6,12 @@ pub struct RpcSignatureStatusConfig {
pub search_transaction_history: bool,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RpcSimulateTransactionConfig {
pub sig_verify: bool,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub enum RpcLargestAccountsFilter {