* rpc: use minimal mode by default
(cherry picked from commit eac4a6df68
)
# Conflicts:
# core/src/validator.rs
# local-cluster/tests/common.rs
# local-cluster/tests/local_cluster.rs
# replica-node/tests/local_replica.rs
# rpc/src/rpc_service.rs
# transaction-dos/src/main.rs
* test-validator-bin: reinstate full rpc method set
Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
@@ -50,7 +50,7 @@ To enable specific scenarios, the cluster needs to be booted with special config
|
||||
For example:
|
||||
|
||||
```text
|
||||
let mut validator_config = ValidatorConfig::default();
|
||||
let mut validator_config = ValidatorConfig::default_for_test();
|
||||
let local = LocalCluster::new_with_config(
|
||||
num_nodes,
|
||||
10_000,
|
||||
@@ -66,7 +66,7 @@ For example, there is a bug that shows that the cluster fails when it is flooded
|
||||
Configure the RPC service:
|
||||
|
||||
```text
|
||||
let mut validator_config = ValidatorConfig::default();
|
||||
let mut validator_config = ValidatorConfig::default_for_test();
|
||||
validator_config.rpc_config.enable_rpc_gossip_push = true;
|
||||
validator_config.rpc_config.enable_rpc_gossip_refresh_active_set = true;
|
||||
```
|
||||
|
Reference in New Issue
Block a user