Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos #260

Merged
merged 4 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ solana tpu ([details](quic-forward-proxy/README.md)).
### Confirmation strategies

1) Subscribe to new blocks using websockets (deprecated)
(depricated)
2) Polling blocks over RPC.(Current)
3) Subscribe blocks over gRPC.
(Current)
Expand Down
2 changes: 1 addition & 1 deletion benches/bench_tx_send_and_confirm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export async function main() {
}

main().then(x => {
console.log('finished sucessfully')
console.log('finished successfully')
}).catch(e => {
console.log('caught an error : ' + e)
})
2 changes: 1 addition & 1 deletion benches/bench_txs_send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const skip_confirmations = get_postional_arg(5, false) === "true";
}

}
console.log("sucesses : " + successes)
console.log("successes : " + successes)
console.log("failures : " + failures)
//console.log("time taken to send : " + time_taken_to_send)
}
Expand Down
2 changes: 1 addition & 1 deletion cluster-endpoints/src/rpc_polling/poll_blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pub fn poll_block(

//slot poller
let slot_poller = tokio::spawn(async move {
log::info!("block listner started");
log::info!("block listener started");
let current_slot = rpc_client
.get_slot()
.await
Expand Down
2 changes: 1 addition & 1 deletion cluster-endpoints/src/rpc_polling/poll_slots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn poll_slots(
processed_slot: current_slot,
estimated_processed_slot: estimated_slot,
})
.context("Connot send slot notification")?;
.context("Cannot send slot notification")?;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion quic-forward-proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Implementation Details
* _proxy_ will maintain multiple quic connection per TPU according to the Solana validator quic policy
* _proxy_ will use lightweight quic streams to send the transactions
* inbound traffic (from Lite RPC)
* client-proxy-communcation is done via QUIC using a custom wire format
* client-proxy-communication is done via QUIC using a custom wire format
* _proxy_ supports only quic ATM but that could be extended to support other protocols
* _proxy_ should perform client authentication by TLS (see [issue](https://github.com/blockworks-foundation/lite-rpc/issues/167))
* _proxy_ uses a single queue (channel) for buffering the transactions from any inbound connection
Expand Down
2 changes: 1 addition & 1 deletion quic-forward-proxy/src/quinn_auto_reconnect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum ConnectionState {
}

pub struct AutoReconnect {
// endoint should be configures with keep-alive and idle timeout
// endpoint should be configures with keep-alive and idle timeout
endpoint: Endpoint,
current: RwLock<ConnectionState>,
pub target_address: SocketAddr,
Expand Down