Closed egonelbre closed 3 years ago
Anything we can do to get this reviewed?
@onyb hopefully, that's sufficient.
@onyb ping, is there anything else that needs to be improved?
@egonelbre Thanks for the reminder. I got busy with reviewing some of btcd PRs. Will take a deeper look today or tomorrow, and most likely have it merged on Tuesday (during our weekly sync meeting).
One last thing - could you please pull in the latest test cases from Bitcoin Core? Here's the link: https://github.com/bitcoin/bitcoin/blob/master/src/test/data/base58_encode_decode.json
@onyb ping.
Just going to add that most of the time we prefer to squash to single commits but in this case I think the three commits make very logic sense so leaving them un-squashed is good.
And thanks!
Individual operations on big.Int values are slow, hence do computations up to
58^10
using an uint64. This makes the code roughly 10x faster.