forked from SpecDevelopment/SPECTRA
/
network.php
32 lines (23 loc) · 931 Bytes
/
network.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
<?php
// Enable the spectra functionality
require_once ("lib/spectra_config.php");
// If there is no live node the page is a spew of errors
if (!spectra_node_isalive ())
{
$message = "<p>";
$message .= " Unable to connect to the specified node.";
$message .= "</p>";
spectra_page_error ("No Network", $message);
}
spectra_site_head ($GLOBALS["currency"]["code"]." Network Status");
// Network status and description
spectra_network_statistics ();
// Connection list for the specified node
spectra_network_nodelist ();
spectra_site_foot ();
/******************************************************************************
Developed By Jake Paysnoe - Copyright © 2015 SPEC Development Team
SPEC Block Explorer is released under the MIT Software License.
For additional details please read license.txt in this package.
******************************************************************************/
?>