We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
n_blank_outputs
Formula for determining number of blank outputs necessary to imprint fee reserves.
Problem: n_blank_outputs = ceil(log2(fee_reserve)) can be 0 if fee_reserve==1 sat.
n_blank_outputs = ceil(log2(fee_reserve))
0
fee_reserve==1 sat
Solution: Should be max(ceil(log2(fee_reserve)), 1) or ceil(log2(fee_reserve)) || 1.
max(ceil(log2(fee_reserve)), 1)
ceil(log2(fee_reserve)) || 1
The text was updated successfully, but these errors were encountered:
cashu-ts
Sorry, something went wrong.
cashubtc/nutshell#223
No branches or pull requests
Formula for determining number of blank outputs necessary to imprint fee reserves.
Problem:
n_blank_outputs = ceil(log2(fee_reserve))
can be0
iffee_reserve==1 sat
.Solution: Should be
max(ceil(log2(fee_reserve)), 1)
orceil(log2(fee_reserve)) || 1
.The text was updated successfully, but these errors were encountered: