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

Moonworm-crawler with schematic indexing with GCS integration. #1004

Open
Andrei-Dolgolev opened this issue Jan 25, 2024 · 0 comments
Open
Labels
crawlers Crawlers module

Comments

@Andrei-Dolgolev
Copy link
Contributor

Andrei-Dolgolev commented Jan 25, 2024

Language

Crawler was desided write on go.

  • More close to native libraries like go-ethereum
  • More fast
  • Have support of protobuff
  • Good in scale
  • simple to bring to any system as cli tool

Data

  • blockchain_blocks: Raw blocks for the blockchain
  • blockchain_transactions: Raw transactions for the blockchain
  • blockchain_events: Raw logs for the blockchain
  • blockchain_internal_transactions(calls)>: can be part of table 2.(v3.1)
  • blockchain_state: all write operations(v3.1)

Node endpoints:

**get_block** - return blocks with transactions
**get_events_log**(from, to) - retrun logs from to block
**trace_block** - return block with transactions trace information( possibly can replace get block )
**debug_trace_transaction** - by providing block and transaction input can restore state call operations.

All crawl happen with batch_size crawler will generate on GCS next paths structure.

blockN-blockN+batch_size/blocks.proto
                        /transactions.proto
                        /events.proto
                        /trace_transactions.proto(suggested by @zomglings add internal calls in transactions file)
                        /debug_trace_transaction.proto

Index files store pace

All routes to files writed to Schematic database.

#1000

@Andrei-Dolgolev Andrei-Dolgolev changed the title Moonworm-crawler with schematic indexing and GCS integration. Moonworm-crawler with schematic indexing with GCS integration. Jan 25, 2024
@Andrei-Dolgolev Andrei-Dolgolev added the crawlers Crawlers module label Jan 25, 2024
@Andrei-Dolgolev Andrei-Dolgolev pinned this issue Jan 25, 2024
@Andrei-Dolgolev Andrei-Dolgolev unpinned this issue Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crawlers Crawlers module
Projects
None yet
Development

No branches or pull requests

1 participant