Upstream PRs:
This change consists in avoiding filling the b58 buffer with zeros. The improvement is about 30% - 45%.
For example, calling listunspents with my wallet results in 313ms in EncodeBase58 whereas before was 578ms.
Improve DecodeBase58 performance the same way as commit 3252208 did
for EncodeBase58.
...
That's about 32% decrease for the average time.