Improve solana catchup (#14313)

* Improve solana catchup

* Overidable port, retry, args error clean up

* print cleanup

* Reduce diff

* Tweak warns a bit
This commit is contained in:
Ryo Onodera
2021-01-05 10:10:27 +09:00
committed by GitHub
parent 0619805806
commit aa4da339ff
3 changed files with 157 additions and 38 deletions

View File

@ -1,5 +1,6 @@
/// Default port number for JSON RPC API
pub const DEFAULT_RPC_PORT: u16 = 8899;
pub const DEFAULT_RPC_PORT_STR: &str = "8899";
/// Default port number for JSON RPC pubsub
pub const DEFAULT_RPC_PUBSUB_PORT: u16 = 8900;