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

sweep: prepare for sweeper #1978

Merged
merged 6 commits into from
Oct 17, 2018
Merged

Commits on Oct 17, 2018

  1. utxonursery: move spendable output structs to sweep package

    This commit moves the output structs to a new package as a
    preparation for moving more logic into that package.
    joostjager committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    9fcc7ee View commit details
    Browse the repository at this point in the history
  2. sweep: move sweep tx generation into sweep package

    Sweep txes are currently generated in multiple locations. Moving
    the sweep tx generation into a shared package will allow us to
    reuse that logic.
    joostjager committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    4dab405 View commit details
    Browse the repository at this point in the history
  3. sweep: create new Input interface

    This commit introduces a common interface for sweep
    inputs. It eliminates the type checking from UtxoSweeper.
    
    Also the formerly present Amount() getter is removed. It was redundant
    because this value is present in SignDesc().Output.Value as well.
    joostjager committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    7d69df7 View commit details
    Browse the repository at this point in the history
  4. cnct: reuse sweep tx logic for commit resolver

    Removes duplicate sweep tx code from commit resolver
    and delegates generation to UtxoSweeper in the sweep
    package.
    joostjager committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    c1d845a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6977d59 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    95bf858 View commit details
    Browse the repository at this point in the history