From 20915b853584d52d38db2ed5b646730f0a8671f2 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Fri, 12 Jul 2024 19:38:35 +0300 Subject: [PATCH 1/3] fix spelling word API.md --- docs/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From f260728c227e4c94e5d659cdcca022c2646c6f4e Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Fri, 12 Jul 2024 19:40:43 +0300 Subject: [PATCH 2/3] fix adverb-verb spelling DEVELOPMENT.md --- docs/DEVELOPMENT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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** From eb10162a1b3d30cead650e214e6cbe7f06d857d2 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Fri, 12 Jul 2024 19:43:36 +0300 Subject: [PATCH 3/3] add article chain.rs --- src/chain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,