Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

feat: dump useful node info to logs on startup and each sync#174

Merged
Jasonvdb merged 2 commits intomasterfrom
node-state-dump
Oct 6, 2023
Merged

feat: dump useful node info to logs on startup and each sync#174
Jasonvdb merged 2 commits intomasterfrom
node-state-dump

Conversation

@Jasonvdb
Copy link
Copy Markdown
Contributor

@Jasonvdb Jasonvdb commented Oct 5, 2023

  • Refactors claimable balance result into a reusable function getClaimableBalancesAsJson() in Swift and Kotlin
  • Dumps node state to log file on startup and each sync for debugging.
    • Node ID
    • Open channel details
    • All claimable balances
    • RGS last sync time
    • Connected peers
    • Storage
    • Backup status

@Jasonvdb Jasonvdb requested review from limpbrains and pwltr October 5, 2023 10:12
Copy link
Copy Markdown
Contributor

@pwltr pwltr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failing to run the example project so not tested but LGTM.

@Jasonvdb Jasonvdb merged commit 9f0a599 into master Oct 6, 2023
@Jasonvdb Jasonvdb deleted the node-state-dump branch October 6, 2023 14:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants