]> git.bitcoin.ninja Git - rust-lightning/commit
Make `user_channel_id` a `u128`
authorElias Rohrer <ero@tnull.de>
Mon, 24 Oct 2022 08:30:11 +0000 (10:30 +0200)
committerElias Rohrer <ero@tnull.de>
Tue, 15 Nov 2022 19:41:09 +0000 (20:41 +0100)
commitdc3ff5489a050a15a318b22299cfd3061b8e95ed
tree46f0baa6f16f99769d39c24c135058489d2388d0
parentb2f8df0b61bd42e38e0f25c906726b5af9c49825
Make `user_channel_id` a `u128`

We increase the `user_channel_id` type from `u64` to `u128`. In order to
maintain backwards compatibility, we have to de-/serialize it as two
separate `u64`s in `Event` as well as in the `Channel` itself.
fuzz/src/full_stack.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/util/events.rs
lightning/src/util/ser.rs