-
Notifications
You must be signed in to change notification settings - Fork 9
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
Revise Documentation for the Migration
Module.
#55
Conversation
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.
Does putting "since 1.0.0" on every single symbol add anything useful?
It would be good to have "since 1.1.0" on new functions in the next version though.
@KtorZ I suspect this part could also be revised, as the values seem very specific to Cardano: |
@rvl At this stage it does not. But it'll be only useful by the time we make a second release indeed. |
This makes the batch size argument easier to refer to in documentation for the `Migration.selectCoins` function, and provides a way to relate `idealBatchSize` to `selectCoins`.
Remove Cardano-specific blockchain constants, and write a more general description that could be applied to any UTxO-based blockchain.
a3d8536
to
0bab2e8
Compare
@rvl wrote:
After an internal team discussion, it was decided to include this attribute on every symbol exported in the public API right from the first published version. |
@jonathanknowles wrote:
Fixed in 0bab2e8. |
Migration
Module.
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.
👍
-- wallet to another. | ||
-- | ||
-- Since UTxO-based blockchains typically impose limits on the sizes of | ||
-- individual transactions, and since individual UTxO sets can contain |
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.
UTxO sets
ot UTxO set
?
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.
UTxO sets
otUTxO set
?
This is correct, because we've written:
"individual UTxO sets can contain arbitrarily many entries."
(The sentence is referring to the concept of UTxO sets in general.)
We could also have written:
"an individual UTxO set can contain arbitrarily many entries."
(Either would be correct.)
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.
lgtm!
Related Issue
#18
Summary
This PR:
Migration
module to be more general, removing references to Cardano-specific blockchain values.BatchSize
, which makes the batch size argument easier to refer to in documentation, and provides a way for users to relate theidealBatchSize
andselectCoins
functions to one another.idealBatchSize
in the public API.In addition, this PR:
@since 1.0.0
metadata attribute to each symbol exposed in the public API. (The necessity of this was discussed in an earlier review, and a consensus was reached that we will include an attribute for each symbol in the public API, right from the first release.)