Commit Graph
21 Commits
Author SHA1 Message Date
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 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 83bf9229e7 Fix: Some of the clippy pedantic lints 2023-07-03 10:18:15 -04:00
mononautandJonathan Underwood 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