Test cmd:
curl --data '{"method": "call", "params": ["database", "get_random_number", [1000]], "jsonrpc": "2.0", "id": 1}' http://127.0.0.1:8090/ws
curl --data '{"method": "call", "params": ["database", "get_random_number", [5000]], "jsonrpc": "2.0", "id": 1}' http://127.0.0.1:8090/ws
curl --data '{"method": "call", "params": ["database", "get_random_number", [1000000]], "jsonrpc": "2.0", "id": 1}' http://127.0.0.1:8090/ws
|
||
|---|---|---|
| .. | ||
| app | ||
| chain | ||
| db | ||
| egenesis | ||
| fc@94b046dce6 | ||
| net | ||
| plugins | ||
| time | ||
| utilities | ||
| wallet | ||
| CMakeLists.txt | ||