Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Funding fraud refactor #534

Merged
merged 12 commits into from
Mar 27, 2020
Merged

Funding fraud refactor #534

merged 12 commits into from
Mar 27, 2020

Commits on Mar 18, 2020

  1. RemRewire funding fraud

    Funding Fraud now completes on provideFundingECDSAFraudProof
    and always costs the signers
    their full bond as long as the funding
    timeout has not elapsed
    NicholasDotSol committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    a148ef0 View commit details
    Browse the repository at this point in the history
  2. Update tests

    temove tests for notifyFraudFundingTimeout
    and provideFraudBTCFundingProof
    NicholasDotSol committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    03f5e53 View commit details
    Browse the repository at this point in the history
  3. Remove unused function

    partiallySlashForFraudInFunding was
    only called by notifyFraudFundingTimeout, which
    was removed
    NicholasDotSol committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    7d09db6 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2020

  1. Burn bonds after funding timeout

    If the funding proof timeout has elpased, the funder does not recieve
    the signer bond. It is burned instead.
    NicholasDotSol committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    f92052b View commit details
    Browse the repository at this point in the history
  2. Update provideFundingECDSAFraudProof tests

    Test that the signer bond is always seized and
    the funder is awarded the bond if the timeout has not elapsed.
    NicholasDotSol committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    cc4372a View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. Assign bond in before block

    Bond can be a const assigned directly
    NicholasDotSol committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    237d376 View commit details
    Browse the repository at this point in the history
  2. Remove fundingTimeout distinction

    provideFundingECDSAFraudProof should always transfer signer bond to funder.
    
    This avoids some signer griefing vectors while simplifying the logic
    NicholasDotSol committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    6622665 View commit details
    Browse the repository at this point in the history
  3. Remove time-dendent tests

    provideFundingECDSAFraudProof time disctinction was removed.
    NicholasDotSol committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    abb78fc View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into funding-fraud

    NicholasDotSol committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    a738520 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. Move closeKeep to depositUtils

    NicholasDotSol committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    c79a1a0 View commit details
    Browse the repository at this point in the history
  2. closeKeep after notifyFundingTimeout

    NicholasDotSol committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    d09626a View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2020

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