-
Notifications
You must be signed in to change notification settings - Fork 3
/
page-infos.php
71 lines (58 loc) · 2.21 KB
/
page-infos.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
if (isset($_GET['block'])) {
$block = $_GET['block'];
} else {
if (isset($getinfo['blocks'])) {
$block = $getinfo['blocks'];
} else {
$block = 0;
}
}
?>
<div class="row">
<div class="col-sm-12">
<h3>Infos</h3>
<pre>
<?php
echo("<h3>getinfo</h3>\r\n");
$res = no_displayed_error_result($res2, multichain('getinfo'));
echo(print_r($res2, true) . "\r\n");
echo("<h3>getblockchaininfo</h3>\r\n");
$res = no_displayed_error_result($res2, multichain('getblockchaininfo'));
echo(print_r($res2, true) . "\r\n");
echo("<h3>getblockchainparams</h3>\r\n");
$res = no_displayed_error_result($blockchainparams, multichain('getblockchainparams'), false);
echo(print_r($blockchainparams, true) . "\r\n");
echo("<h3>getruntimeparams</h3>\r\n");
$res = no_displayed_error_result($runtimeparams, multichain('getruntimeparams'));
echo(print_r($runtimeparams, true) . "\r\n");
// Network
echo("<h3>getchunkqueueinfo</h3>\r\n");
$res = no_displayed_error_result($res2, multichain('getchunkqueueinfo'));
echo(print_r($res2, true) . "\r\n");
echo("<h3>getchunkqueuetotals</h3>\r\n");
$res = no_displayed_error_result($res2, multichain('getchunkqueuetotals'));
echo(print_r($res2, true) . "\r\n");
echo("<h3>getconnectioncount</h3>\r\n");
$res = no_displayed_error_result($res2, multichain('getconnectioncount'));
echo(print_r($res2, true) . "\r\n");
echo("<h3>getnettotals</h3>\r\n");
$res = no_displayed_error_result($res2, multichain('getnettotals'));
echo(print_r($res2, true) . "\r\n");
echo("<h3>getnetworkinfo</h3>\r\n");
$res = no_displayed_error_result($networkinfo, multichain('getnetworkinfo'));
echo(print_r($networkinfo, true) . "\r\n");
echo("<h3>getpeerinfo</h3>\r\n");
$res = no_displayed_error_result($peerinfo, multichain('getpeerinfo'));
echo(print_r($peerinfo, true) . "\r\n");
// Wallet
echo("<h3>getaddresses</h3>\r\n");
$res = no_displayed_error_result($peerinfo, multichain('getaddresses'));
echo(print_r($peerinfo, true) . "\r\n");
echo("<h3>getwalletinfo</h3>\r\n");
$res = no_displayed_error_result($peerinfo, multichain('getwalletinfo'));
echo(print_r($peerinfo, true) . "\r\n");
?>
</pre>
</div>
</div>