-
Notifications
You must be signed in to change notification settings - Fork 44
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
Separated docs by components, added API docs #136
Conversation
Hi @polydez, I'm currently reviewing your contributions. I wanted to share some guidelines with you for future reference on how we handle code contributions in Miden:
To be confirmed with @bobbinth but I believe that you could keep it as it is for now and only follow this method for the next PR's. Feel free to reach out if you have any questions. Thanks for being part of our team! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, this adds needed documentation.
Added some comments to make the documents more readable and correct some typos.
block-producer/README.md
Outdated
@@ -0,0 +1,50 @@ | |||
# Block Producer | |||
|
|||
**Block producer** accepts transactions from the RPC component, creates blocks containing those transactions, and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend a change to:
The Block producer receives transactions from the RPC component, processes them, creates block containing those transactions before sending created blocks to the store.
Block Producer is one of components of the Miden node.
block-producer/README.md
Outdated
|
||
## Architecture | ||
|
||
The Miden node is still under heavy development and current architecture is subject of change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to simple TODO
store/README.md
Outdated
cargo install --path store | ||
``` | ||
|
||
In order to run Store, you must provide genesis file. To generate genesis file you need to use [Miden node](../README.md#generating-the-genesis-file)'s `make-genesis` command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to:
In order to run the Store, you must provide a genesis file. To generate a genesis file you will need to use Miden node's make-genesis
command.
You will also need to provide a configuration file. We have an example config file in store-example.toml.
store/README.md
Outdated
|
||
## API | ||
|
||
**Store** serves connections using [gRPC protocol](https://grpc.io) on a port, set in configuration file. Here is a brief |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start sentence with The
, add the
after using.
add the previously mentioned
before configuration file
rpc/README.md
Outdated
|
||
## API | ||
|
||
**RPC** serves connections using [gRPC protocol](https://grpc.io) on a port, set in configuration file. Here is a brief |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start sentence with The
, add the
after using.
add the previously mentioned
before configuration file
block-producer/README.md
Outdated
|
||
## API | ||
|
||
**Block Producer** serves connections using [gRPC protocol](https://grpc.io) on a port, set in configuration file. Here is a brief |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start sentence with The
, add the
after using.
add the previously mentioned
before configuration file
rpc/README.md
Outdated
cargo install --path rpc | ||
``` | ||
|
||
To run the RPC you'll need to provide a configuration file. We have an example config file in [rpc-example.toml](rpc-example.toml). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change you'll
to you will
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you! I left some comments inline. Once these and @phklive's comments are addressed, we can merge.
rpc/README.md
Outdated
### SyncState | ||
|
||
State synchronization request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would write a small paragraph on how this is intended to be used as it may not be super obvious. There is some background info in #38 and #43, but I also kind of summarize it in 0xPolygonMiden/miden-client#63 (comment).
@bobbinth, I have finished editing, please, take a look! |
Looks good! Thank you! |
Hi there,
I've improved README by adding prerequisites, making separated page for each component and API documentation.