solana-tx-processor

command module
v0.0.0-...-4e50971 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2024 License: GPL-2.0 Imports: 13 Imported by: 0

README

solana-tx-processor

This repository is for validators who want:

See this page for State management

Transaction Processing

This is a:

  1. gRPC <-- JSON RPC translating proxy to use in front of a validator and behind a pipeline reverse proxy
  2. a JSON RPC -> gRPC translating proxy to use in front of a bidder proxy daemon.

Install

go install github.com/noncepad/solana-tx-processor@main

Run

Validator Wrapper

Pipelines run this program in front of the validator.

RPC_URL=http://localhost:18899 WS_URL=ws://localhost:18900 solana-tx-processor server 15 tcp://:50051
  • 15 is the worker count
  • tcp://:50051 is the address on which the grpc server will listen
Json Rpc Endpoint

Bidders run this program in front of their proxy daemon.

solana-tx-processor client tcp://:8899 unix:///tmp/my-proxy-daemon.sock
  • tcp://:8899 is the listening address for the JSON RPC endpoint that only accepts sendTransaction calls.
  • unix:///tmp/my-proxy-daemon.sock is the address that the proxy daemon is listening on

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Run a JSON RPC endpoint.
Run a JSON RPC endpoint.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL