• Wladimir J. van der Laan's avatar
    Split up util.cpp/h · a9a90ee0
    Wladimir J. van der Laan authored
    Split up util.cpp/h into:
    
    - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach)
    - money utilities (parsesmoney, formatmoney)
    - time utilities (gettime*, sleep, format date):
    - and the rest (logging, argument parsing, config file parsing)
    
    The latter is basically the environment and OS handling,
    and is stripped of all utility functions, so we may want to
    rename it to something else than util.cpp/h for clarity (Matt suggested
    osinterface).
    
    Breaks dependency of sha256.cpp on all the things pulled in by util.
    a9a90ee0
bitcoin.cpp 19.5 KB