Commit Graph

457 Commits

Author SHA1 Message Date
nymkappa
b9a047b22d
Add difficulty adjustment in mining page + Fix pools table on mobile 2022-01-28 14:52:12 +09:00
nymkappa
0a267affaf
Add pie chart and rewrite the pool ranking component 2022-01-28 13:54:59 +09:00
nymkappa
18a63933fa
Increment migration schema version to 3 and re-add pools and blocks table creation queries 2022-01-28 13:53:29 +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
nymkappa
031f69a403
Add backend README - Backend watchers setup 2022-01-28 13:50:58 +09:00
nymkappa
1a22923cd8
Migrate pools.json to the database in one command - Updated latest pools.json file from Blockchain-Known-Pools master 2022-01-28 13:50:58 +09:00
nymkappa
703b4cc92a
Remove useless autocommit=0 in db migration script 2022-01-25 16:45:52 +09:00
wiz
6ad0344ea5
Merge pull request #1163 from nymkappa/feature/pools-migration
Mining dashboard (1/2) - Import mining pools into the database - Increment db schema to 3
2022-01-25 06:27:10 +00:00
nymkappa
a805c86697
Wrap statistics db ops with try/catch 2022-01-24 16:22:38 +09:00
nymkappa
1322298a06
Make sure to wait for all mining pools queries before continuing 2022-01-24 14:34:03 +09:00
nymkappa
87175869dd
Fix typescript miss use 2022-01-20 23:31:32 +09:00
nymkappa
a1a2e9363f
Make sure to release all db connections 2022-01-20 23:07:20 +09:00
nymkappa
19a564062b
Add pools.json file in default config.ts - Handle file exception - Only import pools for MAINNET 2022-01-20 22:59:10 +09:00
nymkappa
8d1cc40459
Fix add 'Unknown' pool logic 2022-01-20 16:56:25 +09:00
nymkappa
1210643e8e
Fix linter issues and typo 2022-01-20 16:34:14 +09:00
nymkappa
979c52d3c4
Add pools.json to EXTERNAL_ASSETS - Now supports updating the table 2022-01-20 13:53:08 +09:00
nymkappa
2848f56c2b
Import mining pools into the database - Increment db schema to 3 2022-01-19 18:50:52 +09:00
Antoni Spaanderman
fac40b1515
rethrow the error if it wasnt the genesis coinbase 2022-01-19 08:27:51 +01:00
Antoni Spaanderman
d4719245f5
dont use hardcoded genesis coinbase and block hash
fixes #1128
2022-01-18 21:55:09 +01:00
wiz
9641a00bb4
Merge pull request #1151 from nymkappa/feature/save-zeroed-statistics
Insert zeroed statistics in the database if the mempool is empty
2022-01-17 19:08:35 +09:00
nymkappa
a570812d70
Insert zeroed statistics in the database if the mempool is empty 2022-01-16 16:20:45 +09:00
wiz
dbdc87eeae
Bump version number to v2.4.0-dev 2022-01-16 15:41:23 +09:00
wiz
b9067ed912
Release v2.3.0 2022-01-16 15:36:48 +09:00
softsimon
2a16dc5a7f
Utilize gettxout to display spent/outspent
fixes #1088
2022-01-15 22:09:04 +04:00
softsimon
debcd1808e
Displaying translators as twitter photos 2022-01-15 04:19:50 +04:00
softsimon
85f471ad08
Adding translators to About page 2022-01-15 04:01:53 +04:00
softsimon
78c32af062
Fixing high vulnerabilities 2022-01-14 16:43:56 +04:00
wiz
e7f2f75b05
Merge pull request #1141 from nymkappa/feature/remove-unused-data-statistics
Remove unused fields from statistics queries since we don't use them in the front end
2022-01-14 10:39:07 +00:00
nymkappa
5b39ad2130
Remove id, unconfirmed_transactions and tx_per_second from the statistics queries since we don't use them in the front end 2022-01-14 19:21:54 +09:00
nymkappa
8797ef261f
Order by native statistics.added field for better query performances 2022-01-14 18:13:34 +09:00
softsimon
29581f325f
Removing statistics cache and setting headers 2022-01-12 20:57:25 +04:00
nymkappa
2944f0b805
Added missing log tags 2022-01-12 17:43:32 +09:00
nymkappa
f494bd6d6a
Sleep 10 seconds before ending the process after critical error in database migration 2022-01-12 17:26:10 +09:00
nymkappa
ae2cb05dc5
Extract all CREATE commands from transaction 2022-01-12 16:41:27 +09:00
nymkappa
4e322fe006
Print database engine version when migration script starts 2022-01-12 16:06:45 +09:00
nymkappa
cce49bdb7e
MariaDB 10.2 does not supports CAST as FLOAT -> Replace with CAST as DOUBLE 2022-01-12 14:51:16 +09:00
nymkappa
fc878b696d
Only create statistics.index if needed (supports old mariadb) - Make sure all db connections are released - Fix linter issues - Remove .toString() 2022-01-12 14:10:16 +09:00
nymkappa
6bfd9da08c
Refactor migrations - Wrap with TRANSACTION 2022-01-11 20:43:59 +09:00
wiz
9b6d679739
Merge pull request #1119 from nymkappa/feature/order-statistics-by-added
statistics: `ORDER BY id` => `ORDER BY added`
2022-01-11 03:38:24 +00:00
nymkappa
b1df17d7a3
statistics: ORDER BY id => ORDER BY added 2022-01-11 12:25:45 +09:00
wiz
cee52e69f1
Merge pull request #1112 from nymkappa/feature/index-added-field
INDEX 'added' in statistics table
2022-01-11 03:09:20 +00:00
nymkappa
0e6cc67c0a
Only create INDEX 'added' when it does not already exist 2022-01-11 11:47:04 +09:00
nymkappa
1e78326ee4
INDEX 'added' in statistics table 2022-01-10 19:48:29 +09:00
nymkappa
45542d5f06
Apply AVG() on vbytes_per_second - Cap extreme vbytes_per_second values 2022-01-10 18:52:56 +09:00
softsimon
6ab79b3c35
Refactoring the Liquid and LiquidTestnet check to a common function. 2021-12-31 02:28:40 +04:00
softsimon
350b4922da
Fix backend support for 'liquidtestnet' network 2021-12-31 01:26:45 +04:00
wiz
7ce1cc5103
Merge pull request #1052 from mempool/simon/liquid-testnet
Adding Liquid Testnet as frontend option
2021-12-29 23:34:19 +00:00
softsimon
504f46cad9
Support for Test Liquid Native Asset 2021-12-29 00:40:55 +04:00
nymkappa
bc8104eeb4
Increase graphs data resolution 2021-12-26 17:51:38 +09:00