mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-11-16 15:58:14 +00:00
fixes
This commit is contained in:
parent
84b3719c99
commit
13bb6fbd8f
3 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
#![doc = include_str!("../README.md")]
|
#![doc = include_str!("../README.md")]
|
||||||
#![deny(missing_docs, reason = "all constants should document what they are")]
|
#![deny(missing_docs, reason = "all constants should document what they are")]
|
||||||
|
#![no_std] // This can be removed if we eventually need `std`.
|
||||||
|
|
||||||
mod macros;
|
mod macros;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
//! Output related.
|
//! Output related.
|
||||||
|
|
||||||
|
use crate::macros::monero_definition_link;
|
||||||
|
|
||||||
/// The minimum amount of blocks a coinbase output is locked for.
|
/// The minimum amount of blocks a coinbase output is locked for.
|
||||||
#[doc = monero_definition_link!(a1dc85c5373a30f14aaf7dcfdd95f5a7375d3623, "/src/cryptonote_config.h", 40)]
|
#[doc = monero_definition_link!(a1dc85c5373a30f14aaf7dcfdd95f5a7375d3623, "/src/cryptonote_config.h", 40)]
|
||||||
pub const COINBASE_LOCK_WINDOW: usize = 60;
|
pub const COINBASE_LOCK_WINDOW: usize = 60;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
//! RPC related.
|
//! RPC related.
|
||||||
|
|
||||||
use std::time::Duration;
|
use core::time::Duration;
|
||||||
|
|
||||||
use crate::macros::monero_definition_link;
|
use crate::macros::monero_definition_link;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue