mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-20 02:27:32 +01:00
31022ceca5
* use 64B representation instead of DER for sigs It is more compact, and as an added bonus it frees us from the completely unrelated Bitcoin-specific `0x01` trailing sig hash. Note that we already used the 64B representation for storage everywhere, except in `ChannelCodecs.htlcTxAndSigsCodec`, which required a backward compatibility codec. Added a nonreg test for this. * Use updated secp256k1 JNI bindings * Replace scalar with private key and point with public key We now use the simplified/unified design proposed in bitcoin-lib where: - there are no more specific types for scalar/point - private and public keys are compressed unless explicitly requested * Generate and use 32 bytes seeds (and not 33) We used serialized random private keys which were represented a 33 bytes (with a 01 suffix). Using random 32 bytes values is more consistent. We must make sure that upgraded apps that already have a 33 bytes seed will still generate the same secrets, which is why LocalKeyManager still uses the 01 suffix when needed |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |