rust-lightning/lightning-invoice/src
Matt Corallo e818c4b13f Move [u8; 32] wrapper types to a common module
The `PaymentHash`, `PaymentSecret`, `PaymentPreimage`, and
`ChannelId` types are all small wrappers around `[u8; 32]` and are
used throughout the codebase but were defined in the top-level
`ln/mod.rs` file and the relatively sparsely-populated
`ln/channel_id.rs` file.

Here we move them to a common `types` module and go ahead and
update all our in-crate `use` statements to refer to the new
module for bindings. We do, however, leave a `pub use` alias for
the old paths to avoid upgrade hassle for users.
2024-05-01 19:01:40 +00:00
..
de.rs Move [u8; 32] wrapper types to a common module 2024-05-01 19:01:40 +00:00
lib.rs Move [u8; 32] wrapper types to a common module 2024-05-01 19:01:40 +00:00
payment.rs Move [u8; 32] wrapper types to a common module 2024-05-01 19:01:40 +00:00
ser.rs Fix typo lightning-invoice/src/ser.rs 2024-01-12 20:46:26 +08:00
tb.rs Pure import of lightning-invoice crate 2021-04-09 10:08:27 -04:00
utils.rs Move [u8; 32] wrapper types to a common module 2024-05-01 19:01:40 +00:00