removes raw indexing from streamer (#19183)

Raw indexing is verbose and error-prone. This same code had an indexing
bug causing validator nodes panic just a few months ago:
https://github.com/solana-labs/solana/commit/482b8c6be
This commit is contained in:
behzad nouri
2021-08-12 01:42:12 +00:00
committed by GitHub
parent 9dfeee2993
commit 8229a4fbf6
4 changed files with 104 additions and 121 deletions

View File

@@ -10,6 +10,7 @@ documentation = "https://docs.rs/solana-streamer"
edition = "2018"
[dependencies]
itertools = "0.10.1"
log = "0.4.14"
solana-metrics = { path = "../metrics", version = "=1.8.0" }
solana-sdk = { path = "../sdk", version = "=1.8.0" }