]> git.bitcoin.ninja Git - rust-lightning/commit
Introduce Verification trait.
authorshaavan <shaavan.github@gmail.com>
Tue, 10 Sep 2024 10:07:10 +0000 (15:37 +0530)
committershaavan <shaavan.github@gmail.com>
Tue, 10 Sep 2024 10:27:24 +0000 (15:57 +0530)
commit6500277ba810471dc527f5078672a49020d9d6e9
tree9a7855daaa8fa67ee4087c18993a20ef6f2bd6bf
parente2ee3251018a17f1e87c57484ed0e48331dd7b7c
Introduce Verification trait.

- The trait defines the public method one may define for creating and
  verifying the HMAC.
- Using a pub trait to define these method allows the flexibility for
  other `OffersMessageHandler` construct to construct the HMAC and
authenticate the message.
lightning/src/ln/channelmanager.rs