rust-bitcoin-unsafe-fast/bitcoin/src
Erick Cestari 3ca3218c23 witness: Improve element access methods with get() and get_back()
Enhance Witness struct element access methods:

- Rename `nth()` to `get()` for clearer slice-like element retrieval
- Introduce `get_back()` method for flexible reverse indexing
- Remove redundant `second_to_last()` and `third_to_last()` methods
- Add `#[track_caller]` to index implementation for better error tracking
- Update all references to use new method names
- Improve documentation with usage examples

The changes provide a more intuitive and consistent approach to
accessing witness elements.
2025-03-04 12:16:48 -03:00
..
address 2025-03-02 automated rustfmt nightly 2025-03-02 01:22:29 +00:00
blockdata witness: Improve element access methods with get() and get_back() 2025-03-04 12:16:48 -03:00
consensus 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
crypto Merge rust-bitcoin/rust-bitcoin#4154: update secp256k1 to 0.30.0 2025-03-03 19:04:09 +00:00
merkle_tree 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
network Update CompactTarget::from_next_work_required to take timespan as i64 2024-11-27 11:27:22 -06:00
p2p Update message.rs 2025-02-28 12:35:17 +01:00
psbt update secp256k1 to 0.30.0 2025-03-02 23:31:48 +08:00
taproot Merge rust-bitcoin/rust-bitcoin#4154: update secp256k1 to 0.30.0 2025-03-03 19:04:09 +00:00
bip32.rs update secp256k1 to 0.30.0 2025-03-02 23:31:48 +08:00
bip152.rs 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
bip158.rs 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
consensus_validation.rs Stop using FQP on Amount type 2025-01-24 08:54:24 +11:00
hash_types.rs Unify deprecated note field format 2024-10-15 15:16:01 +01:00
internal_macros.rs Set avoid-breaking-exported-api to false 2024-12-11 10:11:50 +11:00
lib.rs Remove rust-ordered dependency 2025-02-18 13:36:07 +11:00
policy.rs Policy: Relax MIN_STANDARD_TX_NONWITNESS_SIZE to 65 2025-02-27 00:20:08 +07:00
pow.rs Remove mutagen 2025-01-21 09:43:12 +11:00
serde_utils.rs Elide more lifetimes 2024-10-28 15:22:13 +11:00
sign_message.rs update secp256k1 to 0.30.0 2025-03-02 23:31:48 +08:00