- Fix colors for data-tags in dark theme
- Drop the "integrity" tag on /dark-touchups.css to avoid driving myself crazy
- Remove bottom margins on "pre" tags
- Mem stats above Cache stats on /admin
- new /tools landing page for tools
- include subsidy and fees in volume value in blocks lists (homepage and /blocks), for consistency
- reorganize and cleanup changelog entry for 2.0
- misc minor frontend work
- for huge tx: shrink input/output index numbers and don't include thousands separator
- move JSON displays into cards for UI consistency
- tons of frontend code consistency cleanup
- updated bootstrap with thinner column gutters (to avoid the col-lg-left/col-lg-right business I was hacking)
- remove npm links from demo homepage banner
- new /block-analysis tool for summarizing data for all tx within a given block
- include subsidy and tx fees in volume displays (on homepage network summary and on block details pages)
- misc minor styling and frontend ux tweaks
Changelog additions:
* Optional querying of UTXO set summary
* Note: this is disabled by default to protect slow nodes. Set 'BTCEXP_SLOW_DEVICE_MODE' to false in your `.env` file to enjoy this feature.
* More data in homepage "Network Summary":
* Fee estimates (estimatesmartfee) for 1, 6, 144, 1008 blocks
* Hashrate estimate for 1+7 days
* New item for 'Chain Rewrite Days', using 7day hashrate
* New data based on optional UTXO set summary (see note above):
* UTXO set size
* Total coins in circulation
* Market cap
* Tweaks to data in blocks lists:
* Simpler timestamp formatting for easy reading
* Include "Time-to-Mine" (TTM) for each block (with green/red highlighting for "fast"/"slow" (<5min/>15min) blocks)
* Display average fee in sat/vB
* Add total fees display
* Demote display of "block size" value to hover
* Show weight in kWu instead of Wu
* Zero-indexing for tx inputs/outputs (#173)
* Labels for transaction output types
* Configurable UI "sub-header" links
* Tweaked styling
- Also lots of frontend code cleanup (moving to more consistent pug-style class designations)
* display chain/network in header if not mainnet
* indicate active chain/network in startup log
* specify which chain/network "fun" items apply to and only show them for that chain
* don't display exchange rates for testnet/regtest
* use block interval of 150 for regtest halving
* regtest hacks: since getblockchaininfo.blocks=0 on a default regtest node despite the genesis block existing, hack in a couple of places in order to display the genesis block
* fix /peers page to not throw error with no connections
- footer: full-width to match header; remove bottom border
- extraneous padding removed from some tx lists
- fix some card-body wrapping issues for paginations at bottom
all for demo site only:
- remove github's javascript buttons from homepage in favor of github-api-request followed by self-rendered buttons
- donation modal with support for BTCPay-backed donations of set denominations and hidden-but-expandable old donation addresses
- tweak footer style and remove old donation addresses in favor of another donation button that shows the modal
It might not be when installing btc-rpc-explorer globally (npm install -g).
Without this, running btc-rpc-explorer without .git resulted in:
fatal: Not a git repository (or any parent up to mount point /home/user)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Unhandled Rejection at: Promise Promise {
<rejected> TypeError: Cannot read property 'all' of null
at btc-rpc-explorer/app.js:334:35
- updated package-lock
- include sample .env file for easy reference
- continue to support key-by-key updating from credentials.js for now
- minor code formatting
- reflect status of BTCEXP_NO_RATES in UI when applicable (hide new exchanged-currency items from display dropdown and hide exchange rate on homepage)
- rename _LOGIN to _BASIC_AUTH_PASSWORD for clarity
- tweak README to call out .env-sample