-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22769bf
commit b54d3b0
Showing
25 changed files
with
15,545 additions
and
1,198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Header set Access-Control-Allow-Origin "*" | ||
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" | ||
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" | ||
Header add Access-Control-Allow-Headers "Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control" | ||
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" | ||
Header add Access-Control-Allow-Credentials "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
# Conceal Explorer | ||
Block explorer for Conceal Cryptocurrency. | ||
# TurtleCoin-Blockchain-Explorer | ||
Block explorer for TurtleCoin CryptoNote based cryptocurrency. | ||
|
||
#### Installation | ||
|
||
1) It takes data from daemon "conceald". It should be accessible from the Internet. Run the daemon with open port as follows: | ||
1) It takes data from daemon turtlecoind. It should be accessible from the Internet. Run turtlecoind with open port as follows: | ||
```bash | ||
./conceald --rpc-bind-ip=0.0.0.0 --rpc-bind-port=16000 | ||
./TurtleCoind --enable-cors="*" --enable_blockexplorer --rpc-bind-ip=0.0.0.0 --rpc-bind-port=11898 | ||
``` | ||
2) Just upload to your website and change 'api' variable in config.js to point to your daemon. You will also need to go through the API pages and update the links to point to your daemon IP as well. The API pages are located in the "q/" directory, the index.php file must point to your daemon IP. You must change all 4 of them "hashrate" "reward" "supply" "height" | ||
2) Just upload to your website and change 'api' variable in config.js to point to your daemon. | ||
|
||
|
||
### Development | ||
Devs: | ||
@devopsralf | ||
|
||
Donate: [TRTL] TRTLv2RCPuD7AaaVpQkRPF59MMLx5WW3qFxwJz4Doy7dHhNA6UuQjEpLL3rpUQS4RXdQn8fb4P1XC3K62GeJjGgG8DP9LNaTrNL | ||
|
||
### Note | ||
|
||
A lot of this code is from the great Karbovanets/Karbowanec-Blockchain-Explorer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,26 @@ | ||
var api = 'http://localhost:16000'; | ||
var api = 'https://explorer.conceal.network/daemon'; | ||
var donationAddress = ""; | ||
var blockTargetInterval = 120; | ||
var coinUnits = 1000000; | ||
var symbol = 'CCX'; | ||
var refreshDelay = 30000; | ||
var refreshDelay = 60; | ||
// pools stats by MainCoins | ||
var networkStat = { | ||
"ccx": [ | ||
["pool.conceal.network", "https://pool.conceal.network/api"], | ||
["ccx.scecf.org", "https://ccx.scecf.org:21001"], | ||
["ccx.bluerockpools.net", "https://ccx.bluerockpools.net:8119"], | ||
["ccx.heigh-ho.funkypenguin.co.nz", "https://api.ccx.heigh-ho.funkypenguin.co.nz"], | ||
["ccx.thepiratemine.nl", "https://ccx.thepiratemine.nl:2890"], | ||
["conceal.herominers.com", "https://conceal.herominers.com/api"], | ||
] | ||
}; | ||
var networkStat2 = { | ||
"ccx": [ | ||
["ccxpool.tk", "http://ccxpool.tk/"], | ||
|
||
] | ||
["ccx.go-mine.it", "https://ccx.go-mine.it/api"], | ||
] | ||
}; | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
return array( | ||
'api' => 'https://explorer.conceal.network/daemon', | ||
'blockTargetInterval' => 120, | ||
'coinUnits' => 1000000, | ||
'maple' => 'https://maplechange.com/api/v2/tickers/ccxbtc.json', | ||
'bitstamp' => 'https://www.bitstamp.net/api/ticker/' | ||
|
||
|
||
); | ||
?> |
Oops, something went wrong.