Skip to content

paginate history scan #25

@ghost

Description

It is possible that an asset could be sent to an account with a large history, and that NFT gets 'stuck' in the account due to the Kalium API only returning ~2500 entries from a history call.

So the history scan should be paginated.

The specific call to account_history is in getReceiveBlock and getNextAssetOwnerForCache in ipfs-util.js.

getReceiveBlock:

action: 'account_history',

getNextAssetOwnerForCache
action: 'account_history',

all calls to account_history:
https://github.com/BananoCoin/banano-metanode-nft/search?q=account_history

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions