Add new rpc modules and split apis (#18782)
This commit is contained in:
parent
588c0464b8
commit
186a1c743d
1077
rpc/src/rpc.rs
1077
rpc/src/rpc.rs
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,10 @@ use {
|
|||
crate::{
|
||||
max_slots::MaxSlots,
|
||||
optimistically_confirmed_bank_tracker::OptimisticallyConfirmedBank,
|
||||
rpc::{rpc_deprecated_v1_7::*, rpc_full::*, rpc_minimal::*, rpc_obsolete_v1_7::*, *},
|
||||
rpc::{
|
||||
rpc_accounts::*, rpc_bank::*, rpc_deprecated_v1_7::*, rpc_full::*, rpc_minimal::*,
|
||||
rpc_obsolete_v1_7::*, *,
|
||||
},
|
||||
rpc_health::*,
|
||||
send_transaction_service::{LeaderInfo, SendTransactionService},
|
||||
},
|
||||
|
@ -414,6 +417,8 @@ impl JsonRpcService {
|
|||
|
||||
io.extend_with(rpc_minimal::MinimalImpl.to_delegate());
|
||||
if !minimal_api {
|
||||
io.extend_with(rpc_bank::BankDataImpl.to_delegate());
|
||||
io.extend_with(rpc_accounts::AccountsDataImpl.to_delegate());
|
||||
io.extend_with(rpc_full::FullImpl.to_delegate());
|
||||
io.extend_with(rpc_deprecated_v1_7::DeprecatedV1_7Impl.to_delegate());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue