Commit Graph

48 Commits

Author SHA1 Message Date
softsimon
c9e175a0cc
Always fetch at least the coinbase transaction of blocks, and throw error if failed. 2021-01-24 23:56:51 +07:00
softsimon
47a449e1d9
Disable support for Electrum TX lookups (require -txindex). 2021-01-24 04:15:06 +07:00
softsimon
5b268794af
Correctly error handle getTransaction and set 404 status when not found. 2021-01-24 02:51:22 +07:00
softsimon
e82c89a985
Only save cache on new block when in sync. 2021-01-22 23:20:39 +07:00
softsimon
a158794e2c
Bitcoind: Lookup block transactions as long as in sync.
refs #288
2021-01-20 17:15:11 +07:00
softsimon
a25125091d
Hack to make it possible to load the Coinbase transaction from Bitcoin Core. 2021-01-02 04:40:10 +07:00
softsimon
5390629e41
Improved block fetching performance. 2020-12-30 01:47:07 +07:00
softsimon
3c0fa71a10
Updates for general transaction and block fetching. 2020-12-28 20:17:32 +07:00
softsimon
bb28a56622
Big refactor of multiple backends handling. 2020-12-28 04:47:22 +07:00
softsimon
f84b9e6582
Address page mostly working. 2020-12-22 06:04:31 +07:00
softsimon
ecc0f316cc
Refactored transaction handling. 2020-12-21 23:08:34 +07:00
softsimon
5dbf6789a7
Basic bitcoind/romanz-electrum support to sync the mempool and blocks. 2020-12-20 22:36:36 +07:00
softsimon
ce582eefc6
Fix for kept block amount when cache already contains more. 2020-11-02 21:28:40 +07:00
softsimon
d46ff35dfb
Fix: Split mempool disk cache into 50K txs per file 2020-11-02 19:11:04 +07:00
softsimon
b21016efef
Removing unnused config MINED_BLOCKS_CACHE. 2020-10-31 18:58:34 +07:00
softsimon
d260a1ed73
Write cache.json on startup if it doesn't exist.
Write mempool and block data to cache on every new block
fixes #146
2020-10-27 00:05:06 +07:00
softsimon
45efb604c1
Revamping configuration file.
fixes #141
2020-10-19 11:57:02 +07:00
softsimon
49f70ca28a
Slow down retries on Electrs errors in the main mempool loop. 2020-10-18 21:47:47 +07:00
softsimon
4399c5e8e9
Changing more loggings levels.
refs #135
2020-10-13 17:48:43 +07:00
softsimon
3d374fd9d9
Changing more loggings levels.
refs #135
2020-10-13 16:43:09 +07:00
softsimon
04ac820ed7
Changing common output messages to Debug.
refs #135
2020-10-13 16:00:58 +07:00
softsimon
4dacf292c2
Adding logger wrapper.
Log backend messages to syslog.
fixes #135
2020-10-13 15:27:52 +07:00
softsimon
3450de774f
Fix for Bisq blocks data watchers stopps working randomly. Restaring watcher when block height has diverged. 2020-09-27 17:21:18 +07:00
softsimon
6c1d28a9ac
Replacing footer and latest blocks with a stats dashboard. 2020-09-21 19:41:12 +07:00
softsimon
0f11642418
Fix for creating empty blocks. 2020-07-24 12:11:05 +07:00
softsimon
9980414969
Handle coinbase transactions no longer has undefined fee. 2020-07-24 00:20:59 +07:00
softsimon
23f5e229c9
Fixes to block reward display on Liquid. 2020-07-23 12:10:22 +07:00
softsimon
c21dad88bf
WIP: Bisq DAO support. Transactions list and details. 2020-07-03 23:45:19 +07:00
softsimon
22813a09e8
Display fees correctly for Liquid blocks. 2020-06-19 23:32:17 +07:00
softsimon
0177224eba
Adding types to callback functions. 2020-06-09 02:08:46 +07:00
softsimon
5cbbf5a186
Crash fix. 2020-05-26 11:02:12 +07:00
softsimon
2c345426cb
Strip attached coinbase transactions to save data. 2020-05-24 22:45:45 +07:00
softsimon
4d2fcf96c6
Duplicate code fix. 2020-05-24 16:29:30 +07:00
softsimon
c08a4c8424
Instant mining pool identification from recent blocks.
refs #59
2020-05-10 00:54:07 +07:00
softsimon
e84ec7dd86
Fixed sorting issue that caused the median calculation bug. 2020-03-20 02:07:12 +07:00
softsimon
2f94200a45
Responsive mempool blocks. 2020-03-12 21:56:07 +07:00
softsimon
73e24195da Adding miner block reward and fee to block info. 2020-03-04 15:10:30 +07:00
softsimon
2b9be35afa Fast forward the block fetching if backend has been offline for a while. 2020-03-03 15:11:14 +07:00
softsimon
39394e1178
Also save and load blocks to cache.json for speedy restarts. 2020-02-29 21:52:04 +07:00
Simon Lindh
057bff69fc
Various fixes and design updates. 2020-02-26 03:37:00 +09:00
Simon Lindh
c5c068a8d4
Empty block fix. 2020-02-26 03:35:46 +09:00
Simon Lindh
d690511a08
Footer and header design updates. 2020-02-26 03:34:20 +09:00
Simon Lindh
3453e84889
Basic address tracking. 2020-02-26 03:31:45 +09:00
Simon Lindh
ac95c09ea6
New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00
Simon Lindh
309e851ead Block view. 2019-11-12 16:39:59 +08:00
Simon Lindh
afb3ecc57d Adding optional Blockstream esplora backend support. 2019-10-22 17:09:07 +08:00
Simon Lindh
61c6345f75 Erase old blocks and transactions from database at interval. 2019-08-29 01:17:31 +02:00
Simon Lindh
fd2209e75a Initial code commit. 2019-07-21 17:59:47 +03:00