Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
872 commits
Select commit Hold shift + click to select a range
81deddd
Merge rust-bitcoin/rust-bitcoin#4099: Make transaction::Version field…
apoelstra Feb 24, 2025
5a0d5d7
Merge rust-bitcoin/rust-bitcoin#4105: Automated nightly rustfmt (2025…
apoelstra Feb 24, 2025
e810ecf
Fix key/script spend detection in `Witness`
Kixunil Feb 21, 2025
59f21a2
Add a test case checking `taproot_control_block`
Kixunil Feb 21, 2025
a8168c3
Add `taproot_leaf_script` methood to `Witness`
Kixunil Feb 21, 2025
6c286e3
Merge rust-bitcoin/rust-bitcoin#4089: Script improvements
apoelstra Feb 24, 2025
b3f122b
Add Timestamp newtype
tcharding Feb 20, 2025
5d38073
Fix `is_invalid_use_of_sighash_single()` incompatibility with Bitcoin…
liuchengxu Feb 24, 2025
7ab2f5b
Add test for sighash_single_bug incompatility fix
liuchengxu Feb 24, 2025
2d6ee57
Grab missing changelog
tcharding Feb 25, 2025
f7c28ab
Update input_string.rs
leopardracer Feb 25, 2025
0e70e85
Update key.rs
leopardracer Feb 25, 2025
fc4ea87
Update transaction.rs
leopardracer Feb 25, 2025
83bd833
Update sighash.rs
leopardracer Feb 25, 2025
083a33a
chore: remove redundant words in CONTRIBUTING.md
costcould Feb 25, 2025
e80ce4a
Merge rust-bitcoin/rust-bitcoin#4113: Fix `is_invalid_use_of_sighash_…
apoelstra Feb 25, 2025
c90559d
Derive Copy for NumOpResult
tcharding Feb 17, 2025
2da332e
units: introduce impl_op_for_references and use it in three places
apoelstra Feb 18, 2025
a358e79
units: allow multiple invocations in impl_op_for_references macro
apoelstra Feb 18, 2025
0dc7f6c
units: rearrange a bit of code to prep the next commit
apoelstra Feb 18, 2025
ad95648
units: replace a gazillion more macro calls with new macro
apoelstra Feb 18, 2025
21ac5ae
units: extend op reference macro to handle generics and where clauses
apoelstra Feb 18, 2025
353c23f
units: pull generic op impls on NumOpResult into macro
apoelstra Feb 18, 2025
a44a9d3
Add a few impls to the result macro
apoelstra Feb 25, 2025
814685e
Macroise the NumOpResult tests
tcharding Feb 19, 2025
aebda6e
Merge rust-bitcoin/rust-bitcoin#4104: Automated daily update to rustc…
tcharding Feb 25, 2025
2d8227f
Hide relative locktime error internals
tcharding Feb 20, 2025
43ae9d7
primitives: Hide script error internals
tcharding Feb 20, 2025
cf12ba2
Move taproot back to bitcoin crate
tcharding Feb 26, 2025
2688aba
fuzz: add coverage for Display for Script
brunoerg Feb 26, 2025
2fe3687
Policy: Relax MIN_STANDARD_TX_NONWITNESS_SIZE to 65
jrakibi Feb 24, 2025
25707da
hashes: Remove Clone trait bound from Tag
ndungudedan Feb 25, 2025
5b6eebd
Merge rust-bitcoin/rust-bitcoin#4117: Grab missing changelog
apoelstra Feb 26, 2025
f7ea6e5
Add support for pay to anchor outputs
ErikDeSmedt Feb 24, 2025
539d454
Typo fix in: README.md
leonarddt05 Feb 27, 2025
d889767
Merge rust-bitcoin/rust-bitcoin#4076: units: macroize the op implemen…
apoelstra Feb 27, 2025
889a266
Merge rust-bitcoin/rust-bitcoin#4100: Witness taproot fixes
apoelstra Feb 27, 2025
e406ece
Merge rust-bitcoin/rust-bitcoin#4118: fix: typos in documentation files
apoelstra Feb 27, 2025
4f895a7
Merge rust-bitcoin/rust-bitcoin#4119: chore: remove redundant words i…
apoelstra Feb 27, 2025
8787304
units: Improve code comment on macros
tcharding Feb 27, 2025
ce19d40
chore: fix some typos in comments
looklose Feb 28, 2025
1d2de62
Update mod.rs
kilavvy Feb 28, 2025
f61941b
Update serialized_signature.rs
kilavvy Feb 28, 2025
0ce622e
Update message.rs
kilavvy Feb 28, 2025
bb8f833
Update instruction.rs
kilavvy Feb 28, 2025
2951345
Merge rust-bitcoin/rust-bitcoin#4129: Move taproot back to bitcoin crate
apoelstra Feb 28, 2025
6f1c0f0
Merge rust-bitcoin/rust-bitcoin#4131: fuzz: add coverage for Display …
apoelstra Feb 28, 2025
6518125
Merge rust-bitcoin/rust-bitcoin#4111: Add support for pay to anchor o…
apoelstra Feb 28, 2025
c810a0a
Automated update to Github CI to rustc nightly-2025-02-28
Mar 1, 2025
ea56619
Merge rust-bitcoin/rust-bitcoin#4114: Policy: Relax MIN_STANDARD_TX_N…
apoelstra Mar 1, 2025
ef9a24e
Merge rust-bitcoin/rust-bitcoin#4091: primitives: Hide error internals
apoelstra Mar 1, 2025
217099a
Merge rust-bitcoin/rust-bitcoin#4123: hashes: Remove Clone trait boun…
apoelstra Mar 1, 2025
c2741c8
Merge rust-bitcoin/rust-bitcoin#4138: units: Improve code comment on …
apoelstra Mar 1, 2025
166e371
2025-03-02 automated rustfmt nightly
Mar 2, 2025
f80cf2c
update secp256k1 to 0.30.0
getong Mar 1, 2025
22cecce
Merge rust-bitcoin/rust-bitcoin#4149: Fix typos in code comments and …
apoelstra Mar 2, 2025
58baee6
Merge rust-bitcoin/rust-bitcoin#4155: Automated nightly rustfmt (2025…
apoelstra Mar 2, 2025
8bb9ce3
Add tests for amount op int
tcharding Mar 2, 2025
4792395
Improve add/sub tests for amount types
tcharding Mar 2, 2025
851080d
Add more add/sub tests
tcharding Mar 2, 2025
501c9ab
Test amount ops that involve an integer
tcharding Mar 2, 2025
b57bfb9
Add missing Mul impls for amount types
tcharding Mar 2, 2025
0a9f14f
Implement Div by amount for amount types
tcharding Mar 2, 2025
5da506b
Add additional re-exports
tcharding Feb 19, 2025
72823df
Merge rust-bitcoin/rust-bitcoin#4152: Automated daily update to rustc…
tcharding Mar 3, 2025
a743933
Move opcodes back to bitcoin
tcharding Mar 3, 2025
cc66838
units: Remove unnecessary code comments
tcharding Mar 3, 2025
f5e1791
Move Assign impls together
tcharding Mar 3, 2025
9d55922
Use impl_op_for_references for block height/interval
tcharding Mar 3, 2025
3ae21d5
Use impl_add/sub_assign for block interval
tcharding Mar 3, 2025
6f4eb60
Improve docs crate headings
tcharding Mar 3, 2025
c466554
hashes: Improve crate docs heading
tcharding Mar 3, 2025
d4417f9
io: Improve crate docs heading
tcharding Mar 3, 2025
4451724
chacha20: Add a docs heading
tcharding Mar 3, 2025
83d071e
chacha20: Add whitespace
tcharding Mar 3, 2025
1fe9845
Improve Weight rustdocs
tcharding Mar 3, 2025
2434afc
Make Weigth::from_kwu const
tcharding Mar 3, 2025
8561290
Use uniform return statement in docs
tcharding Mar 3, 2025
a4b9c19
Manually update nightly version
tcharding Mar 3, 2025
b656d7a
Inline small functions
jamillambert Feb 27, 2025
cab8a61
fuzz: cover count_sigops{_legacy} for Script
brunoerg Mar 3, 2025
b654893
Merge rust-bitcoin/rust-bitcoin#4142: Typo fix in: README.md
apoelstra Mar 3, 2025
eb8ecd5
fuzz: cover minimal_non_dust for Script
brunoerg Mar 3, 2025
f0e1257
Merge rust-bitcoin/rust-bitcoin#4175: Use uniform return statement in…
apoelstra Mar 3, 2025
35e7027
fuzz: move consume_random_bytes to a util file
brunoerg Mar 3, 2025
fe685b8
Fix the release script that checks for TBD
jamillambert Mar 3, 2025
43814eb
Merge rust-bitcoin/rust-bitcoin#4134: chore: fix some typos in comments
apoelstra Mar 3, 2025
5bc08b1
Merge rust-bitcoin/rust-bitcoin#4154: update secp256k1 to 0.30.0
apoelstra Mar 3, 2025
6483244
Merge rust-bitcoin/rust-bitcoin#4170: Improve crate docs headings
apoelstra Mar 3, 2025
4787aa1
Implement Rem for Weight
jamillambert Mar 3, 2025
8007840
Add a test for remainder
jamillambert Mar 3, 2025
852bcf6
bitcoin: Remove hash type re-exports
tcharding Mar 3, 2025
d1d4834
Make `hex` in `internals` optional
Kixunil Mar 4, 2025
2dad19a
Bump GitHub Actions Artifacts to v4
jamillambert Mar 4, 2025
66fee1e
fuzz: add consume_u64
brunoerg Mar 3, 2025
08e0d4f
fuzz: cover minimal_non_dust_custom for Script
brunoerg Mar 3, 2025
95c012e
Merge rust-bitcoin/rust-bitcoin#4143: primitives: Inline small functions
apoelstra Mar 4, 2025
3ca3218
witness: Improve element access methods with get() and get_back()
erickcestari Mar 4, 2025
e3f409e
ci: update Kani GitHub Actions runners to ubuntu-24.04
erickcestari Mar 4, 2025
5f1700e
Merge rust-bitcoin/rust-bitcoin#4181: Implement `Rem` for `Weight`
apoelstra Mar 4, 2025
b87ddc0
Don't panic in `PrivateKey::from_slice`
Kixunil Mar 4, 2025
2a9b12b
Merge rust-bitcoin/rust-bitcoin#4180: Fix the release script that che…
apoelstra Mar 4, 2025
1778fea
Add a test checking `PrivateKey::from_slice`
Kixunil Mar 4, 2025
0d5cd7a
Add `from_byte_array` to `PrivateKey`.
Kixunil Mar 4, 2025
8efacd4
Deprecate `PrivateKey::from_slice` method
Kixunil Mar 4, 2025
644adb4
Merge rust-bitcoin/rust-bitcoin#4177: Manually update nightly version
apoelstra Mar 4, 2025
ed772d4
Merge rust-bitcoin/rust-bitcoin#4168: Move `opcodes` back to bitcoin
apoelstra Mar 5, 2025
d1d538e
Merge rust-bitcoin/rust-bitcoin#4167: bitcoin: Remove hash type re-ex…
apoelstra Mar 5, 2025
90d909b
Kill mutants in primitives and units
shinghim Mar 5, 2025
69d042c
Merge rust-bitcoin/rust-bitcoin#4184: Bump GitHub Actions Artifacts t…
apoelstra Mar 5, 2025
bbe87ec
Fix bug in PSBT `Deserialize` for `XOnlyPublicKey`
Kixunil Mar 5, 2025
ecc5791
Add test checking `XOnlyPublicKey::deserialize`
Kixunil Mar 5, 2025
16860fe
Merge rust-bitcoin/rust-bitcoin#4185: fuzz: cover more stuff for Script
apoelstra Mar 5, 2025
d96d0f7
Merge rust-bitcoin/rust-bitcoin#4188: ci: update Kani GitHub Actions …
apoelstra Mar 5, 2025
1bb3d6a
Minor: fix typo
petertodd Mar 5, 2025
2a6cbda
ci: Update GitHub workflows to use ubuntu-24.04 instead of ubuntu-latest
erickcestari Mar 5, 2025
5ea4eac
Merge rust-bitcoin/rust-bitcoin#4189: Private key from slice fix
apoelstra Mar 5, 2025
df500e9
primitives: Enable pedantic lints
tcharding Mar 3, 2025
97453ef
units: Prevent casting pub enums as ints
tcharding Feb 26, 2025
84623ff
Add hash_again regression test
tcharding Feb 20, 2025
ab63b7a
Add Hash type and finalize method to HashEngine
tcharding Feb 19, 2025
e1bac7d
Bound HmacEngine on HashEngine
tcharding Feb 20, 2025
d384689
hashes: Add hash function to modules
tcharding Feb 20, 2025
2b6ef31
hashes: Add hash_byte_chunks function to modules
tcharding Feb 20, 2025
791501e
io: Use function in place of GeneralHashExt
tcharding Feb 20, 2025
6426e59
Remove unused trait import
tcharding Feb 20, 2025
95ad91c
hashes: Remove the GeneralHash trait
tcharding Feb 20, 2025
ae0ba6c
Take spent closure by value in count_witness_sigops and count_p2sh_si…
jrakibi Mar 4, 2025
181b748
Merge rust-bitcoin/rust-bitcoin#4174: Improve weight
apoelstra Mar 6, 2025
a27a6b9
Merge rust-bitcoin/rust-bitcoin#4201: Make `hex` in `internals` optional
apoelstra Mar 6, 2025
a013700
Replace uses of `chunks_exact` with `as_chunks`
Kixunil Mar 4, 2025
febce17
Merge rust-bitcoin/rust-bitcoin#4186: Clean up Witness API
apoelstra Mar 6, 2025
fa8eaf0
Merge rust-bitcoin/rust-bitcoin#4092: Add `Timestamp` newtype
apoelstra Mar 6, 2025
631ea1a
Merge rust-bitcoin/rust-bitcoin#4126: Add additional re-exports
apoelstra Mar 6, 2025
12b35e7
Merge rust-bitcoin/rust-bitcoin#4198: Minor: fix typo
apoelstra Mar 7, 2025
9d7190e
Merge rust-bitcoin/rust-bitcoin#4190: Kill mutants in primitives and …
apoelstra Mar 7, 2025
d1c758f
Add fee_rate::serde re-export
tcharding Mar 7, 2025
845daae
Merge rust-bitcoin/rust-bitcoin#4199: ci: Update GitHub workflows to …
apoelstra Mar 7, 2025
2aac5a1
Fix some comments
NinaLua Mar 7, 2025
ddb6dd5
Move module out of fuzz_target directory
jamillambert Mar 7, 2025
5581c49
Merge rust-bitcoin/rust-bitcoin#4085: Remove the `GeneralHash` trait
apoelstra Mar 7, 2025
1a18ff5
Merge rust-bitcoin/rust-bitcoin#4127: units: Prevent casting pub enum…
apoelstra Mar 7, 2025
e2dee49
Re-name Timestamp to BlockTime
tcharding Mar 7, 2025
c707b95
Rename timestamp module to time
tcharding Mar 7, 2025
02a9efd
Automated update to Github CI to rustc nightly-2025-03-06
Mar 8, 2025
a959df3
Merge rust-bitcoin/rust-bitcoin#4197: Take `spent` closure by value i…
apoelstra Mar 8, 2025
f7b1810
Merge rust-bitcoin/rust-bitcoin#4182: Replace uses of `chunks_exact` …
apoelstra Mar 8, 2025
8a7c295
Merge rust-bitcoin/rust-bitcoin#4212: Add `fee_rate::serde` re-export
apoelstra Mar 8, 2025
eee3505
Merge rust-bitcoin/rust-bitcoin#4214: Fix some comments
apoelstra Mar 8, 2025
86266d2
Merge rust-bitcoin/rust-bitcoin#4161: Improve ops for amount types
apoelstra Mar 8, 2025
2f897e2
Remove warning section
yancyribbens Mar 8, 2025
a273814
Replace underflow with overflow in doc comments
yancyribbens Mar 7, 2025
b1d7c0a
Merge rust-bitcoin/rust-bitcoin#4220: Automated daily update to rustc…
tcharding Mar 8, 2025
0428554
primitives: Feature gate import
tcharding Mar 8, 2025
aefcf2b
Merge rust-bitcoin/rust-bitcoin#4178: primitives: Enable pedantic lints
apoelstra Mar 9, 2025
694d926
Merge rust-bitcoin/rust-bitcoin#4209: Fix fuzz targets
apoelstra Mar 9, 2025
08ced04
fix typos
wgyt Mar 10, 2025
a824b79
docs: The quotation marks are incorrect.
RiceChuan Mar 10, 2025
a65d1d8
docs: Update README to replace use of mutagen with cargo-mutants
deadmanoz Mar 10, 2025
199f578
Remove references to cfg(mutate) from lint allow - no longer allowed
deadmanoz Mar 10, 2025
8f74b82
Add validation for private key format and master key constraints
erickcestari Mar 10, 2025
3bb1a7a
Merge rust-bitcoin/rust-bitcoin#4223: primitives: Feature gate import
apoelstra Mar 10, 2025
540038d
Merge rust-bitcoin/rust-bitcoin#4216: Replace underflow with overflow…
apoelstra Mar 10, 2025
938461c
psbt: Use Amount::ZERO in unit test
tcharding Jan 30, 2025
8ecdc7c
Use den_ prefix for local Denomination variable
tcharding Feb 27, 2025
ef0af8d
Use sat/ssat constructors throughout tests
apoelstra Mar 8, 2025
e6f7b26
Use _unchecked in amount const types
tcharding Feb 27, 2025
6d70c77
Enforce newtype sanity rules for amount types
tcharding Feb 27, 2025
ac71680
Pick one - MAX or MAX_MONEY
tcharding Feb 27, 2025
13595fb
Fix amount whole bitcoin constructors
tcharding Feb 27, 2025
f9eb307
Remove panic in dust value functions
tcharding Feb 28, 2025
76a2d70
Make mul weight by fee return NumOpResult
tcharding Feb 28, 2025
5d851f1
Remove deprecated amount methods
tcharding Feb 28, 2025
e4513bf
feat: add MAX_BLOCK_SERIALIZED_SIZE existing in core
ChrisCho-H Mar 11, 2025
856ff4c
Merge rust-bitcoin/rust-bitcoin#4226: fix typos
apoelstra Mar 11, 2025
951a030
Merge rust-bitcoin/rust-bitcoin#4227: docs: The quotation marks are i…
apoelstra Mar 11, 2025
c23402c
Merge rust-bitcoin/rust-bitcoin#4228: docs: Update README to replace …
apoelstra Mar 11, 2025
968406c
Update ecdsa-psbt.rs
rnkrtt Mar 11, 2025
c0e20db
test: add coverage for ServiceFlags::P2P_V2
brunoerg Mar 11, 2025
61e7226
chore: add missing backquotes
kevincatty Mar 12, 2025
3e750d7
Create test helper function to create a header
jamillambert Mar 7, 2025
c1ea20b
Increase test coverage in block.rs
jamillambert Mar 7, 2025
3cef539
Merge rust-bitcoin/rust-bitcoin#4164: Prepare to enforce MAX_MONEY in…
apoelstra Mar 12, 2025
b18aa6f
Merge rust-bitcoin/rust-bitcoin#4229: feature: introduce MAX_BLOCK_SE…
apoelstra Mar 12, 2025
93c6c8c
Use impl_op_for_references macro in fee module
erickcestari Mar 12, 2025
1f74571
Merge rust-bitcoin/rust-bitcoin#4230: Fix BIP32 validation for privat…
apoelstra Mar 12, 2025
ab4ea7c
Enforce the MAX_MONEY invariant in amount types
tcharding Feb 28, 2025
d8a90f6
Merge rust-bitcoin/rust-bitcoin#4232: fix comment ecdsa-psbt.rs
apoelstra Mar 12, 2025
bc8de78
Merge rust-bitcoin/rust-bitcoin#4233: test: add coverage for ServiceF…
apoelstra Mar 13, 2025
80dcbd6
Merge rust-bitcoin/rust-bitcoin#4234: chore: add missing backquotes
apoelstra Mar 13, 2025
1798679
Merge rust-bitcoin/rust-bitcoin#4217: primitives: Increase test cover…
apoelstra Mar 13, 2025
d1365eb
Merge rust-bitcoin/rust-bitcoin#4219: Rename then new `Timestamp` type
apoelstra Mar 13, 2025
2f711b0
Merge rust-bitcoin/rust-bitcoin#4235: Use impl_op_for_references macr…
apoelstra Mar 13, 2025
0ca9fcf
Merge rust-bitcoin/rust-bitcoin#4157: Enforce MAX_MONEY invariant in …
apoelstra Mar 13, 2025
cacf734
Automated update to Github CI to cargo-semver-checks version-0.40.0
Mar 15, 2025
058e828
Automated update to Github CI to rustc nightly-2025-03-14
Mar 15, 2025
a74e08a
2025-03-16 automated rustfmt nightly
Mar 16, 2025
427bfb8
chore: spellchecker
healthyyyoung Mar 16, 2025
dd6687d
Update sighash.rs
rnkrtt Mar 16, 2025
441e173
Update owned.rs
rnkrtt Mar 16, 2025
4bd91b0
Merge rust-bitcoin/rust-bitcoin#4240: Automated daily update to rustc…
tcharding Mar 16, 2025
ffb5bac
Merge rust-bitcoin/rust-bitcoin#4239: Automated weekly update to carg…
tcharding Mar 16, 2025
f4f79f8
Enable getting the network kind from an address
tcharding Mar 17, 2025
f6c97d3
Merge rust-bitcoin/rust-bitcoin#4244: chore: spellchecker
apoelstra Mar 17, 2025
ac502b0
Merge rust-bitcoin/rust-bitcoin#4246: fix spelling issues
apoelstra Mar 17, 2025
78538bc
Merge rust-bitcoin/rust-bitcoin#4251: Enable getting the network kind…
apoelstra Mar 17, 2025
cfccd38
Merge rust-bitcoin/rust-bitcoin#4242: Automated nightly rustfmt (2025…
apoelstra Mar 18, 2025
c97bebd
Increase test coverage in absolute.rs
jamillambert Mar 11, 2025
7b114e3
Increase test coverage in relative.rs
jamillambert Mar 11, 2025
2ec1c2a
units: Make from_int_btc_const take a 16 bit integer
tcharding Mar 17, 2025
277045b
Add `Buf` suffix to `TaprootMerkleBranch`
Kixunil Mar 15, 2025
33d7565
Push `merkle_branch` module one level deeper.
Kixunil Mar 15, 2025
370c259
Add `as_mut_slice` to `TaprootMerkleBranchBuf`
Kixunil Mar 16, 2025
04a4efb
Introduce unsized `TaprootMerkleBranch`
Kixunil Mar 16, 2025
c528f52
Change `Deref::Target` of `TaprootMerkleBranchBuf`
Kixunil Mar 16, 2025
9ea2e92
Don't use references to `TaprootMerkleBranchBuf`
Kixunil Mar 16, 2025
82d9d1a
amount: rename `from_int_btc_const` unctions to hungarian ones
apoelstra Mar 18, 2025
beaa2db
amount: add from_sat_i32 and from_sat_u32 methods for small constants
apoelstra Mar 18, 2025
05c8b04
tests: replace Amount::from_sat_unchecked with from_sat.unwrap
apoelstra Mar 18, 2025
3370c14
amount: stop using from_sat_unchecked in tests
apoelstra Mar 18, 2025
004d073
amount: return i64 from parse_signed_to_satoshi
apoelstra Mar 18, 2025
d0d7a15
amount: move MIN/MAX constants and constructors inside the privacy bo…
apoelstra Mar 18, 2025
2958521
amount: remove from_sat_unchecked
apoelstra Mar 18, 2025
8aa5556
Merge rust-bitcoin/rust-bitcoin#4253: primitives: Increase test cover…
apoelstra Mar 19, 2025
e0be90d
Merge rust-bitcoin/rust-bitcoin#4256: Followups to #4157: remove Amou…
apoelstra Mar 20, 2025
20c50e3
Merge rust-bitcoin/rust-bitcoin#4248: Alloc-free (AKA zero-copy) cont…
apoelstra Mar 20, 2025
5dd0c92
Remove a bunch of `try_into().expect()`
Kixunil Mar 5, 2025
437562e
Add official BIP32 test vectors for invalid keys
Kixunil Mar 15, 2025
200ff47
Use compute_merkle_root
tcharding Mar 20, 2025
6b2b89c
Remove From<hash> for not-general-hash types
tcharding Feb 26, 2025
db9ec3b
Remove From<newtype> for $hash
tcharding Mar 20, 2025
36ebf6c
Automated update to Github CI to rustc stable-1.85.1
Mar 21, 2025
a0be792
Merge rust-bitcoin/rust-bitcoin#4266: Automated weekly update to rust…
tcharding Mar 21, 2025
6620a29
Merge rust-bitcoin/rust-bitcoin#4200: Remove a bunch of `try_into().e…
apoelstra Mar 21, 2025
069d2fd
Add XOnlyPublicKey support for PSBT key retrieval and improve Taproot…
erickcestari Mar 14, 2025
294a58c
Merge rust-bitcoin/rust-bitcoin#4128: Remove `From<hash>` for not-gen…
apoelstra Mar 21, 2025
dfb49f0
Rename impl_try_from_array to impl_from_array
erickcestari Mar 21, 2025
e744347
Make usage of Self and type uniform across both modules
erickcestari Mar 21, 2025
1c13627
Automated update to Github CI to rustc nightly-2025-03-21
Mar 22, 2025
fb80a94
Merge rust-bitcoin/rust-bitcoin#4274: Automated daily update to rustc…
tcharding Mar 22, 2025
d0bead6
docs: fix LICENCE link
jjjike2021 Mar 23, 2025
587a66d
Add a bunch of missing conversions for `Witness`
Kixunil Mar 23, 2025
c807836
Impl `PartialEq` between `Witness` and containers
Kixunil Mar 23, 2025
3551ec2
Don't access internalls of `Witness` in tests
Kixunil Mar 23, 2025
84bee2f
Simplify `Witness` construction in tests
Kixunil Mar 23, 2025
4525fd3
Merge rust-bitcoin/rust-bitcoin#4263: docs: fix LICENSE link
apoelstra Mar 24, 2025
8788995
Merge rust-bitcoin/rust-bitcoin#4238: Add XOnlyPublicKey support for …
apoelstra Mar 24, 2025
cf79f05
Merge rust-bitcoin/rust-bitcoin#4271: Make code style consistent and …
apoelstra Mar 25, 2025
ecffb40
Merge rust-bitcoin/rust-bitcoin#4169: units: Increase ops impls in `b…
apoelstra Mar 26, 2025
143531d
Merge rust-bitcoin/rust-bitcoin#4279: `Witness` api improvements and …
apoelstra Mar 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .cargo/mutants.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
additional_cargo_args = ["--all-features"]
examine_globs = ["units/src/**/*.rs", "primitives/src/**/*.rs"]
exclude_globs = [
"units/src/amount/verification.rs" # kani tests
]
exclude_re = [
"impl Debug",
"impl Arbitrary",
"impl Display",
".*Error",
"deserialize", # Skip serde mutation tests
"Iterator", # Mutating operations in an iterator can result in an infinite loop

# ----------------------------------Crate-specific exclusions----------------------------------
# Units
# src/amount/mod.rs
"parse_signed_to_satoshi", # Can't kill all mutants since there is no denomination smaller than Satoshi
"fmt_satoshi_in", # Related to formatting/display
"dec_width", # Replacing num /= 10 with num %=10 in a loop causes a timeout due to infinite loop
# src/locktime/relative.rs
"Time::to_consensus_u32", # Mutant from replacing | with ^, this returns the same value since the XOR is taken against the u16 with an all-zero bitmask
"FeeRate::fee_vb", # Deprecated
"FeeRate::fee_wu", # Deprecated

# primitives
"Sequence::from_512_second_intervals", # Mutant from replacing | with ^, this returns the same value since the XOR is taken against the u16 with an all-zero bitmask
"Opcode::classify", # Not possible to kill all mutants without individually checking every opcode classification
"Block<Checked>::cached_witness_root", # Skip getters
"Block<Checked>::transactions", # Skip getters
"Script::to_bytes", # Deprecated
"decode_cursor", # Mutating operations in decode_cursor can result in an infinite loop
"fmt_debug", # Mutants from formatting/display changes
"fmt_debug_pretty", # Mutants from formatting/display changes
]
10 changes: 5 additions & 5 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ Run from rust.yml unless stated otherwise. Unfortunately we are now exceeding th
8. `Docs`
9. `Docsrs`
10. `Bench`
11. `ASAN`
12. `WASM`
13. `Arch32bit`
14. `Cross`
15. `Embedded`
11. `Arch32bit`
12. `Cross`
13. `Embedded`
14. `ASAN`
15. `WASM`
16. `Kani`
17. `Coveralls` - run by `coveralls.yml`
18. `release` - run by `release.yml`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cargo-semver-checks-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.36.0
0.40.0
2 changes: 1 addition & 1 deletion .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Code coverage with llvm-cov
jobs:
Coveralls:
name: Code coverage - stable toolchain
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cron-daily-fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
fuzz:
if: ${{ !github.event.act }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -59,18 +59,18 @@ jobs:
echo "Using RUSTFLAGS $RUSTFLAGS"
cd fuzz && ./fuzz.sh "${{ matrix.fuzz_target }}"
- run: echo "${{ matrix.fuzz_target }}" >executed_${{ matrix.fuzz_target }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: executed_${{ matrix.fuzz_target }}
path: executed_${{ matrix.fuzz_target }}

verify-execution:
if: ${{ !github.event.act }}
needs: fuzz
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- name: Display structure of downloaded files
run: ls -R
- run: find executed_* -type f -exec cat {} + | sort > executed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron-daily-kani.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- cron: '59 23 * * *' # midnight every day.
jobs:
run-kani:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: 'Checkout your code.'
uses: actions/checkout@v4
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/cron-weekly-cargo-mutants.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Weekly cargo-mutants
on:
schedule:
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
workflow_dispatch: # allows manual triggering
jobs:
cargo-mutants:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
tool: cargo-mutants
- run: cargo mutants --in-place --no-shuffle
- uses: actions/upload-artifact@v4
if: always()
with:
name: mutants.out
path: mutants.out
- name: Check for new mutants
if: always()
run: |
if [ -s mutants.out/missed.txt ]; then
echo "New missed mutants found"
gh issue create \
--title "New Mutants Found" \
--body "$(cat <<EOF
Displaying up to the first 10 mutants:

$(head -n 10 mutants.out/missed.txt)

For the complete list, please check the [mutants.out artifact](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).
EOF
)"
echo "create_issue=true" >> $GITHUB_ENV
else
echo "No new mutants found"
echo "create_issue=false" >> $GITHUB_ENV
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/cron-weekly-rustfmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
format:
name: Nightly rustfmt
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
format:
name: Update cargo-semver-checks
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Update semver-checks to use latest crates.io published version
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Update Nightly rustc
on:
schedule:
- cron: "5 0 * * 1,4" # runs every Monday and Thursday at 00:05
- cron: "5 0 * * 6" # Saturday at 00:05
workflow_dispatch: # allows manual triggering
jobs:
format:
name: Update nightly rustc
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron-weekly-update-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
format:
name: Update stable rustc
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manage-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout master
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/miri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name: Miri
jobs:
Miri:
name: Miri
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name: Release
jobs:
release:
name: Release - dry-run
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout Crate
uses: actions/checkout@v4
Expand Down
Loading