leapdao / leap-node

LeapDAO validation node
https://docs.leapdao.org
Mozilla Public License 2.0
15 stars 11 forks source link

Change validator EC to secp256k1 #233

Closed pinkiebell closed 4 years ago

pinkiebell commented 5 years ago

Bounty

Currently we are using ed25519, tendermint supports secp256k1 now. We should use that to save some bits in the contracts and node-network.

Scope

Deliverables

Gain for the project

Publicly visible delivery

Roles

bounty gardener: name / share bounty worker: name / share bounty reviewer: name / share

pinkiebell commented 5 years ago

@johannbarbie Seems like we don't really save anything 🤔 The only thing there we can save some storage is to not save the tenderKey into storage but just emit it in the logs.

Or did you have another use-case on mind?

troggy commented 4 years ago

obsolete probably

johannbarbie commented 4 years ago

wouldn't we save all the logic in the node to manage the signer key. also if validators use an HSM, they can just follow the tendermint docs. 🤔