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

WIP - track more information about commit history #22

Open
wants to merge 13 commits into
base: geewalletLightningMilestone3
Choose a base branch
from

Commits on Nov 13, 2020

  1. DotNetLightning.Kiss fork

    - LICENSE: change from MIT to AGPL (.Kiss fork)
    - Change package name suffix from .Core to .Kiss
    (skipping native build)
    knocte committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    bd268cd View commit details
    Browse the repository at this point in the history
  2. Mono-hop unidirectional payments

    canndrew authored and knocte committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    151599c View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. Prevent possible F#4.0 issue

    It seems that these attributes can cause this compilation error in F#4.0:
    error FS0927: The kind of the type specified by its attributes does not match the kind implied by its definition
    
    Newer versions of F# (like 4.5 or even newer, like the one being used
    by .NETCore to build the binary that is later published in nuget) allow
    compiling this code with no issues, but if you reference the generated
    assembly later from an old F# compiler, it could generate exceptions at
    runtime, e.g.: System.BadFormatImageException (or other types) whose
    inner exception could be the following:
    
    System.TypeLoadException : Could not load type of field 'GWallet.Backend.UtxoCoin.Lightning.SerializedChannel:MinSafeDepth@' (6) due to: Expected reference type but got type kind 17
    
    FSharp.Core's Result type is also affected by this so in this commit we
    create a replacement for it that is only used in the BouncyCastle build
    (which we now rename as 'Portability' build).
    
    Forward-ported from a4a59d0
    
    Co-authored-by: Andres G. Aragoneses <knocte@gmail.com>
    Co-authored-by: Andrew Cann <shum@canndrew.org>
    3 people committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    58763fe View commit details
    Browse the repository at this point in the history
  2. Re-add txout shuffling work-around (joemphilips#13)

    This NBitcoin issue: MetacoSA/NBitcoin#931
    somehow still hasn't been fixed properly (our geewallet CI still encounters it,
    surprisingly).
    
    So let's reapply the workaround[1] that we had removed[2].
    
    [1] joemphilips@d813a97
    [2] joemphilips@256893c
    canndrew authored and knocte committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    2573294 View commit details
    Browse the repository at this point in the history
  3. Utils: OptionCE and SeqConsumerCE comp expressions

    ResultUtils: new OptionCE, a computation expression for creating options,
    similar to the result computation expression which DNL already has.
    
    Core.Utils: new SeqConsumerCE, a computation expression which makes it
    easy to write code which consumes a sequence, one element at a time.
    canndrew authored and knocte committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    361a348 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2021

  1. Add channel force-closing support

    In order to support this, this commit adds two elements:
    
    1) CommitmentToLocalExtension
    
    This is an NBitcoin BuilderExtension that tells
    NBitcoin.TransactionBuilder how to recognise and sign to_local txouts
    from lightning commitment transactions. This is needed for force-closing
    to spend to_local outputs.
    
    2) tryGetFundsFromLocalCommitmentTx
    
    When force-closing a channel this function is used to recover funds from
    our commitment transaction. It generates a transaction which can be
    broadcast once the timelock on the to_local output has expired.
    canndrew authored and knocte committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    d23e1c1 View commit details
    Browse the repository at this point in the history
  2. Add tryGetFundsFromRemoteCommitmentTx function

    This function recovers funds from the to_remote output of a remote
    commitment tx which has been broadcast to the blockchain.
    canndrew committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    1a64d1a View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. Configuration menu
    Copy the full SHA
    39075f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    817550c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1267736 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab475a8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0612949 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    95e95b6 View commit details
    Browse the repository at this point in the history