Skip to content

fix(dashmate): Core sync and masternode-state samples are swapped #5447

Open

Description

@shumkov

collectSamplesTaskFactory.js (Core status task) builds the call list
[getbestchainlock, quorum listextended, getblockchaininfo, getpeerinfo, mnsync status, masternode status]
but destructures the results as […, getPeerInfo, masternodeStatus, masternodeSyncStatus]. The two
samples swap places.

Effect:

  • analyseCore never reports "Core is syncing", because it reads IsSynced from the masternode status.
  • It never reports a PoSe-banned or removed masternode, because it reads state from the mnsync status.
  • analyseConfig's Node ID check reads the mnsync sample.

The swap has been there since 2024-09 and does not depend on the Core version.

Activity

  1. added this to the v5.1.0 milestone on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions