15 Commits

Author SHA1 Message Date
junderw
83fb2f0663 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
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
99101ddc4f Check callback status in thread 2023-07-03 10:18:16 -04:00
junderw
b2a7bd6b83 Remove all unwrap() calls 2023-07-03 10:18:16 -04:00
junderw
b87bf85e1e Use N-API ThreadsafeFunction 2023-07-03 10:18:16 -04:00
junderw
35764a29a7 Feature: Use napi-rs instead of neon 2023-07-03 10:18:16 -04:00
junderw
20dbcf14c9 Remove empty function 2023-07-03 10:18:16 -04:00
junderw
8dfe74a5a2 Move conversion logic to struct file 2023-07-03 10:18:16 -04:00
junderw
5e1d9d461a 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
6580d9dc0e Fix: Some of the clippy pedantic lints 2023-07-03 10:18:15 -04:00
mononaut
6a439a24d9 Remove redundant gbt function
Co-authored-by: Jonathan Underwood <jonathan.underwood4649@gmail.com>
2023-07-03 10:18:15 -04:00
Mononaut
44487e4e2b Refactor rust code for style 2023-07-03 10:18:15 -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