Dan Janosik
0a4ccfb13b
Fix for "utils.logError" references inside utils.js
6 years ago
Dan Janosik
6d8e4b4134
more consistent use of "debug"/utils.logError for logging
6 years ago
Dan Janosik
3e8b092e86
Support for pluggable Address APIs (work on #118 and #119 )
Move closer to the original vision of supporting any address-querying implementation desired. Current options include ElectrumX (as before) and now blockchain.com and blockcypher.com since they were easy to support and are publicly/easily available (though ridiculously neither is yet to support bc1 addresses).
- new env var option BTCEXP_ADDRESS_API, value can be electrumx, blockchain.com, blockcypher.com
- update ElectrumX client connect to request v1.4 of API as all clients are now supposed to do
- misc frontend improvements/cleanup for addresses
6 years ago
Dan Janosik
bb28dda9cf
lots of log improvements: use debug and utils.logError more
6 years ago
Dan Janosik
076ccfc96d
Fix #115 and related tweaks
6 years ago
Dan Janosik
823fd04022
more minor improvements to currency display
6 years ago
Dan Janosik
6db2516446
back to ipstack for geo-loc ips (ip-api blocked too much); redis caching for ips when active; redis-caching code reorg;
6 years ago
Dan Janosik
c22c3d3124
avoid unhandled rejection in edge case
6 years ago
Dan Janosik
69082ad523
log mem usage and uptime, trying to identify cause of frequent crashes on demo site
6 years ago
Dan Janosik
324e8e834c
ditch ipstack.com for free ip-api.com; formalize concept of privacyMode; env-var-use cleanup; /peers improvements;
6 years ago
Dan Janosik
348de5b19a
UX tweaks and support for donations via BTCPay
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
6 years ago
Dan Janosik
ce02f3f444
minor cleanup
- cleaner startup for influx when configured
- add back exchange-rate logging that was accidentally deleted
6 years ago
Dan Janosik
d2f3719bf1
minor follow-ups to shesek's excellent changes:
- 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
6 years ago
Nadav Ivgi
bfcbcd07a4
Add --no-rates to disable fetching of currency exchange rates
6 years ago
Dan Janosik
e9e8b57d3f
exchange rate / currency improvements:
- support for multiple currency exchange rates
- support for inline display of exchange currencies
- a little frontend cleanup
6 years ago
Dan Janosik
a6bb578850
support for per-coin exchange rate
6 years ago
Dan Janosik
9651a4c157
exchange rate logging to influxdb
6 years ago
Dan Janosik
9b3b2dbfba
logging and comment cleanup
6 years ago
Dan Janosik
da295d0587
fix for formatting small numbers
6 years ago
Dan Janosik
90b9cd9ddc
more armor for #45
7 years ago
Dan Janosik
f20cb81483
more work on #45
7 years ago
Dan Janosik
a2dec037ba
more debugging/armor for #45
7 years ago
Dan Janosik
2ba40269bf
code formatting
7 years ago
Dan Janosik
da4adedc05
minor reorganization, prepping for code reuse improvements
7 years ago
Dan Janosik
20f1dc2f44
- more style consistency
- 2 decimal places for fee/byte on mempool summary
7 years ago
Dan Janosik
68bcb91ab4
support for multiple mining-pool configs of the same format
7 years ago
Dan Janosik
fd9cc6d232
remove old utils.formatBytes and replace with new, flexible utils.formatLargeNumber
7 years ago
Dan Janosik
b8095c9625
add map and some organization to /peers
7 years ago
Dan Janosik
69895f82ad
prepping for geo-locating peers by ip
7 years ago
Dan Janosik
9c75f0fe42
- add more detail/explanation to "chainwork" values on block details
- minor ui tweaks
7 years ago
Dan Janosik
6ad03fa0ee
cleanup, simplification and more ui tweaks
7 years ago
Dan Janosik
2c080e52a4
formatting improvements to homepage network summary
7 years ago
Dan Janosik
37db8daa19
fix for block-total-fees calculation bug when coinbase tx value is split across multiple addresses, ala block #531942
7 years ago
Dan Janosik
7793d08a72
minor reorganization
7 years ago
Dan Janosik
07615e09f2
fix for faulty assumption: the collected value of a coinbase transaction is not always index zero in "vout"
7 years ago
Dan Janosik
d5f97699bc
cleanup / reorganize
7 years ago
Dan Janosik
050c9f4148
show avg fee in blocks lists
7 years ago
Dan Janosik
8bd1df2bc7
armor
7 years ago
Dan Janosik
018207323e
reimplement getBlockByHashWithTransactions (the main call driving block pages) to move logic into coreApi where it can be cached better
7 years ago
Dan Janosik
ab5a75d17c
caching support
7 years ago
Dan Janosik
83577f28ec
remove unused
7 years ago
Dan Janosik
e4eef424ab
split out credentials from the rest of the site config and do some renaming
7 years ago
Dan Janosik
3b70ec976d
cleanup for recent changes
7 years ago
Dan Janosik
a775ef860c
minor formatting fix
7 years ago
Dan Janosik
a4773badb8
minor tweaks
7 years ago
Dan Janosik
9ee84ccc2c
use coin-specific block-reward schedule (litecoin was wrong)
7 years ago
Dan Janosik
56b1d0c5b1
display exchange-rate values (currently from coinmarketcap, but easy to configure to use other sources) next to primary currency values
7 years ago
Dan Janosik
f6bbe518d1
improvements to currency value formatting
7 years ago
Dan Janosik
154db1f871
fix for rounding errors in value outputs
7 years ago
Dan Janosik
70b28ff52c
Fix #4
Abstracted Bitcoin content into coins.js. Added support for Litecoin.
7 years ago