-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Update Iquidus Explorer, fix vulnerabilities, add new features #252 #257
Conversation
This is the work I've been doing for issue iquidus#252. A number of cosmetic changes have been made as well as fixing a few security vulnerabilities found during npm audits.
I found that /tx/:hash can get really bogged down since it's returning all records. However, due to #249 there wasn't really a way to do serverside processing in a clean manner like I was able to do with the get_last_txes. So I created a method to do this. It works, but doesn't mean it's great. I really need to make sure we come back to this and fix it later: This is all done via an aggregate:
yikes |
Started an import of DSTRACoin/diquidus fork since it too follows some ideas from me (updated to pug, used ciquidus as base, etc). Their fork also brought forth better language support which should be nice. Currently commit 23c7479 is partially coded with the i18 support. My main focus was going through all of the libraries and make sure that I didn't have any missing functions from that fork. |
https://github.com/uaktags/explorer/tree/cluster-sync is where the current branch that's attacking the clustering portion is taking place. If anyone has good experience with clustering or can help where I'm failing, please by all means do. The current issue I'm needing to solve is the fact that I'm hitting the daemon so hard that after some time it causes the daemon to produce ECONNREFUSED which then kills the workers. I've started monitoring the workers and can restart/refork new workers as needed after killing any that are stalled out, but I'm leaking memory and end up really slowing down the process until it all fails. |
@uaktags check your invites, added you to collaborators. |
Very cool, thank you! |
…stering abilities there. Need to fine tune the settings for maxPerWorker and how to handle the workload.
…lenecks from constant get_rawtransactions.
Cluster sync
move into table
Hi. I updated "font awesome" to get Discord logo, but I was too lazy to change all the links , so just modified existing ones to what I needed. http://explorer.omegablockchain.net/ |
Too much in one PR... Edit: I've had a closer look - some interesting stuff in here but a lot of bad syntax, spacing etc. If you can split it into a few different PRs/branches so we can all review it would be great! I can already see some stuff I'd like to use/cleanup |
Update issue templates
There's a ton of commits not shown from my remote git repo:
Probably more. This also saw the creation of https://github.com/uaktags/Bitcoin-Node-Api due to vulnerabilities with express 3.x.
Shoutout to @suprnurd for his Ciquidus fork as that was the version I started tinkering with due to the Masternode inclusion.
Later I do want to tackle https://github.com/SigwoTechnologies/explorer for their expanded Masternode views and graphs. According to #134 this appears to be the best example of this but I've yet to test it and like me they didn't do a native fork on Github, so I can't see the exact changes and will need to nitpick.