Some of our classes want to share the same name, but because we haven't been using namespaces up until now, we cannot share the same name. Let's start refactoring code so to use namespaces. Let's just reuse the module names that we've been using.
E.g., gallocy/http/client.h should become gallocy::http::client and gallocy/consensus/client.h should become gallocy::consensus::client.
For classes that aren't factored into a module, they should use the gallocy:: namespace.
Some of our classes want to share the same name, but because we haven't been using namespaces up until now, we cannot share the same name. Let's start refactoring code so to use namespaces. Let's just reuse the module names that we've been using.
E.g.,
gallocy/http/client.h
should becomegallocy::http::client
andgallocy/consensus/client.h
should becomegallocy::consensus::client
.For classes that aren't factored into a module, they should use the
gallocy::
namespace.