48 Commits

Author SHA1 Message Date
softsimon
11ff5b28b4 Always fetch at least the coinbase transaction of blocks, and throw error if failed. 2021-01-24 23:56:51 +07:00
softsimon
5e0f2dda62 Disable support for Electrum TX lookups (require -txindex). 2021-01-24 04:15:06 +07:00
softsimon
ee0feac7ba Correctly error handle getTransaction and set 404 status when not found. 2021-01-24 02:51:22 +07:00
softsimon
ccec935193 Only save cache on new block when in sync. 2021-01-22 23:20:39 +07:00
softsimon
ef364f65c0 Bitcoind: Lookup block transactions as long as in sync.
refs #288
2021-01-20 17:15:11 +07:00
softsimon
3bf1d58a50 Hack to make it possible to load the Coinbase transaction from Bitcoin Core. 2021-01-02 04:40:10 +07:00
softsimon
881444c3a2 Improved block fetching performance. 2020-12-30 01:47:07 +07:00
softsimon
b472c4d216 Updates for general transaction and block fetching. 2020-12-28 20:17:32 +07:00
softsimon
4cc8f8a3dc Big refactor of multiple backends handling. 2020-12-28 04:47:22 +07:00
softsimon
86c4119e1c Address page mostly working. 2020-12-22 06:04:31 +07:00
softsimon
4593a76675 Refactored transaction handling. 2020-12-21 23:08:34 +07:00
softsimon
aabdaea47b Basic bitcoind/romanz-electrum support to sync the mempool and blocks. 2020-12-20 22:36:36 +07:00
softsimon
70c01c017d Fix for kept block amount when cache already contains more. 2020-11-02 21:28:40 +07:00
softsimon
e8a99e7eef Fix: Split mempool disk cache into 50K txs per file 2020-11-02 19:11:04 +07:00
softsimon
04d1c9cb12 Removing unnused config MINED_BLOCKS_CACHE. 2020-10-31 18:58:34 +07:00
softsimon
2365c9686d 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
e2a7683828 Revamping configuration file.
fixes #141
2020-10-19 11:57:02 +07:00
softsimon
7870c55185 Slow down retries on Electrs errors in the main mempool loop. 2020-10-18 21:47:47 +07:00
softsimon
20a97fe155 Changing more loggings levels.
refs #135
2020-10-13 17:48:43 +07:00
softsimon
06333bd415 Changing more loggings levels.
refs #135
2020-10-13 16:43:09 +07:00
softsimon
d083cee481 Changing common output messages to Debug.
refs #135
2020-10-13 16:00:58 +07:00
softsimon
fae1347db2 Adding logger wrapper.
Log backend messages to syslog.
fixes #135
2020-10-13 15:27:52 +07:00
softsimon
db12d99723 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
d915edd3de Replacing footer and latest blocks with a stats dashboard. 2020-09-21 19:41:12 +07:00
softsimon
3ba7cdc98e Fix for creating empty blocks. 2020-07-24 12:11:05 +07:00
softsimon
92044128c9 Handle coinbase transactions no longer has undefined fee. 2020-07-24 00:20:59 +07:00
softsimon
c6850aadba Fixes to block reward display on Liquid. 2020-07-23 12:10:22 +07:00
softsimon
d39b4a5c92 WIP: Bisq DAO support. Transactions list and details. 2020-07-03 23:45:19 +07:00
softsimon
b0fa5bb50a Display fees correctly for Liquid blocks. 2020-06-19 23:32:17 +07:00
softsimon
5feaa1fa8e Adding types to callback functions. 2020-06-09 02:08:46 +07:00
softsimon
99ba1a9db7 Crash fix. 2020-05-26 11:02:12 +07:00
softsimon
cddb2df6b3 Strip attached coinbase transactions to save data. 2020-05-24 22:45:45 +07:00
softsimon
df6372df2f Duplicate code fix. 2020-05-24 16:29:30 +07:00
softsimon
a42facb389 Instant mining pool identification from recent blocks.
refs #59
2020-05-10 00:54:07 +07:00
softsimon
3ed0e38582 Fixed sorting issue that caused the median calculation bug. 2020-03-20 02:07:12 +07:00
softsimon
35569d5c45 Responsive mempool blocks. 2020-03-12 21:56:07 +07:00
softsimon
c0d57b399c Adding miner block reward and fee to block info. 2020-03-04 15:10:30 +07:00
softsimon
fcf5b71f06 Fast forward the block fetching if backend has been offline for a while. 2020-03-03 15:11:14 +07:00
softsimon
f672387be2 Also save and load blocks to cache.json for speedy restarts. 2020-02-29 21:52:04 +07:00
Simon Lindh
90a1fcaf8d Various fixes and design updates. 2020-02-26 03:37:00 +09:00
Simon Lindh
76fd441e07 Empty block fix. 2020-02-26 03:35:46 +09:00
Simon Lindh
c550c888a4 Footer and header design updates. 2020-02-26 03:34:20 +09:00
Simon Lindh
d6bfb77abe Basic address tracking. 2020-02-26 03:31:45 +09:00
Simon Lindh
43f41b8aab New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00
Simon Lindh
4de8384708 Block view. 2019-11-12 16:39:59 +08:00
Simon Lindh
136b6eb76e Adding optional Blockstream esplora backend support. 2019-10-22 17:09:07 +08:00
Simon Lindh
1d501b45b7 Erase old blocks and transactions from database at interval. 2019-08-29 01:17:31 +02:00
Simon Lindh
94132a903f Initial code commit. 2019-07-21 17:59:47 +03:00