This is strange. Why are there two similar functions
blockchain_get_account_record
and
wallet_get_account
and why are they showing different info about same delegates? wallet_get_account is showing 0 blocks produced, while blockchain_get_account_record is showing 23 blocks produced..
blockchain_get_account_record init-delegate-38
{
"id": 38,
"name": "init-delegate-38",
"public_data": null,
"owner_key": "XTS6ezsAe72hVoMq4mC4fnAAF2XYqprcpt4vZ5nkqUoZn8xsSWB5Z",
"active_key_history": [[
"20140610T070732",
"XTS6ezsAe72hVoMq4mC4fnAAF2XYqprcpt4vZ5nkqUoZn8xsSWB5Z"
]
],
"delegate_info": {
"votes_for": 111118188439,
"votes_against": 0,
"blocks_produced": 23,
"blocks_missed": 74,
"pay_balance": 857411,
"next_secret_hash": "b3e4da54b09f97e7a459637d9e97354d65f45fe9",
"last_block_num_produced": 2667
},
"registration_date": "20140601T000000",
"last_update": "20140601T000000",
"meta_data": null
}
default (unlocked) >>> wallet_get_account init-delegate-38
{
"index": 3,
"id": 38,
"name": "init-delegate-38",
"public_data": null,
"owner_key": "XTS6ezsAe72hVoMq4mC4fnAAF2XYqprcpt4vZ5nkqUoZn8xsSWB5Z",
"active_key_history": [[
"20140610T070732",
"XTS6ezsAe72hVoMq4mC4fnAAF2XYqprcpt4vZ5nkqUoZn8xsSWB5Z"
]
],
"delegate_info": {
"votes_for": 111117331028,
"votes_against": 0,
"blocks_produced": 0,
"blocks_missed": 74,
"pay_balance": 0,
"next_secret_hash": "0000000000000000000000000000000000000000",
"last_block_num_produced": 4294967295
},
"registration_date": "20140601T000000",
"last_update": "20140601T000000",
"meta_data": null,
"account_address": "XTS6VS3reBvjJMyeuiZTG1g7AexK2Kao1XBZ",
"trust_level": 0,
"private_data": null
}