]> git.bitcoin.ninja Git - rust-lightning/commit
Add Sha256 HMAC (de)serialization
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 Jul 2024 16:42:57 +0000 (11:42 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Aug 2024 15:42:17 +0000 (10:42 -0500)
commit8119fbfaf9fb72a083c7e20250766a1eb4e0183b
tree4582b1bdac970bbdd7ff5f1b775fcbfa3901b072
parentf52bd0b8e3a0750f5a5fd2d2732b483b60c5eac7
Add Sha256 HMAC (de)serialization

An HMAC needs to be included in OffersContext::OutboundPayment to
authenticate the included PaymentId. Implement Readable and Writeable to
allow for this.
lightning/src/util/ser.rs