Skip to content

Missing property "monetaryMass" in blocks received by websocket

For example, if I connect to : wss://g1.duniter.org/ws/block, here is what I receive using chromium Smart Websocket Client :

{
  "version": 10,
  "currency": "g1",
  "number": 45614,
  "issuer": "ChU8caZaN1gZMD48C5XvrdFY2sWvgi4cmuNciPkqjF2S",
  "issuersFrame": 91,
  "issuersFrameVar": 0,
  "issuersCount": 18,
  "parameters": "",
  "membersCount": 250,
  "powMin": 81,
  "time": 1503312104,
  "medianTime": 1503307919,
  "dividend": null,
  "unitbase": 0,
  "hash": "000006D0BDB883D5FC1E75EEA7C72C206578861B1F057EBE389B129D5EA92303",
  "previousHash": "000000AF1B7F9BACB1FC73C646C3D4C22020A8BAD5F409EF9551AC09308B6EBF",
  "previousIssuer": "A5ydMhUTwfVHXs4jkzJfzDZMdMHed5JnvH9Xjwp25vHg",
  "identities": [],
  "certifications": [],
  "joiners": [],
  "actives": [],
  "leavers": [],
  "revoked": [],
  "excluded": [],
  "transactions": [],
  "nonce": 10400000010131,
  "inner_hash": "AD2727B8FE5B7CEA9B3DBAB76FC9C21292FEB3DB5C659E4AAA41F9C38B1B100A",
  "signature": "3eMOF+D0cb3YoV4521G3eHI+yBopVr86FtadB5c7sPlvUMLgBgTz+ES2TMkEVqfW6UPomaIu2EFZ5sUFVISoDw==",
  "raw": "Version: 10\nType: Block\nCurrency: g1\nNumber: 45614\nPoWMin: 81\nTime: 1503312104\nMedianTime: 1503307919\nUnitBase: 0\nIssuer: ChU8caZaN1gZMD48C5XvrdFY2sWvgi4cmuNciPkqjF2S\nIssuersFrame: 91\nIssuersFrameVar: 0\nDifferentIssuersCount: 18\nPreviousHash: 000000AF1B7F9BACB1FC73C646C3D4C22020A8BAD5F409EF9551AC09308B6EBF\nPreviousIssuer: A5ydMhUTwfVHXs4jkzJfzDZMdMHed5JnvH9Xjwp25vHg\nMembersCount: 250\nIdentities:\nJoiners:\nActives:\nLeavers:\nRevoked:\nExcluded:\nCertifications:\nTransactions:\nInnerHash: AD2727B8FE5B7CEA9B3DBAB76FC9C21292FEB3DB5C659E4AAA41F9C38B1B100A\nNonce: 10400000010131\n3eMOF+D0cb3YoV4521G3eHI+yBopVr86FtadB5c7sPlvUMLgBgTz+ES2TMkEVqfW6UPomaIu2EFZ5sUFVISoDw==\n"
}

That's why Sakia considers these values invalid. The behaviour changed between 1.3 and 1.4. What do you think is the correct behaviour ?

The URL http://g1.duniter.org/blockchain/block/45614 stills contains the monetaryMass field.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information