• Joshua Gutow's avatar
    op-node: Add frame validity checks · c0ff2f72
    Joshua Gutow authored
    This ensures that the following frame validity checks are implemented:
    * Reject duplicate frames
    * Reject frames that attempt to close an already closed channel
    * Reject frames with a number higher than the closing frame number
    * Prune frames with a number higher than the closing frame number when we receive a closing frame.
    
    Also reduce the size of the channel.
    c0ff2f72
Name
Last commit
Last update
..
derive Loading commit data...
driver Loading commit data...
sync Loading commit data...
output_root.go Loading commit data...
types.go Loading commit data...
types_test.go Loading commit data...