expload / pravda

Blockchain with Turing-complete VM implemented in Scala.
https://expload.com/developers/documentation/pravda/
GNU Affero General Public License v3.0
37 stars 14 forks source link

Use Bouncy Castle implementation of ed25519 #503

Closed fomkin closed 5 years ago

fomkin commented 5 years ago

Currently we using hand-made implementation of ed25519 signatures, which is based on port of PoC curve implementation. Bouncy Castle is well tested end maintained. Latest version supports ed25519. I think we should use it.

fomkin commented 5 years ago
  1. [x] Add Bouncy Castle dependency
  2. [x] Replace hand-made implementation with BC Ed25519 class
  3. [x] Remove obsolete dependency
  4. [x] Test with local multinode (send transaction)
  5. [x] Try to clone testnet with new node.

This changes MUST be backward compatible.