Steemdata operations collection incomplete?
Transactions on steemd
The last_irreversible_block_num when I wrote this post:
last_irreversible_block_num 9,563,511
And I checked it at steemd:
There were 14 transactions in this block, as the below picture:
Only got one at steemdata
But when I tried to fetch them with steemdata, I only got one
of them:
{'_id': ObjectId('58ac41bdda164c00018a763e'),
'author': 'artpoet',
'block_num': 9563511,
'permlink': 'der-ewige-kreislauf-aus-dem-besten-buch-aller-zeiten-ein-meilenstein-der-literatur',
'timestamp': datetime.datetime(2017, 2, 21, 13, 33),
'trx_id': 'cf0cfa4bd88f6bcb3010d5e29c6c6274778fedce',
'type': 'vote',
'voter': 'barrydutton',
'weight': 100}
*********************************************
My code
op_list=db['Operations'].find({
'block_num': 9563511,
})
for op in op_list:
pprint(op)
print('*********************************************')
What's wrong?
I checked the example code in
https://steemit.com/steemdata/@furion/introducing-steemdata-a-database-layer-for-steem
Find all transfers in block 6717326.
db.getCollection('Operations').find({'type':'transfer', 'block_num': 6717326})
We get 1 result
But when I checked the block 6717326 on steemd
Block 6,717,326 3 transactions in this block, produced at 2016-11-14 13:21:30 (UTC)
The same issue as my test.
Hope somebody can help me deal with this issue. Many thanks.
And thank @furion very much for providing this service.
Thank you for bringing up the issue.
I have fixed it, as well as implemented a healing service that will fix any inconsistencies block-by-block.
I'm very glad to hear this good news.
Thank you for your effort.