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
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
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
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
cfd4a2b5d7
tx-rate graph on homepage; more graphs on /tx-stats; misc minor stuff
- pull in chart.js and add integrity attribute
- move common tx-stats code to utils
- use bootstrap progress bars for block fullness in blocks-lists (moving away from radial progress which includes too much css and can be finicky)
- clean / reorg frontend code for graphs and homepage network summary
6 years ago
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
6 years ago
Daniel McNally
542142a719
configurable electrumx server protocol
This makes the protocol (either `tcp` or `tls`) for the electrum server
configurable, to allow communicating with an electrum server without tls
encryption.
6 years ago
Dan Janosik
5abe069168
- general improved error handling for address pages
- specific handling of long-history address errors - issue #67 - with user-visible messaging
6 years ago
Dan Janosik
8588c56b61
tweaking electrum connection logic to try to deal with disconnect errors
6 years ago
Dan Janosik
30ba103cdd
Misc:
- improved electrum connection code
- support for address "Fun" items
- inclusion of "Satoshi Nakamoto" brainwallet address fun item
6 years ago
Dan Janosik
2af05db385
better error handling when searching
before this change, searching for a 64-char string that didn't correspond to a block hash would fail due to lack of proper error handling on the RpcError response when running the interpret-string-as-blockhash step
6 years ago
Dan Janosik
6b88f9e08d
fixes for displaying addresses that have no transactions
6 years ago
Dan Janosik
7c9d9555db
call electrum-client's initElectrum function
6 years ago
Dan Janosik
3ec6a19e23
Add missing electrum error handling
6 years ago
Dan Janosik
8bd07537b4
More work on #8 - showing balances and transaction history for addresses
- in tx history, request/display all inputs to get correct gain/loss values
- cross referencing for txid history from electrum
- include genesis coinbase values for genesis coinbase output address (electrum ignores the genesis coinbase TX and +50 value, but for consistency with the rest of this tool they're included)
- banner describing the electrum trust model
- ui tweaks including showing gain/loss for each address tx history item
6 years ago
Dan Janosik
ce264a6c1f
naming/text tweaks
6 years ago
Dan Janosik
1f38c5dd93
Majority of the work on #8 to support querying N ElectrumX servers for address balance and address txid history
6 years ago
Dan Janosik
4c2a2f1534
don't cache unconfirmed txs
7 years ago
Dan Janosik
e21ef59508
improvement to tx-input tracking based on thoughts on #45
7 years ago
Dan Janosik
ea3a40a627
more tweaking things related to #45
7 years ago
Dan Janosik
2051d4da53
new tool for browsing unconfirmed tx
7 years ago
Dan Janosik
cd9e9fee18
tweak mempool summary params
7 years ago
Dan Janosik
cdeb566a27
- add more network summary info to homepage
- playing with layout/styling on homepage
7 years ago
Dan Janosik
3a251e3cf2
more playing with mempool summary data
It's not "done", but it probably never will be. I'm satisfied to consider this: Fixes #28
7 years ago
Dan Janosik
050c9f4148
show avg fee in blocks lists
7 years ago
Dan Janosik
8dcc16c6df
reduce excessive logging
7 years ago
Dan Janosik
cd0e2b67b1
Fix #40 - Peer details page
7 years ago
Dan Janosik
4281496b98
- fix for genesis block bug introduced with recent reorganization
- some minor armor
7 years ago
Dan Janosik
8bd1df2bc7
armor
7 years ago
Dan Janosik
ea4fa9ffa3
cleanup
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
0a24cfed3f
missing include
7 years ago
Dan Janosik
f1c6585188
more memory debugging
7 years ago
Dan Janosik
7eb25ad5e3
more visibility into how miners are identified
7 years ago
Dan Janosik
246253af46
- fix for miner identification errors when using payout addresses
- prioritize payout addresses over coinbase tags for miner identification
7 years ago
Dan Janosik
f3474c7b44
fixes for some bugs in the recent caching functionality
7 years ago
Dan Janosik
81a7d368c7
fix for block #0 page after caching changes
7 years ago
Dan Janosik
ab5a75d17c
caching support
7 years ago