2e7c8ea201
Added an rpc cmd queue
Joe Uhren
2023-05-16 20:29:57 -06:00
e5bd30a457
Fix for identifiying multi MNs created in same tx -The find_masternodes function now searches for both txhash and address instead of only txhash to prevent matching different masternodes that were created in the same tx -Moved the find_masternodes function out of the module.exports section of the database file since it doesn't need to be exported
Joe Uhren
2023-05-11 20:12:17 -06:00
f6ebb89f27
"Powered By" footer text is now configurable -Added a new "powered_by_text" option to the page_footer settings which can be used to override the text in the middle of the footer without the need to modify the source code -The word "Explorer" was removed from the powered by text for new installs
Joe Uhren
2023-05-10 19:22:16 -06:00
813fe72471
Better handling of null market data
Joe Uhren
2023-05-08 20:08:45 -06:00
1a0ef69749
Added support for newer mongoose versions -Mongoose and mongodb dependencies have been updated to the most recent versions in package.json -Updated the project for use with the newest mongoose major version which required fixing many breaking changes to a number of files in the explorer -Removed the db.find_address_tx() function as it is unused
Joe Uhren
2023-05-07 20:55:29 -06:00
ace3f52543
Fix Deprecation Warning msg for applicable themes -The Flatly, Litera and Solar themes have been updated by removing some duplicate text that caused a number of deprecation msgs to appear when starting the explorer
Joe Uhren
2023-05-06 19:03:45 -06:00
7f6c58525c
Better quote support for coin name and symbol -Fixed some javascript errors with using quotes in the coin.name and coin.symbol settings which effectively broke certain functions in the explorer
Joe Uhren
2023-05-06 18:16:47 -06:00
09fa919686
Orphan block fix + other misc improvements -The block sync will now remove orphaned block data from the txes collecton, address balances/sent/received data as well as addresstx data and now stores limited info in a new orphans collection -Added a new optional page for viewing orphaned block data -The coinbase address now updates sent totals from POS rewards and other transactions that have vout but no vin addresses -Block and transaction pages now display a warning when viewing an orphaned block or tx -Added a couple new fields to the coinstats collection for tracking orphaned blocks -Added new locale strings for the orphaned block feature
Joe Uhren
2023-05-06 12:36:35 -06:00
208187c293
Fix confirmations value in gettx api
Joe Uhren
2023-03-03 15:20:33 -07:00
4047587990
Fix strictQuery warning from new mongoose versions -Suppress the "DeprecationWarning: Mongoose: the strictQuery option will be switched back to false by default in Mongoose 7" warning msg when starting the explorer and using any of the scripts that connect to mongo
Joe Uhren
2022-12-16 19:17:37 -07:00
ac10031bf8
Add options to round decimals for network charts -New options to set max decimals for network (nethash and difficulty) charts -Restored the number formatting with commas for numbers larger than 1000
Joe Uhren
2022-10-15 14:32:38 -06:00
de25461494
Improve network chart precision -Chart.js numbers are rounded to 3 decimals by default. This fix uses the raw value instead of the formatted number for display on the network hashrate and difficulty charts so that low numbers like 0.00028363 are displayed properly instead of being rounded to 0
Joe Uhren
2022-10-14 13:13:46 -06:00
03f62a22dc
Remove jstransformer-markdown-it dependency -jstransformer-markdown-it was barely being used and its use as a dependency just isn't justified, so it has been removed -The network page was the only place where the markup plugin was used so the text was rewritten to no longer use the plugin
Joe Uhren
2022-09-22 19:50:52 -06:00
6078cd8733
Add sorting by protocol to get_peers function -Small change to help sort the peers list a bit better when filtering ports so that lower protocols drop off the list if there are multiple connections from the same ip with different protocols
Joe Uhren
2022-09-22 16:54:56 -06:00
7bbd8d80b4
Hide protocols before filter ports on network page -Moved the code around for filtering ports and protocols on the network page to prevent filtering too aggressively when there are multipl entries for an ip address in which the 1st record for a given ip happens to be on a protocol that will be filtered
Joe Uhren
2022-09-22 16:43:01 -06:00
408df1c9c9
port_filter option now allows hiding port -The port_filter settings for all 3 network page tables now support a -1 value which will completely hide the port from the associated table. If there are/were multiple ip addresses in the peers list with connections from different ports, this new option will consolidate those multiple records into a single entry since the port is no longer visible
Joe Uhren
2022-09-22 16:27:39 -06:00
a4363d1a98
Prevent scrolling on side menu close button click
Joe Uhren
2022-09-22 14:43:04 -06:00
a38284f2ae
Fix footer width calculations -The footer was being resized at the wrong width breakpoints because of an issue with determining the current width of the screen. If you had previously fine-tuned your page_footer.footer_height_xxx and page_footer.social_link_percent_height_xxx options, they may need to be readjusted to account for the new proper width breakpoints after this fix is applied
Joe Uhren
2022-09-18 17:00:17 -06:00
261c2b6d1d
Add side menu support + other core layout changes -A new side menu option was added for displaying menu items vertically on the left-hand side of the page -Added a new script called OverlayScrollbars v1.13.3 for displaying custom scrollbars on the mobile menu (both top and side menu) in the event that they extend beyond the visible screen -Updated the market menu dropdown colors to better match the base menu colors (default, light and dark colors only) -Updated the Exor theme to v3.0.1 with a few small fixes for displaying menu items in the side menu and updated market dropdown colors -Updated how the richlist pie chart is sized to prevent it from creating unnecessary scrollbars because of the side menu -Search field and button are now hidden in the top menu when the mobile menu is expanded to make it easier to scroll through menu items -Added a tooltip title to the top menu search and menu toggler buttons
Joe Uhren
2022-09-17 22:02:00 -06:00
ed96eb78a1
Fix peer sync for addresses without country data -Removed the check for country and country_code since not all ip addresses have country information and can cause a peer drop loop as a result -Updated the error msg text when port data is not found for existing peers
Joe Uhren
2022-08-10 19:09:28 -06:00
dbe0238587
Add Unnamed exchange to markets
Joe Uhren
2022-08-07 17:19:51 -06:00
e76461db7d
Fix divide by zero when calculating market change
Joe Uhren
2022-07-24 19:19:31 -06:00
07968c52eb
Add Txbit exchange to markets -Also updated the comments for some of the other markets in the settings.js and settings.json.template files
Joe Uhren
2022-07-24 19:06:26 -06:00
1178038710
Better handling of stop/kill sync processes -The SIGINT and SIGTERM signals are now being caught and handled in the sync.js file so that most options for syncing blocks, markets, peers, masternodes, etc. are now being gracefully shut down instead of killed in the middle of the process. This should help prevent data anomalies when you need to stop or kill a sync process -The update_tx_db function was moved from the database.js file into the sync.js file so that block syncs can now be gracefully stopped. The update_tx_db function was also copied to the benchmark.js -The save_tx function was moved into the module.exports for the database.js file so that it can now be called from outside the database.js file
Joe Uhren
2022-07-17 16:49:02 -06:00
bfbc50beda
Add support for vin/vout hashes inside an array -Some blockchains store certain vin or vout addresses within an array instead of as a simple string which would cause them to be read improperly by the explorer and result in transactions that were not attributed to the proper address. It also caused multiple inputs/outputs from the same address in a single transaction to not be grouped together like other transactions in the explorer
Joe Uhren
2022-07-17 14:28:58 -06:00
58bd8ffec8
Update website screenshot for readme
Joe Uhren
2022-07-09 20:25:10 -06:00
42a59abac2
Version bump to v1.101.0 + update UPGRADE file
Joe Uhren
2022-07-09 19:33:58 -06:00
41a62c9a29
Block/Transaction text updates -Locale string tx_hash was changed from "Hash" to "Tx Hash" to be clearer about which Hash it refers to -TXid was renamed to "Tx Hash" throughout the site -Removed the coin name from the tx hash label on the transaction page -Removed the coin name from the block hash label on the block page and changed the text "block" to "Block Hash"
Joe Uhren
2022-07-09 16:23:57 -06:00
e7fcc64e12
Rename header_logo.png to header-logo.png
Joe Uhren
2022-07-09 14:23:34 -06:00
27c29efb81
Add new arguments to the update script -Use the cmd npm run update-explorer "explorer-only" to update the explorer code only, without checking for out-of-date dependencies -Use the cmd npm run update-explorer "dependencies-only" to update outdated dependencies only, without checking for explorer code updates -Updated the README with the 2 new script arguments
Joe Uhren
2022-07-09 13:53:33 -06:00
e5d4c639d3
Add custom javascript file -The custom.js file can be used to add custom javascript code without affecting the ability to do a git pull update -Added a quick explanation of using the custom.js file in the "Configure Explorer Settings" section of the README
Joe Uhren
2022-07-06 21:50:00 -06:00
4681fa1e65
Network addnode table updates -Added "copy to clipboard" buttons to addnode tables -Addnode table data no longer wraps onto multiple lines when the data cannot fit on the screen
Joe Uhren
2022-07-06 21:10:01 -06:00
82abe8a675
Add missing error page title
Joe Uhren
2022-07-03 20:13:50 -06:00
5843b5d442
Fix for installs with spaces in the absolute path -If the explorer is installed to a directory that has a space character somewhere in the absolute path, the locking mechanism will not work correctly on non-windows computers and will cause undesired behavior without this fix
Joe Uhren
2022-07-03 20:00:07 -06:00
bae4d50087
Various core improvements and easier updating
Joe Uhren
2022-07-03 19:13:50 -06:00
8fa337f6f9
Network peer updates -Added a new port_filter setting to the 3 network_page tables which allows showing only results from peers on the selected port -Added a new hide_protocols setting to the 3 network_page tables which allows hiding results from peers on the selected protocols -Added a Port column to the data table on the Network page Connections tab -The data table on the Network page Connections tab is now sortable -The peer sync now refreshes data for peers that existed since last sync -Adding and updating peers now displays the port # in the log output -The /ext/getnetworkpeers api is now sorted by ip4/ip6, address and port which also means all data on the Network page is sorted this way by default as well -The /ext/getnetworkpeers api no longer requires the internal argument for calls originating from the Network page -The Network page now only makes a single call to the /ext/getnetworkpeers api instead of 3 calls -The find_peer and drop_peer functions now requiresa port to distinguish between multiple connections to the same peer on different ports
Joe Uhren
2022-07-01 21:11:57 -06:00
fb5ce795fa
Add Dex-Trade exchange to markets
Joe Uhren
2022-06-27 18:55:12 -06:00
2584fbda2a
Fix favicon path on pages with more than 1 slash
Joe Uhren
2022-06-26 21:02:29 -06:00
c4c09905bf
Add FreiExchange/FreiXLite exchange to markets -This exchange has 2 separate sites using the same api, so new functionality was added to the explorer to handle alt markets like this -market files now allow for new field names: "market_name_alt" was added for the alternate market name, "market_logo_alt" was added for displaying an alternate logo, a "market_url" function was added that will return a url string to replace the {url_prefix} code in the market_url_template and an "isAlt" function was added to determine if the alt name/logo should be used -A new freiexchange entry was added to the markets_page.exchanges setting -Updated the README with the updated market info
Joe Uhren
2022-06-26 20:48:13 -06:00
c64cc24e04
Add support for getblockchaininfo rpc cmd -sync.supply setting now allows getting moneysupply from getblockchaininfo cmd -README updated with info abour getblockchaininfo cmd
Joe Uhren
2022-06-24 21:12:35 -06:00
57b6dd72a9
Fix network difficulty chart for hybrid coins -Difficulty chart would fail to populate if the shared_pages.difficulty setting was 'Hybrid' and is now handled properly. The chart now supports 2 datasets: POW and POS -NetworkHistory.difficulty field was renamed to difficulty_pow and a new difficulty_pos field was added -The shared_pages.page_header.network_charts.difficulty_chart.line_color setting was renamed to pow_line_color -The shared_pages.page_header.network_charts.difficulty_chart.fill_color setting was renamed to pow_fill_color
Joe Uhren
2022-06-24 19:43:02 -06:00
9df2bf4024
Favicon updated to use 4 different sizes -Instead of using a single file for the favicon, there are now 4 size options for a more modern favicon experience as inspired by this article: https://www.emergeinteractive.com/insights/detail/The-Essentials-of-FavIcons/ -Old default favicon file has been replaced with 4 different sized pngs -Not all sizes need to be set. If any of the new settings are left blank or the filename does not exist, that favicon size will be skipped
Joe Uhren
2022-06-18 14:19:52 -06:00
40d367510d
Better special char support for mongo user/pass -URL encoding the mongo username and password helps prevent connection issues when using certain special characters such as % or @ for example
Joe Uhren
2022-06-13 19:37:48 -06:00
d838970d66
Add "bind EACCES" error msg to known issues
Joe Uhren
2022-06-13 19:20:28 -06:00
d973979b62
Use newer production flag for initial install
Joe Uhren
2022-06-12 19:55:37 -06:00
0ad940c8e4
Package.json updates -Added pm2 and forever to the dev dependencies list to help prevent package.json from being automatically updated/changed in production which could make git pull fail due to the changes -Both dependencies and dev dependencies sections have been sorted alphabetically to also help prevent auto package.json changes -All dependency version numbers have been updated to the latest versions as of today
Joe Uhren
2022-06-12 19:36:17 -06:00
2841f67b94
Fix crex24 market chart -Chart data was pulling the last 100 trades within 15m intervals but was often returning data well beyond the 24h time period and could lead to some unreadable/unusable charts
Joe Uhren
2022-06-04 16:07:45 -06:00
bf1781af29
Rename homepage screenshot to prevent caching
Joe Uhren
2022-06-03 19:48:01 -06:00
22e3003bb3
Update website screenshot for readme
Joe Uhren
2022-06-03 19:42:56 -06:00
e1a73362ef
Version bump to v1.100.0 + update UPGRADE file
Joe Uhren
2022-05-29 15:49:52 -06:00
2d976eaf59
Add custom stylesheet -The custom.scss file can be used to add custom css changes without affecting the ability to do a git pull update -Added a quick explanation of using the custom.scss file in the "Configure Explorer Settings" section of the README
Joe Uhren
2022-05-15 21:28:11 -06:00
bdae838d62
More README changes -Added a few badges to the top of the README (version, release date, last commit, platform and license) -Added a new svg image as a README badge for platform support -Moved the "Special Thanks" section closer to the bottom of the README and added a link to it in the TOC -Removed the "Open Bounty Program" section -Added a "Premium Support" section -Updated the pre-install instructions -Replaced the broken "Iquidus Block Explorer Setup Guide" link with another guide called "Beginners Guide for Iquidus Explorer Setup" and re-added "The Ultimate Iquidus Explorer Installation Guide" from WayBackMachine -"How You Can Support Us" section renamed to "Donations / Support Us" -Rewrote some of the text for the "Donations / Support Us" section
Joe Uhren
2022-05-02 20:24:29 -06:00
53db9185f8
Small README change to "Delete Database" section
Joe Uhren
2022-05-01 15:04:11 -06:00
f113fde981
Add update-explorer script -Added new script to A) grab the latest code form github, B) update all dependencies, and C) run the database initialize function to ensure new changes take effect immidiately -Updated README to explain the new explorer update function
Joe Uhren
2022-05-01 15:00:34 -06:00
44caca42b1
Geolocation update for peer sync -freegeoip.app now requires an api key so the peer sync has been updated to use reallyfreegeoip.org instead -Added extra error checking to the peer sync so that it will error out when the geolocation service does not return a proper object
Joe Uhren
2022-04-30 21:27:12 -06:00
d7c18a48f5
Improved (sync/backup) scripts + misc updates -Added locks to all sync processes (blocks, markets, peers, masternodes) as well as "create backup", "restore backup" and "delete database" functions. This helps prevent problems with syncing data while a backup is in progress for example -The code to initialize certain database collections on startup was moved into database.js and is now called from restore_backup.js and delete_database.js. This effectively allows the database to be deleted or restored to a completely different backup while the explorer is still running -Lock functions (create_lock, remove_lock, is_locked) were moved into explorer.js for better reusability and rewriten to be synchronous -is_locked function now accepts an array of lock files to be able to check for multiple locks in a single call -remove_sync_message() function was moved into database.js so that restore_backup.js and delete_database.js can also check for and remove the sync msg if it exists -Useful Scripts section updated in the README to make it clear that the explorer no longer needs to be stopped for these scripts to be run -Most if not all log messages now start with a capitlal letter
Joe Uhren
2022-04-30 20:53:10 -06:00
8e32e294b7
Cross-platform support (Win, MacOS, Linux) -All shell scripts have been removed and replaced with javascript equivalents which allows for better platform independence -All scripts have been improved over the older shell scripts to be more functional and dynamic -Updated all applicable cmds in the package.json to target the new js scripts + added the backup, restore and delete database functions to the list -Removed the json and strip-json-comments-cli packages as they are no longer needed -Added a new package realine-sync -Updated cluster code with better Windows support when shutting down the explorer -Backup and Restore scripts now use mongo's own encryption instead of tar.gz by default. Older tar.gz backups can still be restored as long as the tar.gz suffix is explicitly added -Backup and Restore scripts now support connecting to remote database based on the mongo details in settings.json -Updated README to include a new line for the 'platform independence' feature, updated script cmds and notes about certain steps being Linux only
Joe Uhren
2022-04-23 11:28:32 -06:00
5eeb6ed0c0
Add link to exchange on markets page -Added new setting 'show_exchange_url' which hides/shows the exchange link -Updated all exchanges with a trade url template which can be used to automatically determine the correct url for each trading pair
Joe Uhren
2022-04-12 13:34:18 -06:00
6d3bceb4df
Add git commit id to end of explorer version
Joe Uhren
2022-04-11 14:43:02 -06:00
e9cf83517f
Fix ipv6 addnodes on network page
Joe Uhren
2022-04-11 13:18:48 -06:00
aa1765d8d9
Add 2 network charts to page header -Hashrate chart is populated from get_hashrate -Difficulty chart is populated from get_difficulty -Added a networkhistories collection to hold the new network data -Index sync and resync functions now check for and update network history data at the end of the sync process -restore_backup.sh and delete_database.sh scripts now drop the new networkhistories collection -Added a new javascript library chartjs-plugin-crosshair which adds crosshair functionality to the new chart.js line charts -Added new settings to settings.json for controlling things like collecting network_history data, independently enabling/disabling the network charts and changing colors of various aspects of the charts -Updated README to introduce the network charts and added a line for the chartjs-plugin-crosshair library
Joe Uhren
2022-04-11 01:37:27 -06:00
f4f569a5db
Remove duplicate show_panels settings
Joe Uhren
2022-04-10 23:15:28 -06:00
61595a1ba6
Index/Update improvement -Shifted some of the code around to be run in a better order (for example, blockchain_last_updated date is set right after finishing the blockchain sync instead of at the very end of the reindex)
Joe Uhren
2022-03-19 19:38:21 -06:00
835a83283f
Fix and move heavycoin update -update_heavy has been moved into a proper callback function which is now only called for index and reindex syncs right near the end of the process instead of at the beginning
Joe Uhren
2022-03-19 19:27:17 -06:00
cd05484ba5
Reindex tweaks and improvements -Added an "Are you sure" prompt before starting the reindex to make it clear that this is a destructive sync option -All necessary coin stat data is cleared before starting the resync (txes, blockchain_last_updated and richlist_last_updated were not previously being cleared) -More and better messages about what is being done during the process -Shifted some of the code around to be run in a better order (for example, blockchain_last_updated date is set right after finishing the blockchain sync instead of at the very end of the reindex)
Joe Uhren
2022-03-19 18:44:36 -06:00
26a35700d4
Add unique page titles for each individual page
Joe Uhren
2022-03-19 16:15:34 -06:00
a063bea77c
Prevent caching of local css files
Joe Uhren
2022-03-12 21:40:19 -07:00
e8a0b7cc8f
Fix theme directory names
Joe Uhren
2022-03-12 19:33:07 -08:00
6cecf2f834
Update copyright year to 2022
Joe Uhren
2022-03-12 18:32:30 -07:00
49431bbfaf
Upgrade bootstrap to v5.1.3 + tons of UI tweaks -Bootstrap was upgraded to latest version (v5.1.3) which required tons of changes to the UI. Many little UI problems have been resolved -Bootswatchs themes have all been upgraded to support bootstrap v5.1.3 + 4 new themes were added (Morph, Quartz, Vapor and Zephyr) -Exor theme upgraded to v3.0.0 with support for bootstrap v5.1.3 -Many layout and UI improvements such as more consistent hover effects on most tables and more readable text across all themes
Joe Uhren
2022-03-12 18:24:24 -07:00
44bdcd9946
Better error msg when using older nodejs version -Older versions of nodejs will throw all kinds of different errors depending on which version you are running. This check should hopefully prevent confusion about why the explorer is not working by giving a clearer error message before the explorer starts
Joe Uhren
2021-12-07 19:00:35 -07:00
fafa6e5279
Better market error during sync
Joe Uhren
2021-12-04 18:12:31 -07:00
a47baa1928
Update all script libraries (except bootstrap) -jQuery updated to v3.6.0 -DataTables updated to v1.11.3 -FontAwesome updated to v5.15.4 -Luxon updated to v2.1.1 (Removed js file from project and added CDN url) -jqPlot (No update in version but removed js/css files from project and added CDN urls) -Chart.js updated to v3.6.1 (Removed js file from project and added CDN url + fixed breaking changes in Reward page) -flag-icon-css updated to v4.1.4 (Removed source files from project and added CDN url)
Joe Uhren
2021-12-04 17:54:52 -07:00
59cee58cb0
Update node dependencies + fix breaking changes -All node dependencies are up-to-date in package.json -Updated semantic versioning of some node dependencies in package.json -Applied fixes to necessary explorer files to fix breaking changes to mongoose dependency -Update README with new Node.js and MongoDB version recommendations
Joe Uhren
2021-12-04 12:44:35 -07:00
f0908fd176
Add optional block_start parameter to check mode
Joe Uhren
2021-11-21 19:15:42 -07:00
e5e1887401
Check mode no longer updates the last block height -Also add output displaying which block is currently being checked as before it was almost impossible to determine what, if anything was happening in check mode
Joe Uhren
2021-11-21 18:09:06 -07:00
930b9c4eca
Add .npmrc file for cleaner npm error msgs
Joe Uhren
2021-11-21 13:31:42 -07:00
4d202714fd
Add new npm scripts for explorer operations -New npm scripts make syncing and running other explorer tasks easier, without needing to remember longer command syntax -Updated README to explain new npm scripts and give recommendations on their usage. Also update sample crontab section
Joe Uhren
2021-11-21 13:30:26 -07:00
5d5719dfef
Updated check mode verbiage -Remove reference to index_timeout setting which doesn't exist and add reference to sync.update_timeout
Joe Uhren
2021-11-21 13:22:24 -07:00
054ac86db3
Add support for reading scriptPubKey.address
Joe Uhren
2021-11-20 11:02:29 -07:00