-
Notifications
You must be signed in to change notification settings - Fork 41
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 more documentation for TBC and related RPC protocol #86
Conversation
16fa759
to
48dacc1
Compare
Co-authored-by: ClaytonNorthey92 <clayton.northey@gmail.com>
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.
Bunch of minor comments.
|
||
On some linux systems you may need to increase the number of open files allowed (particularly with slower disks) and the maximum stack size. If you run into open file or OOM errors, in the shell you are going to run tbcd, run: | ||
- **`testnet3`** requires approximately 40 GiB of disk space. | ||
- **`mainnet`** requires over 300 GiB of disk space. <!-- XXX: add exact number here --> |
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.
We probably should fill something in rather than having a XXX note in docs.
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.
What do you mean by 'fill something in'? 🤔
I believe this was an estimation from when it was being run as a test for mainnet, so this amount is likely going to change quite a bit before we have a rough number.
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 pretty much just meant pick a number and go with it since nothing we put in there will be correct for too long anyway
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 great now.
OK
Waiting for reviews from @ClaytonNorthey92 and if possible @jsorkin24 before merging. |
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 great!
* Add some more meat to the tbcd README * Tidy up wording and sections in tbcd readme * tbcd: add initial RPC docs * Fix command table formatting * Move RPC docs into separate files * Add RPC commands link to tbcd readme * Add docs for block-headers-by-height, add more details * Add docs for balance-by-address * Add docs for utxos-by-address * Add docs for tx-by-id * Add a link to tbcapi.go * Add errors section * Add table of contents * Better describe block header merkle_root, timestamp and nonce Co-authored-by: ClaytonNorthey92 <clayton.northey@gmail.com> * Add TBC_ADDRESS example and move protocol comment to protocol section * Add request/response examples for UTXOs by Address * Update limits information in tbc readme * Add example request/responses for tx-by-id * readme-docs: protocol & tbc api, tbcd cmd, and hemi * Issues Addressed (minor grammar changes) * Changes Updated * Remove Styling * docs: reformat tbcapi readme * docs: fix inconsistencies in tbcapi readme * docs: update tbcapi docs and fix a few errors * docs: fix error in tbcapi docs * docs: tidy up protocol docs * Add .DS_Store to gitignore * docs: tidy up tbcd readme * docs: clarify minimums for tbcd * docs: tidy up readme, update parts and fix a few errors * docs: fix formatting for notes in readme * docs: feedback from Jane * readme: specify Go v1.22.2 for building from source * readme: use `shell` syntax instead of `bash` * tbcd/readme: specify Go v1.22.2 for building from source * tbcd/readme: use ./bin/tbcd for help example * readme: reword services paragraph * protocol: remove id note from readme --------- Co-authored-by: Joshua Sing <joshua@bloq.com> Co-authored-by: ClaytonNorthey92 <clayton.northey@gmail.com> Co-authored-by: Jane <32560576+jsorkin24@users.noreply.github.com>
Summary
Changes