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

Add blockchain management command for FileBlockchain. #480

Conversation

olegtropinin
Copy link
Contributor

All commands get data from FileBlockchain. It's example how to get one block, range of blocks and blockchain state:

Get one block:
./manage.py thenewboston_blockchain get_block 2

Get range of blocks:
./manage.py thenewboston_blockchain get_blocks 2 3

Get blockchain state by block number:
./manage.py thenewboston_blockchain get_blockchain_state 2

@olegtropinin olegtropinin linked an issue Oct 30, 2021 that may be closed by this pull request
@dmugtasimov dmugtasimov merged commit d96525b into thenewboston-blockchain:master Oct 30, 2021
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.

Create blockchain management command
2 participants