Commit Graph

813 Commits

Author SHA1 Message Date
nymkappa
09b2e21fea
Add economyFee field in /api/fees/recommended API 2022-05-31 10:40:58 +02:00
wiz
0ecc03e484
Merge branch 'master' into nymkappa/feature/historical-rates 2022-05-31 17:35:54 +09:00
wiz
288a96ed43
Merge branch 'master' into nymkappa/bugfix/pool-parser-db-check 2022-05-31 17:09:41 +09:00
softsimon
3935aef841
Upgrading packages 2022-05-31 02:21:05 +04:00
nymkappa
99902e70c7
Use block hash instead of block height in urls 2022-05-27 20:43:14 +02:00
nymkappa
be3d8b5ed9
Mining dashboard still runs fine if Bitcoin Core becomes unavailable 2022-05-27 11:26:56 +02:00
wiz
1ba0077666
Merge pull request #1714 from hunicus/install-manual
Move manual install notes to separate docs
2022-05-27 18:22:13 +09:00
nymkappa
e590759b7b
Don't try to run pools parser if db is not enabled 2022-05-27 10:31:49 +02:00
hunicus
b7c918b79d
Mention "esplora" value for blockstream/electrs 2022-05-26 22:13:37 -04:00
hunicus
28439bff7d
Add recommended versions for node and npm 2022-05-26 18:19:58 -04:00
hunicus
c69d0e8148
Add note on mysql install brought up in #1731 2022-05-26 17:57:48 -04:00
hunicus
3e82e432c6
Add manual backend setup notes to backend/ readme 2022-05-26 17:42:15 -04:00
wiz
df9c9e334d
Merge branch 'master' into nymkappa/feature/use-block-count-timespan 2022-05-25 20:16:32 +09:00
nymkappa
c402422682
Remove last trace of legacy oldestIndexedBlockTimestamp 2022-05-25 12:10:09 +02:00
wiz
aac9dda9ef
Merge branch 'master' into nymkappa/feature/merge-blocks 2022-05-25 18:55:13 +09:00
wiz
e059b9d379
Merge pull request #1685 from mempool/nymkappa/feature/update-api-case
Update case in some mining API endpoint response
2022-05-25 18:54:47 +09:00
nymkappa
875040c329
Save bisq aggregate exchange rates in the database for each new block 2022-05-25 10:51:35 +02:00
nymkappa
9e0fdec053
Merge branch 'master' into nymkappa/feature/merge-blocks 2022-05-24 10:14:06 +02:00
Felipe Knorr Kuhn
9fbd014df9
Merge branch 'master' into nymkappa/bugfix/reindex-when-fast-forward 2022-05-23 21:08:54 -07:00
nymkappa
88fba3f506
For non Bitcoin network, run legacy API code, but keep the same endpoint 2022-05-23 13:02:18 +02:00
nymkappa
37b7ea6702
Merge legacy and mining /blocks components and APIs 2022-05-23 09:08:40 +02:00
wiz
f42da0e3ac
Merge branch 'master' into nymkappa/feature/update-api-case 2022-05-21 03:18:57 +09:00
wiz
6cd3c312dd
Merge branch 'master' into nymkappa/bugfix/update-log 2022-05-21 03:03:56 +09:00
softsimon
521418bd25
Progressbar calculation fix 2022-05-20 21:50:01 +04:00
softsimon
e092fa6286
Adding fee reveal text 2022-05-20 21:30:01 +04:00
softsimon
fb63817282
Lazy load tx inputs in Bitcoin Core mode
fixes #465
2022-05-20 21:30:01 +04:00
wiz
159b6ad04b
Merge branch 'master' into nymkappa/feature/update-api-case 2022-05-20 21:03:41 +09:00
wiz
55f2cf06af
Merge pull request #1688 from mempool/simon/mempool-tx-fee-bug
Fixes broken fee rate calculation for mempool transactions
2022-05-20 21:03:34 +09:00
softsimon
5028df31ba
Fixes broken fee rate calculation for mempool transactions
fixes #1684
2022-05-20 13:41:30 +04:00
nymkappa
018914a4b6
Set /mining/blocks/xxx APIs expiration to 60 seconds instead of 5 minutes 2022-05-20 09:53:24 +02:00
nymkappa
e101c4e218
Replace all avg_XXX with avgXXX for consistency 2022-05-20 09:44:29 +02:00
Felipe Knorr Kuhn
449d6b17aa
Merge branch 'master' into nymkappa/bugfix/reindex-when-fast-forward 2022-05-19 10:01:06 -07:00
nymkappa
a58d5b84b6
Set expiration to 1 min for /mining/reward-stats/:blockCount and /blocks-extras/:height 2022-05-19 17:20:42 +02:00
nymkappa
2a8314efc5
Move indexing logic into Indexer class 2022-05-19 16:41:14 +02:00
nymkappa
7f8696c88d
Make sure to re-index skipped block when backend is offline for too long 2022-05-19 16:41:13 +02:00
wiz
b2775509e2
Merge branch 'master' into nymkappa/feature/block-api-cache 2022-05-19 19:31:32 +09:00
nymkappa
75dcfdd851
Cache /block API response for 10 min on user side 2022-05-19 12:17:26 +02:00
nymkappa
04bc41df3b
Index blocks.hash 2022-05-19 12:13:43 +02:00
nymkappa
f402bfb097
Remove unescessary log 2022-05-18 15:01:24 +02:00
wiz
b22cae8da1
Merge pull request #1649 from ayanamitech/fix-poolupdater
pools-updater: Support secure Tor connection to sync data with Github
2022-05-18 21:11:32 +09:00
wiz
f91d9239e6
Merge branch 'master' into simon/getrawtransaction-recursive-fix 2022-05-18 20:11:20 +09:00
softsimon
2dad8ba8ec
Fix for transactions being fetched recursively 2022-05-18 15:06:44 +04:00
wiz
dddf83a2d3
Merge branch 'master' into nymkappa/feature/10min-blocktime-after-adjustment 2022-05-18 20:02:29 +09:00
wiz
3fd2d74f81
Merge branch 'master' into nymkappa/feature/cleanup-mining-api-endpoints 2022-05-18 19:51:38 +09:00
Ayanami
0b351b9fcb pools-updater: Support secure Tor connection to sync data with Github
Use Axios instead of native https
2022-05-18 11:20:28 +09:00
nymkappa
5da94fa793
Delete useless log 2022-05-17 15:58:11 +02:00
nymkappa
47bb073b9a
Define avg block time to 10 min until we have at least 146 block in the current epoch 2022-05-17 14:40:18 +02:00
nymkappa
df59c21cfe
Cleanup mining API endpoints 2022-05-17 12:02:50 +02:00
wiz
094257a9df
Merge branch 'master' into nymkappa/feature/update-block-api 2022-05-17 15:57:05 +09:00
nymkappa
7e8e4b1e6c
If bisq data folder is not ready, retry every 3 minutes instead of exit 2022-05-13 11:54:52 +02:00
nymkappa
9377faea9c
Skip missing blocks during block hash chain validation 2022-05-13 10:34:32 +02:00
nymkappa
d26b1436b5
Always expose /block/{hash} API in the node backend 2022-05-12 08:13:42 +02:00
nymkappa
384c8d17cf
Only process mining pools on Bitcoin networks 2022-05-12 08:13:41 +02:00
nymkappa
ff74e6ea8c
If block exists in memory cache, return it directly for /block API 2022-05-12 08:13:41 +02:00
nymkappa
057b5bd2e1
Update block API to use indexing if available 2022-05-12 08:13:40 +02:00
Felipe Knorr Kuhn
5ca9de5a42
Fix the socks5 connection after updating the socks lib 2022-05-11 19:08:41 -07:00
nymkappa
e9620b7b48
Add block sizes and weights graph 2022-05-10 16:41:40 +02:00
nymkappa
3e90650536
Add /api/v1/mining/blocks/sizes-weights/:interval API 2022-05-10 16:41:23 +02:00
nymkappa
de7c4774ec
Added indexing progress indicator for hashrates, update logging 2022-05-10 15:48:21 +02:00
nymkappa
802e10e0a9
Create indexing sticky notification that show indexing progress in all mining dashboard related pages 2022-05-10 15:48:20 +02:00
wiz
2d4401a336
Merge pull request #1594 from mempool/dependabot/npm_and_yarn/backend/express-4.18.1
Bump express from 4.17.1 to 4.18.1 in /backend
2022-05-09 15:17:23 +09:00
wiz
f359e956c1
Merge pull request #1593 from mempool/dependabot/npm_and_yarn/backend/ws-8.6.0
Bump ws from 8.3.0 to 8.6.0 in /backend
2022-05-09 15:09:36 +09:00
wiz
468ee7bcb1
Merge pull request #1585 from mempool/dependabot/npm_and_yarn/backend/typescript-4.6.4
Bump typescript from 4.4.4 to 4.6.4 in /backend
2022-05-09 11:49:35 +09:00
dependabot[bot]
072c192d9a
Bump ws from 8.3.0 to 8.6.0 in /backend
Bumps [ws](https://github.com/websockets/ws) from 8.3.0 to 8.6.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.3.0...8.6.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 02:42:41 +00:00
dependabot[bot]
06451f5342
Bump crypto-js from 4.0.0 to 4.1.1 in /backend
Bumps [crypto-js](https://github.com/brix/crypto-js) from 4.0.0 to 4.1.1.
- [Release notes](https://github.com/brix/crypto-js/releases)
- [Commits](https://github.com/brix/crypto-js/compare/4.0.0...4.1.1)

---
updated-dependencies:
- dependency-name: crypto-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 02:40:04 +00:00
dependabot[bot]
074104e973
Bump typescript from 4.4.4 to 4.6.4 in /backend
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.6.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.6.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 02:39:48 +00:00
wiz
a892e569a3
Merge pull request #1590 from mempool/nymkappa/feature/hashrate-around-midnight
Run hashrate indexing after midnight
2022-05-09 10:45:24 +09:00
wiz
5281c48697
Merge branch 'master' into nymkappa/bugfix/initial-indexing 2022-05-07 13:51:24 +09:00
dependabot[bot]
3baf6fdcdc
Bump express from 4.17.1 to 4.18.1 in /backend
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.1)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 06:27:56 +00:00
wiz
5336ba8160
Merge branch 'master' into simon/npm-audit-fix-04-28 2022-05-06 15:11:28 +09:00
wiz
e00a6aa123
Merge pull request #1587 from knorrium/fix_tiny_typo
Fix datababse typo
2022-05-06 15:01:23 +09:00
wiz
1ff51e60db
Merge branch 'master' into nymkappa/bugfix/initial-indexing 2022-05-06 14:55:29 +09:00
softsimon
9dcf421216
Upgrading npm packages and 2022-05-02 20:04:04 +04:00
nymkappa
3972e7b8f0
Show current network hashrate and difficulty even if indexing is in progress 2022-05-02 17:39:03 +09:00
nymkappa
1f4cf1710a
Show getnetworkhashps core result in dashboard + update unit formatting 2022-05-02 17:33:52 +09:00
wiz
0aac410958
Merge branch 'master' into nymkappa/bugfix/bisq-dump-loading 2022-05-02 11:29:05 +09:00
nymkappa
b56f110f28
Run hashrate indexing after midnight 2022-04-30 17:54:49 +09:00
Felipe Knorr Kuhn
0f4e0c7413
Fix datababse typo 2022-04-29 22:01:22 -07:00
nymkappa
6565c363f8
Update pools table before fetching the first blocks 2022-04-27 16:57:07 +09:00
nymkappa
6d308fc81c
Clean local block cache before loading dump: 2022-04-27 13:06:16 +09:00
wiz
addfa45548
Merge branch 'master' into nymkappa/bugfix/bisq-dump-loading 2022-04-25 22:55:56 +00:00
wiz
d701bbb2d8
Merge pull request #1564 from mempool/nymkappa/bugfix/binance-regex
Ignore case on coinbase tag regexes
2022-04-25 22:38:49 +00:00
nymkappa
0ad267b07f
Read bisq dump blocks line by line and parse manually 2022-04-25 11:49:04 +09:00
wiz
58d361df06
Merge pull request #1563 from mempool/nymkappa/feature/remove-block-extras-loading-indicator
Remove loading indicator for blocks-extras API
2022-04-24 07:25:27 +00:00
wiz
8d279edfe7
Merge branch 'master' into nymkappa/bugfix/fast-forward-re-org 2022-04-24 05:54:42 +00:00
nymkappa
0803fed0f4
Fix pool component hashrate api response handling 2022-04-23 15:51:00 +09:00
wiz
6ae20ead63
Merge branch 'master' into nymkappa/feature/timespan-selector-update 2022-04-23 06:23:23 +00:00
wiz
ed495cc019
Merge branch 'master' into nymkappa/feature/fee-range-chart 2022-04-23 04:44:03 +00:00
nymkappa
0565471ecf
Wait for external assets file writers to complete 2022-04-22 04:03:08 -04:00
nymkappa
0860e16b2b
Ignore case on coinbase tag regexes 2022-04-22 03:25:34 -04:00
nymkappa
77fddc7ed9
Remove loading indicator for blocks-extras API 2022-04-22 00:49:02 -04:00
nymkappa
84b72f8b32
Manually re-index the last 10 blocks when the new block previoushash does not match latest block hash 2022-04-19 15:45:06 +09:00
nymkappa
900e02d9a5
Validate block hash chain after indexing and for new blocks 2022-04-18 17:49:22 +09:00
nymkappa
f7d57a2737
Use block count instead of oldest block for timespan selection 2022-04-15 20:43:10 +09:00
nymkappa
31ded69a4c
Update cache warmer 2022-04-15 18:05:58 +09:00
nymkappa
3ce6e81a39
Add block fee rate percentiles chart 2022-04-15 16:16:15 +09:00
nymkappa
078c7ac228
Add /api/v1/mining/blocks/fee-rates/{interval} API 2022-04-15 16:14:20 +09:00
nymkappa
4f4f76f067
Add try/catch liquid icon loading 2022-04-15 13:20:54 +09:00
wiz
89d62b7be2
Merge branch 'master' into download_assets_over_tor 2022-04-14 21:35:59 +00:00
wiz
417542a217
Merge branch 'master' into simon/remove-locutus-lib 2022-04-14 20:27:58 +00:00