1733 Commits

Author SHA1 Message Date
Mononaut
109eeaa1f6 replace client recent blocks on reorg 2023-07-13 10:43:18 +09:00
wiz
650cdd9cd5 Fix production rust GBT build 2023-07-12 17:16:40 +09:00
wiz
61ebe5f7a3 Merge branch 'master' into mononaut/fix-mined-rbf-conflicts 2023-07-12 16:17:47 +09:00
wiz
d39261680e Merge branch 'master' into nymkappa/scan-closed-channel-no-mempool 2023-07-12 16:00:52 +09:00
Mononaut
72c4ea1657 fix price updater loop on testnet/signet 2023-07-11 16:03:44 +09:00
wiz
673009fe3f 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
f6e1831595 Fix mined rbf conflict prevention 2023-07-11 11:44:30 +09:00
Mononaut
420e3287ef Show alert banner on stale blocks 2023-07-10 16:14:02 +09:00
Mononaut
983a9ecd0e Replace cached blocks on reorg, serve stale blocks 2023-07-10 16:14:02 +09:00
Mononaut
d6db808257 exclude fullrbf txs from audit and label in visualization 2023-07-10 15:34:22 +09:00
junderw
b916a3ee66 Fix Docker build for using napi-rs 2023-07-06 18:05:21 -07:00
junderw
b73437a311 Move N-API CLI to dependencies 2023-07-06 15:49:54 -07:00
Jonathan Underwood
d9f11b829b Add period 2023-07-05 19:35:36 -07:00
junderw
212d8e2f05 Merge remote-tracking branch 'origin/master' into mononaut/rust-gbt 2023-07-05 08:39:48 -07:00
junderw
15639d687d Faster txid to u32 parsing 2023-07-05 08:39:01 -07:00
junderw
83ec0e8049 Use ManuallyDrop 2023-07-04 17:19:41 -07:00
Joost Jager
f4b8ed4243 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
355bd2a81e replace audit_pool hashmap with a vec 2023-07-03 22:16:35 -04:00
Mononaut
b6639d4a44 only return rates changed since last update 2023-07-03 12:01:49 -04:00
Mononaut
08697666a9 return sigop-adjusted effective fee rates 2023-07-03 12:01:06 -04:00
Mononaut
a7ae8cefbc fix and consolidate tx ordering logic 2023-07-03 11:57:12 -04:00
mononaut
e96f675ceb 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
6dce3e356b Mimic Core's ordering for equal-score transactions 2023-07-03 10:28:32 -04:00
Mononaut
597764c311 more misc JS-side gbt performance optimizations 2023-07-03 10:20:08 -04:00
junderw
8767305966 Ran cargo fmt 2023-07-03 10:18:22 -04:00
Mononaut
8cb5d8db3d Use min(feerate,ancestor_feerate) for ancestor score 2023-07-03 10:18:22 -04:00
junderw
832e63ae9a Better initial capacity 2023-07-03 10:18:22 -04:00
Mononaut
fe84d6e1ab misc JS-side gbt performance optimizations 2023-07-03 10:18:22 -04:00
Mononaut
1e1bf14692 Pass gbt mempool data directly without serialization 2023-07-03 10:18:21 -04:00
Mononaut
860388d9a4 calculate total block weights inside rust gbt 2023-07-03 10:18:21 -04:00
junderw
d86858d0f6 Increased performance 2023-07-03 10:18:21 -04:00
junderw
6a2422ab9b Fix CI for Rust test 2023-07-03 10:18:21 -04:00
Mononaut
23a87ba158 vsize -> sigop_adjusted_vsize 2023-07-03 10:18:21 -04:00
Mononaut
ac794d3984 conform to core's gbt quirks 2023-07-03 10:18:21 -04:00
Mononaut
5216fc5f2e Add end-to-end test of rust gbt against results from Core 2023-07-03 10:18:21 -04:00
junderw
7313b7ed8d Added Logging and refactored a bit 2023-07-03 10:18:20 -04:00
Mononaut
4833540b1b remove unnecessary option wrapper from gbt return value 2023-07-03 10:18:20 -04:00
Mononaut
a4d4f50f9c fix handling of used txs at top of mempool stack 2023-07-03 10:18:20 -04:00
Mononaut
3d5fb9537a swap mempool_array deque for a mempool_stack vec 2023-07-03 10:18:20 -04:00
Mononaut
d883c4fadd protect ancestor data from outside assignments 2023-07-03 10:18:20 -04:00
Mononaut
dcb597d58c fix rust gbt cpfp cluster construction 2023-07-03 10:18:20 -04:00
Mononaut
ac3d85539d fix rust gbt priority queue handling 2023-07-03 10:18:20 -04:00
Mononaut
088c683dfe Fix mempool-blocks linter issues 2023-07-03 10:18:19 -04:00
junderw
a2708c35c2 Fix README and publish = false in Cargo.toml 2023-07-03 10:18:19 -04:00
Mononaut
d41db05d09 clearer uint32 uid overflow check 2023-07-03 10:18:19 -04:00
junderw
d8eb10753f Use U32HasherState for HashSet 2023-07-03 10:18:19 -04:00
Mononaut
f94a9c7dcd Add sanity checks for GBT cache de-sync 2023-07-03 10:18:19 -04:00
Mononaut
d72960ef0b Add sanity check for uint32 uid overflow 2023-07-03 10:18:19 -04:00
Mononaut
74604b67fd Enforce Rust GBT instance lifecycle 2023-07-03 10:18:18 -04:00
Mononaut
e903d3ad1f Add Rust GBT config flag 2023-07-03 10:18:18 -04:00