nymkappa
7270b1ccac
Create difficulty chart component
2022-02-16 21:20:28 +09:00
nymkappa
ca766bf40d
Provide a way to completely disable block indexing and mining menu
2022-02-15 19:51:26 +09:00
nymkappa
a88d6d2fca
Don't wait for 100% mempool sync before starting block indexing
2022-02-14 17:57:55 +09:00
nymkappa
b8e40494aa
Remove fields that won't be used in the frontend for now
2022-02-12 20:16:51 +09:00
nymkappa
ef43da05c9
Improve block indexing logging
2022-02-10 23:02:12 +09:00
nymkappa
fac49d0b98
Added /api/v1/blocksExtras endpoint
2022-02-10 22:11:10 +09:00
nymkappa
f9a6110c69
Remove debug return which break the UX the first time we open mempool
2022-02-08 11:20:19 +09:00
nymkappa
456bd5a18e
Renamed extra
to extras
2022-02-04 19:28:00 +09:00
nymkappa
9f0b09295d
Move our custom fields to a BlockExtension sub object of the IEsploraApi.Block interface
2022-02-04 12:51:45 +09:00
nymkappa
6ebbc5667d
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
d66bc57165
Move block indexing start logic in blocks.ts
2022-01-28 15:01:23 +09:00
nymkappa
647f12ffaa
Added MEMPOOL.INDEXING_BLOCKS_AMOUNT in the config (default 432 blocks)
2022-01-28 15:01:23 +09:00
nymkappa
a271c39ba8
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
40e529ece7
Don't try to identify the mining pool on liquid/bisq
2022-01-28 15:01:21 +09:00
nymkappa
5b32ab6dde
DROP -> DROP IF EXISTS
2022-01-28 15:01:20 +09:00
nymkappa
aa457e316b
Drop legacy blocks
table during migration - Fix linter issues
2022-01-28 15:01:19 +09:00
nymkappa
4b9bfd6ca0
Basic block indexing WIP - Default mining pool icon - Only show mining hashrate on 1d scale
2022-01-28 15:01:15 +09:00
nymkappa
bfe9f99c35
Generate mining basic pool ranking (sorted by block found) for a specified timeframe
2022-01-28 13:52:35 +09:00
nymkappa
37031ec913
Refactor blocks.ts and index 10k block headers at launch
2022-01-28 13:51:14 +09:00
softsimon
641d2ad028
Refactoring Bitcoin RPC client implementation
2021-09-18 13:18:47 +04:00
softsimon
ec12f21113
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
dbd205b73f
Fix: Block fee data wasn't visible unless at least 2 transactions.
2021-08-08 14:17:18 +03:00
softsimon
15903faf49
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
4895343d4e
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
1908b1a5a6
Adding configuration for blocks and mempool blocks amount.
2021-07-31 17:56:10 +03:00
softsimon
037d6a75ea
Adding previous difficulty retarget to the difficulty adjustment api. ( #652 )
...
refs #640
2021-07-23 14:35:04 +03:00
softsimon
d3c53c7406
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
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