Move base58.h implementation code to base58.cpp