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
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
6d8e4b4134
more consistent use of "debug"/utils.logError for logging
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
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
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
a8c5c449e5
debug logging; handle a missing rejection
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
cdeb566a27
- add more network summary info to homepage
- playing with layout/styling on homepage
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
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
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
Dan Janosik
be6a73223e
Fix #31
- Some reorganization and renaming
- Ensure that blocks include their coinbase tx so we can query it to guess miner identity
- Use open-source miner-identification list to guess
7 years ago
Dan Janosik
40cae43b40
more cleanup
7 years ago
Dan Janosik
6223066d91
get rid of some duplication
7 years ago
Dan Janosik
249312fd19
little cleanup
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
7bd44a0027
add some util functions for simplicity
7 years ago
Dan Janosik
b8ce1a8398
smarter batching when pulling tx inputs
7 years ago
Dan Janosik
fb0c8f2445
cleanup some old client-object passing
7 years ago
Dan Janosik
d360a80972
More work on mempool summary; cleanup and fixes for LTC
7 years ago
Dan Janosik
345e37420b
fix a little "whoops"
7 years ago
Dan Janosik
e952d9e56d
Improvements to mempool summary. Working on #28
7 years ago
Dan Janosik
1faa91ec3b
basic support for addresses
- address page
- search-by-address
7 years ago
Dan Janosik
a4773badb8
minor tweaks
7 years ago
Dan Janosik
e2570bc51f
switch to "bitcoin-core" npm package instead of deprecated "bitcoin" package
thanks @nkostoulas for the recommendation
7 years ago
Dan Janosik
c114139c51
Fix #21
There are still some edge-case descriptions for some RPCs, but this is good enough.
7 years ago
Dan Janosik
70b28ff52c
Fix #4
Abstracted Bitcoin content into coins.js. Added support for Litecoin.
7 years ago
Dan Janosik
846eda40d6
Fix #6
I'll add to the list over time, but I'm happy with the structure.
7 years ago
Dan Janosik
e763d2243f
- clean up "magic hashes", styling, and logging
- new page for "interesting transactions"
7 years ago
Dan Janosik
202eafc862
- lots of improvements for RPC Browser tool
- fix broken tab styling due to recent commit for "subheader" links
- consistent title for "Mempool Summary"
7 years ago
Dan Janosik
6d91756529
- lots of style tweaks for mobile
- playing with UI
- working on new /rpc-browser tool
7 years ago
Dan Janosik
0049484b29
getnettotals info on /node-info page
7 years ago
Dan Janosik
9da69bfb58
- add more node info
- prettier bar chart for mempool stats using chart.js
7 years ago
Dan Janosik
8ced42a1f4
Fix #16
- remove use of deprecated getinfo RPC
- more info about status of IBD
- minor UI tweaks
7 years ago