nymkappa
a79609ff5c
Added /api/v1/blocksExtras endpoint
2022-02-10 22:11:10 +09:00
nymkappa
c883f7803e
Remove debug return which break the UX the first time we open mempool
2022-02-08 11:20:19 +09:00
nymkappa
835ccce5b6
Renamed extra
to extras
2022-02-04 19:28:00 +09:00
nymkappa
a49cc9a2fa
Move our custom fields to a BlockExtension sub object of the IEsploraApi.Block interface
2022-02-04 12:51:45 +09:00
nymkappa
6e61de3a96
Small improvements on the mining page UX
...
- INDEXING_BLOCKS_AMOUNT = 0 disable indexing, INDEXING_BLOCKS_AMOUNT = -1 indexes everything
- Show only available timespan in the mining page according to available datas
- Change default INDEXING_BLOCKS_AMOUNT to 1100
Don't use unfiltered mysql user input
Enable http cache header for mining pools (1 min)
2022-01-28 15:01:24 +09:00
nymkappa
2c31fe6328
Move block indexing start logic in blocks.ts
2022-01-28 15:01:23 +09:00
nymkappa
7188d0d55d
Added MEMPOOL.INDEXING_BLOCKS_AMOUNT in the config (default 432 blocks)
2022-01-28 15:01:23 +09:00
nymkappa
ae379f1af4
Wrap block indexing into a try/catch since we don't use async when calling that function
2022-01-28 15:01:22 +09:00
nymkappa
045141d16d
Don't try to identify the mining pool on liquid/bisq
2022-01-28 15:01:21 +09:00
nymkappa
dcf613e065
DROP -> DROP IF EXISTS
2022-01-28 15:01:20 +09:00
nymkappa
a8e5f44937
Drop legacy blocks
table during migration - Fix linter issues
2022-01-28 15:01:19 +09:00
nymkappa
16ab9b38a0
Basic block indexing WIP - Default mining pool icon - Only show mining hashrate on 1d scale
2022-01-28 15:01:15 +09:00
nymkappa
5ca98af7d1
Generate mining basic pool ranking (sorted by block found) for a specified timeframe
2022-01-28 13:52:35 +09:00
nymkappa
4646cc6df3
Refactor blocks.ts and index 10k block headers at launch
2022-01-28 13:51:14 +09:00
softsimon
ccee78bc57
Refactoring Bitcoin RPC client implementation
2021-09-18 13:18:47 +04:00
softsimon
645986b7fc
Backend: Bumping Typescript version to 4.4.2 ( #748 )
...
* Backend: Bumping Typescript version to 4.4.2
* Replacing any types with instanceOf checks.
2021-08-31 15:09:33 +03:00
softsimon
15e283d21c
Fix: Block fee data wasn't visible unless at least 2 transactions.
2021-08-08 14:17:18 +03:00
softsimon
322b743cfa
Merge branch 'master' into simon/configurable-main-module
...
# Conflicts:
# frontend/src/app/components/blockchain/blockchain.component.ts
2021-08-02 00:24:09 +03:00
softsimon
c6655d4a05
Perform a blockchain sync check before updating initial difficulty ad… ( #677 )
...
* Perform a blockchain sync check before updating initial difficulty adjustment.
fixes #603
* Updating logger messages.
2021-08-01 15:49:26 +03:00
softsimon
049204ecbe
Adding configuration for blocks and mempool blocks amount.
2021-07-31 17:56:10 +03:00
softsimon
665a74e77e
Adding previous difficulty retarget to the difficulty adjustment api. ( #652 )
...
refs #640
2021-07-23 14:35:04 +03:00
softsimon
58402c008f
CPFP support ( #395 )
...
* CPFP support.
fixes #5
fixes #353
fixes #360
* Use effectiveFeePerVsize for mempool statistics.
* Renaming endpoint cpfp-info to just cpfp.
* Renaming decended to BestDescendant.
* Updating language file with new strings.
2021-03-18 23:47:40 +07:00
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