iquidus / explorer

An open source block explorer
BSD 3-Clause "New" or "Revised" License
748 stars 1.33k forks source link

Where is the version with the hashrate chart and masternode tab? #134

Open EliteMobb79 opened 6 years ago

EliteMobb79 commented 6 years ago

I have seen several installations of the Iquidus explorer and most of them have a newer version with a hashrate chart on the home page and a masternode tab to display masternode data. Anyone know where this version is?

MineChuteDev commented 6 years ago

Do you have an example or 2 urls with the version you are referring to? I'm currently working on a separate implementation outside of iquidus and would like to see a sample of what you are seeing. Mine is at https://dyn.nodelister.com/ and I am in the process of updating it for the new version of the coins,

EliteMobb79 commented 6 years ago

http://explorer.gainercoin.com/ http://hmcexplorer.com/ http://explorer.xuvcoin.com/ http://explorer.tokugawacoin.com/

They are all using the same base but the Iquidus explorer link in the footer all links back to this repo without the chart and masternodes page.

MineChuteDev commented 6 years ago

interesting. I'll let you know if I find anything

EliteMobb79 commented 6 years ago

I have literally gone through all 401 forks of this repo and not found it. lol

cintrondigital commented 6 years ago

@EliteMobb79 Im looking for this myself. If i find the source i will let you know.

cintrondigital commented 6 years ago

@EliteMobb79 This src https://github.com/suprnurd/ciquidus/ has the following in its api call https://explorer.chaincoin.org/api/getmasternodecount https://explorer.chaincoin.org/api/getmasternodelist

I guess we can build our own masternode page and add it to the menu. As far as the graph thats a different story.

EliteMobb79 commented 6 years ago

@cintrondigital I am currently running that version.

danielwwf commented 6 years ago

Those versions are customized. i am running a customized version as well that has MN info, coininfo, cmc integration and extended api calls.

EliteMobb79 commented 6 years ago

I figured it was a customized version, but will several sites that are unrelated running the exact same version, I was hoping there was a source somewhere for it. Or source for one a bit more advanced than what is currently available. If not, I may just have to make my own.

Kacak41 commented 6 years ago

I founded https://github.com/masterhash-us/Explorer

EliteMobb79 commented 6 years ago

@Kacak41 That one is very close. It has the full masternode and market data. The only thing that one is missing is the hashrate chart. Not a big deal though, I appreciate you finding it.

20dec commented 6 years ago

@EliteMobb79 have you found a fork of MN list and chart already?

EliteMobb79 commented 6 years ago

@20dec Nope, not yet.

adis99 commented 6 years ago

@EliteMobb79 still nothing?

uaktags commented 6 years ago

Wouldn't we just be able to add a new collection and then during every tx, have it also call getinfo to get the difficulty and then save it into mongo?

voxcon commented 6 years ago

@uaktags i thought about this as well. Sometimes it would be pretty handy to have a look at the difficulty at a certain blockheight. I wasn't able to add implement it though. (I'm not really familiar with mongodb, nor nodejs).

uaktags commented 6 years ago

I don't have any real need for it, but I can probably spit one out for ya. I'm currently working on a MySQL fork. if someone else doesn't beat me to it, i'll have free time this weekend to try it out.

On Thu, Mar 22, 2018 at 7:56 PM, voxcon notifications@github.com wrote:

@uaktags https://github.com/uaktags i thought about this as well. Sometimes it would be pretty handy to have a look at the difficulty at a certain blockheight. I wasn't able to add implement it though. (I'm not really familiar with mongodb, nor nodejs).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iquidus/explorer/issues/134#issuecomment-375495542, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2i9H8o1LFk41Ig9U9dpzH4PGtMLrfWks5thDomgaJpZM4Ry5pj .

voxcon commented 6 years ago

That would be great, but don't waste your time on it if you are planning on creating an MySQL fork anyways. I guess you would add the difficulty parameter to your database there?

uaktags commented 6 years ago

Yea, my hope with MySQL is to add an additional as well for stakes since that's what most of my coins are. I just want a better/faster way of querying stakes. The current way of checking vin:[], vout:[address:

] is too slow.

On Fri, Mar 23, 2018 at 6:18 AM, voxcon notifications@github.com wrote:

That would be great, but don't waste your time on it if you are planning on creating an MySQL fork anyways. I guess you would add the difficulty parameter to your database there?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iquidus/explorer/issues/134#issuecomment-375607168, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2i9PmfnE7oRjCHps9lTvl8bgfm-kAcks5thMv_gaJpZM4Ry5pj .

aigamal commented 6 years ago

@EliteMobb79 @Kacak41 @cintrondigital Any luck with the MN explorer? anyone found it or forked the one @Kacak41 mentioned?

EliteMobb79 commented 6 years ago

I havent found the specific one I was looking for yet.

aigamal commented 6 years ago

@EliteMobb79 anyone you found to check?

EliteMobb79 commented 6 years ago

I have found several instances and emailed or contacted them via discord but no reply from any of them.

lukepighetti commented 6 years ago

Would love to have a hashrate chart. It's really the most important thing to have graphed IMHO.

voxcon commented 6 years ago

@EliteMobb79 hi, i saw that you were running the ciquidus fork a while back. How did you manage to get the masternodeinformation to be displayed in the masternodes tab on the main page (next to "network", "difficulty", "coinsupply" and "price")? For me it only shows "There was an error, check your console", even though the masternode api calls work.

click2install commented 6 years ago

Did anyone find the version/source for this? I am also keen to get at least the mn tab, but also the graph if I can.

pivxslimjim commented 6 years ago

I would be interested in helping make a chart together? Also looking for a masternode list, since the aforementioned repo is 404. Worst case I'll have to customize it myself. Thought it would be easier if there was still one floating around, though.

pivxslimjim commented 6 years ago

@voxcon Same here, I am letting my explorer sync, then I plan on enabling 'heavycoin' settings to see if maybe that unlocks some of these features.

EliteMobb79 commented 6 years ago

I have a copy of the one with the masternode list. I can upload to my git if you guys are wanting it.

pivxslimjim commented 6 years ago

@EliteMobb79 Would be appreciated.

Krumlar commented 6 years ago

@EliteMobb79 I too would appreciate a copy. Looking forward to you sharing it, thanks in advance.

voxcon commented 6 years ago

@pivxslimjim in my setup the reason causing the error, instead of displaying the masternode info correctly, was due to a different output structure of the "getmasternodecount" api call of my coins daemon compared to the chaincoin daemon which the ciquidus block explorer was adjusted to.

pivxslimjim commented 6 years ago

@voxcon Yeah, I thought about that too after I sent my reply. I was gonna play around more, but I didn't wanna risk corrupting my indexing haha. Mine still gives an error, so it must be something with PIVX output that I'll look into. :)

lukepighetti commented 6 years ago

I just want the hashrate chart. Would be a big deal for us.

On Wed, Apr 4, 2018 at 5:18 PM, pivxslimjim notifications@github.com wrote:

@voxcon https://github.com/voxcon Yeah, I thought about that too after I sent my reply. I was gonna play around more, but I didn't wanna risk corrupting my indexing haha. Mine still gives an error, so it must be something with PIVX output that I'll look into. :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iquidus/explorer/issues/134#issuecomment-378748629, or mute the thread https://github.com/notifications/unsubscribe-auth/AAorqzI5_NjtM1zaAyXK3mZJcmm0fFgjks5tlTjBgaJpZM4Ry5pj .

aigamal commented 6 years ago

@EliteMobb79 did you upload the explorer with MN for us yet? sorry cant locate it

@voxcon @pivxslimjim i figured that different coins have different ouputs and options with the cli but didnt manage to get it working yet, any advice about which file to look into?

pivxslimjim commented 6 years ago

@EliteMobb79 Hey bud, any insight yet?

@aigamal I did figure out my issue aswell, my coin (PIVX) formats there masternode totals in one command. I can link you to my commit that fixed mine.

https://github.com/pivxslimjim/explorer/commit/733c790f85f53cc7f03a757f4ce803b6476f1411 https://github.com/pivxslimjim/explorer/commit/54b49a6ea23a7cf18eb2d682e1d14f8c536e01ef

Please note I forked from ciquidus.

sigwo commented 6 years ago

@EliteMobb79 here is the link you were asking for

https://github.com/SigwoTechnologies/explorer/

EliteMobb79 commented 6 years ago

@sigwo thank you. This is the version that I was going to upload. Sigwo has refined a bit.

coolindark commented 6 years ago

@sigwo @EliteMobb79 How do you setup masternodes to work properly? I've prepared one but masternodes page gives error.

DataTables warning: table id=masternodes-table - Requested unknown parameter 'status' for row 5. For more information about this error, please see http://datatables.net/tn/4

delwig commented 6 years ago

I get same error DataTables warning: table id=masternodes-table - Requested unknown parameter 'status' for row 5. For more information about this error, please see http://datatables.net/tn/4

krestien commented 6 years ago

@sigwo @EliteMobb79 same question as above, how to set up if this error is shown? Many thanks

delwig commented 6 years ago

in my case our coin was a pivx type so putting the following fixed it in settings.json

// coin type
  //  Options:
  //    bitcoin = Default Bitcoin/Dash/... clones
  //    ripple = Ripple clones
  "baseType": "pivx",
sigwo commented 6 years ago

use the version in the comments above

krestien commented 6 years ago

@sigwo https://github.com/SigwoTechnologies/explorer/ this? this is exactly the one I forked @delwig added this code to settings.json

`

explorer@1.7.0 start /home/explorer-dev node --stack-size=10000 ./bin/cluster Starting cluster with pid: 15487 GET /ext/getlasttxs/0.00000001?_=1537297764434 200 56ms - 11b GET /api/getdifficulty 200 17ms - 14b GET /api/getnetworkhashps 200 9ms - 13b GET /api/getconnectioncount 200 9ms - 2b GET /api/getblockcount 200 6ms - 5b GET /api/masternode?command=count 200 2ms - 126b { Error: masternode "command"... Set of commands to execute masternode related actions This command is depreciated, please see individual command documentation for future reference Arguments: 1. "command" (string or set of strings, required) The command to execute Available commands: count - Print count information of all known masternodes current - Print info on current masternode winner debug - Print masternode status genkey - Generate new masternodeprivkey outputs - Print masternode compatible outputs start - Start masternode configured in dstra.conf start-alias - Start single masternode by assigned alias configured in masternode.conf start- - Start masternodes configured in masternode.conf (: 'all', 'missing', 'disabled') status - Print masternode status information list - Print list of all known masternodes (see masternodelist for more info) list-conf - Print masternode.conf in JSON format winners - Print list of masternode winners at /home/explorer-dev/node_modules/bitcoin/lib/jsonrpc.js:99:19 at Array.forEach () at IncomingMessage. (/home/explorer-dev/node_modules/bitcoin/lib/jsonrpc.js:96:15) at IncomingMessage.emit (events.js:187:15) at endReadableNT (_stream_readable.js:1091:14) at process._tickCallback (internal/process/next_tick.js:174:19) code: -1 } GET /api/masternode?command=count?filter=enabled 200 5ms - 39b GET /ext/summary 200 168ms - 476b { Error: No information available about transaction at /home/explorer-dev/node_modules/bitcoin/lib/jsonrpc.js:99:19 at Array.forEach () at IncomingMessage. (/home/explorer-dev/node_modules/bitcoin/lib/jsonrpc.js:96:15) at IncomingMessage.emit (events.js:187:15) at endReadableNT (_stream_readable.js:1091:14) at process._tickCallback (internal/process/next_tick.js:174:19) code: -5 } GET /api/getrawtransaction?txid=4d584d4ed60417f5779a3f6dbcdacfcf15eb219d6c3f67a77ac4235cc39f51b9&decrypt=1 200 4ms - 39b GET /tx/4d584d4ed60417f5779a3f6dbcdacfcf15eb219d6c3f67a77ac4235cc39f51b9 200 450ms - 10.03kb GET /address/FSHmVVtdeFFi5h2K4PUwCnLgozyrEhhUsU 200 588ms - 10.23kb { Error: No information available about transaction at /home/explorer-dev/node_modules/bitcoin/lib/jsonrpc.js:99:19 at Array.forEach () at IncomingMessage. (/home/explorer-dev/node_modules/bitcoin/lib/jsonrpc.js:96:15) at IncomingMessage.emit (events.js:187:15) at endReadableNT (_stream_readable.js:1091:14) at process._tickCallback (internal/process/next_tick.js:174:19) code: -5 } GET /api/getrawtransaction?txid=a2ffe4abc566bb3509e4a4feb1fb91149926db48a11af742e42145997fd42a00&decrypt=1 200 28ms - 39b GET /tx/a2ffe4abc566bb3509e4a4feb1fb91149926db48a11af742e42145997fd42a00 200 606ms - 10.03kb `

I had this error before to be honest and tried a lot so I think my error could be correlated to that. Is the explorer capable of working if the Linux wallet is splitted into ./coind and ./coin-cli? Maybe that could be my issue?

danielwwf commented 6 years ago

If you are running the version that allows to use it for pivx and ripple based coins, its a version i created that was customized and "leaked" to github by accident. It has some issues that were not fixed but it should run. It also has some other features that are just not documented. Spent a lot of time and money on it but there is still a lot of work to do. Can't really support it cause i don't have any time for it but i will think about publishing the latest version i currently use.

sunk818 commented 6 years ago

@whywefight would you consider having explorers for specific altcoins as a branch? Or is it too much trouble? Could you take crowdfunding? I know we have @BiblePay running as an explorer, we could contribute the changes back to the source code? Or maybe it is too much hassle dealing with pull requests from thousands of coins?

emanbayani commented 6 years ago

use the version in the comments above

How do you get the graphs to work!? Even with everything running the graphs don't work!?

emanbayani commented 6 years ago

I just want the hashrate chart. Would be a big deal for us. On Wed, Apr 4, 2018 at 5:18 PM, pivxslimjim @.***> wrote: @voxcon https://github.com/voxcon Yeah, I thought about that too after I sent my reply. I was gonna play around more, but I didn't wanna risk corrupting my indexing haha. Mine still gives an error, so it must be something with PIVX output that I'll look into. :) — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#134 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAorqzI5_NjtM1zaAyXK3mZJcmm0fFgjks5tlTjBgaJpZM4Ry5pj .

Did you get the one with the hashrate chart?

emanbayani commented 6 years ago

http://explorer.gainercoin.com/ http://hmcexplorer.com/ http://explorer.xuvcoin.com/ http://explorer.tokugawacoin.com/

They are all using the same base but the Iquidus explorer link in the footer all links back to this repo without the chart and masternodes page.

Where is the one with the difficulty chart!?

krestien commented 6 years ago

@whywefight I don't know anything about your implementation mate and would appreciate getting my hands on it if it would solve my problem AND would help the coin! I'm referring to above URL/github pointing to the explorer. Appreciate any help here!