Skip to content

Commit 5d212e4

Browse files
committed
Initial upload
1 parent 5466b42 commit 5d212e4

File tree

114 files changed

+17933
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+17933
-1
lines changed

.env.example

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
ENDPOINT=https://SOLANA_RPC/
2+
FALLBACK_ENDPOINT=https://SECONDARY_SOLANA_RPC/
3+
BIGTABLE_CRED="SOLANA_BIGTABLE_CRED.json"
4+
GCP_CREDENTIALS_JSON_PATH="GCP_CRED.json"
5+
OUTPUT_DIR="output"
6+
QUEUE_NAME="solana-etl-output"
7+
QUEUE_NAME_BLOCKS="blocks"
8+
QUEUE_NAME_BLOCK_REWARDS="block_rewards"
9+
QUEUE_NAME_ACCOUNTS="accounts"
10+
QUEUE_NAME_INSTRUCTIONS="instructions"
11+
QUEUE_NAME_TOKEN_TRANSFERS="token_transfers"
12+
QUEUE_NAME_TOKENS="tokens"
13+
QUEUE_NAME_TRANSACTIONS="transactions"
14+
RABBITMQ_USER=USER
15+
RABBITMQ_PASSWORD=PASS
16+
RABBITMQ_PORT=5672
17+
RABBITMQ_ADDRESS=ADDRESS
18+
NUM_EXTRACTOR_THREADS=NUM_CORES
19+
ENABLE_METRICS=true
20+
METRICS_PORT=4000
21+
METRICS_ADDRESS=ADDRESS
22+
RPC_METHOD_TIMEOUT=30

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Contribution & Style Guide:
2+
3+
1. Pull requests should result in code that does not produce any errors when compiled.
4+
2. Pull requests should result in code that does not produce any warnings when compiled.
5+
3. Run `cargo fmt` before opening a pull request.
6+
4. Run `cargo clippy` and resolve any warnings.
7+
5. All functions should have a comment directly above that explains what it does at a high level. This comment should use the triple forward-slash `///` for compatibility with rustdoc.
8+
6. Each module should contain a high-level description of what the module is intended for. Make sure to use `//!` in the mod.rs file, and each respective rust source file.
9+
7. No more than 1 line of whitespace at a time.
10+
8. Side-effects, assumptions, and “gotchas” should be accompanied by a `NOTE:` comment.
11+
9. Try to follow a functional style, except for when calling async functions:
12+
- Use constants and immutable variables.
13+
- Use `Iterator` methods like `filter()`, `map()`, and `fold()`.

0 commit comments

Comments
 (0)