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 amount range to lease_rate #1

Merged
merged 1 commit into from
Apr 11, 2024

Commits on Mar 27, 2024

  1. Add amount range to lease_rate

    We add a minimum and maximum amount to the lease rate. This allows
    sellers to provide different rates depending on the amount that is
    purchased. Since the number of utxos used will likely vary based
    on the amount, this also lets them use more accurate funding weights
    to ensure they don't end up paying too much of the on-chain fees.
    
    With that data added, a lease rate uses 24 bytes. We limit the number
    of rates in a `node_announcement` to 10, which doesn't make it too
    harmful in terms of bandwidth usage for the gossip network.
    t-bast committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    6e799ca View commit details
    Browse the repository at this point in the history