nymkappa
7270b1ccac
Create difficulty chart component
2022-02-16 21:20:28 +09:00
nymkappa
0c1fa2b4aa
Cleanup blocks/pools fields data type - Index more block data
2022-02-16 15:22:55 +09:00
nymkappa
5448e8c292
Merge branch 'master' into feature/pool-stats-page
2022-02-15 20:42:06 +09:00
nymkappa
ca766bf40d
Provide a way to completely disable block indexing and mining menu
2022-02-15 19:51:26 +09:00
nymkappa
fa8607c57d
[Pool page] - Parse regexes and addresses in the backend
2022-02-15 18:45:53 +09:00
nymkappa
a88d6d2fca
Don't wait for 100% mempool sync before starting block indexing
2022-02-14 17:57:55 +09:00
nymkappa
87170247bd
Revert "Merge pull request #1240 from nymkappa/feature/mempool-sync-threshold"
...
This reverts commit 2f921f4cc7
, reversing
changes made to 877be47e5b
.
2022-02-14 17:57:03 +09:00
nymkappa
f381da0f78
Show correct reward in pool stat page
2022-02-14 14:11:55 +09:00
nymkappa
09180c4f91
Renamed /mining/pool-blocks/xxx -> /mining/pool/:poolId/blocks
2022-02-14 14:08:34 +09:00
nymkappa
4f02efd7fe
Fix block link in pool page - Click on chart slice open pool page
2022-02-14 14:08:33 +09:00
nymkappa
d8e58ee622
Set reward to 0 by default until reward indexing is available
2022-02-14 14:08:33 +09:00
nymkappa
c28f3fd4b6
Disable query logger spam
2022-02-14 14:08:33 +09:00
nymkappa
e1f3c662b2
Show block reward in the pool stat page
2022-02-14 14:08:31 +09:00
nymkappa
3f55aabc53
Mining pool detail page draft PoC
2022-02-14 14:08:30 +09:00
nymkappa
b854c071d0
Added mining/pool/:poolId
and mining/pool/:poolId/:interval
APIs
2022-02-14 14:08:10 +09:00
Antoni Spaanderman
3a3392423d
set fee_histogram to []
2022-02-13 16:13:46 +01:00
Antoni Spaanderman
2e1348550e
implement /api/mempool
2022-02-13 13:52:04 +01: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
softsimon
b7f93a5726
Merge branch 'master' into feature/mempool-sync-threshold
2022-02-10 16:28:05 +04:00
softsimon
98d819b3d2
Merge branch 'master' into bugfix/fix-duplicate-indexing
2022-02-10 16:23:00 +04:00
nymkappa
af02e9b533
Consider we're synced with the mempool if we cached 99% of pending txs
2022-02-10 19:19:54 +09:00
softsimon
4e076566db
Merge branch 'master' into bugfix/remove-debug-return
2022-02-09 17:13:13 +04:00
nymkappa
f9a6110c69
Remove debug return which break the UX the first time we open mempool
2022-02-08 11:20:19 +09:00
wiz
4b871468bc
Merge branch 'master' into bugfix/fix-duplicate-indexing
2022-02-07 14:55:38 +00:00
Antoni Spaanderman
62990a95f8
Merge branch 'master' into log-priority
...
i first forgot to fetch upstream in github, conflicts are fixed
2022-02-07 09:15:42 +01:00
Antoni Spaanderman
5c4f6d6ada
Merge branch 'master' into log-priority
2022-02-07 08:59:01 +01:00
softsimon
cd88692d3d
Changing Asset proxy redirects to liquid.network
2022-02-07 03:34:16 +04:00
softsimon
4c2c6396ba
Renaming assets-group to assets/group
2022-02-07 03:34:15 +04:00
softsimon
2e5c8bdfd3
Featured assets and asset groups
2022-02-07 03:34:14 +04:00
wiz
aae780de6e
Merge branch 'master' into fetch_conversion_rates_over_tor
2022-02-06 07:53:59 +00:00
Felipe Knorr Kuhn
4afeb3998a
Change fiat conversion logs to DEBUG
2022-02-05 15:38:03 -08:00
Felipe Knorr Kuhn
6b2900345a
Rename PRICENODE to PRICE_DATA_SERVER
2022-02-05 07:58:35 -08:00
Felipe Knorr Kuhn
ee7f8d8d18
Reduce currency rates polling interval from 1 hour to 10 minutes
2022-02-05 00:33:16 -08:00
nymkappa
12b53d9ace
Duplicated db blocks insertion attempts are expected
2022-02-05 15:50:57 +09:00
Felipe Knorr Kuhn
452375aaf7
Make the Currency Conversion Service URLs configurable and log when queried
2022-02-04 22:48:16 -08:00
Antoni Spaanderman
9e9837133b
Merge branch 'master' into log-priority
...
fix conflicts in backend/src/config.ts and backend/mempool-config.sample.json
2022-02-04 12:32:08 +01:00
nymkappa
456bd5a18e
Renamed extra
to extras
2022-02-04 19:28:00 +09:00
Felipe Knorr Kuhn
b1dde4d8b1
Query conversion rates service over clearnet or Tor with mempool User-Agent
2022-02-03 23:23:57 -08: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
softsimon
319f646fe2
Merge branch 'master' into genesis-outspend
2022-02-03 13:48:19 +04:00
nymkappa
e48a2f73e4
Replaced /mining/pools?interval=X by /mining/pools/X
2022-02-02 19:03:07 +09:00
nymkappa
9df490373b
Fixes post rebase
2022-01-28 15:01:24 +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
f8f9108ae1
Polish mining page UI
...
Make sure to wait for all mining pools queries before continuing
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
df960ab9ba
Import pools file for testnet and signet as well - Added missing express routes
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
b8410f00d9
Fix xxxWindowPreference management
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
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
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
Antoni Spaanderman
3ceab1493e
add log priority option for stdout log
2022-01-23 12:20:32 +01: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
63939ddbe4
outputs of genesis coinbase are always unspent
2022-01-18 22:25:38 +01:00
Antoni Spaanderman
d4719245f5
dont use hardcoded genesis coinbase and block hash
...
fixes #1128
2022-01-18 21:55:09 +01:00
nymkappa
a570812d70
Insert zeroed statistics in the database if the mempool is empty
2022-01-16 16:20:45 +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
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