Skip to content
Permalink
Branch: master
Commits on Jun 18, 2019
  1. connect test: use wait_for_log in test_funding_external_wallet

    niftynei authored and rustyrussell committed Jun 17, 2019
    test_funding_external_wallet is flakey because we don't wait for
    the channel state to update before asserting that it's changed.
Commits on Jun 12, 2019
  1. doc: add manpages for fundchannel_[start,complete,cancel]

    niftynei authored and rustyrussell committed Jun 5, 2019
    Manpages for the manpage-god!!
  2. funding: update CHANGELOG with new RPC calls

    niftynei authored and rustyrussell committed Jun 5, 2019
    Let people know what's changed
  3. funding: rename fundchannel_continue -> _complete

    niftynei authored and rustyrussell committed Jun 5, 2019
    Renaming. "complete" more accurately describes what we're doing here.
  4. tests: finish up test for external funding flow

    niftynei authored and rustyrussell committed May 31, 2019
    Add to test for fundchannel with composing and broadcasting
    an external transaction.
  5. opening: add fundchannel_cancel command

    niftynei authored and rustyrussell committed May 31, 2019
    Provide the option to cancel a funding-opening with a peer.
    Must either call `fundchannel_cancel` or `fundchannel_continue`
  6. funding: wire up funding_continue

    niftynei authored and rustyrussell committed May 31, 2019
    Big wiring re-org for funding-continue
    
    In openingd, we move the 'persistent' state (their basepoints,
    pubkey, and the minimum_depth requirement for the opening tx) into
    the state object. We also look to keep code-reuse between
    'continue' and normal 'fundchannel' as high as possible. Both
    of these call the same 'fundchannel_reply' at the end.
    
    In opening_control.c, we remap fundchannel_reply such that it is
    now aware of the difference between an external/internally funded
    channel open. It's the same return path, with the difference that
    one finishes making and broadcasting the funding transaction; the
    other is skips this.
  7. funding: add a 'inflight' marker

    niftynei authored and rustyrussell committed May 31, 2019
    We need a way to gate allowing continue to proceed or not
  8. fundchannel: add txout field to RPC/API

    niftynei authored and rustyrussell committed May 31, 2019
    We'll need the outpoint for the funding output.
  9. test: add initial tests for starting an external fundchannel

    niftynei authored and rustyrussell committed May 22, 2019
    Test for getting through the address generation portion.
  10. lightningd: add start for fundchannel_continue

    niftynei authored and rustyrussell committed May 25, 2019
    Add an RPC method (not working at the moment) called
    `fundchannel_continue` that takes as its parameters a
    node_id and a txid for a transaction (that ostensibly has an output
    for a channel)
  11. opening: stash amount outside of the wtx

    niftynei authored and rustyrussell committed May 24, 2019
    Some channels won't be opened with a wtx struct, so keep
    the total funding amount separate from it so we can
    show some stats for listpeers.
    
    Note that we're going to need to update/confirm this once
    the transaction gets confirmed.
  12. openingd: update billboard with funding info

    niftynei authored and rustyrussell committed May 23, 2019
    Make it easier for a user to know what's going on with
    a channel in `listpeers`.
  13. pylightning: add fundchannel_start

    niftynei authored and rustyrussell committed May 22, 2019
    Add method to rpc handler
  14. opening: wire up walking through open channel up thru accept

    niftynei authored and rustyrussell committed May 22, 2019
    Fill in details to make fundchannel_start work.
  15. openingd: pull out setup funder checks into separate method

    niftynei authored and rustyrussell committed May 22, 2019
    Useful for adding the funder_start stuff
  16. opening: add entry point for `funding_start rpc command

    niftynei authored and rustyrussell committed May 21, 2019
    Beginnings of wiring up the funding_start rpc command. missing
    the part that actually starts the funding channel dance.
  17. openingd: allow funding_failed to complete successfully

    niftynei authored and rustyrussell committed May 31, 2019
    For the `fundchannel_cancel` we're going to want
    to 'successfully' fail a funding channel operation. This allows
    us to report it a failure back as an RPC success, instead of
    automatically failing the RPC request.
  18. tests: default all addresses to bech32

    niftynei authored and rustyrussell committed May 31, 2019
    Needed for composing a transaction externally to c-lightning, using
    bitcoind util.
  19. json: correct error message for param parser

    niftynei authored and rustyrussell committed May 25, 2019
    Looks like copy-paste from another commit didn't update
    the field for this
  20. common: pull out scriptPubkey address method

    niftynei authored and rustyrussell committed May 22, 2019
    We're going to need this for P2WSH scripts. pull it out into
    a common file plus adopt the sanity checks so that it will allow for
    either P2WSH or P2WPKH (previously only encoded P2WPKH scripts)
Commits on Jun 6, 2019
Commits on May 24, 2019
  1. jsontok: fixup spelling error in code comment

    niftynei authored and cdecker committed May 21, 2019
Commits on May 2, 2019
  1. wire-gen: patch in the `wire/gen_*_experimental_wire` files

    niftynei authored and rustyrussell committed Apr 16, 2019
    use the `wire/gen_*experimental_wire` patch file and apply it to
    existing wire message set.
    
    empty for now, but will be generated shortly.
  2. wire-gen: use staging file for generated wire csvs

    niftynei authored and rustyrussell committed Apr 16, 2019
    for now we straight copy the `extracted_peer_wire_csv` over into the
    file that is used to generate the .c/.h files; in the future
    we'll use this destination file as a way to modify the
    `gen_peer_wire_csv`s from a patch.
Commits on Apr 24, 2019
  1. wire-gen: put tlv's after subtypes

    niftynei authored and cdecker committed Apr 24, 2019
    in the output, we need tlv's to come after the subtype declarations
    and structs so that a tlv can use a subtype without problems
  2. wire generator: reverse subtype struct order

    niftynei authored and cdecker committed Apr 24, 2019
    nested subtypes need to come first in the struct declaration. we
    reverse the order that we read them off so that this requirement
    is met
Commits on Apr 12, 2019
  1. contrib-script: encapsulate more things

    niftynei committed Apr 12, 2019
    make a start + stop function, so that you can load this script
    into other places and start/stop the services in the background.
  2. contrib-script: make it so that you can source everywhere

    niftynei committed Apr 12, 2019
    the aliases are nice to have in other windows; if you want to
    source it other places, we should make that possible.
  3. contrib: short script to startup two nodes to test locally

    niftynei committed Apr 12, 2019
    make it easier to fire up a local test environment to try out
    c-lightning.
    
    requires bitcoind to be installed. to use, you have to run it
    via `source contrib/startup_regtest.sh`, so that the aliases
    are set correctly.
  4. closing: add message to billboard when closing txn is broadcast

    niftynei authored and rustyrussell committed Apr 10, 2019
    make it a bit easier to track mutual channel closures by
    adding broadcast txid to the listpeers billboard.
    
    since lightningd manages the 'identity' of the closing tx we need
    to send it back to closingd so it can update the billboard
    appropriately.
Commits on Apr 10, 2019
  1. wire-gen: simplify if statement

    niftynei authored and rustyrussell committed Apr 10, 2019
Older
You can’t perform that action at this time.