Closed fjl closed 4 years ago
It would be better to define ECDH agree to match libsecp256k1. This way people can just use the library without worrying about it too much.
agree
The spec should also define the wire format of ephemeral-pubkey.
ephemeral-pubkey
Also, specify the ECDSA algorithm. I was using RFC3278 which is DER-encoded. The go implementation uses r | s (which makes sense in hindsight as it matches ENR sigs).
It would be better to define ECDH
agree
to match libsecp256k1. This way people can just use the library without worrying about it too much.The spec should also define the wire format of
ephemeral-pubkey
.