Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add node id/public key to log mdc #3559

Conversation

Cifko
Copy link
Contributor

@Cifko Cifko commented Nov 11, 2021

Description

Add node id and public key to the logs, using mdc.
Since you have to propagate the mdc to every thread, I'm not 100% sure it's everywhere. But it can be easily extended if we found it missing somewhere. Also there is single point of creation of the mdc data. But I propagate everything, so if we want something else in the mdc, it will be one line change.

How Has This Been Tested?

Manually.

@Cifko Cifko force-pushed the chore--add-node-id-and-public-key-to-the-log-via-mdc branch from 488d74f to 9ed5fd6 Compare November 11, 2021 07:11
@aviator-app aviator-app bot merged commit 82cbad1 into tari-project:development Nov 12, 2021
sdbondi added a commit to sdbondi/tari that referenced this pull request Nov 18, 2021
* development: (32 commits)
  feat: add atomic swap refund transaction handling (tari-project#3573)
  feat: improve wallet connectivity status for console wallet (tari-project#3577)
  v0.21.1
  feat: add error codes to LibWallet for CipherSeed errors (tari-project#3578)
  ci: split cucumber job into two (tari-project#3583)
  feat(wallet): import utxo’s as EncumberedToBeReceived rather than Unspent (tari-project#3575)
  docs: rfc 0250_Covenants (tari-project#3574)
  feat: get fee for transactions for stratum transcoder (tari-project#3571)
  test: make monerod stagenet usage resilient (tari-project#3572)
  feat: add atomic swap htlc sending and claiming (tari-project#3552)
  feat: implement prometheus metrics for base node (tari-project#3563)
  feat: implement multiple read single write for sqlite (tari-project#3568)
  feat: trigger time lock balance update when block received (tari-project#3567)
  test: reduce cucumber ci to critical only (tari-project#3566)
  test: fix cucumber console wallet startup (tari-project#3564)
  chore: add node id/public key to log mdc (tari-project#3559)
  fix: avoid implicit using of the time crate (tari-project#3562)
  feat: one-click installer - cli edition (tari-project#3534)
  ci: add workflow dispatch to libwallet build action (tari-project#3556)
  fix: stop leak of value of recovered output (tari-project#3558)
  ...
@Cifko Cifko deleted the chore--add-node-id-and-public-key-to-the-log-via-mdc branch January 9, 2022 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants