Skip to content

Merkleroot display in getblockheader is empty. #695

Description

@mimirmim

The issue is that the merkleroot field of blockheader, called by getblockheader in RPC / CLI, is empty in both the serial and JSON object.

The behaviour that was expected was that both those fields would be there.

Note the empty merkleroot.

  "hash": "8e874811cef61fba5f4a34be5d2ae6ab592dfb06bc3cbcb37affabc21478e67b",
  "confirmations": 131,
  "height": 457623,
  "moneysupply": 5657657012217996,
  "version": 536870912,
  "versionHex": "20000000",
  "merkleroot": "0000000000000000000000000000000000000000000000000000000000000000",
  "time": 1574572417,
  "mediantime": 1574572104,
  "nonce": 0,
  "bits": "195dffa6",
  "difficulty": 45691111.77865212,
  "chainwork": "0000000000000000000000000000000000000000000000000000000025fb2364",
  "nTx": 4,
  "previousblockhash": "de254be3ac33df7d52a6c419722c220920edb8b5f6e30ae9be18c999e0552cc6",
  "nextblockhash": "b552d66016c131495fb396838018d40ab52a62c05d9bd8b569aa233189e4ee16"
}

This issue is reproducable everytime.

This was tested on the latest, self-compiled, version of Veil Core.

Needs verification, but it is possible that this was done as a sort-of fix to a known issue with Bitcoin-like PoS currencies and that this is just a resulting display bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: RPCRelated to the console commands themselves.Issue Type: BugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions