Open hinto-janai opened 2 weeks ago
Will P2P constants be included in this crate as well?
https://github.com/Cuprate/cuprate/blob/main/p2p/p2p-core/src/constants.rs https://github.com/Cuprate/cuprate/blob/main/p2p/p2p/src/constants.rs
Will P2P constants be included in this crate as well?
I haven't checked in depth but if they are pub(crate)
and not needed elsewhere, probably not. Constants like CRYPTONOTE_MAX_BLOCK_HEIGHT
doesn't really belong anywhere yet is needed by multiple crates - these are the type of constants this crate will contain.
What
Adds a
cuprate_constants
crate in the rootconstants/
folder.Closes https://github.com/Cuprate/cuprate/issues/189.
Why, where
See #189.
How
See below review.