22 Commits

Author SHA1 Message Date
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
6dce3e356b Mimic Core's ordering for equal-score transactions 2023-07-03 10:28:32 -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
Mononaut
1e1bf14692 Pass gbt mempool data directly without serialization 2023-07-03 10:18:21 -04:00
junderw
d86858d0f6 Increased performance 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
junderw
7313b7ed8d Added Logging and refactored a bit 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
ac3d85539d fix rust gbt priority queue handling 2023-07-03 10:18:20 -04:00
junderw
d8eb10753f Use U32HasherState for HashSet 2023-07-03 10:18:19 -04:00
junderw
711ef6425e calc_new_score can be private 2023-07-03 10:18:18 -04:00
junderw
dfcae1dfb6 Fix clippy pedantic and nursery lints as well 2023-07-03 10:18:18 -04:00
junderw
b8e1fde737 Add safety comments 2023-07-03 10:18:18 -04:00
junderw
b3f67ae150 Protect score from outside assignment and document the requirements 2023-07-03 10:18:17 -04:00
junderw
b2a7bd6b83 Remove all unwrap() calls 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
6580d9dc0e Fix: Some of the clippy pedantic lints 2023-07-03 10:18:15 -04:00
Mononaut
44487e4e2b Refactor rust code for style 2023-07-03 10:18:15 -04:00
Mononaut
63713ca4ed Rust GBT proof of concept 2023-07-03 10:18:14 -04:00