mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
readme updated
This commit is contained in:
parent
b1c12d88ce
commit
156229274f
3 changed files with 15 additions and 2 deletions
|
@ -62,7 +62,8 @@ Alternative block explorers:
|
|||
|
||||
The key features of the Onion Monero Blockchain Explorer are:
|
||||
|
||||
- no javascript, no cookies, no web analytics trackers, no images,
|
||||
- no cookies, no web analytics trackers, no images,
|
||||
- by default no JavaScript, but can be enabled for client side decoding and proving transactions,
|
||||
- open sourced,
|
||||
- made fully in C++,
|
||||
- showing encrypted payments ID,
|
||||
|
@ -176,6 +177,8 @@ xmrblocks, Onion Monero Blockchain Explorer:
|
|||
--show-cache-times [=arg(=1)] (=0) show times of getting data from cache
|
||||
vs no cache
|
||||
--enable-block-cache [=arg(=1)] (=0) enable caching of block details
|
||||
--enable-js [=arg(=1)] (=0) enable checking outputs and proving txs
|
||||
using JavaScript on client side
|
||||
--enable-autorefresh-option [=arg(=1)] (=0)
|
||||
enable users to have the index page on
|
||||
autorefresh
|
||||
|
|
10
src/page.h
10
src/page.h
|
@ -404,6 +404,16 @@ namespace xmreg
|
|||
template_file["config.js"] = xmreg::read(JS_CONFIG);
|
||||
template_file["biginteger.js"] = xmreg::read(JS_BIGINT);
|
||||
|
||||
|
||||
// need to set "testnet: false," flag to reflect
|
||||
// if we are running testnet or mainnet explorer
|
||||
|
||||
if (testnet)
|
||||
template_file["config.js"] = std::regex_replace(
|
||||
template_file["config.js"],
|
||||
std::regex("testnet: false"),
|
||||
"testnet: true" );
|
||||
|
||||
js_html_files += "<script src=\"/js/jquery.min.js\"></script>";
|
||||
js_html_files += "<script src=\"/js/crc32.js\"></script>";
|
||||
js_html_files += "<script src=\"/js/biginteger.js\"></script>";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var config = {
|
||||
testnet: false, //@todo need to make it automated
|
||||
testnet: false, // this is adjusted page.h if needed. dont need to change manually
|
||||
coinUnitPlaces: 12,
|
||||
txMinConfirms: 10, // corresponds to CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE in Monero
|
||||
txCoinbaseMinConfirms: 60, // corresponds to CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW in Monero
|
||||
|
|
Loading…
Reference in a new issue