Skip to content

Obfuscate miner key and coerce non-string keys in share-verify logging#167

Merged
MoneroOcean merged 1 commit into
masterfrom
codex/find-wallet-address-logging-in-pool-module
May 22, 2026
Merged

Obfuscate miner key and coerce non-string keys in share-verify logging#167
MoneroOcean merged 1 commit into
masterfrom
codex/find-wallet-address-logging-in-pool-module

Conversation

@MoneroOcean
Copy link
Copy Markdown
Owner

Motivation

  • Avoid logging full miner addresses and prevent runtime errors when key is not a string while reporting share-verify queue activity.

Description

  • In lib/coins/index.js change the "Too many shares" log to coerce key via String(key || "") and print only the last 10 characters with substr, and add block braces around the if body.

Testing

  • No automated tests were run for this trivial logging change.

Codex Task

@MoneroOcean MoneroOcean merged commit c635133 into master May 22, 2026
2 checks passed
@MoneroOcean MoneroOcean deleted the codex/find-wallet-address-logging-in-pool-module branch May 22, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant