Commit graph

43 commits

Author SHA1 Message Date
Dan Janosik
5a6f181852
configurable rate limiting 2024-11-07 15:52:15 -05:00
Dan Janosik
29d7c76dd4
fixes related to s3/cloudfront asset uploading 2023-04-18 10:45:23 -04:00
Dan Janosik
bedf324af8
drop site_domain config option
it was added to try to fix clipboard copying, but it didn't fix that and a different local/non-secure site workaround has been implemented.
2023-04-12 12:02:09 -04:00
Dan Janosik
ee055782c4
Session-related changes:
-use prod-ready MemoryStore
-support for setting site_domain and secure_site which affect the session cookie
2023-03-31 10:51:17 -04:00
Dan Janosik
5740b0572b
Various frontend asset changes
-support for accessing resources via a configurable CDN (probably cloudfront, backed by S3, as I plan to use for the public demo site)
-move resource integrity hashes into a single file (generated by "npm run integrity") for easier maintenance
-cleanup some startup logic
-more updated dependencies
2022-04-28 22:44:03 -04:00
Dan Janosik
4e0e1183b0
Add some documentation relating to electrs txindex
Helps address #385 for others going forward.
2021-12-03 12:12:19 -05:00
Dan Janosik
b3a19ada1c
env var for hiding info notes (and update changelog with new env vars)
Fixes #371
2021-12-02 20:40:50 -05:00
Dan Janosik
602992ee44
cleanup and start on local timezone support 2021-11-05 10:57:28 -04:00
Dan Janosik
faef9fbbf0
env var for filesystem cache dir 2021-05-21 11:25:59 -04:00
Dan Janosik
42c9a6803b
support for plausible.io analytics 2021-04-13 20:23:26 -04:00
Dan Janosik
286ee73e1b
ENV vars rename: "ElectrumX" -> "Electrum"
To more clearly acknowledge that any Electrum-protocol implementation can be configured for address queries, the names of variables explicitly named "ElectrumX" have been changed to "Electrum". Backward compatibility with any clients using the old names is meant to be preserved.
2021-04-07 17:24:44 -04:00
Dan Janosik
8063154b74
Merge remote-tracking branch 'tyzbit/configurable-mapbox' into feature-v3-maps 2021-04-02 11:35:20 -04:00
Dan Janosik
6b4cd3831c
smarter defaults for slowDeviceMode; config cleanup 2021-04-01 13:26:16 -04:00
Dan Janosik
1b3264ef3c
Massive commit for majority of v3.0:
- major visual refresh - new design, layout, fonts, colors, icons, etc
- new dark theme, now the default
- new app icon ("Bitcoin Map Marker")
- cleaner, simpler homepage content
- css for light/dark themes built from scss ("npm run css")
- theme-switcher button in footer, instead of checked items in header dropdown
- cleanup header links and dropdowns, and larger search box
- url change: /unconfirmed-tx -> /mempool-tx
- support for "estimated coin supply" used at startup or on slow devices when UTXO set unavailable
- display fee rate along with TX details on /mempool-tx
- copy-to-clipboard added for lots of longer strings
- major code reuse improvements with pug mixins
- simplify userSettings
- minor error handling improvements for /tx pages in prune/noTxIndex situations
- query fewer tx inputs on /address pages for performance
- exponents on /difficulty-history graph labels
- fixed colors of labels/gridlines on graphs (esp in dark theme)
- drop LTC config (no longer maintained)
- /admin/resetUserSettings
2021-03-31 17:45:47 -04:00
Dan Janosik
1049c74d5e
Fix #286 (and close #292)
Thanks @pointbiz. Just tweaked from your PR.
2021-03-16 14:00:45 -04:00
tyzbit
c18a0a41c0
Merge branch 'master' into configurable-mapbox 2021-02-25 20:00:12 -05:00
Nadav Ivgi
bea32a6af5
Lookup txid in external Electrum txindex
This only works with Electrs and requires enabling BTCEXP_ELECTRUM_TXINDEX.

See: a0a3d4f939
2021-02-19 15:46:38 +02:00
Nadav Ivgi
f02f98e08b
Try looking up txids in wallet transactions and recent blocks 2021-02-14 07:25:39 +02:00
Tyzbit
67249b0340 configurable mapbox apikey, update mapbox api 2021-01-31 15:04:20 -05:00
Dan Janosik
a383439521
Add missing blockchair.com from address api list
Thanks for catching this @jaonoctus
2021-01-15 16:30:45 +00:00
Dan Janosik
50b43183de
testing looking good for sso, some last minute cleanup 2020-12-14 15:50:05 -05:00
Dan Janosik
c5a73400f0
minor stylistic cleanup 2020-12-13 14:18:10 -05:00
Martin Habovstiak
b03c47568f Added documentation of the SSO feature 2020-12-10 08:48:08 +01:00
Dan Janosik
a426bb4f7e
Cleanup for BASEURL merge:
- cleanup whitespace in fonts.css and add leading "./" for url consistency
- update "integrity" attribute for fonts.css linked in layout.pug
- despite .env-sample clearly indicating that leading/trailing slash is needed, be forgiving for both (I obviously didn't read the sample carefully when testing...whoops)
- print the host/port/baseurl as part of startup logging
2020-12-07 15:03:51 -05:00
ketominer
b8eb3b2e55 Added support for BTCEXP_BASEURL 2020-05-06 23:47:53 +02:00
Dan Janosik
44a29e8ed9
Working toward medium-size update v1.2.0:
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)
2020-03-13 13:30:19 -04:00
Dan Janosik
b18fe3ff77
denote default values 2019-10-01 01:46:40 +00:00
Dan Janosik
b87e0cf0b4
Docs about logging options; default logging setting; Fixes #128 2019-08-11 17:33:03 -04:00
Dan Janosik
b4bdc00fe0
remove distracting, unmaintained influx integration, Fix #121 2019-08-11 17:21:21 -04:00
Dan Janosik
d6bc66384c
support for addressApi=blockchair.com
thanks for suggestion @LiveBit_io
2019-04-27 11:20:13 -04:00
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
2019-04-25 14:30:02 -04:00
Dan Janosik
8e1688adea
Fix #111 2019-04-09 14:28:35 -04:00
Dan Janosik
6be14439d5
env var to show/hide tools subheader nav (default: show) 2019-03-12 21:58:49 -04:00
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; 2019-03-11 14:18:19 -04:00
Dan Janosik
c1082c0b4f
concurrency + simplicity improvements for rpcApi:
- support for configurable RPC concurrency level (default 10, to be under bitcoind default "rpcworkqueue=16")
- queue up requests to prevent overloading RPC work queue of bitcoind
- simplify / cleanup rpcApi
2019-03-03 16:30:12 -05:00
Dan Janosik
f586e81585
overhaul of RPC caching logic
- support for redis RPC caching
- support for disabling in-memory RPC caching
- skip caching many-input transactions
- cleanup/simplify caching logic for bulk functions (getBlocksByHeight, getBlocksByHash, getRawTransactions)
2019-02-28 23:43:36 -05:00
Dan Janosik
b9d8013ce3
support for setting max memory for app 2019-02-26 00:06:59 -05:00
Dan Janosik
324e8e834c
ditch ipstack.com for free ip-api.com; formalize concept of privacyMode; env-var-use cleanup; /peers improvements; 2019-02-25 15:35:57 -05:00
Dan Janosik
1b4ee6185d
include _HOST in .env-sample 2019-02-09 10:58:28 -05:00
Freddy
a7cc9751b9 Fix incorrect spaces in .env sample 2019-02-09 14:48:50 +02:00
Dan Janosik
75eca79daa documentation/logging improvements for rpc cookie usage 2019-02-07 15:07:17 -05:00
Dan Janosik
057fea2fbb more config related cleanup:
- configure electrumX servers with the same mechanisms as everything else
- include _PORT and _ELECTRUMX_SERVERS configs in .env-sample
- drop support for overriding configs via app/credentials.js, and use that filename for the new, dynamic, env-based credentials config file
2019-02-07 13:31:52 -05:00
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
2019-02-06 23:00:04 -05:00