sugarchain-project / explorer Goto Github PK
View Code? Open in Web Editor NEWThis project forked from iquidus/explorer
Explorer Sugarchain
Home Page: https://1explorer.sugarchain.org/
License: BSD 3-Clause "New" or "Revised" License
This project forked from iquidus/explorer
Explorer Sugarchain
Home Page: https://1explorer.sugarchain.org/
License: BSD 3-Clause "New" or "Revised" License
{ [MongoError: E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "c9c065c6dd2ac1d207d9d700fb3767838f4e778d8a22d9ea91677fb382250c74" }]
name: 'MongoError',
message: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "c9c065c6dd2ac1d207d9d700fb3767838f4e778d8a22d9ea91677fb382250c74" }',
driver: true,
code: 11000,
index: 0,
errmsg: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "c9c065c6dd2ac1d207d9d700fb3767838f4e778d8a22d9ea91677fb382250c74" }',
getOperation: [Function],
toJSON: [Function],
toString: [Function] }
2019-07-10 09:42:16 *** Disk space is low!
2019-07-10 09:42:16 Error: Error: Disk space is low!
2019-07-10 09:42:16 ERROR: ConnectBlock(): FindUndoPos failed
2019-07-10 09:42:16 ERROR: ConnectTip(): ConnectBlock 578b1470b5dd5bb2ff33c8d0ee4ab5c94b8f30147754c44defe7d2e0d82bae8f failed
2019-07-10 09:42:16 ERROR: ProcessNewBlock: ActivateBestChain failed
2019-07-10 09:42:17 tor: Thread interrupt
2019-07-10 09:42:17 Shutdown: In progress...
2019-07-10 09:42:17 opencon thread exit
2019-07-10 09:42:17 addcon thread exit
2019-07-10 09:42:17 torcontrol thread exit
2019-07-10 09:42:17 net thread exit
2019-07-10 09:42:17 msghand thread exit
2019-07-10 09:42:17 scheduler thread interrupt
2019-07-10 09:42:17 Dumped mempool: 3e-06s to copy, 0.002339s to dump
2019-07-10 09:42:17 *** Disk space is low!
2019-07-10 09:42:17 Error: Error: Disk space is low!
2019-07-10 09:42:17 *** Disk space is low!
2019-07-10 09:42:17 Error: Error: Disk space is low!
2019-07-10 09:42:18 Shutdown: done
also not sure why in the config we have to specify hashrate is GH or MH or KH etc. shouldn't it grab the hashrate from the wallet daemon, and then convert it into human readable format?
https://pexa.easyxpool.tk/ (sample installation)
Thanks... I really like the explorer 👍
The two timestamps must be exactly the same. I think there is a problem during conversion of UTC
>> KST (GMT + 9)
.
it should be zero
but,
https://1explorer.sugarchain.org/address/sugar1qp5d6835flz4tffpxrjhxapd4m3mdtk4g38ezf4
https://sugarchain-blockbook.ilmango.work/address/sugar1qp5d6835flz4tffpxrjhxapd4m3mdtk4g38ezf4
@ilmango-doge plz check it
all peers are 0.16.3.15
, but it shows still .12
version.
./sugarchain-0.16.3/bin/sugarchain-cli -rpcuser=username -rpcpassword=password -testnet getpeerinfo
[
{
"id": 0,
"addr": "207.148.104.180:35280",
"addrlocal": "45.32.27.2:44230",
"addrbind": "45.32.27.2:44230",
"services": "000000000000040d",
"relaytxes": true,
"lastsend": 1560993377,
"lastrecv": 1560993397,
"bytessent": 43216,
"bytesrecv": 205812,
"conntime": 1560992686,
"timeoffset": 0,
"pingtime": 0.000594,
"minping": 0.000353,
"version": 70015,
"subver": "/Yumekawa:0.16.3.15/",
"inbound": true,
"addnode": false,
"startingheight": 804703,
"banscore": 0,
"synced_headers": 804873,
"synced_blocks": 804873,
"inflight": [
],
"whitelisted": false,
"bytessent_per_msg": {
"addr": 170,
"block": 274,
"cmpctblock": 284,
"feefilter": 32,
"getdata": 18657,
"getheaders": 1053,
"headers": 22085,
"ping": 192,
"pong": 192,
"sendcmpct": 99,
"sendheaders": 24,
"verack": 24,
"version": 130
},
"bytesrecv_per_msg": {
"addr": 55,
"block": 113867,
"cmpctblock": 51522,
"feefilter": 32,
"getaddr": 24,
"getdata": 122,
"getheaders": 1053,
"headers": 24969,
"inv": 366,
"ping": 192,
"pong": 192,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 13174,
"verack": 24,
"version": 130
}
},
{
"id": 2,
"addr": "61.82.114.68:42492",
"addrlocal": "45.32.27.2:44230",
"addrbind": "45.32.27.2:44230",
"services": "000000000000040d",
"relaytxes": true,
"lastsend": 1560993397,
"lastrecv": 1560993397,
"bytessent": 10671,
"bytesrecv": 53244,
"conntime": 1560992702,
"timeoffset": 0,
"pingtime": 0.0321,
"minping": 0.031984,
"version": 70015,
"subver": "/Yumekawa:0.16.3.15/",
"inbound": true,
"addnode": false,
"startingheight": 804708,
"banscore": 0,
"synced_headers": 804873,
"synced_blocks": 804873,
"inflight": [
],
"whitelisted": false,
"bytessent_per_msg": {
"addr": 195,
"cmpctblock": 349,
"feefilter": 32,
"getdata": 122,
"getheaders": 1053,
"headers": 8137,
"inv": 122,
"ping": 192,
"pong": 192,
"sendcmpct": 99,
"sendheaders": 24,
"verack": 24,
"version": 130
},
"bytesrecv_per_msg": {
"addr": 55,
"block": 274,
"cmpctblock": 50783,
"feefilter": 32,
"getaddr": 24,
"getdata": 61,
"getheaders": 1053,
"headers": 212,
"inv": 122,
"ping": 192,
"pong": 192,
"sendcmpct": 66,
"sendheaders": 24,
"verack": 24,
"version": 130
}
},
{
"id": 3,
"addr": "80.240.25.183:60282",
"addrlocal": "45.32.27.2:44230",
"addrbind": "45.32.27.2:44230",
"services": "000000000000040d",
"relaytxes": true,
"lastsend": 1560993397,
"lastrecv": 1560993386,
"bytessent": 558213,
"bytesrecv": 54645,
"conntime": 1560992727,
"timeoffset": 0,
"pingtime": 0.26746,
"minping": 0.267358,
"version": 70015,
"subver": "/Yumekawa:0.16.3.15/",
"inbound": true,
"addnode": false,
"startingheight": 755168,
"banscore": 0,
"synced_headers": -1,
"synced_blocks": -1,
"inflight": [
],
"whitelisted": false,
"bytessent_per_msg": {
"addr": 140,
"block": 358011,
"cmpctblock": 1201,
"feefilter": 32,
"getheaders": 1053,
"headers": 187998,
"inv": 9150,
"ping": 192,
"pong": 192,
"sendcmpct": 66,
"sendheaders": 24,
"verack": 24,
"version": 130
},
"bytesrecv_per_msg": {
"addr": 55,
"feefilter": 32,
"getaddr": 24,
"getdata": 48608,
"getheaders": 5265,
"ping": 192,
"pong": 192,
"sendcmpct": 99,
"sendheaders": 24,
"verack": 24,
"version": 130
}
}
]
Movement tab shows large amount of TXs like whale alert. Above 100 is green, 1000 is orange, and 5000 is red.
its too small for now. increase this numbers
https://1explorer.sugarchain.org/tx/61baffbb06b7ff8f704b1773dd7ba1ac79c36e44d66eb8a3eb0940f57a04935c
its server time where 1explorer located in Tokyo. UTC+9
need a description.
code: 11000,
index: 0,
errmsg: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "e3dcd39b9e731e5e687eb0dc61e8b7bf495768eacd7566bc51f63d11eae9db46" }',
getOperation: [Function],
toJSON: [Function],
toString: [Function] }
{ [MongoError: E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "913908f95d5f0ba2d72352ca676bfdcd2516fe879d345433356e3bcf4df6aa44" }]
name: 'MongoError',
message: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "913908f95d5f0ba2d72352ca676bfdcd2516fe879d345433356e3bcf4df6aa44" }',
driver: true,
code: 11000,
index: 0,
errmsg: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "913908f95d5f0ba2d72352ca676bfdcd2516fe879d345433356e3bcf4df6aa44" }',
getOperation: [Function],
toJSON: [Function],
toString: [Function] }
974: ccc060de5d50de909cad625c87008f33c28ccad7717dce596894914c2363d9f5
975: 7cc924d669df78602a34236ed43957f00f4f9d2a4833de344ad6bc4a3f6a83e9
977: f3174e12414b41bd3a52bc2b40b8bdc90e9e54882bd16db2083235c71755c75b
978: d40902ad00b5f4948c05bfaa99fe9483db7a3e6a9c41a1a10053b26f47fc03cd
{ [MongoError: E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "c84ead669a92894d3bc14e6233165e8e071fc1457b4fd30c30b7aa27eec820be" }]
name: 'MongoError',
message: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "c84ead669a92894d3bc14e6233165e8e071fc1457b4fd30c30b7aa27eec820be" }',
driver: true,
code: 11000,
index: 0,
errmsg: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "c84ead669a92894d3bc14e6233165e8e071fc1457b4fd30c30b7aa27eec820be" }',
getOperation: [Function],
toJSON: [Function],
toString: [Function] }
980: 2e72c06721b2ef4fb78cdf5364a51598a46d3c9b9356485b5b3dbfc91079f28c
981: 94bf58d176c52f558638ed3a373a5907cac69815796ec7f67c5e5097637118c1
{ [MongoError: E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "946d41fae56cc3f3f3529dca7a002fdac75eabad9f3f489aecdbae6980d493db" }]
name: 'MongoError',
message: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "946d41fae56cc3f3f3529dca7a002fdac75eabad9f3f489aecdbae6980d493db" }',
driver: true,
code: 11000,
index: 0,
errmsg: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "946d41fae56cc3f3f3529dca7a002fdac75eabad9f3f489aecdbae6980d493db" }',
getOperation: [Function],
toJSON: [Function],
toString: [Function] }
Line 205 in 10d15b8
The same goes for other coin explorers. .hidden
is wrong?
2022-10-22 22:47:54 UpdateTip: new best=3543ddd5736f6156a66e7a1128c263e2104fdf56ef6d1b77bc3f5b9c9235668f height=19877201 version=0x20000000 log2_work=48.17553 tx=20813789 date='2022-10-22 22:47:50' progress=1.000000 cache=3.4MiB(19795txo)
2022-10-22 22:47:56 UpdateTip: new best=e3060c19c9523e03b59a8b77c1df44132c7c681beee8cee75b05a6aeaca94615 height=19877202 version=0x20000000 log2_work=48.17553 tx=20813790 date='2022-10-22 22:47:53' progress=1.000000 cache=3.4MiB(19796txo)
2022-10-22 22:48:08 UpdateTip: new best=9a9abdfc447b50bb03e50d698b159936f3d992f062647c54123f7cc8add671ef height=19877203 version=0x20000000 log2_work=48.17553 tx=20813791 date='2022-10-22 22:47:57' progress=1.000000 cache=3.4MiB(19797txo)
2022-10-22 22:48:09 UpdateTip: new best=e4c6e15f5c7fcd53679ffdf623cfceb08492874d411c326a85b71878e1d54430 height=19877204 version=0x20000000 log2_work=48.17553 tx=20813792 date='2022-10-22 22:48:10' progress=1.000000 cache=3.4MiB(19798txo)
2022-10-22 22:48:11 UpdateTip: new best=ec1bab6eff8248f2ed66aa1cc3375a523776e38b78cc184d0710934eeb8da0f7 height=19877205 version=0x20000000 log2_work=48.17553 tx=20813793 date='2022-10-22 22:48:08' progress=1.000000 cache=3.4MiB(19799txo)
2022-10-22 22:48:17 UpdateTip: new best=64046f1411c237046af06c5325ff318364cbecd84a59bcac80ab62d916cbb81b height=19877206 version=0x20000000 log2_work=48.17553 tx=20813794 date='2022-10-22 22:48:12' progress=1.000000 cache=3.4MiB(19800txo)
2022-10-22 22:48:19 UpdateTip: new best=e61fa3e932b4481a2e611c50621af5ffeb30784a3724f80648511a0fd28f182d height=19877207 version=0x20000000 log2_work=48.17553 tx=20813795 date='2022-10-22 22:48:19' progress=1.000000 cache=3.4MiB(19801txo)
2022-10-22 22:48:25 UpdateTip: new best=1a22ebcb0479665140e792ce87ef14107b8bdcd3f59d8516dab1c7cb3c067f8f height=19877208 version=0x20000000 log2_work=48.17553 tx=20813796 date='2022-10-22 22:48:18' progress=1.000000 cache=3.4MiB(19802txo)
2022-10-22 22:48:33 UpdateTip: new best=60953cfbc9c1c9ff7e19642ff6f8426ff73705b0b32494ac53f75fb1655ce3c1 height=19877209 version=0x20000000 log2_work=48.17553 tx=20813797 date='2022-10-22 22:48:25' progress=1.000000 cache=3.4MiB(19803txo)
2022-10-22 22:48:33 ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=66, nPos=121396362)
Hi
On network page I notice IPV6 addresses are being cut off... As more IPv6 nodes come online every day, I think this should be fixed.
Example:
107.11.42.85 | 70016 | Placeholders:2.0.30.5 | United States
-- | -- | -- | --
46.28.132.34 | 70016 | Placeholders:2.0.30.5 | Russia
[2601 | 70016 | Placeholders:2.0.30.5 |
[2607 | 70016 | Placeholders:2.0.30.5 |
[2a03 | 70016 | Placeholders:2.0.30.5 |
[2001 | 70016 | Placeholders:2.0.30.5 |
203.198.146.232 | 70016 | Placeholders:2.0.30.5 | Hong Kong SAR China
I think this is why the location lookup fails also. If not please also fix the location lookup for IPv6
Thank you
do frequently remove this or archive
node scripts/sync.js index update
23188: 5eaab92dcf88ba5021cbad222603300b0aa5071afb3a24a289f10b2eb1158d00
23189: 743234b08e7c4512b266cf9b8637b8151e2d17e0832731ad2629d81d074079ad
{ [MongoError: E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "a1d8b4341251bd060f2419522f6387fbd2fdec7c795887800ba1d78450c9ca9f" }]
name: 'MongoError',
message: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "a1d8b4341251bd060f2419522f6387fbd2fdec7c795887800ba1d78450c9ca9f" }',
driver: true,
code: 11000,
index: 0,
errmsg: 'E11000 duplicate key error collection: explorerdb.txes index: txid_1 dup key: { : "a1d8b4341251bd060f2419522f6387fbd2fdec7c795887800ba1d78450c9ca9f" }',
getOperation: [Function],
toJSON: [Function],
toString: [Function] }
23191: a0cb0bce3ee7b87a7ed5aa02ea9e20e7cefd8381034ce77dd3e208958d58af72
23192: 2b8dfbfde01ae994b4076338129299ce5df5309ac63021cce7ead7ce9fce65bf
git clone https://github.com/sugarchain-project/explorer.git explorer &&
cd explorer && npm install --production
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/root/.nvm/v0.10.28/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack at E (/root/.nvm/v0.10.28/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack at /root/.nvm/v0.10.28/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack at Object.oncomplete (fs.js:107:15)
gyp ERR! System Linux 4.4.0-141-generic
gyp ERR! command "node" "/root/.nvm/v0.10.28/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/explorer/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http 200 https://registry.npmjs.org/ansi-font
npm http GET https://registry.npmjs.org/ansi-font/-/ansi-font-0.0.2.tgz
npm http 200 https://registry.npmjs.org/ansi-font/-/ansi-font-0.0.2.tgz
[email protected] install /root/explorer/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
(node-gyp rebuild) || (exit 0)
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/root/.nvm/v0.10.28/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack at E (/root/.nvm/v0.10.28/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack at /root/.nvm/v0.10.28/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack at Object.oncomplete (fs.js:107:15)
gyp ERR! System Linux 4.4.0-141-generic
gyp ERR! command "node" "/root/.nvm/v0.10.28/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/explorer/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.