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

State Channel Re-close test #1238

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Feb 9, 2022

  1. Add reclose state channel test

    Open and participate in a state channel, then let it close naturally.
    Submit a re-close of that same state channel and make sure it's not a
    valid close, because it's already been closed.
    michaeldjeffrey committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    92912fc View commit details
    Browse the repository at this point in the history
  2. Only consider original closer txn when looking to dispute

    This path will be helped along with `sc_dispute_strategy_version = 1`,
    but there's a chance a state channel participant can try to file a
    dispute with _every_ `blockchain_txn_state_channel_close_v1` in _every_
    block they come across. This can exacerbate dispute storms when a
    disputer comes across multiple dispute txns from other disputers and
    puts in even more disputes.
    michaeldjeffrey committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    66573b5 View commit details
    Browse the repository at this point in the history