Commit graph

20 commits

Author SHA1 Message Date
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
8ab1ddc915
More work related to #219
Stop using type=boolean for args via cli since they force the default value false. Rather, use the default-setting code in config.js for both cli args and env vars.

Also add some additional logging to help debugging issues like this in the future
2020-06-22 14:28:55 -04:00
Dan Janosik
56438f8aba
Fix #219
Don't set default for "slowDeviceMode" arg because doing so prevents "dotenv" from setting that value even if it's in your .env file (it's a key design criteria of dotenv to not override any existing value). The default value is already set in config.js, so we're fine just dropping it here.
2020-06-21 17:09:00 -04:00
Dan Janosik
cf326b63f8
Fix #206
Don't assume format of var name from bool-value default
2020-05-27 17:04:55 -04:00
Dan Janosik
1da24863cd
Whitespace cleanup 2020-05-27 17:01:04 -04:00
Dan Janosik
c2f6870fc0
Optional querying of utxo set:
For use with future features. Disabled by default to protect slow devices.
2020-03-10 17:50:28 -04:00
Dan Janosik
1ce84cda5d
cleanup some remnants of old influx feature 2020-01-09 14:11:47 -05: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
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
Nadav Ivgi
614ed5b080 Allow configuring HTTP server bind address via BTCEXP_HOST 2019-02-09 17:16:32 +02:00
Nadav Ivgi
238ecda990 Update CLI utility with BASIC_AUTH_PASSWORD & ELECTRUMX_SERVERS, alias --coin as -C 2019-02-08 03:45:47 +02:00
Nadav Ivgi
769ab9f660 New configuration options: BTCEXP_RPC_ALLOWALL and BTCEXP_RPC_BLACKLIST 2019-02-05 22:00:53 +02:00
Nadav Ivgi
bfcbcd07a4 Add --no-rates to disable fetching of currency exchange rates 2019-02-05 22:00:18 +02:00
Nadav Ivgi
99e2ac2051 Accept bitcoind rpc and influxdb options as a connection URI 2019-02-05 21:59:40 +02:00
Nadav Ivgi
ab98ff41ed Add optional password protection 2019-02-05 21:58:50 +02:00
Nadav Ivgi
37c962e30e Derive cookie secret using bitcoind's rpc credentials
This ensures a unique, hard-to-guess cookie secret for every instance.

Also, renamed from "cookiePassword" to "cookieSecret" to better express
its meaning.
2019-02-05 21:57:29 +02:00
Nadav Ivgi
8b175c8110 Add CLI utility 2019-02-05 21:56:43 +02:00