64 Commits

Author SHA1 Message Date
Mononaut
597764c311 more misc JS-side gbt performance optimizations 2023-07-03 10:20:08 -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
Mononaut
ac794d3984 conform to core's gbt quirks 2023-07-03 10:18:21 -04:00
Mononaut
088c683dfe Fix mempool-blocks linter issues 2023-07-03 10:18:19 -04:00
Mononaut
d41db05d09 clearer uint32 uid overflow check 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
junderw
6e3b57d5fc Use a class to hold state for Rust GbtGenerator 2023-07-03 10:18:17 -04:00
junderw
46fb6a68eb Use tokio async/await instead of callbacks 2023-07-03 10:18:17 -04:00
junderw
fb603be292 Update TS side 2023-07-03 10:18:16 -04:00
Mononaut
f2bd4caf25 Implement rust gbt updateBlockTemplates 2023-07-03 10:18:15 -04:00
Mononaut
63713ca4ed Rust GBT proof of concept 2023-07-03 10:18:14 -04:00
Mononaut
c2f449632f Handle stack-of-N-blocks in new fee graph 2023-06-30 19:27:31 -04:00
Mononaut
5cf0980af4 Remove legacy mined block cpfp loop, reset stale ancestors 2023-06-06 14:19:30 -04:00
Mononaut
fb9fceb88c Enforce block sigop limits in GBT algorithm 2023-05-31 11:29:58 -04:00
Mononaut
e070c121bc Count sigops & use adjusted vsizes in mempool projections 2023-05-31 11:29:56 -04:00
Mononaut
92c88cf5b6 online calculation of stack-of-n-blocks fee statistics 2023-05-10 17:34:20 -06:00
Mononaut
0498002d2c Optimize main thread processing of GBT updates 2023-05-08 23:01:17 -06:00
Mononaut
6d4c2f8f8f optimize data structures for advanced GBT algorithm 2023-05-07 11:54:23 -06:00
Mononaut
b673fdbcd1 Fix new block mempool deletion race condition 2023-05-05 10:19:11 -07:00
softsimon
ee2aea2458 Merge branch 'master' into mononaut/mempool-effective-rates 2023-05-04 00:58:49 +04:00
Mononaut
a61c0eb60c Add mempool position improvements to updateMempoolBlocks 2023-05-03 14:18:07 -06:00
Mononaut
9f32d43907 Improve stability of mempool tx position arrow 2023-05-03 14:18:06 -06:00
Mononaut
27c7b4be5f use $ naming convention for async function names 2023-04-30 15:52:44 -06:00
Mononaut
e6a23567e0 await for mempool change handler after loading disk cache 2023-04-30 15:51:26 -06:00
Mononaut
11516db56e Send mempool effective fee rate changes to frontend & apply 2023-04-05 08:42:01 +09:00
Mononaut
19cf0c06be clean up unused vars in mempool-blocks.ts 2023-03-28 17:02:37 +09:00
Mononaut
6fed2a8fa9 use new median fee calculation for mempool blocks 2023-03-28 17:02:37 +09:00
Mononaut
677d0c96e2 log warnings for unexpectedly missing txs 2023-03-26 05:41:31 +09:00
Mononaut
570e99fb8f handle stale transactions in block templates 2023-03-24 09:47:08 +09:00
Mononaut
384662fa68 Reduce data sent to mempool block 7 subscription 2023-02-17 19:11:12 -06:00
Mononaut
feab91e422 fix drift in next block viz with mixed template algos 2023-01-30 16:26:37 -06:00
Mononaut
87ce2cbc7a improve thread error handling 2022-12-07 14:52:02 -06:00
Mononaut
d2285a0526 Refactor advanced gbt to minimize inter-thread comms 2022-12-07 14:52:01 -06:00
Mononaut
47f8551429 return more complete cpfp data for mempool transactions 2022-11-29 11:42:08 +09:00
Mononaut
433f930b0e move new tx selection algorithm into thread worker 2022-11-22 14:43:55 +09:00
Mononaut
c81bee048a Optimize makeBlockTemplates 2022-10-27 10:25:16 -06:00
Mononaut
04718b5e9d Fix errors in block audit tx selection algorithm 2022-10-27 10:25:15 -06:00
Mononaut
cd0e6bae64 New projected block transaction selection algo 2022-10-27 10:25:15 -06:00
softsimon
bf0cfd9d38 Minor refactor for projected block transactions 2022-06-02 01:29:03 +04:00
Mononaut
8a20ae15cc Stream projected block deltas instead of full data 2022-06-01 13:48:58 +00:00
Mononaut
9dacb8dac1 Data pipeline for projected mempool block overview 2022-06-01 13:48:34 +00:00
softsimon
74bd4c5c81 Use MEMPOOL_BLOCKS_AMOUNT config in the frontend
fixes #852
2021-10-05 04:37:24 +04:00
softsimon
0dcdbfcc64 Bugfix: Mempool block sizes were mixing up vsize and weight. 2021-08-14 03:24:31 +03:00
softsimon
6e44ea9d23 Use actual MEMPOOL_BLOCKS_AMOUNT value for amount of mempool blocks. 2021-08-07 03:07:32 +03:00
softsimon
049204ecbe Adding configuration for blocks and mempool blocks amount. 2021-07-31 17:56:10 +03:00
softsimon
1008838e84 Make Block Weight Unit configurable in frontend+backend. 2021-07-31 17:30:35 +03:00