junderw
68edf4306c
Bump Rust version to 1.79
...
Maintaining an old MSRV is not a priority for this project.
If you would like to keep an old MSRV active, please maintain your own patch/fork.
2024-07-18 01:07:05 +09:00
junderw
92a5fc8159
Refactor rust-gbt
2024-03-11 02:09:37 +09:00
junderw
11a6d81a17
Fix: Refresh Liquid icons every 15 seconds to match electrs.
2024-03-07 02:21:38 +09:00
junderw
0f1434e32d
Bump rust-gbt deps
2024-03-05 22:32:14 +09:00
junderw
4972f00a96
Add internal endpoint blocking to all Nginx configs
2023-11-12 05:04:41 +00:00
Jonathan Underwood and wiz
502a1c021e
Add suggestions from wiz
...
Co-authored-by: wiz <j@wiz.biz >
2023-11-12 05:04:41 +00:00
junderw
511b827bf5
Nginx: Ignore all internal-api paths
2023-11-12 05:04:40 +00:00
junderw
18eb6600b0
Fix README to include workaround for legacy versions of npm
2023-08-21 12:53:20 -07:00
junderw
88c0d04c18
Match CI toolchain with rust-toolchain
2023-08-21 12:53:20 -07:00
junderw
b595002c25
Revert "Add a missing [workspace] tag in rust-gbt Cargo to build in git"
...
This reverts commit fadc46f3b5 .
2023-08-21 10:01:40 -07:00
Jonathan Underwood
b9c151f549
Update rust-toolchain
2023-08-21 17:47:58 +09:00
junderw
2a8a403da7
Use p-limit to limit concurrent requests
2023-08-19 18:53:32 +09:00
junderw
08a09bf371
Fix: calcBitsDifference regtest fix
2023-08-17 23:57:20 -07:00
Jonathan Underwood
6ff7a59bfb
Merge branch 'master' into fix/liquid-bits-calc
2023-08-05 00:00:02 -07:00
junderw
e994aac162
Feature: Build Rust during build script AND install
2023-08-04 23:40:10 -07:00
junderw
ea926660fe
Fix: Difficulty calculations for Liquid networks must be NaN
2023-08-04 20:42:14 -07:00
junderw
0535e8c5f9
Fix: Rust-GBT packaging needs fixing
2023-08-04 15:45:34 +09:00
junderw
9bf334a22d
Fix: Use bits to calculate difficulty instead of floating points
2023-08-01 00:52:45 -07:00
junderw
975ec772fa
Use more reliable Github Action for Rust toolchain install.
2023-07-22 19:41:36 -07:00
junderw
2c59992d3f
Fix E2E error
2023-07-19 16:28:06 +09:00
junderw
d825143b35
Search for full address in separate network if matches
2023-07-19 16:15:43 +09:00
junderw
3d900a3849
Fix: Prevent regex clash with channel IDs
2023-07-19 16:10:25 +09:00
junderw
0a51b752e6
Improve types and add liquidtestnet for regex
2023-07-19 16:10:25 +09:00
junderw
c0d3f295ee
Finished Regex portion
2023-07-19 16:10:24 +09:00
junderw
1339b98281
Feature: Readable RegExp constructor
2023-07-19 16:09:15 +09:00
junderw
222b34993b
Fix: Add new configs to all config instances properly.
2023-07-13 14:06:46 +09:00
junderw
df70ea05c6
Fix: Leaf version validation
2023-07-13 13:50:54 +09:00
junderw
43d41fca95
Fix: Allow detection of 1 byte annexes
2023-07-13 13:31:57 +09:00
junderw
95a8752a0a
Fix: Tests for config
2023-07-13 13:26:18 +09:00
junderw
21a47a7b4b
Push TX: Include validation to prevent DoS
2023-07-13 13:24:46 +09:00
junderw
ec918d57b2
Fix backend docker build for armv7
2023-07-08 23:03:03 -07:00
Jonathan Underwood
f8e910f0a4
Merge branch 'master' into mononaut/rust-gbt
2023-07-07 18:56:04 -07:00
junderw
925ebf08d4
Fix Docker build for using napi-rs
2023-07-06 18:05:21 -07:00
junderw
eae5f6078e
Move N-API CLI to dependencies
2023-07-06 15:49:54 -07:00
Jonathan Underwood
464587cec5
Add period
2023-07-05 19:35:36 -07:00
junderw
0c7c1dd0a8
Merge remote-tracking branch 'origin/master' into mononaut/rust-gbt
2023-07-05 08:39:48 -07:00
junderw
22d357c53c
Faster txid to u32 parsing
2023-07-05 08:39:01 -07:00
junderw
390c4a7706
Use ManuallyDrop
2023-07-04 17:19:41 -07:00
junderw
0ddfa94b59
Ran cargo fmt
2023-07-03 10:18:22 -04:00
junderw
552818607a
Better initial capacity
2023-07-03 10:18:22 -04:00
junderw
2838b068f7
Increased performance
2023-07-03 10:18:21 -04:00
junderw
77c83a6a13
Fix CI for Rust test
2023-07-03 10:18:21 -04:00
junderw
6650541b2d
Added Logging and refactored a bit
2023-07-03 10:18:20 -04:00
junderw
4334b9eac1
Fix README and publish = false in Cargo.toml
2023-07-03 10:18:19 -04:00
junderw
6e7a525d12
Fix: napi macro breaks rust-analyzer
...
See issue: https://github.com/napi-rs/napi-rs/issues/944#issuecomment-1013002760
This will ignore expanding the napi macro for rust-analyzer, letting auto-complete
work inside the napi impl blocks.
2023-07-03 10:18:19 -04:00
junderw
5d48ae1eec
Use U32HasherState for HashSet
2023-07-03 10:18:19 -04:00
junderw
1ed0f86ed9
calc_new_score can be private
2023-07-03 10:18:18 -04:00
junderw
2dfef5a003
Fix Rust version of compiler to prevent breakage
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
152d2c364b
Update TS side
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
920232be4c
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
83bf9229e7
Fix: Some of the clippy pedantic lints
2023-07-03 10:18:15 -04:00
junderw
9e1de656c1
Fix: Annex parsing for p2tr on bitcoind/romanz backends
2023-06-05 07:21:55 -07:00
junderw
5d1c5b51dd
Fix: Add hash and reverse search order
2022-09-19 16:44:53 +09:00
junderw
19467de809
Backend: Add block height from timestamp endpoint
2022-09-18 22:30:09 +09:00
junderw
bd4cf980bd
Spelling fix
2022-09-10 16:09:43 +09:00
junderw
9b1fc1e000
Fix response codes for various error states
2022-09-10 16:03:31 +09:00
junderw
f062132636
Feature: Add endpoint for PSBT nonWitnessUtxo inclusion
2022-09-05 23:13:45 +09:00