op-node: Add frame validity checks
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.
Showing
Please register or sign in to comment