Payment channel without timeout protected from malleability



Summary:

A method to open a payment channel without being vulnerable to malleability attacks has been proposed by Nicolas Dorier, adapting an idea from gmaxwell. The process involves A asking B for their public key, creating the first commitment transaction, extracting the hash that B needs to sign to be able to broadcast the commitment, asking B to sign the hash and broadcasting the anchor only after confirmation. Neither A nor B can reuse public keys between channels, but this is good practice anyway. Although child-pays-for-parent seems plausible, it does not work yet, and segregated witness is expected to happen sooner.


Updated on: 2023-05-23T21:45:19.485590+00:00