-
Notifications
You must be signed in to change notification settings - Fork 14
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
[FR] - Add a command to obtain the reference script size (in bytes) of a transaction #667
Milestone
Comments
This was referenced Mar 21, 2024
carbolymer
added a commit
that referenced
this issue
Mar 22, 2024
3 tasks
carbolymer
added a commit
that referenced
this issue
Mar 25, 2024
carbolymer
added a commit
that referenced
this issue
Mar 26, 2024
carbolymer
added a commit
that referenced
this issue
Mar 26, 2024
carbolymer
added a commit
that referenced
this issue
Apr 4, 2024
carbolymer
added a commit
that referenced
this issue
Apr 4, 2024
3 tasks
carbolymer
added a commit
that referenced
this issue
Apr 4, 2024
disassembler
pushed a commit
that referenced
this issue
Apr 4, 2024
github-merge-queue bot
pushed a commit
that referenced
this issue
Apr 4, 2024
…-size-query #667 Add ref-script-size query command
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Internal/External
Internal
Area
Other
Describe the feature you'd like
Ledger now requires the reference script sizes to calculate the transaction minimum fee. To obtain the minimum script size, we need the entire UTXO set, which requires querying the node. This means that to implement the calculate-min-fee without it needing to communicate with the node, we need to pass the reference script size in bytes as an extra parameter. Thus, we need a new CLI command that queries the nodes to obtain this information.
For reference, here is how the reference script size of a transaction is calculated in the ledger.
The text was updated successfully, but these errors were encountered: