dcrdata icon indicating copy to clipboard operation
dcrdata copied to clipboard

agenda vote counts are wrong

Open chappjc opened this issue 6 years ago • 0 comments

image

$  dcrctl --testnet getvoteinfo 8
{
  "currentheight": 309748,
  "startheight": 308208,
  "endheight": 313247,
  "hash": "000000002d61f28a9dae7881d3a26f63a86c83f069b89d05d8283ebd116e74f4",
  "voteversion": 8,
  "quorum": 2520,
  "totalvotes": 6071,
  "agendas": [
    {
      "id": "headercommitments",
      "description": "Enable header commitments as defined in DCP0005",
      "mask": 6,
      "starttime": 1567641600,
      "expiretime": 1599264000,
      "status": "started",
      "quorumprogress": 0.01865079365079365,
      "choices": [
        {
          "id": "abstain",
          "description": "abstain voting for change",
          "bits": 0,
          "isabstain": true,
          "isno": false,
          "count": 6024,
          "progress": 0.9922582770548509
        },
        {
          "id": "no",
          "description": "keep the existing consensus rules",
          "bits": 2,
          "isabstain": false,
          "isno": true,
          "count": 0,
          "progress": 0
        },
        {
          "id": "yes",
          "description": "change to the new consensus rules",
          "bits": 4,
          "isabstain": false,
          "isno": false,
          "count": 47,
          "progress": 0.00774172294514907
        }
      ]
    }
  ]
}

chappjc avatar Nov 20 '19 16:11 chappjc