oxen-core/src/daemonizer
Jason Rhinelander dfe566480b
Remove cryptonote_config macros
- Replace all cryptonote_config macros with constexpr variables.  Some
  become integer types, some become chrono types.
  - generally this involved removing a "CRYPTONOTE_" prefix since the
    values are now in the `cryptonote` namespace
  - some constants are grouped into sub-namespaces (e.g.
    cryptonote::p2p)
  - deprecated constants (i.e. for old HFs) are in the `cryptonote::old`
    namespace.
  - all the magic hash key domain separating strings are now in
    cryptonote::hashkey::WHATEVER.
- Move some economy-related constants to oxen_economy.h instead
- Replaced the BLOCKS_EXPECTED_IN_DAYS constexpr functions with more
  straightforward `BLOCKS_PER_DAY` value (i.e.  old
  `BLOCKS_EXPECTED_IN_DAYS(10)` is now `BLOCKS_PER_DAY * 10`.
- Replaced `network_version` unscoped enum with a scoped enum
  `cryptonote::hf`, replacing all the raw uint8_t values where it was
  currently accepted with the new `hf` type.
- Made `network_type` a scoped enum so that it now has to be qualified
  (network_type::TESTNET) and can't be arbitrarily/unintentionally
  converted to/from an int.
- HARDFORK_WHATEVER macros have become cryptonote::feature::WHATEVER
  constexpr hf values.
- Add `revision` to rpc hard_fork_info response
- Don't build trezor code at all (previously we were pointlessly
  building an empty dummy lib).
2022-05-16 20:37:07 -03:00
..
CMakeLists.txt std::filesystem 2020-10-24 12:45:37 -03:00
daemonizer.h std::filesystem 2020-10-24 12:45:37 -03:00
posix_daemonizer.inl std::filesystem 2020-10-24 12:45:37 -03:00
windows_daemonizer.inl Remove cryptonote_config macros 2022-05-16 20:37:07 -03:00
windows_service.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
windows_service.h wallet_rpc: Simplify daemonizer, remove t_handler/t_executor 2020-04-24 14:14:49 +10:00
windows_service_runner.h Add `stop()` to make windows layer happy 2020-08-07 17:14:03 -03:00