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 documentation for memoHex in RPCS #613

Merged
merged 2 commits into from
Mar 7, 2024
Merged

Add documentation for memoHex in RPCS #613

merged 2 commits into from
Mar 7, 2024

Conversation

NullSoldier
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Feb 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2024 0:42am

@NullSoldier NullSoldier added the waiting on deploy This documentation change is waiting on a release to go out to main net. label Feb 21, 2024
Comment on lines 20 to 21
memo: string
memoHex: string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to mark these as optional

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Comment on lines 16 to 17
memo: string
memoHex: string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@@ -40,6 +41,8 @@ Creating a raw transaction does not require a spend key. They are not added to t
}
```

> **Note:** outputs.memoHex is a hex encoded buffer with a max length of 32 bytes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could be a bit confusing since the parameter is a string in the RPC requests

maybe is a hex-encoded string with a max length of 64 characters? We could also say that the string is equivalent to a 32 byte buffer

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also the memo field has the same limitation, this would make me think you could fit more in the memo field.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@NullSoldier NullSoldier merged commit 0f880dd into master Mar 7, 2024
2 checks passed
@NullSoldier NullSoldier deleted the jason/memo branch March 7, 2024 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting on deploy This documentation change is waiting on a release to go out to main net.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants