1838 Commits

Author SHA1 Message Date
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
Mononaut
e903d3ad1f Add Rust GBT config flag 2023-07-03 10:18:18 -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
a814933661 Use u32hasher with PriorityQueue as well 2023-07-03 10:18:17 -04:00
junderw
190c16ffd3 Use bytemuck instead of unsafe Rust 2023-07-03 10:18:17 -04:00
junderw
887f42fcac Move u32hasher into its own module, don't expose the Hasher for use. 2023-07-03 10:18:17 -04:00
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
fb603be292 Update TS side 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
softsimon
b904fb3489 Merge branch 'master' into simon/mempool-break-limit 2023-07-03 09:59:21 +02:00
softsimon
09b22356f0 Merge branch 'master' into mononaut/effective-rate-templates 2023-07-02 18:11:28 +02:00
softsimon
54b7303808 Update backend/src/api/mempool.ts
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2023-07-02 18:10:14 +02:00
softsimon
047a06aae6 Update backend/src/api/mempool.ts
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2023-07-02 18:10:08 +02:00
softsimon
c82b8f9331 Update backend/src/api/mempool.ts
Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
2023-07-02 18:10:02 +02:00
softsimon
73e2da793d Merge pull request #3843 from mempool/mononaut/projected-fee-graph
Better projected fee graph
2023-07-02 17:44:12 +02:00
softsimon
5b09ffd42e Merge branch 'master' into mononaut/atomic-cpfp 2023-07-01 22:04:14 +02:00
softsimon
588bf97a32 Merge pull request #3881 from mempool/mononaut/separate-audit-api
Separate summary and audit-summary API endpoints
2023-07-01 19:43:20 +02:00
softsimon
2ab269f7c0 Merge pull request #3878 from mempool/mononaut/full-mempool-graph
Add 'all time' option for mempool graph
2023-07-01 17:23:03 +02:00
nymkappa
59bf6b272d ALL -> all (no caps needed, match the url parameters as well) 2023-06-30 19:52:06 -04:00
Mononaut
ab1e88f559 Add statistics/all to cache warmer, change query keyword 2023-06-30 19:52:05 -04:00
Mononaut
7e43e5e2b0 Add 'all time' option for mempool graph 2023-06-30 19:52:05 -04:00
Mononaut
b951ff573d frontend resync recent blocks when necessary 2023-06-30 19:43:04 -04:00
Mononaut
9c63ad4e49 clean up backend websocket logic 2023-06-30 19:43:04 -04:00
Mononaut
c2f449632f Handle stack-of-N-blocks in new fee graph 2023-06-30 19:27:31 -04:00
Mononaut
7a5342adf6 Save effective fee rates to block templates & summaries 2023-06-29 19:24:19 -04:00
softsimon
96f7c9c055 Lowering mempool loop break limit 2023-06-27 18:46:28 +02:00
Mononaut
2448090546 Make cpfp db save operations atomic 2023-06-22 12:08:47 -04:00
Mononaut
b15a89f676 Change order of cpfp db operations 2023-06-21 19:57:18 -04:00
Mononaut
dba296f117 Fix getCpfpInfo error handling 2023-06-21 19:57:09 -04:00
Mononaut
c9445dcfe0 Hotfix for undefined cpfp cluster bug 2023-06-21 19:07:00 -04:00
Mononaut
20dce32900 Separate summary and audit-summary API endpoints 2023-06-20 15:13:52 -04:00
softsimon
8079a872a1 Merge pull request #3873 from mempool/simon/sanitize-pubkey-search
Sanitize node pubkey search
2023-06-17 11:22:28 +02:00
softsimon
13ca7d9025 Sanitize node pubkey search 2023-06-16 23:42:57 +02:00