4 个版本
0.1.3 | 2021年12月13日 |
---|---|
0.1.2 | 2021年11月26日 |
0.1.1 | 2021年11月26日 |
0.1.0 | 2021年11月26日 |
#7 in #bond
10KB
51 行
README
thoraudit 是一个简单的命令行工具,用于审计 thornode 的运行状态变化,回溯到它首次上线时的区块高度。
安装
cargo安装 thoraudit
用法
thoraudit[node_address]
例如
thoraudiT thor1h0xd53y8yvfsu5t8p6t4ky52h9dzfz3mvsem3z
输出
url: https://thornode.thorchain.info/thorchain/node/thor1h0xd53y8yvfsu5t8p6t4ky52h9dzfz3mvsem3z
NodeInfo {
node_address: "thor1h0xd53y8yvfsu5t8p6t4ky52h9dzfz3mvsem3z",
status: "Active",
bond: "72752878504842",
bond_address: "thor18r4hpkhsvc7ts25gkrzu7h7q3s9n4zs6j5qfnv",
active_block_height: 1218789,
status_since: 1218789,
version: "0.74.1",
current_award: "189010398977",
slash_points: 58992,
preflight_status: PreflightStatus {
status: "Ready",
reason: "OK",
code: 0,
},
}
url: https://thornode.thorchain.info/thorchain/node/thor1h0xd53y8yvfsu5t8p6t4ky52h9dzfz3mvsem3z?height=1218788
NodeInfo {
node_address: "thor1h0xd53y8yvfsu5t8p6t4ky52h9dzfz3mvsem3z",
status: "Ready",
bond: "67990519962714",
bond_address: "thor18r4hpkhsvc7ts25gkrzu7h7q3s9n4zs6j5qfnv",
active_block_height: 0,
status_since: 1218783,
version: "0.56.3",
current_award: "0",
slash_points: 5,
preflight_status: PreflightStatus {
status: "Ready",
reason: "OK",
code: 0,
},
}
url: https://thornode.thorchain.info/thorchain/node/thor1h0xd53y8yvfsu5t8p6t4ky52h9dzfz3mvsem3z?height=1218782
NodeInfo {
node_address: "thor1h0xd53y8yvfsu5t8p6t4ky52h9dzfz3mvsem3z",
status: "Standby",
bond: "56790519962714",
bond_address: "thor18r4hpkhsvc7ts25gkrzu7h7q3s9n4zs6j5qfnv",
active_block_height: 0,
status_since: 1175583,
version: "0.56.3",
current_award: "0",
slash_points: 5,
preflight_status: PreflightStatus {
status: "Ready",
reason: "OK",
code: 0,
},
}
...
依赖项
~6–19MB
~284K SLoC