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

improve/update documentation in api/oas_schemas.py #1244

Merged

Conversation

jerryfletcher21
Copy link
Contributor

@jerryfletcher21 jerryfletcher21 commented Apr 25, 2024

What does this PR do?

Some improvements in the documentation that I noticed while writing roboauto in https://learn.robosats.com/docs/api.

Specify that the amount of the invoice sent in update_invoice should take into consideration routing_budget_ppm.

Specify that the signed messages should be signed with SHA512.

Fix a repetition and a broken link.

Specify that the PGP key should be ed25519/cert,sign+cv25519/encr.

Remove the warning that in the future canceling not taken orders might result in losing the bond.
In roboauto I have an action recreate-order that updates an online order by canceling and recreating with
some parameters changed. Obviously if the bond is lost when canceling an order I will have to remove this feature.
I spoke with @Reckless-Satoshi and he confirmed that the bond will not be lost in the future.

Checklist before merging

  • Install pre-commit and initialize it: pip install pre-commit, then pre-commit install. Pre-commit installs git hooks that automatically check the codebase. If pre-commit fails when you commit your changes, please fix the problems it points out.

Specify that the amount of the invoice sent in `update_invoice`
should take into consideration `routing_budget_ppm`.
Specify that the signed messages should be signed with SHA512.
Remove the warning that in the future canceling not taken orders
might result in losing the bond.
Fix a broken link.
Specify that the PGP key should be ed25519/cert,sign+cv25519/encr.
@jerryfletcher21 jerryfletcher21 changed the title improve/update documentation in api/oas_schemas.py (https://learn.robosats.com/docs/api) improve/update documentation in api/oas_schemas.py Apr 25, 2024
@Reckless-Satoshi
Copy link
Collaborator

Thank you for catching these issues and improving our API docs for all future developers.

Please post an invoice for 15K Sats with a long expiration time for a small DevFund tip.

@Reckless-Satoshi Reckless-Satoshi merged commit 9071597 into RoboSats:main Apr 29, 2024
1 check passed
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