lite-rpc/benchrunner-service
Groovie | Mango 5372e9cd25
LiteRPC 0.3.0: Update solana 2.0.16, Yellowstone 2.0.0 (#417)
* add .idea to gitignore

* Adds solana-accounts-db crate

* Updates everything to 2.0.16

* Upgrade to 2.0.16

* Sets requested tilde and fixes some clippy errors

* Adds protobuf-compiler to workflow

* bump version

* cargo lock

* use connector tag

* clippy+fmt

* docker: use 1.81.0 for building

---------

Co-authored-by: mango-dee <deedee1337@proton.me>
2024-12-10 17:50:26 +01:00
..
src LiteRPC 0.3.0: Update solana 2.0.16, Yellowstone 2.0.0 (#417) 2024-12-10 17:50:26 +01:00
Cargo.toml LiteRPC 0.3.0: Update solana 2.0.16, Yellowstone 2.0.0 (#417) 2024-12-10 17:50:26 +01:00
QUERIES.md add sql queries 2024-03-27 19:05:47 +01:00
README.md propagate ws for status 2024-06-19 10:25:10 +02:00

README.md

Setup

Hardware

Hardware: recommend 1024MB RAM, 2 vCPUs, small disk

Environment Variables

Environment Variable Purpose Required? Default Value
PG_ENABLED Enable writing to PostgreSQL No false
PG_CONFIG PostgreSQL connection string if PG_ENABLED
TENANT1_ID Technical ID for the tenant Yes
TENANT1_RPC_ADDR RPC address for the target RPC node Yes
TENANT1_TX_STATUS_WS_ADDR Websocket source for tx status No RPC Url
(replacing schema with ws/wss)
`TENANT2_.. more tenants can be added using TENANT2, TENANT3, ...

Command-line Arguments

Options:
  -p, --payer-path <PAYER_PATH>
          
  -r, --rpc-url <RPC_URL>
          
  -w, --tx-status-websocket-addr <TX_STATUS_WEBSOCKET_ADDR>
          Set websocket source (blockSubscribe method) for transaction status updates. You might want to send tx to one RPC and listen to another (reliable) RPC for status updates. Not all RPC nodes support this method. If not provided, the RPC URL is used to derive the websocket URL
  -s, --size-tx <SIZE_TX>
          [possible values: small, large]
  -m, --max-timeout-ms <MAX_TIMEOUT_MS>
          Maximum confirmation time in milliseconds. After this, the txn is considered unconfirmed [default: 15000]
  -t, --txs-per-run <TXS_PER_RUN>
          
  -n, --num-of-runs <NUM_OF_RUNS>
          
  -f, --cu-price <CU_PRICE>
          The CU price in micro lamports [default: 300]
solana-lite-rpc-benchrunner-service \
  --bench-interval 600000 \
  --tx-count 100 \
  --prio-fees 0 --prio-fees 1000 --prio-fees 100000