Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base Rust backend implementation #216

Merged
merged 55 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
f0d3b06
Start backend written in Rust
limemloh May 24, 2024
b987f2f
Add more of the API
limemloh May 26, 2024
3328f15
Index most of the events in a transaction
limemloh Jun 9, 2024
afede03
cbor, transaction query and subscription
limemloh Jun 18, 2024
5951d47
block metrics and more
limemloh Sep 15, 2024
a52eddf
Add rust-sdk submodule and implement graceful shutdown
limemloh Sep 23, 2024
72c0650
Split binary into two
limemloh Sep 23, 2024
0b0bc5f
Update README with run instructions
limemloh Sep 23, 2024
28865a1
Prepare for metrics
limemloh Sep 23, 2024
ce6decb
Label the node in metrics
limemloh Sep 24, 2024
5a4c230
Remove .env and added missing metrics.rs file
limemloh Sep 25, 2024
e3547ec
Update readme
limemloh Sep 25, 2024
45acaaa
Use the usual rustfmt.toml config
limemloh Sep 25, 2024
7f8b46d
Finish metrics for indexer
limemloh Sep 25, 2024
7e97ebc
Implement batching
limemloh Sep 27, 2024
ded34aa
Update readme with migration instructions
limemloh Sep 27, 2024
e687e0f
Add monitoring to API service
limemloh Sep 30, 2024
89293f3
Support basic baker indexing and queries
limemloh Oct 1, 2024
380570c
Introduce env variables for arguments
limemloh Oct 1, 2024
1ecf089
Use rust-backend for block metrics
limemloh Oct 1, 2024
5dd35d2
Update Rust SDK with TraverseConfig::traverse improvements
limemloh Oct 2, 2024
b21814e
Check network of nodes when first connecting
limemloh Oct 2, 2024
ab8f2b2
Address review comments
limemloh Oct 9, 2024
da1e8bf
Enable checks for rust backend in CI
limemloh Oct 9, 2024
345a049
Merge remote-tracking branch 'origin/main' into rust-backend
limemloh Oct 9, 2024
8507ca9
Fix CI
limemloh Oct 9, 2024
5a12bbb
Fix clippy warnings and restructure
limemloh Oct 10, 2024
310d66c
Only use compile-time checked queries
limemloh Oct 10, 2024
9188390
Use dotenvy and update documentation
limemloh Oct 11, 2024
bd88746
Add Query::module_reference_event without schema and comments
limemloh Oct 11, 2024
2550131
Make module schema query complete
DOBEN Oct 11, 2024
095f488
Add contract initialized
DOBEN Oct 11, 2024
e8625e1
Fix in-flight query metrics
limemloh Oct 12, 2024
c7c3e2e
Add contracts query
DOBEN Oct 13, 2024
b4a0dca
Update Readme
DOBEN Oct 14, 2024
ffc4025
Add TLS support
DOBEN Oct 14, 2024
9b781a1
Address comments
DOBEN Oct 15, 2024
e0b4e15
Temporarily enable CI checks PRs on the rust-backend
limemloh Oct 21, 2024
871dd00
Batch insert blocks
limemloh Oct 17, 2024
b8ee77b
Allow preprocessing and processing to be done in parallel
limemloh Oct 17, 2024
8c7f514
Update query cache
limemloh Oct 21, 2024
c400288
Merge remote-tracking branch 'origin/rust-backend' into rust-backend-…
DOBEN Oct 21, 2024
7604c7e
Fix CI pipeline
DOBEN Oct 21, 2024
32edfec
Address comments
DOBEN Oct 21, 2024
f8d0659
Use bytes for the schema
DOBEN Oct 21, 2024
ef4a5db
Merge pull request #268 from Concordium/rust-backend-modules
DOBEN Oct 21, 2024
45d8c3b
Address review comments
limemloh Oct 21, 2024
97d3ec2
Add untracked sqlx queries
limemloh Oct 23, 2024
4b347c6
Fix missing finalization_time for genesis block
limemloh Oct 23, 2024
e332789
Use with_capacity for fields during block batching
limemloh Oct 23, 2024
3050f09
Merge pull request #272 from Concordium/batch-blocks
limemloh Oct 23, 2024
017f4bc
Revert "Use rust-backend for block metrics"
limemloh Oct 24, 2024
e519e00
Remove rust-backend from CI and have CI run when ready for review
limemloh Oct 24, 2024
286d5c2
Store timestamps with timezone
limemloh Oct 24, 2024
b3133bc
Merge pull request #278 from Concordium/timestamptz
limemloh Oct 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "backend-rust/concordium-rust-sdk"]
path = backend-rust/concordium-rust-sdk
url = [email protected]:Concordium/concordium-rust-sdk.git
2 changes: 2 additions & 0 deletions backend-rust/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Postgres
DATABASE_URL=postgres://postgres:example@localhost/ccd-scan
Victor-N-Suadicani marked this conversation as resolved.
Show resolved Hide resolved
Loading