allow constructing a valid CKey as syntactic sugar, less boilerplate on new code
did not change old code for now to avoid merge conflict nonsense for future backports
Differential D9882
refactor: allow constructing a valid CKey in place majcosta on Aug 17 2021, 19:05. Authored by
Details
allow constructing a valid CKey as syntactic sugar, less boilerplate on new code did not change old code for now to avoid merge conflict nonsense for future backports ninja all check check-functional
Diff Detail
Event TimelineComment Actions This is not very good because you are removing the function call, with an explicit name. Make it a static method instead. And don't take a boolean as argument as par of the API, make that two functions. CKey::MakeNewCompressedKey() and CKey::MakeNewUncompressedKey() are much clearer. |