Commit Graph

1996 Commits

Author SHA1 Message Date
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
junderw
552818607a
Better initial capacity 2023-07-03 10:18:22 -04:00
Mononaut
db8c34ae61
misc JS-side gbt performance optimizations 2023-07-03 10:18:22 -04:00
Mononaut
0886e850f9
Pass gbt mempool data directly without serialization 2023-07-03 10:18:21 -04:00
Mononaut
5065fa42d0
calculate total block weights inside rust gbt 2023-07-03 10:18:21 -04:00
junderw
2838b068f7
Increased performance 2023-07-03 10:18:21 -04:00
junderw
77c83a6a13
Fix CI for Rust test 2023-07-03 10:18:21 -04:00
Mononaut
79a10ee833
vsize -> sigop_adjusted_vsize 2023-07-03 10:18:21 -04:00
Mononaut
10beb76585
conform to core's gbt quirks 2023-07-03 10:18:21 -04:00
Mononaut
71f150b587
Add end-to-end test of rust gbt against results from Core 2023-07-03 10:18:21 -04:00
junderw
6650541b2d
Added Logging and refactored a bit 2023-07-03 10:18:20 -04:00
Mononaut
702c4c123e
remove unnecessary option wrapper from gbt return value 2023-07-03 10:18:20 -04:00
Mononaut
1688b7d24e
fix handling of used txs at top of mempool stack 2023-07-03 10:18:20 -04:00
Mononaut
75fd4ff5e1
swap mempool_array deque for a mempool_stack vec 2023-07-03 10:18:20 -04:00
Mononaut
ac8f88da38
protect ancestor data from outside assignments 2023-07-03 10:18:20 -04:00
Mononaut
7873f1c26a
fix rust gbt cpfp cluster construction 2023-07-03 10:18:20 -04:00
Mononaut
a66c0c88ce
fix rust gbt priority queue handling 2023-07-03 10:18:20 -04:00
Mononaut
f5e0662517
Fix mempool-blocks linter issues 2023-07-03 10:18:19 -04:00
junderw
4334b9eac1
Fix README and publish = false in Cargo.toml 2023-07-03 10:18:19 -04:00
Mononaut
4a15cd7abe
clearer uint32 uid overflow check 2023-07-03 10:18:19 -04:00
junderw
5d48ae1eec
Use U32HasherState for HashSet 2023-07-03 10:18:19 -04:00
Mononaut
a71f931d9f
Add sanity checks for GBT cache de-sync 2023-07-03 10:18:19 -04:00
Mononaut
6829e67e15
Add sanity check for uint32 uid overflow 2023-07-03 10:18:19 -04:00
Mononaut
fc504012d5
Enforce Rust GBT instance lifecycle 2023-07-03 10:18:18 -04:00
Mononaut
8f675c7062
Add Rust GBT config flag 2023-07-03 10:18:18 -04:00
junderw
1ed0f86ed9
calc_new_score can be private 2023-07-03 10:18:18 -04:00
junderw
609df31e0c
Fix clippy pedantic and nursery lints as well 2023-07-03 10:18:18 -04:00
junderw
e61ae59e53
Add safety comments 2023-07-03 10:18:18 -04:00
junderw
e3f4c33f03
Protect score from outside assignment and document the requirements 2023-07-03 10:18:17 -04:00
junderw
af4919a98b
Use u32hasher with PriorityQueue as well 2023-07-03 10:18:17 -04:00
junderw
939d2230d2
Use bytemuck instead of unsafe Rust 2023-07-03 10:18:17 -04:00
junderw
59b19eefe3
Move u32hasher into its own module, don't expose the Hasher for use. 2023-07-03 10:18:17 -04:00
junderw
3c652bdcbc
Optimize audit_pool key hashing as well. Use a const for starting capacity for tx related lists. 2023-07-03 10:18:17 -04:00
junderw
ded2352cf8
Use a class to hold state for Rust GbtGenerator 2023-07-03 10:18:17 -04:00
junderw
8cfda1a546
Use tokio async/await instead of callbacks 2023-07-03 10:18:17 -04:00
junderw
5f161e73c7
Check callback status in thread 2023-07-03 10:18:16 -04:00
junderw
dfe24ed9d7
Remove all unwrap() calls 2023-07-03 10:18:16 -04:00
junderw
4661bea2f0
Use N-API ThreadsafeFunction 2023-07-03 10:18:16 -04:00
junderw
152d2c364b
Update TS side 2023-07-03 10:18:16 -04:00
junderw
2d4963c2df
Feature: Use napi-rs instead of neon 2023-07-03 10:18:16 -04:00
junderw
0f1f151d65
Remove empty function 2023-07-03 10:18:16 -04:00
junderw
d2a47b92c8
Move conversion logic to struct file 2023-07-03 10:18:16 -04:00
junderw
920232be4c
Use Cargo workspace
Cargo workspace in the root will help make the IDE experience universal.
Cargo.lock and the target directory for build artifacts will be in the root
of the mempool repository (with ./target ignored by git).
2023-07-03 10:18:15 -04:00
junderw
83bf9229e7
Fix: Some of the clippy pedantic lints 2023-07-03 10:18:15 -04:00
mononaut
178bb960e9
Remove redundant gbt function
Co-authored-by: Jonathan Underwood <jonathan.underwood4649@gmail.com>
2023-07-03 10:18:15 -04:00
Mononaut
0e00881826
Refactor rust code for style 2023-07-03 10:18:15 -04:00
Mononaut
1d51b01bd1
Implement rust gbt updateBlockTemplates 2023-07-03 10:18:15 -04:00
Mononaut
52bb8b4a4d
Rust GBT proof of concept 2023-07-03 10:18:14 -04:00
softsimon
52c813bcc7
Merge branch 'master' into simon/mempool-break-limit 2023-07-03 09:59:21 +02:00
softsimon
5f582195ad
Merge branch 'master' into mononaut/effective-rate-templates 2023-07-02 18:11:28 +02:00
softsimon
a567a28c5c
Update backend/src/api/mempool.ts
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2023-07-02 18:10:14 +02:00
softsimon
59713e2132
Update backend/src/api/mempool.ts
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2023-07-02 18:10:08 +02:00
softsimon
1e83a99bae
Update backend/src/api/mempool.ts
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2023-07-02 18:10:02 +02:00
softsimon
b5fdb6d64f
Merge pull request #3843 from mempool/mononaut/projected-fee-graph
Better projected fee graph
2023-07-02 17:44:12 +02:00
softsimon
f80257c5ea
Merge branch 'master' into mononaut/atomic-cpfp 2023-07-01 22:04:14 +02:00
softsimon
2bda12e5f9
Merge pull request #3881 from mempool/mononaut/separate-audit-api
Separate summary and audit-summary API endpoints
2023-07-01 19:43:20 +02:00
softsimon
2e285c8d86
Merge pull request #3878 from mempool/mononaut/full-mempool-graph
Add 'all time' option for mempool graph
2023-07-01 17:23:03 +02:00
nymkappa
d939391e62
ALL -> all (no caps needed, match the url parameters as well) 2023-06-30 19:52:06 -04:00
Mononaut
d4ed238ae1
Add statistics/all to cache warmer, change query keyword 2023-06-30 19:52:05 -04:00
Mononaut
22baf4186e
Add 'all time' option for mempool graph 2023-06-30 19:52:05 -04:00
Mononaut
eaad63a082
frontend resync recent blocks when necessary 2023-06-30 19:43:04 -04:00
Mononaut
ca6ddd609d
clean up backend websocket logic 2023-06-30 19:43:04 -04:00
Mononaut
9f2b98b246
Handle stack-of-N-blocks in new fee graph 2023-06-30 19:27:31 -04:00
Mononaut
48d62a1396
Save effective fee rates to block templates & summaries 2023-06-29 19:24:19 -04:00
softsimon
31ae382f75
Lowering mempool loop break limit 2023-06-27 18:46:28 +02:00
Mononaut
1f442b9ea6
Make cpfp db save operations atomic 2023-06-22 12:08:47 -04:00
Mononaut
9ff5ce0d37
Change order of cpfp db operations 2023-06-21 19:57:18 -04:00
Mononaut
329c635da5
Fix getCpfpInfo error handling 2023-06-21 19:57:09 -04:00
Mononaut
e18f3800be
Hotfix for undefined cpfp cluster bug 2023-06-21 19:07:00 -04:00
Mononaut
4fbab08586
Separate summary and audit-summary API endpoints 2023-06-20 15:13:52 -04:00
Antoni Spaanderman
0d69ad43ab
fix config issues 2023-06-18 20:34:56 +02:00
Antoni Spaanderman
dc491a5984
change default cookie path to /bitcoin/.cookie 2023-06-18 19:16:09 +02:00
Antoni Spaanderman
e9386ec003
Add Bitcoin Core RPC cookie authentication option 2023-06-18 19:16:07 +02:00
softsimon
0586e04d67
Merge pull request #3873 from mempool/simon/sanitize-pubkey-search
Sanitize node pubkey search
2023-06-17 11:22:28 +02:00
softsimon
a5575c0876
Sanitize node pubkey search 2023-06-16 23:42:57 +02:00
softsimon
176f5e1377
Reinstate the mempool loop time limit 2023-06-16 20:42:31 +02:00
softsimon
d955dbff55
Merge pull request #3842 from mempool/mononaut/consistent-fee-ranges
Fix fee range inconsistencies
2023-06-15 16:49:07 +02:00
softsimon
c630d705df
Merge pull request #3839 from mempool/mononaut/clean-up-legacy-cpfp
Clean up legacy CPFP calculations
2023-06-14 23:14:07 +02:00
softsimon
c5bf167e36
Merge pull request #3846 from mempool/mononaut/audit-details
Add expected vs actual audit details comparison table
2023-06-14 23:05:07 +02:00
softsimon
e8420853e2
Merge pull request #3838 from mempool/mononaut/dependent-rate-indexing
calculate & index ancestor-dependent effective rates
2023-06-14 23:02:25 +02:00
softsimon
a99515e94a
Merge pull request #3834 from mempool/mononaut/fix-double-mined-rbf
Fix multiple mined RBF replacements of the same tx
2023-06-14 22:15:53 +02:00
Mononaut
c4f7b99978
add backfilled audit stats to cached blocks 2023-06-14 16:15:33 -04:00
Mononaut
6b93e61b56
minor audit details fixes 2023-06-14 11:28:39 -04:00
softsimon
0b2ffb3e91
Merge branch 'master' into nymkappa/reindexing-pools-update 2023-06-12 15:53:46 +02:00
softsimon
1fbdf97639
Merge branch 'master' into nymkappa/fix-possible-crash 2023-06-12 15:45:02 +02:00
Mononaut
93d24d1cf7
Add expected fee % diff to blocks list page 2023-06-10 12:35:15 -04:00
Mononaut
5b62966863
Add indexer task to backfill audit fee/weight stats 2023-06-10 12:34:16 -04:00
Mononaut
3013386ca5
Add expected weight to audit table 2023-06-10 12:32:53 -04:00
Mononaut
aedaf53137
Merge branch 'master' into merged-expected-block-fees 2023-06-10 12:15:29 -04:00
softsimon
9a99ee6486
Merge pull request #3772 from mempool/nymkappa/dont-rethrow-block-summaries
[audit] warn if we cannot save templates and remove exception re-throw
2023-06-07 18:31:59 +02:00
nymkappa
fd30bff9c6
don't throw when BlocksAuditRepositories.$saveAudit fails 2023-06-07 18:04:21 +02:00
Mononaut
3c022ad755
Fix fee range inconsistencies 2023-06-07 11:59:31 -04:00
Mononaut
ca9b48283d
calculate & index ancestor-dependent effective rates 2023-06-06 18:23:06 -04:00
Mononaut
c8fc416c88
Remove legacy mined block cpfp loop, reset stale ancestors 2023-06-06 14:19:30 -04:00
softsimon
804640216f
Merge pull request #3830 from mempool/fix/p2tr-annex-parse
Fix: Annex parsing for p2tr on bitcoind/romanz backends
2023-06-06 20:27:03 +04:00
softsimon
2191bf2a22
Merge pull request #3826 from mempool/mononaut/fix-firstseen
fix firstSeen reset migration bug
2023-06-06 20:18:35 +04:00
Mononaut
386037d1db
Fix missing fees in $updateBlocks without esplora 2023-06-06 17:34:22 +02:00
softsimon
f2e216b9ac
Merge pull request #3804 from mempool/mononaut/split-summaries-table
Break block templates into their own db table
2023-06-06 19:30:28 +04:00
Mononaut
35d80eec1c
Fix multiple mined RBF replacements of the same tx 2023-06-06 11:01:01 -04:00
Joost Jager
74b2014dff
Show expected fees in blocks list 2023-06-06 08:52:29 +02:00
junderw
9e1de656c1
Fix: Annex parsing for p2tr on bitcoind/romanz backends 2023-06-05 07:21:55 -07:00
Joost Jager
3c0bb11208
Add expected total fees audit 2023-06-05 14:19:16 +02:00
Mononaut
37dd95a4a0
fix firstSeen reset bug 2023-06-04 12:47:04 -04:00
Mononaut
c49626aefc
Confirmation badge component, fix negative confirmations 2023-06-03 16:20:32 -04:00
Mononaut
b171ed6dd0
Break block templates into their own db table 2023-05-31 13:43:48 -04:00
nymkappa
0b74cf1d89
fix possible backend crash x2, remove dead code, improve log 2023-05-31 09:58:29 -07:00
nymkappa
c558c85f36
fix possible backend crash 2023-05-31 09:48:44 -07:00
Mononaut
ee1ec414ed
use fractional base vsize in adjusted vsize 2023-05-31 11:45:47 -04:00
Mononaut
0e5dc21854
Fix mined rbf / calculate sigop merge conflicts 2023-05-31 11:37:13 -04:00
Mononaut
bf7df08305
Enforce block sigop limits in GBT algorithm 2023-05-31 11:29:58 -04:00
Mononaut
ec63c822db
Display sigops & adjusted vsize in transaction page details 2023-05-31 11:29:58 -04:00
Mononaut
09e4e44e88
Count sigops & use adjusted vsizes in mempool projections 2023-05-31 11:29:56 -04:00
Mononaut
70fa78b987
Fix effective fee rates for non-cpfp dependents 2023-05-31 11:27:04 -04:00
nymkappa
ea51ab8d0b
[indexer] show github sha when successufly updated pools json 2023-05-30 10:42:41 -07:00
nymkappa
62169cee3f
[indexer] oldest known mining pool block per network 2023-05-30 10:25:41 -07:00
nymkappa
e7e7b30807
fix log 2023-05-30 10:16:56 -07:00
nymkappa
0b4615cbf0
[indexer] reindex diff adjustments and hashrates upon mining pool update 2023-05-30 10:05:10 -07:00
softsimon
0703690190
Merge pull request #3785 from mempool/mononaut/mined-block-rbf
Detect RBF by mined transactions
2023-05-30 14:50:07 +07:00
wiz
27154da191
ops: Add npm run scripts for backend reindexing 2023-05-29 14:09:28 -03:00
Felipe Knorr Kuhn
60fd2df4e6
Merge branch 'master' into dependabot/npm_and_yarn/backend/bitcoinjs-lib-6.1.1 2023-05-27 08:13:46 -07:00
Felipe Knorr Kuhn
c382e03e4a
Merge branch 'master' into docker_vars_test 2023-05-26 07:16:29 -07:00
dependabot[bot]
ac73de31b5
Bump bitcoinjs-lib from 6.1.0 to 6.1.1 in /backend
Bumps [bitcoinjs-lib](https://github.com/bitcoinjs/bitcoinjs-lib) from 6.1.0 to 6.1.1.
- [Changelog](https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bitcoinjs/bitcoinjs-lib/compare/v6.1.0...v6.1.1)

---
updated-dependencies:
- dependency-name: bitcoinjs-lib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 02:56:38 +00:00
nymkappa
8ffe2f3156
Always re-indexing blocks when updating mining pools 2023-05-25 09:08:51 -07:00
softsimon
038f9659bb
Save new disk cache after ignoring blocks 2023-05-25 19:19:14 +04:00
softsimon
aeb896e200
Don't wipe mempool cache in pools updater 2023-05-25 19:07:51 +04:00
softsimon
349ba613dd
Revert "Don't wipe mempool cache in pools updater"
This reverts commit 714208a366.
2023-05-25 19:06:45 +04:00
softsimon
714208a366
Don't wipe mempool cache in pools updater 2023-05-25 19:05:29 +04:00
softsimon
31ea2e1d4b
Fix for pool output address matching
fixes #3782
2023-05-24 01:22:01 +04:00
Mononaut
369db7a63c
Detect RBF by mined transactions 2023-05-18 09:51:41 -04:00
Mononaut
81ec54fcb3
Omit possible high-sigop txs from block health score 2023-05-17 11:46:50 -04:00
Felipe Knorr Kuhn
50a865e54e
Merge branch 'master' into docker_vars_test 2023-05-15 13:09:46 -07:00
nymkappa
720c2b8807
Block prediction -> Block health - Fix wrong chart download name 2023-05-14 16:32:11 -05:00
Felipe Knorr Kuhn
6333f3aa47
Update the backend config fixture 2023-05-14 14:25:23 -07:00
Felipe Knorr Kuhn
184ca3c662
Add a test to check that the docker json is in sync with the template 2023-05-14 14:17:53 -07:00
Felipe Knorr Kuhn
3f8fefcb0e
Add a test to check if all the vars are on the Docker script 2023-05-14 13:14:44 -07:00
nymkappa
f95c16a78e
[audit] warn if we cannot save templates and remove exception re-throw 2023-05-13 15:28:29 +02:00
softsimon
6141516eb2
Merge pull request #3753 from mempool/mononaut/fix-difficulty-estimate
Fix difficulty estimate
2023-05-12 09:21:06 -05:00
softsimon
adc395fc3d
Merge pull request #3743 from mempool/mononaut/full-stack-fee-stats
stack-of-n-blocks fee statistics
2023-05-11 19:48:02 -05:00
Mononaut
d322665789
update difficulty tests 2023-05-11 11:39:18 -06:00
Mononaut
49529627f8
Fix difficulty adjustment calculation 2023-05-11 11:18:58 -06:00
wiz
cb9d09a930
Merge branch 'master' into nymkappa/scan-closed-channel-no-mempool 2023-05-11 11:04:19 -05:00
Mononaut
e5bef55d47
Fix RBF timestamps to always use seconds 2023-05-11 09:21:48 -06:00
Mononaut
3d1cd3193a
online calculation of stack-of-n-blocks fee statistics 2023-05-10 17:34:20 -06:00
Mononaut
ffd7831efc
optimize websocket init data 2023-05-10 08:05:39 -06:00
Mononaut
f8636d20c2
optimize batch client websocket updates 2023-05-10 08:05:39 -06:00
Mononaut
033e78c0a7
Optimize main thread processing of GBT updates 2023-05-08 23:01:17 -06:00
Mononaut
428d4fc6ab
optimize data structures for advanced GBT algorithm 2023-05-07 11:54:23 -06:00
softsimon
ee05a6852e
Rapid mempool sync 2023-05-07 20:21:02 +04:00
Mononaut
3d0f7d6855
add missing rbf eviction 2023-05-05 10:20:17 -07:00
Mononaut
d322c6b5b5
Fix new block mempool deletion race condition 2023-05-05 10:19:11 -07:00
Mononaut
f456912679
fix rbf cache eviction logic 2023-05-04 23:30:11 -04:00
Mononaut
e5f97ace8b
delay writing disk cache until block handler completes 2023-05-03 15:53:47 -06:00
softsimon
e6e90799ef
Merge branch 'master' into mononaut/mempool-effective-rates 2023-05-04 00:58:49 +04:00
Mononaut
a22703d547
Add mempool position improvements to updateMempoolBlocks 2023-05-03 14:18:07 -06:00
Mononaut
3b8bcc4da5
Improve stability of mempool tx position arrow 2023-05-03 14:18:06 -06:00
Mononaut
36c7697c2b
Update rbf disk caching for new method 2023-05-03 13:00:23 -06:00
Mononaut
7e9cfa0858
Persist RBF cache to disk 2023-05-03 13:00:20 -06:00
Mononaut
6fb4adc27d
fixes for non-dual-node rbf feature 2023-05-03 12:53:56 -06:00
Mononaut
086b41d958
support trees of RBF replacements 2023-05-03 12:53:56 -06:00
Mononaut
f46296a2bb
new page listing recent RBF events 2023-05-03 12:53:53 -06:00
Mononaut
7b2a1cfd10
update RBF timeline over websocket 2023-05-03 12:52:21 -06:00
Mononaut
1b843da785
Timeline of replacements for RBF-d transactions 2023-05-03 12:52:20 -06:00
softsimon
8db7326a5a
Merge pull request #3709 from mempool/mononaut/optimize-new-block-gbt
skip unnecessary makeBlockTemplates call
2023-05-03 21:56:07 +04:00
softsimon
dd68572603
Revert "Revert TCP socket fallback" 2023-05-03 10:11:44 +04:00
Mononaut
03ee5c7c31
skip unnecessary makeBlockTemplates 2023-05-02 18:47:34 -06:00
softsimon
565aa9616b
Change forensic logging to debug 2023-05-02 17:39:02 +04:00
softsimon
c659adb4be
Removing dead code causing slowdown 2023-05-02 15:40:16 +04:00
Mononaut
3748102bb0
Log websocket statistics 2023-05-01 13:08:29 -06:00
Mononaut
4597bfa5d7
use $ naming convention for async function names 2023-04-30 15:52:44 -06:00
Mononaut
f30cf70226
await for mempool change handler after loading disk cache 2023-04-30 15:51:26 -06:00
softsimon
58b08f2c33
Add end quotes 2023-05-01 00:16:23 +04:00
softsimon
ac240398ef
Merge branch 'master' into mononaut/debug-main-loop-stall 2023-04-30 22:53:06 +04:00
Mononaut
e05f2198d5
Add explicit timeout to mysql DB queries 2023-04-28 19:21:03 -06:00
Mononaut
95df317f56
detect and log stall in main loop 2023-04-28 19:17:58 -06:00
wiz
864225a0dc
Merge branch 'master' into simon/backend-block-tip-height-endpoint 2023-04-28 18:25:13 +09:00
softsimon
000c46bf57
Revert TCP socket fallback 2023-04-28 12:06:49 +04:00
softsimon
66919a1aba
Backend block tip height endpoint 2023-04-26 13:49:01 +04:00
softsimon
04a8249883
Merge pull request #3644 from mempool/mononaut/full-mempool-cpfp
Perform full cpfp calculations for the entire mempool
2023-04-08 16:50:57 +08:00
nymkappa
dfe2cf631f
[config] fix docker esplora config and template 2023-04-08 10:42:08 +09:00
nymkappa
d6913b6439
[config] add missing RETRY_UNIX_SOCKET_AFTER 2023-04-07 13:28:32 +09:00
Mononaut
5950034f53
Perform full cpfp calculations for the entire mempool 2023-04-07 00:25:45 +09:00
wiz
d18ebdfc59
ops: Update hard-coded path for liquid asset icons 2023-04-06 19:19:30 +09:00
nymkappa
c5252dc27d
[indexing] delete dead code 2023-04-06 11:55:25 +09:00
nymkappa
6016db2533
[indexing] save missing fee_percentiles and median_fee_amt when indexing on the fly 2023-04-06 11:55:17 +09:00
nymkappa
b23f14b798
[indexing] fix typescript issue, reading invalid field 2023-04-06 11:54:22 +09:00
nymkappa
c23e529f0a
[main loop] retry every seconds upon exception - warn after 5 attempts 2023-04-05 22:44:01 +09:00
nymkappa
ab7cb5f681
[esplora] reset timeout variable when retrying unix socket 2023-04-05 17:05:23 +09:00
nymkappa
db27e5a92c
[esplora] print log when retrying unix socket - don't fallback to tcp socket on ETIMEDOUT 2023-04-05 17:00:53 +09:00
nymkappa
b6f1fd5a4a
[esplora] initialize default socket config to axiosConfigWithUnixSocket 2023-04-05 16:38:37 +09:00
nymkappa
44a0913b81
[esplora] fallback to tcp socket if unix socket fails 2023-04-05 16:27:13 +09:00
Mononaut
4c569c0ded
Send mempool effective fee rate changes to frontend & apply 2023-04-05 08:42:01 +09:00
Mononaut
3d5c156776
Use effective fee rates in mempool block visualizations & tooltips 2023-04-05 08:42:01 +09:00
wiz
bdb7e62921
Merge branch 'master' into ops/esplora-unix-sockets 2023-04-03 15:34:47 +09:00
softsimon
2ef340712f
Merge pull request #3442 from mempool/nymkappa/reorg-keep-templates
When a re-org happens, keep the block templates for audit
2023-04-03 12:24:05 +09:00
softsimon
83c03474a9
Merge pull request #3586 from mempool/nymkappa/fix-price-undefined
Add missing sanity check when fetching single price datapoint
2023-04-01 18:04:32 +09:00
softsimon
f1b5ee2a5f
Merge pull request #3404 from mempool/nymkappa/bugfix/wrong-percentage-heap-log
Fix % on heap limit warn
2023-04-01 16:56:50 +09:00
nymkappa
a512884b65
Wrap lightning stats importer into try/catch 2023-04-01 14:56:18 +09:00
softsimon
fc29943d0f
Upgrading deps 2023-04-01 12:16:59 +09:00
softsimon
482a609d84
Update backend NPM libs 2023-04-01 12:15:32 +09:00
nymkappa
321161ede9
Cleanup some log 2023-04-01 12:00:54 +09:00
nymkappa
816fb3bf01
Don't delete transactions when checking if the current chain is valid 2023-03-31 12:22:26 +09:00
nymkappa
44bbb472d3
Keep re-org'ed block summaries in the database 2023-03-31 12:08:05 +09:00
nymkappa
ea2193a42d
Add missing sanity check when fetching single price datapoint 2023-03-29 17:33:07 +09:00
nymkappa
9e4fe40ca3
When a re-org happens, keep the block templates for audit 2023-03-29 17:32:17 +09:00
nymkappa
d9b4ad64bb
Fix % on heap limit warn 2023-03-29 17:30:32 +09:00
nymkappa
c675d1c498
Make sure to scan closed channels even if config.MEMPOOL.ENABLE = false 2023-03-28 23:07:50 +09:00
Mononaut
a4c027dc48
clean up unused vars in mempool-blocks.ts 2023-03-28 17:02:37 +09:00
Mononaut
9f40cba914
use new median fee calculation for mempool blocks 2023-03-28 17:02:37 +09:00
Mononaut
2fc404a55c
refactor effective rate calculation 2023-03-28 16:20:20 +09:00
Mononaut
2baa10dcef
Use effective fee rate heuristics for block fee span 2023-03-28 16:19:06 +09:00
wiz
96f3218ec6
Bump version to v2.6.0-dev 2023-03-28 14:25:05 +09:00
wiz
57eddac7f0
Release v2.5.0 2023-03-28 12:14:31 +09:00
nymkappa
34eef3553b
Reset pools sha db state 2023-03-27 19:39:50 +09:00
softsimon
4c4a91ae95
Merge pull request #3560 from mempool/mononaut/missing-tx-bug
Fix thread inconsistency / lazy deletion race condition bugs
2023-03-27 15:33:34 +09:00
softsimon
3f8e91bd46
Merge pull request #3578 from mempool/nymkappa/revert-undocumented-fast-forward
Revert regression introduced in #1320
2023-03-26 22:10:23 +09:00
nymkappa
414383638d
Revert regression introduced in #1320 2023-03-26 17:54:24 +09:00
nymkappa
c7cab4c877
Remove difficulty adjustment calculation lag in the backend 2023-03-26 17:01:04 +09:00
Mononaut
edfbede704
Don't send back difficulty adjustment info 2023-03-26 09:05:41 +09:00
Mononaut
5f60cb821a
Fix difficulty adjustment start-of-epoch edge cases 2023-03-26 07:27:11 +09:00
Mononaut
8486c1117d
log warnings for unexpectedly missing txs 2023-03-26 05:41:31 +09:00
Mononaut
61f24562fd
tighten sanity checks in block audit 2023-03-24 09:49:02 +09:00
Mononaut
28de93d0ff
move lazy tx deletion into main loop 2023-03-24 09:48:08 +09:00
Mononaut
1fd85b729d
handle stale transactions in block templates 2023-03-24 09:47:08 +09:00
wiz
1eb9e58331
Merge branch 'master' into simon/bumping-electrum-client 2023-03-23 15:58:44 +09:00
softsimon
c4d13fb5b7
Bumping electrum-client 2023-03-23 15:56:30 +09:00
nymkappa
53a44853b3
Reconnect to electrum an unlimited amount of times every 1 seconds up disconnection 2023-03-23 15:18:48 +09:00
softsimon
45dbc6c6f6
Update logger network after modifying config 2023-03-21 16:21:11 +09:00
softsimon
d337bf3ee2
Turn off LN if Macaroon is missing 2023-03-21 15:52:41 +09:00
softsimon
758e4d4f4c
Disable LN on macaroon fail 2023-03-21 15:49:38 +09:00
wiz
ccab8b16bf
Merge branch 'master' into ops/esplora-unix-sockets 2023-03-21 14:29:06 +09:00
wiz
ca1b6553c9
Merge branch 'master' into simon/catch-unhandled-lnd-axios-request 2023-03-20 20:53:41 +09:00
softsimon
e3109a8fec
Catch exeptions in Lightning stats
fixes #3486
2023-03-20 20:46:11 +09:00
wiz
cce7dd917f
Merge branch 'master' into nymkappa/configurable-timeout 2023-03-20 17:38:40 +09:00
nymkappa
c6e063ea2f
Make lnd timeout configurable 2023-03-20 16:35:44 +09:00
nymkappa
81d563381a
Make bitcoin core timeout configurable 2023-03-20 16:15:40 +09:00
softsimon
870e895144
Correcting docker disk cache config variable 2023-03-20 16:12:56 +09:00
softsimon
517cf613c1
Removing Sigterm. Cache write block interval configuration. 2023-03-20 15:46:05 +09:00
softsimon
d54bcc898b
Fix missing temp cache in disk cache 2023-03-20 15:44:55 +09:00
nymkappa
ad5ce6dba4
Fix maxmind tests 2023-03-20 14:02:31 +09:00
wiz
e2e71c7a46
Add Maxmind GeoIP Lite download to Docker build 2023-03-19 17:49:08 +09:00
nymkappa
af6d115dbb
Add missing MAXMIND in docker configs - Remove duplicated __MEMPOOL_INDEXING_BLOCKS_AMOUNT__ 2023-03-19 15:39:17 +09:00
softsimon
7d8ea075d9
Merge pull request #3405 from mempool/nymkappa/pool-health
Show block health in pool block list
2023-03-18 18:48:10 +09:00
Mononaut
ed46232b83
Fix missing fees in liquid block tooltips 2023-03-18 18:11:10 +09:00
softsimon
b78fdf5a23
Merge pull request #3353 from mempool/mononaut/mempool-block-animations
Improve mempool block animations
2023-03-18 12:46:20 +09:00
softsimon
41a6674fad
Merge pull request #3379 from mempool/nymkappa/testnet-signet-price-zero
Don't fetch prices on signet/testnet, always show 0
2023-03-17 16:40:09 +09:00
Mononaut
b5c2073414
Fix getSimilarity error on empty mempool 2023-03-16 22:16:40 +09:00
Mononaut
25aacb5046
Calculate similarity score with audit disabled 2023-03-16 22:16:40 +09:00
Mononaut
c24724dcdf
animate mempool blocks conditional on mined block similarity 2023-03-16 22:16:40 +09:00
nymkappa
0ebe0a5dc9
Add new stats in mining pool page 2023-03-16 16:13:11 +09:00
softsimon
1b2810ec0e
Merge branch 'master' into mononaut/disk-cache-network-version 2023-03-14 21:05:16 +09:00
nymkappa
a5dd141934
Don't fetch prices on signet/testnet, always show 0 2023-03-14 15:39:15 +09:00
nymkappa
ecfb980e75
Disable pool update when running lightning only 2023-03-13 17:24:23 +09:00
Mononaut
96a41400f4
Add axios support for esplora unix sockets 2023-03-13 14:53:44 +09:00
Mononaut
3bf96dafde
Add network versioning to disk cache 2023-03-12 19:20:29 +09:00
Mononaut
8bd05987e5
Save cache to disk every 6 blocks 2023-03-12 19:03:19 +09:00
wiz
730c1ae2d7
Merge branch 'master' into hunicus/manual-deployment-enterprise 2023-03-12 16:57:49 +09:00
wiz
24d9977919
Merge branch 'master' into nymkappa/esplora-warning 2023-03-11 18:36:22 +09:00
softsimon
6196860387
Merge pull request #3296 from mempool/nymkappa/order-isp
Sort asn numerically - add few more top 10 isp in warm cache
2023-03-11 18:22:39 +09:00
Mononaut
39051e94e3
Redesign difficulty adjustment dashboard widget 2023-03-11 17:53:18 +09:00
wiz
7e873e6637
Merge branch 'master' into nymkappa/order-isp 2023-03-11 15:50:31 +09:00
nymkappa
4263977d99
Updated regtest example 2023-03-11 10:52:15 +09:00
Mononaut
46d89ac837
prevent disk cache file write corruption 2023-03-09 20:19:22 -06:00
Mononaut
796566e7ae
Save cache to disk on SIGTERM/SIGINT 2023-03-09 19:47:54 -06:00
nymkappa
6327ce7c89
Sort asn numerically - add few more top 10 isp in warm cache 2023-03-10 09:21:44 +09:00
softsimon
42228dc70f
Revert "Bump axios from 0.27.2 -> 1.3.4" 2023-03-09 17:46:09 +09:00
nymkappa
63dd9fd09e
Log a warn if there are lot of 404 from esplora tx api 2023-03-09 17:45:08 +09:00
nymkappa
304089b3d0
Bump axios from 0.27.2 -> 1.3.4 2023-03-09 17:27:19 +09:00