Skip to content

Commit

Permalink
Removed internet computer because TPS is not accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhildfinity committed Nov 15, 2022
1 parent 8ea20f9 commit f18806f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 180 deletions.
5 changes: 0 additions & 5 deletions src/realtps_common/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pub enum ChainType {
Elrond,
Ethers,
Hedera,
InternetComputer,
Near,
Pivx,
Solana,
Expand Down Expand Up @@ -40,7 +39,6 @@ pub enum Chain {
Harmony,
Hedera,
Heco,
InternetComputer,
Karura,
KuCoin,
Kusama,
Expand Down Expand Up @@ -79,7 +77,6 @@ impl Chain {
Chain::Ethereum,
Chain::Fantom,
Chain::Harmony,
Chain::InternetComputer,
Chain::Hedera,
// todo ssl handshake failure
// Chain::Heco,
Expand Down Expand Up @@ -126,7 +123,6 @@ impl Chain {
Chain::Harmony => "Harmony",
Chain::Hedera => "Hedera",
Chain::Heco => "Heco",
Chain::InternetComputer => "Internet Computer",
Chain::Karura => "Karura",
Chain::KuCoin => "KuCoin",
Chain::Kusama => "Kusama",
Expand Down Expand Up @@ -169,7 +165,6 @@ impl Chain {
Chain::Bitcoin => ChainType::Esplora,
Chain::Elrond => ChainType::Elrond,
Chain::Hedera => ChainType::Hedera,
Chain::InternetComputer => ChainType::InternetComputer,
Chain::Near => ChainType::Near,
Chain::Pivx => ChainType::Pivx,
Chain::Solana => ChainType::Solana,
Expand Down
172 changes: 0 additions & 172 deletions src/realtps_import/src/clients/icp.rs

This file was deleted.

2 changes: 0 additions & 2 deletions src/realtps_import/src/clients/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ mod elrond;
mod esplora;
mod ethers;
mod hedera;
mod icp;
mod near;
mod pivx;
mod solana;
Expand All @@ -16,7 +15,6 @@ pub use self::elrond::*;
pub use self::esplora::*;
pub use self::ethers::*;
pub use self::hedera::*;
pub use self::icp::*;
pub use self::near::*;
pub use self::pivx::*;
pub use self::solana::*;
Expand Down
1 change: 0 additions & 1 deletion src/realtps_import/src/delay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ pub async fn rescan_delay(chain: Chain) {
Chain::Arbitrum => 5000, // Subsecond block time
Chain::Bitcoin => 600000,
Chain::Hedera => 10000,
Chain::InternetComputer => 1000,
Chain::Kusama => 7000, // Like Polkadot
Chain::Optimism => 15000, // Unclear, just experimenting
Chain::Pivx => 5000,
Expand Down

0 comments on commit f18806f

Please sign in to comment.