blockworks-foundation / lite-rpc

This is a solana lite rpc which optimizes sending transactions and confirming transactions strategies.
GNU Affero General Public License v3.0
203 stars 57 forks source link

implement "quic-forward-proxy" service that allows n inbound senders to use(share) staked identity #142

Closed grooviegermanikus closed 1 year ago

grooviegermanikus commented 1 year ago

Problem:

Proposed solution overview:

Architektur overview:

Proposed solution details:

Similar approaches:

note: there is a similar/alternative approach for client-TPU-Interaction using reverse-proxy model, "node must advertise to gossip for inbound traffic that is designated for leader"

grooviegermanikus commented 1 year ago

use Rust, might run in kernel

grooviegermanikus commented 1 year ago

See solana code: quic.rs, compute_max_allowed_uni_streams: l.222 "max_connections_per_peer"

grooviegermanikus commented 1 year ago

POC on lite-rpc branch

grooviegermanikus commented 1 year ago

merged - see https://github.com/blockworks-foundation/lite-rpc/tree/main/quic-forward-proxy