rust-bitcoin-unsafe-fast/internals/src
merge-script 060ad58620
Merge rust-bitcoin/rust-bitcoin#3259: priority: Introduce and use a new `compact_size` module
d65de7c7de Introduce and use new compact_size module (Tobin C. Harding)

Pull request description:

  We would like to move the witness module to `primitives` but there is a bunch of usage of `VarInt`.

  Introduce a module that does the encoding and decoding instead, note that while the functionality is internal decoding returns an error which may one day end up in the public API. So put the module in `primitives` and make it public.

  Adds the module to `primitives`, adds a public `MAX_ENCODABLE_SIZE` variable that is commented with an issue link.

  https://github.com/rust-bitcoin/rust-bitcoin/issues/3264

ACKs for top commit:
  apoelstra:
    ACK d65de7c7de successfully ran local tests
  Kixunil:
    ACK d65de7c7de

Tree-SHA512: d9483c29b2b324e27460564a23f4639dde4037e6e773f4356216b02ebdea893a6361c342002b8e93a54de47b71ac69369431554f8cd0a2522fc451bf8493c81c
2024-09-10 13:27:24 +00:00
..
error Link to std::error::Error 2024-06-14 14:00:58 +10:00
array_vec.rs Add unit test for ArrayVec::extend_from_slice 2024-08-30 09:14:43 +10:00
compact_size.rs Introduce and use new compact_size module 2024-09-05 09:49:56 +10:00
const_tools.rs Refactor Rust version checking 2024-08-19 15:21:01 +02:00
error.rs Removed //! spare line at end of headers 2024-05-22 12:23:57 +01:00
lib.rs Merge rust-bitcoin/rust-bitcoin#3259: priority: Introduce and use a new `compact_size` module 2024-09-10 13:27:24 +00:00
macros.rs 2024-09-08 automated rustfmt nightly 2024-09-08 01:17:12 +00:00
parse.rs Use full path in all macro usage of Result 2024-01-18 19:11:01 +01:00
script.rs Re-write (and re-name) read_uint_iter 2024-09-09 06:31:39 +10:00
serde.rs Change `T::from_str(s)` to `s.parse::<T>()` 2024-08-27 17:31:00 +01:00