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

change(consensus): Add lockbox funding stream #8694

Merged
merged 34 commits into from
Aug 1, 2024
Merged

change(consensus): Add lockbox funding stream #8694

merged 34 commits into from
Aug 1, 2024

Commits on Jul 25, 2024

  1. Addresses clippy lints

    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    bf1278a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa88979 View commit details
    Browse the repository at this point in the history
  3. Moves subsidy.rs to zebra-chain, refactors funding streams into s…

    …tructs, splits them into pre/post NU6 funding streams, and adds them as a field on `testnet::Parameters`
    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    d9a53e6 View commit details
    Browse the repository at this point in the history
  4. Replaces Vec with HashMap, adds ConfiguredFundingStreams type and c…

    …onversion logic with constraints.
    
    Minor refactors
    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    124e249 View commit details
    Browse the repository at this point in the history
  5. Empties recipients list

    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    cbf7ef3 View commit details
    Browse the repository at this point in the history
  6. Adds a comment on num_addresses calculation being invalid for configu…

    …red Testnets, but that being okay since configured testnet parameters are checked when they're being built
    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    54af589 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    db434c3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7d7f606 View commit details
    Browse the repository at this point in the history
  9. Adds a "deferred" FundingStreamReceiver, adds a post-NU6 funding stre…

    …ams, updates the `miner_fees_are_valid()` and `subsidy_is_valid()` functions to check that the deferred pool contribution is valid and that there are no unclaimed block subsidies after NU6 activation, and adds some TODOs
    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    77a6f2c View commit details
    Browse the repository at this point in the history
  10. adds lockbox_input_value() fn

    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    dbc7ca9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0f962c5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9bca31f View commit details
    Browse the repository at this point in the history
  13. updates funding stream values test to check post-NU6 funding streams …

    …too, adds Mainnet/Testnet NU6 activation heights, fixes lints/compilation issue
    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    0d22b68 View commit details
    Browse the repository at this point in the history
  14. Reverts Mainnet/Testnet NU6 activation height definitions, updates `t…

    …est_funding_stream_values()` to use a configured testnet with the post-NU6 Mainnet funding streams height range
    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    039c9a1 View commit details
    Browse the repository at this point in the history
  15. reverts unnecessary refactor

    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    2f14517 View commit details
    Browse the repository at this point in the history
  16. appease clippy

    arya2 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    33a5545 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    1183d49 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b523bf5 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Fixes potential panic

    arya2 committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    7df2e28 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    95378fd View commit details
    Browse the repository at this point in the history
  2. Fixes bad merge

    arya2 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    7173af7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6244e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    166bc23 View commit details
    Browse the repository at this point in the history
  5. Checks that the original valid block template at height 2 is accepted…

    … as a block submission
    arya2 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    c113601 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4627c08 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    6aa2858 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    b82f2be View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. updates test name

    arya2 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    126fdab View commit details
    Browse the repository at this point in the history
  2. Updates deferred pool funding stream name to "Lockbox", moves post-NU…

    …6 height ranges to constants, updates TODO
    arya2 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    bf49432 View commit details
    Browse the repository at this point in the history
  3. Updates get_block_subsidy() RPC method to exclude lockbox funding s…

    …tream from `fundingstreams` field
    arya2 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    14fbfb4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7987c76 View commit details
    Browse the repository at this point in the history
  5. Updates FundingStreamRecipient::new() to accept an iterator of item…

    …s instead of an option of an iterator, updates a comment quoting the coinbase transaction balance consensus rule to note that the current code is inconsistent with the protocol spec, adds a TODO for updating the quote there once the protocol spec has been updated.
    arya2 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e5eaf38 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8949301 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cdb1684 View commit details
    Browse the repository at this point in the history