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: create sweeper #1960

Merged
merged 13 commits into from
Dec 19, 2018
Merged

sweep: create sweeper #1960

merged 13 commits into from
Dec 19, 2018

Commits on Dec 18, 2018

  1. Configuration menu
    Copy the full SHA
    423dd8a View commit details
    Browse the repository at this point in the history
  2. lnwallet: prevent static fee estimator fees from being modified

    Modifying the static fees is not thread safe. In this commit the fees
    are made immutable.
    joostjager committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    91f3df0 View commit details
    Browse the repository at this point in the history
  3. build: apply rpctest tag in itest

    We need to distinguish an lnd build for the purpose of integration
    testing from a regular dev build. This makes it possible to adapt
    parameters to let integration tests run faster (for example:
    sweeper batch window).
    joostjager committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    3b1357c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3fd03b2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    26cfc50 View commit details
    Browse the repository at this point in the history
  6. sweep+utxonursery+cnct+breacharbiter: add height hint to input

    This commit is a preparation for the implementation of remote spend
    detection. Remote spends may happen before we broadcast our own sweep
    tx. This calls for accurate height hints.
    joostjager committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    e43e895 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    067817f View commit details
    Browse the repository at this point in the history
  8. sweep: add input partitionings generator

    This commit adds a function that takes a set of inputs and splits them
    in sensible sets to be used for generating transactions.
    joostjager committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    a2dcca2 View commit details
    Browse the repository at this point in the history
  9. sweep: add sweeper store

    This commit adds a store for the sweeper. The sweeper needs minimal
    persistent data to be able to recognize its own sweeps.
    joostjager committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    1f06565 View commit details
    Browse the repository at this point in the history
  10. sweep: add time-based sweeper

    In this commit, the sweep package is extended from just tx generation to
    an active sweeper that collects sweep inputs and autonomously proceeds
    to publish the sweep tx after the batch window time interval has passed
    without new inputs being added.
    joostjager committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    01e64af View commit details
    Browse the repository at this point in the history
  11. sweep: add sweeper test

    joostjager committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    eec2efd View commit details
    Browse the repository at this point in the history
  12. utxonursery: connect to time-based sweeper

    Previously, nursery generated and published its own sweep txes. It
    stored the sweep tx in nursery_store to prevent a new tx with a new
    sweep address from being generated on restart.
    
    In this commit, sweep generation and publication is removed from nursery
    and delegated to the sweeper. Also the confirmation notification is
    received from the sweeper.
    joostjager committed Dec 18, 2018
    Configuration menu
    Copy the full SHA
    6389a97 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    687d4e7 View commit details
    Browse the repository at this point in the history