Commit Graph

374 Commits

Author SHA1 Message Date
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
softsimon
91e30fbc3c
Merge branch 'master' into simon/database-migration-feature
# Conflicts:
#	backend/src/index.ts
2021-12-24 00:26:33 +04:00
wiz
5b22e2a000
Merge pull request #1010 from mempool/simon/liquid-icons-api
Liquid icons api
2021-12-23 12:28:54 +00:00
nymkappa
e4a9fd06b4
Switch the 24h chart to 1 min data ticks 2021-12-22 23:01:32 +09:00
softsimon
5845f2380e
Adding sync external assets feature. 2021-12-21 02:00:50 +04:00
softsimon
b1c9334119
Changing API path and updating API Docs for asset icons. 2021-12-20 04:01:04 +04:00
softsimon
a4569788f8
Liquid icons api 2021-12-19 22:09:49 +04:00
softsimon
815fb62e7d
Correcting minor interface typing error 2021-12-16 04:53:27 +04:00
nymkappa
28d3f190ff Update graph tick intervals - Hide label in zoom component - Show hour on 1y graphs 2021-12-14 16:33:17 +09:00
softsimon
2281116504
Automated database creation and migration
fixes #1002
2021-12-13 11:32:04 +04:00
nymkappa
92d745168c Doubled the data points for 1W and 3Y to improve resolution 2021-12-13 14:31:34 +09:00
nymkappa
c9f5002dc2 Use avg() mysql value for timespan between [24h, 6m] 2021-12-11 19:15:20 +09:00
nymkappa
6e4985602e Increase the number of data to be as close as possible from prod while keeping rounded intervals 2021-12-11 17:27:52 +09:00
nymkappa
7e7dbdbaf2 Remove test code 2021-12-11 15:43:20 +09:00
nymkappa
5e729373bb Use date interval so we leave mysql handle the number of days in a month etc 2021-12-11 15:26:02 +09:00
nymkappa
cbd187d06f Use time for xAxis type and fix the mempool tooltip accordingly 2021-12-11 00:04:20 +09:00
nymkappa
00352d7e36 Use "natural" intervals for x-axis in charts 2021-12-09 22:04:23 +09:00
softsimon
10a110e682
Display missing taproot inner script
fixes #973
2021-12-06 00:27:14 +04:00
wiz
1ce05a3ac9
Merge pull request #961 from mempool/simon/remodeling-fee-bands
Remodeling how historical fees are stored and presented.
2021-12-03 02:37:33 +00:00
softsimon
feb8e35ec3
Handle database disabled config when running Liquid
fixes #962
2021-11-30 10:59:10 +04:00
softsimon
79e44479e9
Remodeling how historical fees are stored and presented.
fixes #908
2021-11-29 23:31:01 +04:00
wiz
9bef7da210
Merge pull request #881 from mempool/simon/tx-push-endpoint
Post TX API for HTML forms
2021-11-18 22:40:55 +09:00
softsimon
6f6b2a4355
Post TX API for HTML forms 2021-11-18 17:25:48 +04:00
softsimon
d534c42c47
Handle recent difficulty adjustment estimate gracefully
fixes #927
2021-11-17 13:46:48 +04:00
softsimon
26a540a57c
Display lower <1 s/vB fee rate tiers for Liquid
fixes #859
2021-11-10 00:04:58 +04:00
Miguel Medeiros
c95f75254b
Add 2y and 3y statistics time span. 2021-11-01 22:06:10 -03:00
softsimon
dd6c26b079
Handle new type of Electrum Server error.
fixes #872
2021-10-23 11:46:38 +04:00
softsimon
4046c3176f
Broadcast transaction form
fixes #878
2021-10-19 17:10:30 +04:00
softsimon
822c840e54
Use MEMPOOL_BLOCKS_AMOUNT config in the frontend
fixes #852
2021-10-05 04:37:24 +04:00
softsimon
86c877c8e9
Adding POST /tx API to bitcoind mode
fixes #777
2021-09-26 22:46:23 +04:00
softsimon
f3c8e2134b
Handle errors gracefully. 2021-09-20 01:02:07 +04:00
softsimon
0d67bc36ee
Refactoring the MINFEE node configuration into new configs. 2021-09-19 02:40:16 +04:00
softsimon
aa39bbd091
Elements blockchain parser. Save all peg in/out i the database. 2021-09-19 02:26:44 +04:00
softsimon
641d2ad028
Refactoring Bitcoin RPC client implementation 2021-09-18 13:18:47 +04:00