Compare commits
43 Commits
Author | SHA1 | Date |
---|---|---|
onryo | 9e65f7fb87 | 1 month ago |
onryo | d766a3b7f3 | 1 month ago |
onryo | eec3147065 | 1 month ago |
onryo | 6e29c31138 | 1 month ago |
onryo | 06ccaa5196 | 1 month ago |
onryo | 3563771018 | 1 month ago |
onryo | 202c8bddb8 | 1 month ago |
onryo | 72e2aed53a | 1 month ago |
jahway603 | a73b8f7db1 | 1 month ago |
onryo | 3c01918f39 | 1 month ago |
onryo | 42f1597440 | 1 month ago |
jahway603 | 5eaadde848 | 1 month ago |
onryo | 61f51ccec1 | 1 month ago |
onryo | dc057441e2 | 1 month ago |
onryo | fe132c94c6 | 1 month ago |
onryo | 1b055f0d58 | 2 months ago |
onryo | ee5567e89c | 2 months ago |
onryo | c0ae5661e4 | 2 months ago |
onryo | 0733e0d83e | 2 months ago |
onryo | 837abce0c0 | 2 months ago |
onryo | a73ee5e724 | 2 months ago |
onryo | 17af5be0d3 | 2 months ago |
onryo | 2531d37544 | 2 months ago |
onryo | f3a246ea7d | 2 months ago |
onryo | 695fea4442 | 2 months ago |
onryo | ee860ec6fb | 2 months ago |
onryo | ef00f26d6e | 2 months ago |
onryo | 734e10d134 | 11 months ago |
onryo | eb722cd1d9 | 11 months ago |
onryo | d4cbcbe0b3 | 11 months ago |
onryo | b63e3b585e | 11 months ago |
onryo | 4d0b2dbf4c | 11 months ago |
onryo | e4f812b6a9 | 11 months ago |
onryo | a634223fcf | 11 months ago |
onryo | 2ce3d02f14 | 11 months ago |
jahway603 | 195ae6f5e2 | 1 year ago |
jahway603 | 20cb100c55 | 1 year ago |
jahway603 | 829c9cf699 | 1 year ago |
Jonathan "Duke" Leto | e99317c4ab | 1 year ago |
Jonathan "Duke" Leto | 611fcee98e | 1 year ago |
Jonathan "Duke" Leto | eab3cac952 | 1 year ago |
Jonathan "Duke" Leto | f0d3b41ca7 | 1 year ago |
Jonathan "Duke" Leto | d4df266485 | 1 year ago |
@ -0,0 +1,59 @@ |
|||
<!doctype html> |
|||
<head> |
|||
<title>Hush Explorer => Oops! Not found</title> |
|||
</body> |
|||
<style> |
|||
body { |
|||
width: 87%; |
|||
margin: 5 auto; |
|||
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; |
|||
background: #111111; |
|||
color: #cccccc; |
|||
} |
|||
a:link { color: #888888; } |
|||
a:visited { color: #888888; } |
|||
a:hover { color: #554200; } |
|||
a:active { color: #550000; } |
|||
</style> |
|||
<meta http-equiv="refresh" content="120"> |
|||
</head> |
|||
<body> |
|||
<center> |
|||
<br/> |
|||
<br/> |
|||
<a href="https://hush.is">Hush</a> |
|||
| |
|||
<a href="https://explorer.hush.is">Explorer</a> |
|||
| |
|||
<a href="https://git.hush.is/hush/">Git</a> |
|||
| |
|||
<a href="https://hush.is/tg">Telegram</a> |
|||
| |
|||
<a href="https://hush.is/telegram_support">Telegram Support</a> |
|||
| |
|||
<a href="https://hush.is/telegram_mining">Telegram Mining</a> |
|||
| |
|||
<a href="https://hush.is/reddit">Reddit</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/youtube">YouTube</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/bitcointalk">BitcoinTalk</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/mastodon">Mastodon</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/matrix">Matrix</a> |
|||
|
|||
<br/> |
|||
<h1>HUSH Blockchain Explorer</h1> |
|||
<h2>Ooooops! We could not find that block or transaction. </h2> |
|||
<p> |
|||
This page will automatically refresh every 2 minutes to see if it comes into existence.</h2> |
|||
</p> |
|||
<img src="/hush-404.png"> |
|||
|
|||
</body> |
|||
</html> |
@ -0,0 +1,95 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<title>Hush Explorer: Speak And Transact Freely</title> |
|||
<style> |
|||
body { |
|||
width: 95%; |
|||
margin: 5 auto; |
|||
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; |
|||
background: #111111; |
|||
color: #cccccc; |
|||
} |
|||
a:link { color: #888888; } |
|||
a:visited { color: #888888; } |
|||
a:hover { color: #554200; } |
|||
a:active { color: #550000; } |
|||
</style> |
|||
<!-- |
|||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|||
{ Fuck Blockchain Analysts } |
|||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|||
\ ^__^ |
|||
\ (==)\_______ |
|||
(__)\ )\/\ |
|||
U ||----w | |
|||
|| || |
|||
|
|||
- Duke Leto and The Hush Developers |
|||
--> |
|||
</head> |
|||
<body> |
|||
<center> |
|||
<br/> |
|||
<br/> |
|||
<a href="https://hush.is">Hush</a> | <a href="https://explorer.hush.is">Explorer</a> |
|||
| <a href="https://hush.is/twitter">Twitter</a> | <a href="https://hush.is/tg">Telegram</a> | |
|||
<a href="https://hush.is/telegram_support">Telegram Support</a> | <a href="https://hush.is/telegram_mining">Telegram Mining</a> |
|||
| <a href="https://hush.is/reddit">Reddit</a> | <a href="https://hush.is/youtube">YouTube</a> |
|||
| <a href="https://hush.is/bitcointalk">BitcoinTalk</a> | <a href="https://hush.is/mastodon">Mastodon</a> |
|||
| <a href="https://hush.is/matrix">Matrix</a> |
|||
<br/> |
|||
<h1>HUSH Blockchain Explorer</h1> |
|||
<div id=navbar> |
|||
<a href="/blocks/">Blocks</a> | |
|||
<a href="/addresses/">Addresses</a> |
|||
</div> |
|||
<br/> |
|||
<div id=stats> |
|||
<table width="100%" border=1> |
|||
<tr> |
|||
<td align=center> |
|||
<table> |
|||
<tr><th>Height</th><td>#BLOCKS#</td></tr> |
|||
<tr><th>UTXOs</th><td>#UTXOS#</td></tr> |
|||
<tr><th>Total Transparent Addresses</th><td>#TOTAL_ADDRESSES#</td></tr> |
|||
<tr><th>Total Shielded Addresses</th><td><font color=red>?????</font></td></tr> |
|||
<tr><th>Total Transparent Funds</th><td>#TOTAL# HUSH</td></tr> |
|||
<tr><th>Avg HUSH per Taddr</th><td>#AVG# HUSH</td></tr> |
|||
</table> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td align=center> |
|||
|
|||
<font color=red> |
|||
NOTE: these addresses have NO PRIVACY! They really should move funds to a zaddr! |
|||
</font> |
|||
|
|||
#ADDRESS_DATA# |
|||
|
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</div> |
|||
<br> |
|||
|
|||
</center> |
|||
|
|||
<font color=red> |
|||
<pre> |
|||
|
|||
_____________________ |
|||
< Extreme Privacy!!!! > |
|||
--------------------- |
|||
\ ^__^ |
|||
\ (oo)\_______ |
|||
(__)\ HUSH )\/\ |
|||
U ||----w | |
|||
|| || |
|||
|
|||
</pre> |
|||
</font> |
|||
|
|||
</body> |
|||
</html> |
@ -0,0 +1,117 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<title>Hush Explorer: Speak And Transact Freely</title> |
|||
<style> |
|||
body { |
|||
width: 87%; |
|||
margin: 5 auto; |
|||
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; |
|||
background: #111111; |
|||
color: #cccccc; |
|||
} |
|||
a:link { color: #888888; } |
|||
a:visited { color: #888888; } |
|||
a:hover { color: #554200; } |
|||
a:active { color: #550000; } |
|||
</style> |
|||
<!-- |
|||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|||
{ Fuck Blockchain Analysts } |
|||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|||
\ ^__^ |
|||
\ (@@)\_______ |
|||
(__)\ )\/\ |
|||
||----w | |
|||
|| || |
|||
|
|||
- Duke Leto and The Hush Developers |
|||
--> |
|||
</head> |
|||
<body> |
|||
<center> |
|||
<br/> |
|||
<br/> |
|||
<a href="https://hush.is">Hush</a> |
|||
| |
|||
<a href="https://explorer.hush.is">Explorer</a> |
|||
| |
|||
<a href="https://hush.is/twitter">Twitter</a> |
|||
| |
|||
<a href="https://hush.is/tg">Telegram</a> |
|||
| |
|||
<a href="https://hush.is/telegram_support">Telegram Support</a> |
|||
| |
|||
<a href="https://hush.is/telegram_mining">Telegram Mining</a> |
|||
| |
|||
<a href="https://hush.is/reddit">Reddit</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/youtube">YouTube</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/bitcointalk">BitcoinTalk</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/mastodon">Mastodon</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/matrix">Matrix</a> |
|||
|
|||
<br/> |
|||
<h1>HUSH Blockchain Explorer</h1> |
|||
<div id=navbar> |
|||
<a href="/blocks/">Blocks</a> |
|||
</div> |
|||
<div id=stats> |
|||
<table width="100%" border=1> |
|||
<tr> |
|||
<td align=center> |
|||
<table> |
|||
<tr><th>Block Height</th><td><a href="/block/#BLOCKS#">#BLOCKS#</a></td></tr> |
|||
<tr><th>Block Hash</th><td><a href="/block/#BLOCKHASH#">#BLOCKHASH#</a></td></tr> |
|||
<tr><th>Previous Block Hash</th><td><a href="/block/#PREVIOUSBLOCKHASH#">#PREVIOUSBLOCKHASH#</a></td></tr> |
|||
<tr><th>Block Reward</th><td>#BLOCKREWARD#</td></tr> |
|||
<tr><th>Block Time</th><td>#BLOCKTIME#</td></tr> |
|||
<tr><th>Block Difficulty</th><td>#DIFFICULTY#</td></tr> |
|||
<tr><th>Block Size</th><td>#BLOCKSIZE# bytes</td></tr> |
|||
<tr><th>Block Version</th><td>#VERSION#</td></tr> |
|||
<tr><th>Block Bits</th><td>#BITS#</td></tr> |
|||
<tr><th>Block Nonce</th><td>#BLOCKNONCE#</td></tr> |
|||
<tr><th>Block Anchor</th><td>#ANCHOR#</td></tr> |
|||
<tr><th>Chainwork</th><td>#CHAINWORK#</td></tr> |
|||
<tr><th>Merkle Root</th><td>#MERKLEROOT#</td></tr> |
|||
<tr><th>Final Sapling Root</th><td>#FINALSAPLINGROOT#</td></tr> |
|||
<tr><th>Transactions</th><td> #NUM_TXS# </td></tr> |
|||
</table> |
|||
</td> |
|||
</tr> |
|||
<tr> <th>Transactions</th> </tr> |
|||
<tr> |
|||
<td> |
|||
#TX_TABLE# |
|||
|
|||
<font color=red> |
|||
<pre> |
|||
|
|||
_____________ |
|||
< Extreme!!!! > |
|||
------------- |
|||
\ ^__^ |
|||
\ (@@)\_______ |
|||
(__)\ )\/\ |
|||
||----w | |
|||
|| || |
|||
|
|||
</pre> |
|||
</font> |
|||
|
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</div> |
|||
<br> |
|||
|
|||
</center> |
|||
</body> |
|||
</html> |
@ -0,0 +1,100 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<title>Hush Explorer: Speak And Transact Freely</title> |
|||
<style> |
|||
body { |
|||
width: 87%; |
|||
margin: 5 auto; |
|||
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; |
|||
background: #111111; |
|||
color: #cccccc; |
|||
} |
|||
a:link { color: #888888; } |
|||
a:visited { color: #888888; } |
|||
a:hover { color: #554200; } |
|||
a:active { color: #550000; } |
|||
</style> |
|||
<!-- |
|||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|||
{ Fuck Blockchain Analysts } |
|||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|||
\ ^__^ |
|||
\ (@@)\_______ |
|||
(__)\ )\/\ |
|||
||----w | |
|||
|| || |
|||
|
|||
- Duke Leto and The Hush Developers |
|||
--> |
|||
<!-- this explorer must be hosted at / or this needs to be changed. |
|||
Not specifying a hostname makes it compatible with Tor/i2p/etc and other mirrors |
|||
- Duke |
|||
--> |
|||
<meta http-equiv="refresh" content="120; URL=/blocks/"> |
|||
</head> |
|||
|
|||
|
|||
<body> |
|||
<center> |
|||
<br/> |
|||
<br/> |
|||
<a href="https://hush.is">Hush</a> |
|||
| |
|||
<a href="https://explorer.hush.is">Explorer</a> |
|||
| |
|||
<a href="https://git.hush.is/hush/">Git</a> |
|||
| |
|||
<a href="https://hush.is/tg">Telegram</a> |
|||
| |
|||
<a href="https://hush.is/telegram_support">Telegram Support</a> |
|||
| |
|||
<a href="https://hush.is/telegram_mining">Telegram Mining</a> |
|||
| |
|||
<a href="https://hush.is/reddit">Reddit</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/youtube">YouTube</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/bitcointalk">BitcoinTalk</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/mastodon">Mastodon</a> |
|||
| |
|||
|
|||
<a href="https://hush.is/matrix">Matrix</a> |
|||
|
|||
<br/> |
|||
<h1>HUSH Blockchain Explorer</h1> |
|||
<div id=navbar> |
|||
<a href="/blocks/">Blocks</a> |
|||
</div> |
|||
#BLOCKS_STATS# |
|||
|
|||
<br/> |
|||
<div id=stats> |
|||
<table width="100%" border=1> |
|||
<tr> |
|||
<th>Height</th> |
|||
<th>Block Hash</th> |
|||
<th>Block Time</th> |
|||
<th>Duration</th> |
|||
<th>Miner</th> |
|||
<th>Reward</th> |
|||
<th>Transactions</th> |
|||
</tr> |
|||
|
|||
#BLOCKS_TABLE# |
|||
|
|||
</table> |
|||
</td> |
|||
</tr> |
|||
|
|||
</table> |
|||
</div> |
|||
<br> |
|||
|
|||
</center> |
|||
</body> |
|||
</html> |
@ -0,0 +1,77 @@ |
|||
# example siona explorer nginx.conf |
|||
# change explorer.YOURDOMAIN.NET to the hostname you'll be using |
|||
server { |
|||
root /var/www/explorer.YOURDOMAIN.NET; |
|||
index index.html index.htm; |
|||
server_name explorer.YOURDOMAIN.NET www.explorer.YOURDOMAIN.NET; |
|||
|
|||
add_header X-Hush-Is-Privacy "Yes"; |
|||
add_header X-Is-Zcash-Mainnet-A-Honeypot "Yes"; |
|||
add_header X-Fuck-Blockchain-Analysts "Yes"; |
|||
|
|||
location / { |
|||
try_files $uri $uri/ =404; |
|||
} |
|||
|
|||
# this allows another site to get API data |
|||
location /api { |
|||
add_header Access-Control-Allow-Origin "*"; |
|||
} |
|||
|
|||
listen [::]:443 ssl; |
|||
listen 443 ssl; |
|||
ssl_certificate /etc/letsencrypt/live/explorer.YOURDOMAIN.NET/fullchain.pem; |
|||
ssl_certificate_key /etc/letsencrypt/live/explorer.YOURDOMAIN.NET/privkey.pem; |
|||
include /etc/letsencrypt/options-ssl-nginx.conf; |
|||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; |
|||
|
|||
error_page 404 /404.html; |
|||
location = /404.html { |
|||
internal; |
|||
} |
|||
|
|||
# BOT PROTECTION BELOW - thanks Duke for this |
|||
if ($request_method !~ ^(GET|HEAD|POST)$ ) { return 444; } |
|||
|
|||
if ($http_user_agent ~* "SemrushBot|xforce-security.com|TestBot|MauiBot|CCBot|SummalyBot|PetalBot|BLEXBot|expanseinc.com|clark-crawler|AhrefsBot|mj12bot|YisouSpider|opensiteexplorer|seznambot|dataforseo") { |
|||
return 444; |
|||
} |
|||
|
|||
location ~* .(display_errors|set_time_limit|allow_url_include.*disable_functions.*open_basedir|set_magic_quotes_runtime|webconfig.txt.php|file_put_contentssever_root|wlwmanifest) { |
|||
return 444; |
|||
} |
|||
|
|||
location ~* ^/wp-content/.*$ { |
|||
return 444; |
|||
} |
|||
# thanks Onryo for this |
|||
location ~* ^/wp-admin/.*$ { |
|||
return 444; |
|||
} |
|||
} |
|||
|
|||
server { |
|||
if ($host = www.explorer.YOURDOMAIN.NET) { |
|||
return 301 https://$host$request_uri; |
|||
} |
|||
|
|||
if ($host = explorer.YOURDOMAIN.NET) { |
|||
return 301 https://$host$request_uri; |
|||
} |
|||
|
|||
listen 80; |
|||
listen [::]:80; |
|||
|
|||
server_name explorer.YOURDOMAIN.NET www.explorer.YOURDOMAIN.NET; |
|||
return 404; |
|||
} |
|||
|
|||
# OPTIONAL - Block to run siona explorer over TOR |
|||
#server { |
|||
# listen 127.0.0.1:80; |
|||
# root /var/www/explorer.YOURDOMAIN.NET; |
|||
# index index.html; |
|||
# server_name http://YOUR-LONG-TOR-ONION-SITE-NAME.onion ; |
|||
} |
|||
|
|||
# TODO - Add block to run siona explorer over i2p |
After Width: | Height: | Size: 1.1 KiB |
@ -1 +0,0 @@ |
|||
yep |
@ -1 +0,0 @@ |
|||
git clone https://git.hush.is/hush/hush3 |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 121 KiB |
After Width: | Height: | Size: 148 KiB |
After Width: | Height: | Size: 288 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 165 KiB |
After Width: | Height: | Size: 258 KiB |
After Width: | Height: | Size: 229 KiB |
After Width: | Height: | Size: 138 KiB |
@ -0,0 +1,29 @@ |
|||
#!/usr/bin/env bash |
|||
|
|||
# UPDATE EXPLORER DATA |
|||
|
|||
NEWFILE=/var/www/$DOMAIN/blocks/index.new.html |
|||
INDEXFILE=/var/www/$DOMAIN/blocks/index.html |
|||
|
|||
# reads data from api |
|||
/var/www/$DOMAIN/bin/blocks_update.pl > $NEWFILE |
|||
if [ -s $NEWFILE ]; then |
|||
cp $NEWFILE $INDEXFILE |
|||
fi |
|||
|
|||
# UDPATE API |
|||
|
|||
$CLI -ac_name=$ARRAKIS getinfo &> api/getinfo.json |
|||
$CLI -ac_name=$ARRAKIS getmininginfo &> api/getmininginfo.json |
|||
$CLI -ac_name=$ARRAKIS getblockchaininfo &> api/getblockchain.json |
|||
$CLI -ac_name=$ARRAKIS getchaintxstats &> api/getchaintxstats.json |
|||
$CLI -ac_name=$ARRAKIS gettxoutsetinfo &> api/gettxoutsetinfo.json |
|||
$CLI -ac_name=$ARRAKIS coinsupply &> api/coinsupply.json |
|||
$CLI -ac_name=$ARRAKIS getchaintips &> api/getchaintips.json |
|||
$CLI -ac_name=$ARRAKIS getchaintxstats &> api/getchaintxstats.json |
|||
|
|||
# UPDATE INDEX.HTML |
|||
|
|||
perl bin/home_update.pl > index-1.html |
|||
|
|||
cat index-1.html > index.html |
@ -0,0 +1,87 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<title>Hush Explorer: Speak And Transact Freely</title> |
|||
<style> |
|||
body { |
|||
width: 95%; |
|||
margin: 5 auto; |
|||
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; |
|||
background: #111111; |
|||
color: #cccccc; |
|||
} |
|||
a:link { color: #888888; } |
|||
a:visited { color: #888888; } |
|||
a:hover { color: #554200; } |
|||
a:active { color: #550000; } |
|||
</style> |
|||
<!-- |
|||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|||
{ Fuck Blockchain Analysts } |
|||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|||
\ ^__^ |
|||
\ (@@)\_______ |
|||
(__)\ )\/\ |
|||
||----w | |
|||
|| || |
|||
|
|||
- Duke Leto and The Hush Developers |
|||
--> |
|||
</head> |
|||
<body> |
|||
<center> |
|||
<br/> |
|||
<br/> |
|||
<a href="https://hush.is">Hush</a> | <a href="https://explorer.hush.is">Explorer</a> |
|||
| <a href="https://hush.is/twitter">Twitter</a> | <a href="https://hush.is/tg">Telegram</a> | |
|||
<a href="https://hush.is/telegram_support">Telegram Support</a> | <a href="https://hush.is/telegram_mining">Telegram Mining</a> |
|||
| <a href="https://hush.is/reddit">Reddit</a> | <a href="https://hush.is/youtube">YouTube</a> |
|||
| <a href="https://hush.is/bitcointalk">BitcoinTalk</a> | <a href="https://hush.is/mastodon">Mastodon</a> |
|||
| <a href="https://hush.is/matrix">Matrix</a> |
|||
<br/> |
|||
<h1>HUSH Blockchain Explorer</h1> |
|||
<div id=navbar> |
|||
<a href="/blocks/">Blocks</a> |
|||
</div> |
|||
<div id=stats> |
|||
<table width="100%" border=1> |
|||
<tr> |
|||
<td align=center> |
|||
<table> |
|||
<tr><th>Block Height</th><td><a href="/block/#BLOCKHEIGHT#">#BLOCKHEIGHT#</a></td></tr> |
|||
<tr><th>Block Hash</th><td><a href="/block/#BLOCKHASH#">#BLOCKHASH#</a></td></tr> |
|||
<tr><th>Transaction ID</th><td><a href="/tx/#TXID#">#TXID#</a></td></tr> |
|||
<tr><th>Transaction Time</th><td>#TXTIME#</td></tr> |
|||
<!-- <tr><th>Transaction Size</th><td>#TXSIZE#</td></tr> --> |
|||
</table> |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td align=center> |
|||
#TX_DATA# |
|||
|
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</div> |
|||
<br> |
|||
|
|||
</center> |
|||
|
|||
<font color=red> |
|||
<pre> |
|||
|
|||
_____________ |
|||
< Extreme!!!! > |
|||
------------- |
|||
\ ^__^ |
|||
\ (@@)\_______ |
|||
(__)\ )\/\ |
|||
||----w | |
|||
|| || |
|||
|
|||
</pre> |
|||
</font> |
|||
|
|||
</body> |
|||
</html> |
@ -1,15 +0,0 @@ |
|||
#!/usr/bin/env bash |
|||
|
|||
DOMAIN=$(SIONA_DOMAIN) |
|||
DIR="/var/www/$DOMAIN" |
|||
DIRDIR="$DIR$DIR" |
|||
|
|||
cd $DIR && ./update_explorer_data.sh |
|||
cd $DIR && ./update_api.sh |
|||
|
|||
# Anonset |
|||
cd $DIRDIR && anonset=$(curl -s "https://$DOMAIN/api/getchaintxstats.json" | jq -r '.shielded_pool_size') && sed -i "s|<span class='anonset'>.*</span>|<span class='anonset'> $anonset </span>|g" template.html |
|||
|
|||
perl $DIR/bin/update.pl > $DIRDIR/index-1.html |
|||
|
|||
cd $DIRDIR && cat index-1.html > index.html |
@ -1,23 +0,0 @@ |
|||
# cron jobs to run explorer |
|||
|
|||
``` |
|||
# m h dom mon dow command |
|||
|
|||
*/7 * * * * ./update_explorer_data.sh |
|||
*/5 * * * * ./update_api.sh |
|||
#*/7 * * * * ./hush_cron.sh |
|||
|
|||
|
|||
# restart hushd every 4 hours |
|||
# start it if it's not running |
|||
20 */4 * * * ./restart-hushd.sh |
|||
|
|||
*/10 * * * * /var/www/explorer.hush.land/update.sh |
|||
|
|||
``` |
|||
|
|||
Restarting hushd used to be needed before the LOCK bug fixed in dev (which will be in 3.9.1), so |
|||
that is optional if you are using the latest code. |
|||
|
|||
The times the cronjobs run are specifically chosen to try and run in a specific order, since |
|||
the output of one cron is used in another. |
@ -1,19 +0,0 @@ |
|||
#!/usr/bin/env bash |
|||
# Copyright 2016-2022 The Hush Developers |
|||
|
|||
DOMAIN=${SIONA_DOMAIN} |
|||
CLI=${SIONA_CLI} |
|||
# this is optional and not used yet here |
|||
ACNAME=${SIONA_ACNAME} |
|||
DIR=/var/www/$DOMAIN/var/www/$DOMAIN/api |
|||
|
|||
# TODO: remove IP info from getpeerinfo |
|||
#$CLI getpeerinfo > $DIR/getpeerinfo.json |
|||
$CLI getinfo &> $DIR/getinfo.json |
|||
$CLI getmininginfo &> $DIR/getmininginfo.json |
|||
$CLI getblockchaininfo &> $DIR/getblockchain.json |
|||
$CLI getchaintxstats &> $DIR/getchaintxstats.json |
|||
$CLI gettxoutsetinfo &> $DIR/gettxoutsetinfo.json |
|||
$CLI coinsupply &> $DIR/coinsupply.json |
|||
$CLI getchaintips &> $DIR/getchaintips.json |
|||
$CLI getchaintxstats &> $DIR/getchaintxstats.json |
@ -1,17 +0,0 @@ |
|||
#!/usr/bin/env bash |
|||
|
|||
cli=$(SIONA_CLI) |
|||
|
|||
# only ask for data if we don't have it |
|||
#if [ -s ~/data/blocks/block-$HEIGHT.json ]; then |
|||
# HEIGHT=$($cli getblockcount); $cli getblock $HEIGHT > ~/data/blocks/block-$HEIGHT.json |
|||
#fi |
|||
|
|||
NEWFILE=/var/www/$domain/var/www/$domain/blocks/index.new.html |
|||
INDEXFILE=/var/www/$domain/var/www/$domain/blocks/index.html |
|||
|
|||
# reads data from /var/www/$domain/api |
|||
/var/www/$domain/bin/update_blocks_redis.pl > $NEWFILE |
|||
if [ -s $NEWFILE ]; then |
|||
cp $NEWFILE $INDEXFILE |
|||
fi |
@ -1,12 +0,0 @@ |
|||
226212 |
|||
226355 |
|||
226361 |
|||
226664 |
|||
227090 |
|||
227309 |
|||
227738 |
|||
227933 |
|||
228039 |
|||
228062 |
|||
228077 |
|||
228090 |
@ -1 +0,0 @@ |
|||
No such file or directory at /var/www/explorer.hush.land/bin/update.pl line 47. |
@ -1,15 +0,0 @@ |
|||
#!/usr/bin/env bash |
|||
|
|||
set -e |
|||
|
|||
DOMAIN=explorer.hush.land/var/www/explorer.hush.land |
|||
DIR=/var/www |
|||
|
|||
echo $$ >> $DIR/$DOMAIN/PID |
|||
|
|||
# make a backup so we can diff them |
|||
cp $DIR/$DOMAIN/{index,index-prev}.html |
|||
# let index.html settle |
|||
sleep 2 |
|||
perl /var/www/explorer.hush.land/bin/update.pl /var/www/explorer.hush.land/api &> $DIR/$DOMAIN/index-new.html |
|||
cp $DIR/$DOMAIN/index-new.html $DIR/$DOMAIN/index.html |