nymkappa
33897b029f
Set db connection to UTC - Fix hashrate indexing
2022-03-13 16:08:31 +01:00
nymkappa
a805c86697
Wrap statistics db ops with try/catch
2022-01-24 16:22:38 +09:00
nymkappa
a570812d70
Insert zeroed statistics in the database if the mempool is empty
2022-01-16 16:20:45 +09: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
cce49bdb7e
MariaDB 10.2 does not supports CAST as FLOAT
-> Replace with CAST as DOUBLE
2022-01-12 14:51:16 +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
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
nymkappa
bc8104eeb4
Increase graphs data resolution
2021-12-26 17:51:38 +09:00
nymkappa
e4a9fd06b4
Switch the 24h chart to 1 min data ticks
2021-12-22 23:01:32 +09: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
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
79e44479e9
Remodeling how historical fees are stored and presented.
...
fixes #908
2021-11-29 23:31:01 +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
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
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
35521f4871
Refactored when statistics cache from database is created.
...
refs #315
2021-01-30 21:40:04 +07:00
softsimon
c5c2222b8c
Increased database query timeouts
...
fixes #315
2021-01-30 19:20:52 +07:00
softsimon
29dd6e5d8d
Never run statistics when mempool not in sync.
2021-01-06 03:09:31 +07:00
softsimon
bb28a56622
Big refactor of multiple backends handling.
2020-12-28 04:47:22 +07:00
softsimon
5feaff130f
Adding missing error cause messages.
2020-10-28 11:00:48 +07:00
softsimon
9d7b52a104
Removing AVG() from mysql query reducing execution time. Increasing graph data span.
...
fixes #106
2020-10-26 01:00:21 +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
b92eef8198
Set in sync to false when mempool clear protection is active.
...
refs #76
2020-06-18 14:34:56 +07:00
softsimon
0177224eba
Adding types to callback functions.
2020-06-09 02:08:46 +07:00
softsimon
c6df78815b
Added mempool inSync property to backend. Display on frontend when not in sync and on't create statistics when not in sync.
...
fixes #29
2020-04-01 20:06:44 +07:00
softsimon
7fbc6f1461
Moved websocket handling to its own file and cleaned up index.ts
2020-02-26 17:49:53 +07:00
Simon Lindh
3453e84889
Basic address tracking.
2020-02-26 03:31:45 +09:00
Simon Lindh
acd658a0e7
Optimize statistics.
2020-02-26 03:21:21 +09:00
Simon Lindh
ac95c09ea6
New base code for mempool blockchain explorerer
2020-02-26 03:19:26 +09:00
Simon Lindh
8dd58db42a
Live 2H graph is now fetched through the websocket.
...
Tell the web socket what to fetch with "want" request.
2019-07-26 12:48:32 +03:00
Simon Lindh
fd2209e75a
Initial code commit.
2019-07-21 17:59:47 +03:00