Dan Janosik
c897198128
update dependencies to latest and in the future accept more minor version updates
5 years ago
Dan Janosik
75ccb9e646
Fix #158
5 years ago
Dan Janosik
e57f14a043
- clarify use/naming for global rpc client
- add new no-timeout rpc client and use for manual rpc interfaces (terminal/browser)
5 years ago
Dan Janosik
a1e02a9834
Add back missing peers map - Fix #152
5 years ago
Dan Janosik
b81584a0f1
Add several blacklist-by-default commands
These were all "hidden" commands that aren't returned by "help". See, for example: https://github.com/bitcoin/bitcoin/blob/master/src/rpc/blockchain.cpp#L2280
Fixes #151
5 years ago
Dan Janosik
f5fb54df08
frontend tweaks to /mempool-summary
- when max tx age is over 10 mins, use minutes on chart labels instead of seconds
- card ui around different sections for better visual separation
5 years ago
Dan Janosik
7d8a99868b
More reliable display of /unconfirmed-tx and /mempool-summary
Calling getrawmempool with true is slow because the node needs to pull all tx mempool details before returning anything. This change instead calls getrawmempool with false, followed by individual requests for tx mempool entries which we submit in parallel up to the configured concurrency limit. This provides some safety against running into the RPC timeout that was previously common (when calling getrawmempool(true)) with large mempools. In addition to greater reliability in large-mempool scenarios, this change significantly improves the performance of the /unconfirmed-tx page in particular - because that page only cares about 20 tx mempool entries at a time; previously we were waiting for the node to query all mempool tx entries and throwing away the vast majority of the returned data.
Fixes #127
5 years ago
Dan Janosik
6f5d127fd9
don't query ipstack with "undefined" api key
5 years ago
pendingbot
7ae1d03caa
Add blacklist command(createwallet)
6 years ago
Dan Janosik
b4bdc00fe0
remove distracting, unmaintained influx integration, Fix #121
6 years ago
Dan Janosik
604af092e3
updated dependencies
6 years ago
Dan Janosik
e6fd90eeb4
Add ancestors/descendants to tx details page, fixes #126
6 years ago
Dan Janosik
7c46f800f7
Show spent/unspent status for outputs on tx pages
6 years ago
Dan Janosik
d5c7a07848
properly show 2 decimal places for exchanged amts
6 years ago
Dan Janosik
ba1f446b38
Fix #120
6 years ago
Dan Janosik
f852f42de5
fix to avoid caching unconfirmed txs
6 years ago
Dan Janosik
cab4cf6a8c
Fix for blockchair addressApi which doesn't give block heights for txids
6 years ago
Dan Janosik
0a4ccfb13b
Fix for "utils.logError" references inside utils.js
6 years ago
Dan Janosik
da6e56976f
Fix #117
6 years ago
Dan Janosik
ea3d7a812b
add missing require
6 years ago
Dan Janosik
d6bc66384c
support for addressApi=blockchair.com
thanks for suggestion @LiveBit_io
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
8e1688adea
Fix #111
6 years ago
Dan Janosik
bcb565dfcc
lnd-admin links
6 years ago
Dan Janosik
823fd04022
more minor improvements to currency display
6 years ago
Dan Janosik
6be14439d5
env var to show/hide tools subheader nav (default: show)
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
be9c3ccb62
avoid using promise.finally() which isn't well supported - hopefully fixes #108
6 years ago
Dan Janosik
c22c3d3124
avoid unhandled rejection in edge case
6 years ago
Dan Janosik
cd770861cf
fix for genesis coinbase tx after recent code reorganization
6 years ago
Dan Janosik
63557face7
armor for handling block/tx querying on bitcoind 0.17.1
6 years ago
Dan Janosik
971bf383b7
fix for coinbase transactions with recent caching changes
6 years ago
Dan Janosik
c3309173eb
logging
6 years ago
Dan Janosik
69d4d65309
move more logic from rpcApi -> coreApi to keep rpcApi as simple/clean as possible
this also properly includes getHelp and getRpcMethodHelp in the concurrency/queueing flows
6 years ago
Dan Janosik
0039d0ed35
minor code tweak
6 years ago
Dan Janosik
ff87228094
concurrency fixes for using "async/queue" improperly
6 years ago
Dan Janosik
941a565e8c
logging
6 years ago
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
6 years ago
Dan Janosik
5944412fd3
typo
6 years ago
Dan Janosik
a9fda2052c
armor
6 years ago
Dan Janosik
c2ce4de4c9
support for disabling influx by setting BTCEXP_ENABLE_INFLUXDB=false
6 years ago
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)
6 years ago
Dan Janosik
a6a880c457
logging cleanup
6 years ago
Dan Janosik
1614e9b602
track request time and heap before/after; add more missing rejection handling
6 years ago
Dan Janosik
6dee201505
longer tx-stats caching; fewer pts for homepage tx-stats graph
6 years ago
Dan Janosik
a8c5c449e5
debug logging; handle a missing rejection
6 years ago
Dan Janosik
69082ad523
log mem usage and uptime, trying to identify cause of frequent crashes on demo site
6 years ago