You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
blockchain.get_all_accounts(limit=5000) should return the first 5000 Steem accounts
Actual behavior
blockchain.get_all_accounts(limit=5000) returns 5000 account names, however 4 of them are contained twice in the list, leaving 4996 unique account names
The reason is that the accounts are fetched in batches (default: 1000 accounts per RPC call) where the last result of the previous batch is also the first result of the next batch.
The text was updated successfully, but these errors were encountered:
Expected behavior
blockchain.get_all_accounts(limit=5000)
should return the first 5000 Steem accountsActual behavior
blockchain.get_all_accounts(limit=5000)
returns 5000 account names, however 4 of them are contained twice in the list, leaving 4996 unique account namesHow to reproduce
The reason is that the accounts are fetched in batches (default: 1000 accounts per RPC call) where the last result of the previous batch is also the first result of the next batch.
The text was updated successfully, but these errors were encountered: