caroma Posted November 15, 2018 Share Posted November 15, 2018 By default, secp256k1's does not use the efficiently-computable endomorphism in performing point multiplication. I cannot seem to find if this is being used in rippled or not. Would anyone know if rippled uses endomorphisms? Professor Hantzen and damascus1986 2 Link to comment Share on other sites More sharing options...
IAmATroll Posted November 15, 2018 Share Posted November 15, 2018 Yes.... Link to comment Share on other sites More sharing options...
caroma Posted November 15, 2018 Author Share Posted November 15, 2018 @IAmATroll where can the use_endomorphism definition be found? Link to comment Share on other sites More sharing options...
Sukrim Posted November 16, 2018 Share Posted November 16, 2018 https://github.com/ripple/rippled/blob/develop/src/secp256k1/configure.ac#L117-L120 seems to indicate that this is not set by default and I haven't found a place where it would get set by cmake when building the library. You could probably set it here: https://github.com/ripple/rippled/blob/develop/CMakeLists.txt#L630-L636 caroma and Professor Hantzen 2 Link to comment Share on other sites More sharing options...
caroma Posted November 16, 2018 Author Share Posted November 16, 2018 @Sukrim yes, that's exactly what I thought. I was looking through the Cmake file and it seemed odd to me that rippled wouldn't use the endomorphisms if they are readily available and would likely speed up the verification and signing process. Thanks for your answer. Link to comment Share on other sites More sharing options...
Professor Hantzen Posted November 16, 2018 Share Posted November 16, 2018 @caroma If you enable this and are able to improve rippled performance, maybe post a github issue with your findings (https://github.com/ripple/rippled/issues) and see if this can be made the default? caroma 1 Link to comment Share on other sites More sharing options...
caroma Posted November 16, 2018 Author Share Posted November 16, 2018 @Professor Hantzen will do. I'm currently working on a project to see if the energy consumption of the current protocol can be improved, since there really isn't any monetary incentive to running a ripple node/validator...might as well try to get the cost down as much as possible to encourage more people to participate. I'll be sure to post my findings as they are made. Kakoyla, Professor Hantzen and NightJanitor 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now