diff --git a/binaries/cuprated/src/rpc/constants.rs b/binaries/cuprated/src/rpc/constants.rs new file mode 100644 index 0000000..a48e490 --- /dev/null +++ b/binaries/cuprated/src/rpc/constants.rs @@ -0,0 +1,17 @@ +//! TODO +//! +//! + +pub const MAX_RESTRICTED_FAKE_OUTS_COUNT: usize = 40; +pub const MAX_RESTRICTED_GLOBAL_FAKE_OUTS_COUNT: usize = 5000; + +/// 3 days max, the wallet requests 1.8: usize = days. +pub const OUTPUT_HISTOGRAM_RECENT_CUTOFF_RESTRICTION: usize = 3 * 86400; + +pub const DEFAULT_PAYMENT_DIFFICULTY: usize = 1000; +pub const DEFAULT_PAYMENT_CREDITS_PER_HASH: usize = 100; + +pub const RESTRICTED_BLOCK_HEADER_RANGE: usize = 1000; +pub const RESTRICTED_TRANSACTIONS_COUNT: usize = 100; +pub const RESTRICTED_SPENT_KEY_IMAGES_COUNT: usize = 5000; +pub const RESTRICTED_BLOCK_COUNT: usize = 1000;