Hello Multichain team,
I have made a small program to retrieve data under a specific key. I have more than 90 keys each having 13,500 values stored under them.
When I try to retrieve all the values under any key, it takes around 1.5 seconds to 2.5 seconds.
Here is my code :
import subprocess, json
path = "/home/user/multichain-1.0-beta-1/multichain-cli"
id = "1493517600"
output = subprocess.check_output([path, "chain2", "liststreamkeyitems", "b", id, "false", max_entries]).decode("utf-8")
Is there any better way to improve it / another way to do it to be faster ?
Also, is it possible to retrieve only one value under a key by searching data inside that value ?