diff --git a/docs/API.md b/docs/API.md index 6b87055..dffaaff 100644 --- a/docs/API.md +++ b/docs/API.md @@ -1,6 +1,6 @@ # API Docs -Mintpool exposes a REST API for interacting with the node. The API is ratelimited by default to +Mintpool exposes a REST API for interacting with the node. The API is rate-limited by default to prevent spam requests. See `src/api/mod.rs` for router definition diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index b3892cd..f093b2e 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -83,7 +83,7 @@ tracing::info!(monotonic_counter.number = 1); tracing::info!(counter.example3 = 1, other_fields="will be included in tags", "Be careful about cardinality"); ``` -**Don't put log lines in the same trace statements as metrics, especially if theres a format +**Don't put log lines in the same trace statements as metrics, especially if there is a format variable in the log line, they will blow up you metrics cardinality and cost a lot of money if you use DataDog** diff --git a/src/chain.rs b/src/chain.rs index f6728ff..32b378c 100644 --- a/src/chain.rs +++ b/src/chain.rs @@ -35,7 +35,7 @@ where }) } -/// Checks for new premints being brought onchain then sends to controller to handle +/// Checks for new premints being brought onchain then sends to the controller to handle pub struct MintChecker { chain_id: u64, controller: ControllerInterface,