missing transactions when viewing account history
officiallymarky opened this issue · 0 comments
officiallymarky commented
I am trying to pull account history from the account utopis, and find all transactions to themarkymark.
When I do so, I am missing transactions that appear when using HiveJS, RPC nodes directly, and HiveSQL
Example Code:
hive = Hive(node=['https://api.deathwing.me'], appbase = True)
utopis_account = Account('utopis')
divs = []
hive_history = utopis_account.history(start=-1, only_ops=['transfer'])
for transaction in hive_history:
if transaction['to'] == user:
divs.append([transaction['timestamp'], transaction['to'], 'HIVE',
Amount(transaction['amount']).amount])
history = get_history()
Specifically between these two transactions are five other transactions not being reported.
Viewing all transactions from HiveJS, Hive RPC, or HiveSQL I see the following transactions in between.
If I remove only_ops=['transfer'], and manually filter the results, I get the proper transactions.
hive = Hive(node=['https://api.deathwing.me'])
utopis = Account('utopis')
divs = []
hive_history = utopis.history(start=-1)
for transaction in hive_history:
if transaction['type'] == 'transfer' and transaction['to'] == user:
divs.append([transaction['timestamp'], transaction['to'], 'HIVE', Amount(transaction['amount']).amount])
history = get_history()