Commit 0f931d76 authored by Moul's avatar Moul
Browse files

[mod] info: remove not very important info

parent 67aa5d44
......@@ -37,19 +37,6 @@ from silkaj.constants import NO_MATCHING_ID
async def currency_info():
info_data = dict()
for info_type in [
"newcomers",
"certs",
"actives",
"leavers",
"excluded",
"ud",
"tx",
]:
info_data[info_type] = get_request("blockchain/with/" + info_type)["result"][
"blocks"
]
head_block = HeadBlock().head_block
ep = EndPoint().ep
print(
......@@ -70,21 +57,6 @@ async def currency_info():
convert_time(head_block["medianTime"], "all"),
"\nDifference time:",
convert_time(head_block["time"] - head_block["medianTime"], "hour"),
"\nNumber of blocks containing: \
\n- new comers:",
len(info_data["newcomers"]),
"\n- Certifications:",
len(info_data["certs"]),
"\n- Actives (members updating their membership):",
len(info_data["actives"]),
"\n- Leavers:",
len(info_data["leavers"]),
"\n- Excluded:",
len(info_data["excluded"]),
"\n- UD created:",
len(info_data["ud"]),
"\n- transactions:",
len(info_data["tx"]),
)
client = ClientInstance().client
await client.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment