You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a test in thin_client.rs that ought to be in tpu.rs. It was put into the thin client module because that library makes it easy to create and send transactions to the server. It'd be even easier if we moved the TPU's composition of SigVerifyStage, BankingStage, and RecordStage into a a separate function. The you can use packet::to_packets() to create data for the packet_receiver channel, and then check for the expected out put on the signal_receiver. No need to mess with UDP sockets and potential timeouts.
There's a test in
thin_client.rs
that ought to be intpu.rs
. It was put into the thin client module because that library makes it easy to create and send transactions to the server. It'd be even easier if we moved the TPU's composition of SigVerifyStage, BankingStage, and RecordStage into a a separate function. The you can usepacket::to_packets()
to create data for thepacket_receiver
channel, and then check for the expected out put on thesignal_receiver
. No need to mess with UDP sockets and potential timeouts.solana/src/thin_client.rs
Line 248 in 4badeac
The text was updated successfully, but these errors were encountered: