Commit Graph

1962 Commits

Author SHA1 Message Date
wiz
e9cd41722b
Merge pull request #4081 from mempool/mononaut/fix-null-coinbase-fee
fix null coinbase fees in block summary
2023-08-02 16:05:09 +09:00
Mononaut
ca0c6b5e6e
use bulk mempool/txs post api to batch mempool update requests 2023-08-02 15:05:27 +09:00
mononaut
b365ad3ba4
Merge branch 'master' into fix/difficulty-calc 2023-08-02 11:00:32 +09:00
Mononaut
ab784cede2
fix partially indexed difficulty bug 2023-08-01 18:41:48 +09:00
Mononaut
543357f1db
fix null coinbase fees in block summary 2023-08-01 17:33:03 +09:00
junderw
9bf334a22d
Fix: Use bits to calculate difficulty instead of floating points 2023-08-01 00:52:45 -07:00
softsimon
b0080a5859
Base mempool break limit of current poll rate 2023-08-01 15:55:03 +09:00
wiz
97877053bf
Merge pull request #4068 from mempool/mononaut/electrs-blocks
Get blocks from electrs again
2023-08-01 15:33:13 +09:00
softsimon
f9a44a5fbb
Merge pull request #4074 from mempool/fix_rust_gbt_typo
Fix rust gbt docker  typo
2023-08-01 14:14:56 +09:00
wiz
8c396978a8
Merge branch 'master' into mononaut/electrs-blocks 2023-08-01 13:54:05 +09:00
wiz
a51d2a6aec
Merge pull request #4071 from mempool/mononaut/fast-indexing
Fast indexing
2023-08-01 13:53:56 +09:00
Mononaut
a863c17408
Fix difficulty indexing db queries to return bits 2023-08-01 13:28:56 +09:00
Mononaut
0924bb6ac0
Use bits to detect difficulty adjustments, not difficulty 2023-08-01 13:28:56 +09:00
Mononaut
910e67ff36
Get blocks from electrs again 2023-08-01 13:28:56 +09:00
Felipe Knorr Kuhn
17f1cb8648
Fix config unit test that was returning early 2023-07-31 14:10:49 -07:00
softsimon
bed7c1b283
Fix scripthash lookup for Electrum* 2023-07-31 18:29:40 +09:00
Mononaut
0d25ef0b5b
Get block txs from esplora, index CPFP together with summaries 2023-07-31 18:13:16 +09:00
Mononaut
6b7d8d95f7
reduce mempool poll rate while indexing 2023-07-31 18:13:16 +09:00
Mononaut
bafc0bd9cf
fix indexing log prints 2023-07-31 18:13:11 +09:00
softsimon
7a87f74b22
Merge pull request #4070 from mempool/mononaut/redis-fixes
Misc Redis fixes
2023-07-31 17:28:54 +09:00
Mononaut
49db63d888
Faster Redis tx deletion, fix debug log level 2023-07-31 16:38:18 +09:00
Mononaut
363fc1b00b
Get blocks from electrs again 2023-07-31 15:39:02 +09:00
softsimon
73b71c4914
Fixing docker config and tests 2023-07-31 14:28:56 +09:00
Mononaut
dcfab218fb
Improve Redis logging 2023-07-31 12:21:28 +09:00
Mononaut
c79a597c96
switch from redis-json to simple key-value redis entries 2023-07-31 12:16:37 +09:00
Mononaut
a393f42b5e
strip non-essential data from redis cache txs 2023-07-31 12:16:36 +09:00
Mononaut
6ac58f2da7
store redis mempool in sharded json object 2023-07-31 12:16:36 +09:00
Mononaut
a9f8bbbcce
Add network and schema versioning to redis cache 2023-07-31 12:16:34 +09:00
Mononaut
d65bddd30b
Add transactions to Redis cache in manageable batches 2023-07-31 12:16:34 +09:00
Mononaut
b6cb539470
Fix redis feature merge conflicts 2023-07-31 12:16:34 +09:00
Mononaut
aea2b1ec6b
Add RBF data to Redis cache 2023-07-31 12:16:33 +09:00
Mononaut
5138f9a254
Implement Redis cache for block and mempool data 2023-07-31 12:16:33 +09:00
softsimon
ecd80aad6a
Merge pull request #4056 from mempool/mononaut/compressed-p2pk
Add support for compressed p2pk addresses
2023-07-29 17:48:26 +09:00
softsimon
1b248c24f1
Merge pull request #4050 from mempool/mononaut/retry-block-txs
Handle failures while fetching block transactions
2023-07-29 17:12:34 +09:00
nymkappa
f8faccd502
Merge branch 'master' into mononaut/acceleration-viz 2023-07-29 13:51:49 +09:00
wiz
b1bdb52851
ops: Fix a classic typo in mempool clear protection log print 2023-07-28 23:40:06 +09:00
Mononaut
2c613195cc
Add support for compressed p2pk addresses 2023-07-28 19:17:52 +09:00
Mononaut
63ccecf410
remove unused calcScriptHash function 2023-07-28 16:14:28 +09:00
Mononaut
5b2470955d
track p2pk addresses by scriptpubkey not scripthash 2023-07-28 16:09:39 +09:00
Mononaut
74b87b6006
Support p2pk track-address websocket subscriptions 2023-07-28 16:09:39 +09:00
Mononaut
589adb95c3
remove stray debugging log 2023-07-27 14:49:21 +09:00
Mononaut
1fd5b975f1
Handle failures while fetching block transactions 2023-07-27 11:45:16 +09:00
nymkappa
67cff804a6
/accelerations -> /accelerator/accelerations 2023-07-26 15:08:35 +09:00
Mononaut
cde4af5930
fix mismatched use of gbt implementations 2023-07-26 15:08:35 +09:00
Mononaut
928a8be846
fix pool-dependent accelerated audit handling 2023-07-26 15:08:34 +09:00
Mononaut
7c641544b2
check in missing rust-gbt file 2023-07-26 15:08:34 +09:00
Mononaut
2a2aee21fb
fix audit highlightning and fee ranges 2023-07-26 15:08:34 +09:00
Mononaut
3838d947b1
fix tests 2023-07-26 15:08:34 +09:00
Mononaut
ffc2b6c53c
Add acceleration support to rust gbt 2023-07-26 15:08:34 +09:00
Mononaut
6494f890fe
include per-tx pools in /accelerations endpoint 2023-07-26 15:08:34 +09:00
Mononaut
ba54bc9d15
support for acceleration mempool blocks animation 2023-07-26 15:08:33 +09:00
Mononaut
083bfdba06
Refactor accelerated audits 2023-07-26 15:08:33 +09:00
Mononaut
20b3ceab1e
Implement accelerations API & config setting 2023-07-26 15:08:33 +09:00
Mononaut
c246db1cf9
Refactor acceleration tracking 2023-07-26 15:08:33 +09:00
Mononaut
aa24f6a84d
use accelerated rates for block templates & show in viz 2023-07-26 15:08:33 +09:00
Mononaut
e489f713eb
include accelerated tx data in block audits 2023-07-26 15:08:26 +09:00
softsimon
a13c424869
Merge pull request #4046 from mempool/mononaut/audit-exclude-conflicts
Exclude all conflicting transactions from audit score
2023-07-25 20:22:37 +09:00
Mononaut
d7b874ac49
Exclude all conflicting transactions from audit score 2023-07-25 14:17:02 +09:00
Mononaut
25925751eb
refactor $getTransactionsExtended to optimise API requests 2023-07-25 12:09:13 +09:00
Mononaut
0ebfd6f017
Fetch block txs from mempool/electrs in bulk 2023-07-25 10:27:43 +09:00
Mononaut
36fe5627c7
fix mempool sync skeleton loaders on Core backend 2023-07-24 17:49:34 +09:00
Mononaut
2d463326e0
fix gbt mempool size mismatch bug 2023-07-24 17:22:38 +09:00
Mononaut
de4265a6d1
More conservative mempool inSync status 2023-07-24 16:22:22 +09:00
Mononaut
e59c961f25
Add electrs sync progress updates 2023-07-24 14:59:51 +09:00
Mononaut
db715a1dba
Switch to batch mempool/txs/:txid endpoint 2023-07-24 14:44:43 +09:00
Mononaut
202d4122b4
load mempool txs in bulk from esplora 2023-07-24 14:44:42 +09:00
softsimon
e2fdacfddd
Merge pull request #4041 from mempool/simon/sanitize-lightning-channel-id
Sanitize channel id search
2023-07-24 13:26:20 +09:00
softsimon
ee2d8f8c5a
Sanitize channel id search 2023-07-24 13:21:06 +09:00
Mononaut
44f2217a68
Fix typo which skips sigop calculation 2023-07-24 10:49:29 +09:00
wiz
caa8cfbc0e
Another hotfix for CLN crash 2023-07-23 22:35:32 +09:00
wiz
02f361af73
Hotfix for CLN crash 2023-07-23 22:21:53 +09:00
Mononaut
0ce043cca9
Fix esplora error messages 2023-07-23 14:01:31 +09:00
Mononaut
65dbafd2ec
Support P2PK address types 2023-07-23 14:01:31 +09:00
wiz
7a6da07a61
Merge branch 'master' into mononaut/fix-liquid-fees 2023-07-21 17:38:47 +09:00
Felipe Knorr Kuhn
7ba627e243
Merge branch 'master' into junderw/fix-armv7-docker 2023-07-20 17:31:17 -07:00
Mononaut
709783280a
Fix liquid fees & remove minimum fee rate 2023-07-19 15:42:02 +09:00
softsimon
2fffd8b43c
Merge branch 'master' into hunicus/manual-deployment-enterprise 2023-07-19 14:19:03 +09:00
Felipe Knorr Kuhn
7c29e51bbb
Merge branch 'master' into junderw/fix-armv7-docker 2023-07-18 14:30:20 -07:00
softsimon
67f58a4491
Sorting by closing date descending 2023-07-18 17:19:14 +09:00
wiz
4b41730636
Merge branch 'master' into mononaut/lightning-justice 2023-07-18 16:49:49 +09:00
softsimon
bde7fad1c4
Bumping backend deps 2023-07-18 15:36:30 +09:00
softsimon
89dac1a77c
Merge pull request #3979 from mempool/mononaut/new-block-race-condition
get chain tip direct from Bitcoin Core to avoid race conditions
2023-07-17 21:38:35 +09:00
softsimon
c355602924
Merge pull request #3981 from mempool/mononaut/fix-websocket-null-data
Fix websocket null data for undefined rbfSummary
2023-07-17 19:10:05 +09:00
Mononaut
2c1b9b9095
Fix mempool update poll delay 2023-07-17 18:21:44 +09:00
softsimon
965270dc7f
Merge pull request #3933 from mempool/nymkappa/feature-bits
Show raw and decoded lightning node features
2023-07-17 17:58:22 +09:00
Mononaut
4309bfd519
Fix websocket null data for undefined rbfSummary 2023-07-17 17:53:26 +09:00
Mononaut
7a059ba294
get chain tip direct from Bitcoin Core to avoid race conditions 2023-07-17 15:21:52 +09:00
wiz
ede961a34a
Merge branch 'master' into simon/load-more-mempool-txs 2023-07-17 14:02:32 +09:00
softsimon
77764e1c77
Merge pull request #3882 from mempool/mononaut/audit-replication
Audit data synchronization
2023-07-17 12:51:34 +09:00
softsimon
8e114917a1
Merge pull request #3976 from mempool/mononaut/six-latest-transactions
always send 6 latest transactions to websocket clients
2023-07-17 12:03:06 +09:00
softsimon
be599ca624
Merge pull request #3971 from mempool/mononaut/audit-recently-cpfpd
Add "recently cpfpd" exception to audits
2023-07-17 11:51:06 +09:00
Mononaut
bf5a16b043
always send 6 latest transactions to websocket clients 2023-07-17 11:02:28 +09:00
Mononaut
565336df21
Set missing websocket init data 2023-07-16 18:39:51 +09:00
nymkappa
6fe32cdd19
[lightning] fix issue during initial node.features indexing 2023-07-16 18:24:42 +09:00
nymkappa
8fb67a914c
[lightning] fix node features binary conversion 2023-07-16 18:17:49 +09:00
nymkappa
556eb65320
[lightning] start integrating features bits in the node page 2023-07-16 18:17:49 +09:00
nymkappa
4d41d36fe7
[lightning] save feature bit number when using lnd describegraph 2023-07-16 18:17:49 +09:00
nymkappa
32d46ad7ac
[lightning] save bit number when converting features from clightning 2023-07-16 18:17:48 +09:00
nymkappa
1f003cc292
[lightning] save node features as stringified json array in db 2023-07-16 18:17:48 +09:00
Mononaut
b33ea4679d
Add "recently cpfpd" exception to audits 2023-07-16 13:51:30 +09:00
nymkappa
73d9b4ef28
[price updater] update latestPrices timestamp before pushing to websocket 2023-07-15 17:29:29 +09:00
wiz
e3ddde9c90
Merge branch 'master' into simon/load-more-mempool-txs 2023-07-14 19:30:15 +09:00
wiz
23151ec3db
Bump version to 3.0.0-dev
- Now requires mempool/electrs
- Mempool Accelerator integration
- Rust GBT integration
- And more!
2023-07-14 18:39:35 +09:00
Mononaut
1abd2a23cc
Add audit replication success logging 2023-07-14 16:54:36 +09:00
Mononaut
e59a9d38ff
fix audit replication merge conflicts 2023-07-14 16:54:32 +09:00
Mononaut
7f6d17fc0e
Fix audit sync progress logging 2023-07-14 16:43:07 +09:00
Mononaut
736b997104
Add missing audit data to cached blocks 2023-07-14 16:43:07 +09:00
Mononaut
69e6b164b9
Add audit data replication service 2023-07-14 16:43:05 +09:00
Mononaut
fa48791c59
reduce latest rbf websocket data 2023-07-14 16:15:03 +09:00
softsimon
15a8c8d420
Support for romanz/electrs 2023-07-13 17:59:02 +09:00
wiz
8b681f3ba0
Merge pull request #3670 from mempool/junderw/pushtxantidos
Push TX: Include validation to prevent DoS
2023-07-13 15:44:18 +09:00
softsimon
5575a37f9b
Merge pull request #3957 from mempool/mononaut/full-rbf-highlight
highlight & tag fullrbf replacements in RBF timeline
2023-07-13 15:34:19 +09:00
wiz
da4f7a3aba
Merge branch 'master' into junderw/pushtxantidos 2023-07-13 14:18:19 +09:00
wiz
7542d95bc5
Merge pull request #3940 from mempool/mononaut/null-miner-health
Unknown avg miner health
2023-07-13 14:17:39 +09:00
wiz
6a2a9bda06
Merge branch 'master' into mononaut/full-rbf-highlight 2023-07-13 14:16:33 +09:00
junderw
222b34993b
Fix: Add new configs to all config instances properly. 2023-07-13 14:06:46 +09:00
junderw
df70ea05c6
Fix: Leaf version validation 2023-07-13 13:50:54 +09:00
junderw
43d41fca95
Fix: Allow detection of 1 byte annexes 2023-07-13 13:31:57 +09:00
junderw
95a8752a0a
Fix: Tests for config 2023-07-13 13:26:18 +09:00
junderw
21a47a7b4b
Push TX: Include validation to prevent DoS 2023-07-13 13:24:46 +09:00
Mononaut
3287c62f91
highlight & tag fullrbf replacements in RBF timeline 2023-07-13 12:28:33 +09:00
Mononaut
e8c703fdbc
replace client recent blocks on reorg 2023-07-13 10:43:18 +09:00
wiz
95e50ddf02
Fix production rust GBT build 2023-07-12 17:16:40 +09:00
wiz
f871300bfb
Merge branch 'master' into mononaut/fix-mined-rbf-conflicts 2023-07-12 16:17:47 +09:00
wiz
09b966e507
Merge branch 'master' into nymkappa/scan-closed-channel-no-mempool 2023-07-12 16:00:52 +09:00
Mononaut
ca2830d6d8
fix price updater loop on testnet/signet 2023-07-11 16:03:44 +09:00
wiz
795e6753eb
Merge pull request #3879 from mempool/mononaut/audit-exclude-fullrbf
exclude fullrbf txs from audit and label in visualization
2023-07-11 15:29:32 +09:00
Mononaut
a01336d8ac
Fix mined rbf conflict prevention 2023-07-11 11:44:30 +09:00
Mononaut
e81839e7ed
Return null for avg of zero matching health scores 2023-07-11 09:54:03 +09:00
Mononaut
6942a6fd6a
Show alert banner on stale blocks 2023-07-10 16:14:02 +09:00
Mononaut
385cb087d3
Replace cached blocks on reorg, serve stale blocks 2023-07-10 16:14:02 +09:00
Mononaut
f1966768a7
exclude fullrbf txs from audit and label in visualization 2023-07-10 15:34:22 +09:00
Mononaut
4ba552fe1b
Add basic lightning justice page 2023-07-09 03:03:35 -04:00
junderw
ec918d57b2
Fix backend docker build for armv7 2023-07-08 23:03:03 -07:00
junderw
925ebf08d4
Fix Docker build for using napi-rs 2023-07-06 18:05:21 -07:00
junderw
eae5f6078e
Move N-API CLI to dependencies 2023-07-06 15:49:54 -07:00
Jonathan Underwood
464587cec5
Add period 2023-07-05 19:35:36 -07:00
junderw
0c7c1dd0a8
Merge remote-tracking branch 'origin/master' into mononaut/rust-gbt 2023-07-05 08:39:48 -07:00
junderw
22d357c53c
Faster txid to u32 parsing 2023-07-05 08:39:01 -07:00
junderw
390c4a7706
Use ManuallyDrop 2023-07-04 17:19:41 -07:00
Joost Jager
9e5d10b15f Add average fee delta to pool ranking
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2023-07-04 11:25:39 +00:00
Mononaut
8fdc44aa89
replace audit_pool hashmap with a vec 2023-07-03 22:16:35 -04:00
Mononaut
cfa2363743
only return rates changed since last update 2023-07-03 12:01:49 -04:00
Mononaut
897c667f17
return sigop-adjusted effective fee rates 2023-07-03 12:01:06 -04:00
Mononaut
078bc1d914
fix and consolidate tx ordering logic 2023-07-03 11:57:12 -04:00
mononaut
d16d961cb2
Apply suggestions from code review
avoid regex in partial txid ordering conversion

Co-authored-by: Jonathan Underwood <jonathan.underwood4649@gmail.com>
2023-07-03 11:55:43 -04:00
Mononaut
23d487b904
Mimic Core's ordering for equal-score transactions 2023-07-03 10:28:32 -04:00
Mononaut
af6de9b72c
more misc JS-side gbt performance optimizations 2023-07-03 10:20:08 -04:00
junderw
0ddfa94b59
Ran cargo fmt 2023-07-03 10:18:22 -04:00
Mononaut
ccbed8ec58
Use min(feerate,ancestor_feerate) for ancestor score 2023-07-03 10:18:22 -04:00