create account

RE: Duplicate account history entries on STEEM: How to detect and fix them by mintrawa

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @holger80/duplicate-account-history-entries-on-steem-how-to-detect-and-fix-them

· @mintrawa ·
$0.10
Interesting discovery, does each node server return the same replication pairs? 

At first glance, the core seems to be correct since the error only appears at the API level and and does not seem to be present on the Hive API? A problem occurred since they changed some things to control the data displayed on third party's frontend?

<hr>
<sub>

[Witness FR - Gen X - Geek 🤓 Gamer 🎮 Traveler ⛩ī¸](/@mintrawa/introducing-a-gen-x-geek-gamer-traveler-witness)

</sub>
👍  
👎  
properties (23)
authormintrawa
permlinkre-holger80-qe99i4
categorybug
json_metadata{"tags":["bug"],"app":"peakd/2020.07.2"}
created2020-07-30 00:03:42
last_update2020-07-30 00:03:42
depth1
children4
last_payout2020-08-06 00:03:42
cashout_time1969-12-31 23:59:59
total_payout_value0.048 HBD
curator_payout_value0.048 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length464
author_reputation18,694,802,429,423
root_title"Duplicate account history entries on STEEM: How to detect and fix them"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,790,528
net_rshares429,894,485,228
author_curate_reward""
vote details (2)
@holger80 ·
$0.02
I checked the results on several nodes and the results for my account were the same. I think the error can also appear on Hive. It just did not happen currently for my account.

The error is on the API level, the balances that are returned for an account are correct. 
👍  , , , , ,
properties (23)
authorholger80
permlinkre-mintrawa-qe9qh1
categorybug
json_metadata{"tags":["bug"],"app":"peakd/2020.07.2"}
created2020-07-30 06:10:18
last_update2020-07-30 06:10:18
depth2
children3
last_payout2020-08-06 06:10:18
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length268
author_reputation358,857,509,568,825
root_title"Duplicate account history entries on STEEM: How to detect and fix them"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,794,286
net_rshares116,520,775,953
author_curate_reward""
vote details (6)
@mintrawa ·
Thanks for the information, I just made the test via Postman with the function `get_ops_in_block` and all the transactions of the block **41868606** are duplicated in the answer

```
{
	"jsonrpc":"2.0", 
	"method":"account_history_api.get_ops_in_block", 
	"params":{"block_num":41868606,"only_virtual":false}, 
	"id":1
}
```

So after some cross-checking I went back up to block **41868590** to finally have a block where the transactions inside are not duplicated. In the other direction, I had to get to block **41868612** for it to finally stop.

<hr>
<sub>

[Witness FR - Gen X - Geek 🤓 Gamer 🎮 Traveler ⛩ī¸](/@mintrawa/introducing-a-gen-x-geek-gamer-traveler-witness)

</sub>
properties (22)
authormintrawa
permlinkre-holger80-qe9uo4
categorybug
json_metadata{"tags":["bug"],"app":"peakd/2020.07.2"}
created2020-07-30 07:40:54
last_update2020-07-30 07:40:54
depth3
children2
last_payout2020-08-06 07:40:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length679
author_reputation18,694,802,429,423
root_title"Duplicate account history entries on STEEM: How to detect and fix them"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,795,299
net_rshares0
@holger80 ·
$0.02
What do you mean by duplicate?
https://hiveblocks.com/b/41868606
shows no duplicate entries.
👍  , , ,
properties (23)
authorholger80
permlinkre-mintrawa-qe9wv4
categorybug
json_metadata{"tags":["bug"],"app":"peakd/2020.07.2"}
created2020-07-30 08:28:21
last_update2020-07-30 08:28:21
depth4
children1
last_payout2020-08-06 08:28:21
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length92
author_reputation358,857,509,568,825
root_title"Duplicate account history entries on STEEM: How to detect and fix them"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,795,911
net_rshares118,855,417,319
author_curate_reward""
vote details (4)