463 Commits

Author SHA1 Message Date
nymkappa
045141d16d Don't try to identify the mining pool on liquid/bisq 2022-01-28 15:01:21 +09:00
nymkappa
8b9e3e0ea1 Import pools file for testnet and signet as well - Added missing express routes 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
92de2bbc03 Fix xxxWindowPreference management 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
b567c0ad43 Add difficulty adjustment in mining page + Fix pools table on mobile 2022-01-28 14:52:12 +09:00
nymkappa
8d406a40e5 Add pie chart and rewrite the pool ranking component 2022-01-28 13:54:59 +09:00
nymkappa
cd61bcf85a Increment migration schema version to 3 and re-add pools and blocks table creation queries 2022-01-28 13:53:29 +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
nymkappa
1b5ef17b1f Add backend README - Backend watchers setup 2022-01-28 13:50:58 +09:00
nymkappa
1a856574aa 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
159c4224bd Remove useless autocommit=0 in db migration script 2022-01-25 16:45:52 +09:00
wiz
0ac558fc0d 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
675ea25880 Wrap statistics db ops with try/catch 2022-01-24 16:22:38 +09:00
nymkappa
3528ca35bd Make sure to wait for all mining pools queries before continuing 2022-01-24 14:34:03 +09:00
nymkappa
0df75cb3a9 Fix typescript miss use 2022-01-20 23:31:32 +09:00
nymkappa
0b8244d19a Make sure to release all db connections 2022-01-20 23:07:20 +09:00
nymkappa
1abfa4a82e 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
a9eb0ab4bb Fix add 'Unknown' pool logic 2022-01-20 16:56:25 +09:00
nymkappa
16f13fff32 Fix linter issues and typo 2022-01-20 16:34:14 +09:00
nymkappa
43b255bef1 Add pools.json to EXTERNAL_ASSETS - Now supports updating the table 2022-01-20 13:53:08 +09:00
nymkappa
49689d8807 Import mining pools into the database - Increment db schema to 3 2022-01-19 18:50:52 +09:00
Antoni Spaanderman
142543cc35 rethrow the error if it wasnt the genesis coinbase 2022-01-19 08:27:51 +01:00
Antoni Spaanderman
7ad85c33b6 dont use hardcoded genesis coinbase and block hash
fixes #1128
2022-01-18 21:55:09 +01:00
wiz
c96310a8d7 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
7f4bc915d9 Insert zeroed statistics in the database if the mempool is empty 2022-01-16 16:20:45 +09:00
wiz
fb1822623b Bump version number to v2.4.0-dev 2022-01-16 15:41:23 +09:00
wiz
e5b2639d73 Release v2.3.0 2022-01-16 15:36:48 +09:00
softsimon
3450ff97ff Utilize gettxout to display spent/outspent
fixes #1088
2022-01-15 22:09:04 +04:00
softsimon
0db0aa6ca6 Displaying translators as twitter photos 2022-01-15 04:19:50 +04:00
softsimon
a7528e60a8 Adding translators to About page 2022-01-15 04:01:53 +04:00
softsimon
7051cc8b0d Fixing high vulnerabilities 2022-01-14 16:43:56 +04:00
wiz
308f08293f 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
b2d6fbbec3 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
b93ccc925e Order by native statistics.added field for better query performances 2022-01-14 18:13:34 +09:00
softsimon
ee4c9f5727 Removing statistics cache and setting headers 2022-01-12 20:57:25 +04:00
nymkappa
de16205d1c Added missing log tags 2022-01-12 17:43:32 +09:00
nymkappa
d6d02c6d22 Sleep 10 seconds before ending the process after critical error in database migration 2022-01-12 17:26:10 +09:00
nymkappa
2fcf2f1d40 Extract all CREATE commands from transaction 2022-01-12 16:41:27 +09:00
nymkappa
3a75f578db Print database engine version when migration script starts 2022-01-12 16:06:45 +09:00
nymkappa
f565eb9976 MariaDB 10.2 does not supports CAST as FLOAT -> Replace with CAST as DOUBLE 2022-01-12 14:51:16 +09:00
nymkappa
7cfdf90bb9 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
50e828995e Refactor migrations - Wrap with TRANSACTION 2022-01-11 20:43:59 +09:00
wiz
14b1606d91 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
42681c3df5 statistics: ORDER BY id => ORDER BY added 2022-01-11 12:25:45 +09:00
wiz
fcbc3bddb4 Merge pull request #1112 from nymkappa/feature/index-added-field
INDEX 'added' in statistics table
2022-01-11 03:09:20 +00:00
nymkappa
68881df2a4 Only create INDEX 'added' when it does not already exist 2022-01-11 11:47:04 +09:00
nymkappa
6c0dd4a5b3 INDEX 'added' in statistics table 2022-01-10 19:48:29 +09:00