List assets

+2 votes
We have inserted 24 000 assets into 1 node on 1 server in 12 minutes.

At the same time we were inserting 8000 assets into the same chain on 2 other nodes.

This other 2 were inserting significantly slower, probbably becasue they were spending a lot of time on syncing.

Anyway when we finished inserting 24k assets into the first node and while other 2 were still inserting we ran "listassets" on the first one. This took about 3 times more time than it did to insert the 24k assets so naturaly the question is why is it taking so long? Are you aware of this and are you working on it?
asked Mar 16, 2016 by SlobodanMargetic

1 Answer

+1 vote

Yes, listassets without parameters is not a good API to call if you have a a huge number of assets on your blockchain. You should call it with a specific asset name instead.

answered Mar 16, 2016 by MultiChain
List all assets
how do i call it with specific asset name do i need to know the whole name?
You can use the asset name (in full), asset reference or issuance txid. There is not yet a search facility where you could enter an asset name prefix, for example.
It would be handy to have a partial name syntax using prefix or suffix *
The feedback is noted, but this is not currently possible.
...