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

feat: shed: incoming block-sub chainwatch tool #10513

Merged
merged 2 commits into from
Mar 23, 2023
Merged

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Mar 20, 2023

This just imports an extremely stripped down version of the lotus-chainwatch tool from testnet days, which makes it possible to look at block graphs including blocks which weren't synced.

Usage:

# start the daemon, let it run for a while
$ ./lotus-shed chainwatch run
# in another terminal after chain is synced
$ ./lotus-chainwatch-simple dot > blocks.dot 2057234 2000 && dot blocks.dot -Tsvg -Grankdir=TB > blocks.svg
# (first number is the lower epoch (oldest tipset to see), second is the number of tipsets to get)

@magik6k magik6k requested a review from a team as a code owner March 20, 2023 09:42
@arajasek arajasek merged commit 4efc29a into master Mar 23, 2023
@arajasek arajasek deleted the feat/shed-chainwatch branch March 23, 2023 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants