rust-bitcoin-unsafe-fast/bitcoin/src
Andrew Poelstra 1eb6e0c7d8
Merge rust-bitcoin/rust-bitcoin#2134: Add clippy exceptions for needless_question_mark lint
875545517d Add clippy exceptions for needless_question_mark lint (Steven Roose)

Pull request description:

  This lint forces you to write semantically different code that is in most cases inferior, just to save you 5 characters.

  The reason why the code is inferior is because it doesn't do error conversion so it would break when either of the two function signatures changes while in the original code using the `?` operator, nothing would break if the inner error can be converted into the outer error.

ACKs for top commit:
  apoelstra:
    ACK 875545517d
  tcharding:
    ACK 875545517d

Tree-SHA512: 8429e0fb7d759a3d19231e7bcaed61b0988172d931e758a9522d7c994854fd403408bb93b06778a5c09746cd38b6a96d3d2e0a862fb4516f2dbfffffe8735ce0
2023-10-24 01:17:32 +00:00
..
address Update bech32 dependency 2023-10-10 06:47:58 +11:00
blockdata Remove unnecessary clippy attribute on relative::LockTime 2023-10-23 01:37:50 +01:00
consensus encode: Implement encoding traits on Vec<BlockHeader> 2023-10-18 23:34:56 +01:00
crypto Remove unnecessary clippy attribute on is_sighash_single_bug 2023-10-23 01:41:44 +01:00
merkle_tree Merge rust-bitcoin/rust-bitcoin#1986: Remove private hex test macro 2023-10-06 22:14:12 +00:00
p2p Merge rust-bitcoin/rust-bitcoin#1986: Remove private hex test macro 2023-10-06 22:14:12 +00:00
psbt Use Message::from_digest 2023-10-11 08:16:25 +11:00
amount.rs Remove redundant guard 2023-10-07 11:19:47 +02:00
base58.rs Merge rust-bitcoin/rust-bitcoin#1986: Remove private hex test macro 2023-10-06 22:14:12 +00:00
bip32.rs Upgrade the secp dependency 2023-10-10 10:04:31 +11:00
bip152.rs Make error types uniform 2023-10-04 15:15:52 +11:00
bip158.rs Merge rust-bitcoin/rust-bitcoin#1986: Remove private hex test macro 2023-10-06 22:14:12 +00:00
error.rs Remove impl_std_error macro 2023-10-04 15:15:34 +11:00
hash_types.rs Move XpubIdentifier to the bip32 module 2023-09-04 02:13:55 +10:00
internal_macros.rs Remove private hex test macro 2023-09-30 06:22:52 +10:00
lib.rs Add clippy exceptions for needless_question_mark lint 2023-10-23 16:45:52 +01:00
network.rs Make error types uniform 2023-10-04 15:15:52 +11:00
parse.rs Make error types uniform 2023-10-04 15:15:52 +11:00
policy.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
pow.rs Use Target for pow_limit 2023-10-11 08:50:42 +11:00
serde_utils.rs Depend on hex-conservative 2023-07-21 10:59:46 +10:00
sign_message.rs Use Message::from_digest 2023-10-11 08:16:25 +11:00
string.rs Make error types uniform 2023-10-04 15:15:52 +11:00
taproot.rs Merge rust-bitcoin/rust-bitcoin#1986: Remove private hex test macro 2023-10-06 22:14:12 +00:00
test_macros.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00