Commit Graph

  • a7ae8cefbc fix and consolidate tx ordering logic Mononaut 2023-07-03 11:57:12 -04:00
  • 078bc1d914 fix and consolidate tx ordering logic Mononaut 2023-07-03 11:57:12 -04:00
  • e96f675ceb Apply suggestions from code review mononaut 2023-07-03 11:55:43 -04:00
  • d16d961cb2 Apply suggestions from code review mononaut 2023-07-03 11:55:43 -04:00
  • 6dce3e356b Mimic Core's ordering for equal-score transactions Mononaut 2023-07-02 20:05:30 -04:00
  • 23d487b904 Mimic Core's ordering for equal-score transactions Mononaut 2023-07-02 20:05:30 -04:00
  • 597764c311 more misc JS-side gbt performance optimizations Mononaut 2023-06-30 14:46:44 -04:00
  • af6de9b72c more misc JS-side gbt performance optimizations Mononaut 2023-06-30 14:46:44 -04:00
  • 8767305966 Ran cargo fmt junderw 2023-06-29 15:48:40 -07:00
  • 0ddfa94b59 Ran cargo fmt junderw 2023-06-29 15:48:40 -07:00
  • 8cb5d8db3d Use min(feerate,ancestor_feerate) for ancestor score Mononaut 2023-06-29 12:56:54 -04:00
  • ccbed8ec58 Use min(feerate,ancestor_feerate) for ancestor score Mononaut 2023-06-29 12:56:54 -04:00
  • 832e63ae9a Better initial capacity junderw 2023-06-28 12:42:33 -07:00
  • 552818607a Better initial capacity junderw 2023-06-28 12:42:33 -07:00
  • fe84d6e1ab misc JS-side gbt performance optimizations Mononaut 2023-06-28 19:51:52 -04:00
  • db8c34ae61 misc JS-side gbt performance optimizations Mononaut 2023-06-28 19:51:52 -04:00
  • 1e1bf14692 Pass gbt mempool data directly without serialization Mononaut 2023-06-28 16:31:59 -04:00
  • 0886e850f9 Pass gbt mempool data directly without serialization Mononaut 2023-06-28 16:31:59 -04:00
  • 860388d9a4 calculate total block weights inside rust gbt Mononaut 2023-06-26 14:22:10 -04:00
  • 5065fa42d0 calculate total block weights inside rust gbt Mononaut 2023-06-26 14:22:10 -04:00
  • d86858d0f6 Increased performance junderw 2023-06-27 22:48:22 -07:00
  • 2838b068f7 Increased performance junderw 2023-06-27 22:48:22 -07:00
  • 6a2422ab9b Fix CI for Rust test junderw 2023-06-27 16:12:39 -07:00
  • 77c83a6a13 Fix CI for Rust test junderw 2023-06-27 16:12:39 -07:00
  • 23a87ba158 vsize -> sigop_adjusted_vsize Mononaut 2023-06-27 18:51:18 -04:00
  • 79a10ee833 vsize -> sigop_adjusted_vsize Mononaut 2023-06-27 18:51:18 -04:00
  • ac794d3984 conform to core's gbt quirks Mononaut 2023-06-27 17:44:52 -04:00
  • 10beb76585 conform to core's gbt quirks Mononaut 2023-06-27 17:44:52 -04:00
  • 5216fc5f2e Add end-to-end test of rust gbt against results from Core Mononaut 2023-06-27 17:42:04 -04:00
  • 71f150b587 Add end-to-end test of rust gbt against results from Core Mononaut 2023-06-27 17:42:04 -04:00
  • 7313b7ed8d Added Logging and refactored a bit junderw 2023-06-26 19:29:32 -07:00
  • 6650541b2d Added Logging and refactored a bit junderw 2023-06-26 19:29:32 -07:00
  • 4833540b1b remove unnecessary option wrapper from gbt return value Mononaut 2023-06-26 21:13:02 -04:00
  • 702c4c123e remove unnecessary option wrapper from gbt return value Mononaut 2023-06-26 21:13:02 -04:00
  • a4d4f50f9c fix handling of used txs at top of mempool stack Mononaut 2023-06-26 21:11:08 -04:00
  • 1688b7d24e fix handling of used txs at top of mempool stack Mononaut 2023-06-26 21:11:08 -04:00
  • 3d5fb9537a swap mempool_array deque for a mempool_stack vec Mononaut 2023-06-26 21:07:14 -04:00
  • 75fd4ff5e1 swap mempool_array deque for a mempool_stack vec Mononaut 2023-06-26 21:07:14 -04:00
  • d883c4fadd protect ancestor data from outside assignments Mononaut 2023-06-26 21:04:10 -04:00
  • ac8f88da38 protect ancestor data from outside assignments Mononaut 2023-06-26 21:04:10 -04:00
  • dcb597d58c fix rust gbt cpfp cluster construction Mononaut 2023-06-26 17:37:00 -04:00
  • 7873f1c26a fix rust gbt cpfp cluster construction Mononaut 2023-06-26 17:37:00 -04:00
  • ac3d85539d fix rust gbt priority queue handling Mononaut 2023-06-26 17:35:33 -04:00
  • a66c0c88ce fix rust gbt priority queue handling Mononaut 2023-06-26 17:35:33 -04:00
  • 088c683dfe Fix mempool-blocks linter issues Mononaut 2023-06-26 11:15:52 -04:00
  • f5e0662517 Fix mempool-blocks linter issues Mononaut 2023-06-26 11:15:52 -04:00
  • a2708c35c2 Fix README and publish = false in Cargo.toml junderw 2023-06-26 01:19:34 -07:00
  • 4334b9eac1 Fix README and publish = false in Cargo.toml junderw 2023-06-26 01:19:34 -07:00
  • 008c0629bc Fix: napi macro breaks rust-analyzer junderw 2023-06-26 00:03:45 -07:00
  • 6e7a525d12 Fix: napi macro breaks rust-analyzer junderw 2023-06-26 00:03:45 -07:00
  • d41db05d09 clearer uint32 uid overflow check Mononaut 2023-06-25 23:42:33 -04:00
  • 4a15cd7abe clearer uint32 uid overflow check Mononaut 2023-06-25 23:42:33 -04:00
  • d8eb10753f Use U32HasherState for HashSet junderw 2023-06-25 19:04:01 -07:00
  • 5d48ae1eec Use U32HasherState for HashSet junderw 2023-06-25 19:04:01 -07:00
  • f94a9c7dcd Add sanity checks for GBT cache de-sync Mononaut 2023-06-25 21:23:30 -04:00
  • a71f931d9f Add sanity checks for GBT cache de-sync Mononaut 2023-06-25 21:23:30 -04:00
  • d72960ef0b Add sanity check for uint32 uid overflow Mononaut 2023-06-25 20:38:18 -04:00
  • 6829e67e15 Add sanity check for uint32 uid overflow Mononaut 2023-06-25 20:38:18 -04:00
  • 74604b67fd Enforce Rust GBT instance lifecycle Mononaut 2023-06-25 20:37:42 -04:00
  • fc504012d5 Enforce Rust GBT instance lifecycle Mononaut 2023-06-25 20:37:42 -04:00
  • e903d3ad1f Add Rust GBT config flag Mononaut 2023-06-25 20:35:41 -04:00
  • 8f675c7062 Add Rust GBT config flag Mononaut 2023-06-25 20:35:41 -04:00
  • 711ef6425e calc_new_score can be private junderw 2023-06-25 16:16:24 -07:00
  • 1ed0f86ed9 calc_new_score can be private junderw 2023-06-25 16:16:24 -07:00
  • 0c22542dbc Fix Rust version of compiler to prevent breakage junderw 2023-06-25 16:13:01 -07:00
  • 2dfef5a003 Fix Rust version of compiler to prevent breakage junderw 2023-06-25 16:13:01 -07:00
  • dfcae1dfb6 Fix clippy pedantic and nursery lints as well junderw 2023-06-25 16:08:16 -07:00
  • 609df31e0c Fix clippy pedantic and nursery lints as well junderw 2023-06-25 16:08:16 -07:00
  • b8e1fde737 Add safety comments junderw 2023-06-25 11:36:04 -07:00
  • e61ae59e53 Add safety comments junderw 2023-06-25 11:36:04 -07:00
  • b3f67ae150 Protect score from outside assignment and document the requirements junderw 2023-06-25 11:19:33 -07:00
  • e3f4c33f03 Protect score from outside assignment and document the requirements junderw 2023-06-25 11:19:33 -07:00
  • a814933661 Use u32hasher with PriorityQueue as well junderw 2023-06-25 08:17:30 -07:00
  • af4919a98b Use u32hasher with PriorityQueue as well junderw 2023-06-25 08:17:30 -07:00
  • 190c16ffd3 Use bytemuck instead of unsafe Rust junderw 2023-06-25 00:44:08 -07:00
  • 939d2230d2 Use bytemuck instead of unsafe Rust junderw 2023-06-25 00:44:08 -07:00
  • 887f42fcac Move u32hasher into its own module, don't expose the Hasher for use. junderw 2023-06-25 00:29:03 -07:00
  • 59b19eefe3 Move u32hasher into its own module, don't expose the Hasher for use. junderw 2023-06-25 00:29:03 -07:00
  • 83fb2f0663 Optimize audit_pool key hashing as well. Use a const for starting capacity for tx related lists. junderw 2023-06-24 23:42:18 -07:00
  • 3c652bdcbc Optimize audit_pool key hashing as well. Use a const for starting capacity for tx related lists. junderw 2023-06-24 23:42:18 -07:00
  • 6e3b57d5fc Use a class to hold state for Rust GbtGenerator junderw 2023-06-24 23:05:43 -07:00
  • ded2352cf8 Use a class to hold state for Rust GbtGenerator junderw 2023-06-24 23:05:43 -07:00
  • 46fb6a68eb Use tokio async/await instead of callbacks junderw 2023-06-24 19:28:19 -07:00
  • 8cfda1a546 Use tokio async/await instead of callbacks junderw 2023-06-24 19:28:19 -07:00
  • 99101ddc4f Check callback status in thread junderw 2023-06-24 16:50:17 -07:00
  • 5f161e73c7 Check callback status in thread junderw 2023-06-24 16:50:17 -07:00
  • b2a7bd6b83 Remove all unwrap() calls junderw 2023-06-24 16:41:53 -07:00
  • dfe24ed9d7 Remove all unwrap() calls junderw 2023-06-24 16:41:53 -07:00
  • b87bf85e1e Use N-API ThreadsafeFunction junderw 2023-06-24 12:21:33 -07:00
  • 4661bea2f0 Use N-API ThreadsafeFunction junderw 2023-06-24 12:21:33 -07:00
  • fb603be292 Update TS side junderw 2023-06-24 11:40:25 -07:00
  • 152d2c364b Update TS side junderw 2023-06-24 11:40:25 -07:00
  • 35764a29a7 Feature: Use napi-rs instead of neon junderw 2023-06-24 11:21:58 -07:00
  • 2d4963c2df Feature: Use napi-rs instead of neon junderw 2023-06-24 11:21:58 -07:00
  • 20dbcf14c9 Remove empty function junderw 2023-06-24 09:23:09 -07:00
  • 0f1f151d65 Remove empty function junderw 2023-06-24 09:23:09 -07:00
  • 8dfe74a5a2 Move conversion logic to struct file junderw 2023-06-23 23:06:13 -07:00
  • d2a47b92c8 Move conversion logic to struct file junderw 2023-06-23 23:06:13 -07:00
  • 5e1d9d461a Use Cargo workspace junderw 2023-06-23 22:07:43 -07:00
  • 920232be4c Use Cargo workspace junderw 2023-06-23 22:07:43 -07:00