Skip to content

Commit

Permalink
docs: update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wedancedalot committed Apr 5, 2023
1 parent 5e71abb commit 4bd0ee5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.git
.history
target
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.PHONY: build start dev stop test mocks lint clickhouse

SHELL := /bin/bash

build:
@docker run --rm -v $(PWD):/app -w /app rust:1.60.0 cargo b --release
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ That dynamic library is provided to the validator at runtime. The validator can

The library can then feed on these data and take further actions, such as logging, inserting the data into a DB or a consumer/producer system, etc.

### Building
If a specific rust version not used for building, segmentation faults occur during validator start. Current mainnet ver is 1.13.6 so it's recommended to use rust 1.60.0 [issue #30140](https://github.com/solana-labs/solana/issues/30140#issuecomment-1418796314).
```
docker run --rm -v $(PWD):/app -w /app rust:1.60.0 cargo b --release
```

### Geyser Plugin Config

The dynamic library path is provided to the validator using the `--geyser-plugin-config` parameter.
Expand Down

0 comments on commit 4bd0ee5

Please sign in to comment.