From 461f6ab47fbd4eadf9433697b894ef11639e0f44 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 4 May 2017 14:28:55 +0800 Subject: [PATCH] example of aliases added to readme --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 621284f..71dd0ef 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,15 @@ xmrblocks, start Onion Monero Blockchain Explorer: monero address string ``` +Example usage, defined as bash aliases. + +```bash +alias xmrblockstestnet='~/onion-monero-blockchain-explorer/build/xmrblocks -t --port 8082 --no-blocks-on-index 24 --mainnet-url "http://139.162.32.245:8081" --enable-block-cache=1 --enable-tx-cache=1 --enable-mempool-cache=1 --show-cache-times=1 --enable-pusher' +alias xmrblocksmainnet='~/onion-monero-blockchain-explorer/build/xmrblocks --port 8081 --no-blocks-on-index 49 --testnet-url "http://139.162.32.245:8082" --enable-block-cache=1 --enable-tx-cache=1 --enable-mempool-cache=1 --show-cache-times=1 --enable-pusher' +``` + +These are explorer commands used for http://139.162.32.245:8081/ and http://139.162.32.245:8082/, respectively. + ## Enable SSL (https) By default, the explorer does not use ssl. But it has such a functionality.