]> git.bitcoin.ninja Git - rust-lightning/commit
Move Nonce to a separate offers sub-module
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 19 Jun 2024 16:51:53 +0000 (11:51 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 22 Jul 2024 16:34:01 +0000 (11:34 -0500)
commitd7aeaa0aadaece9921b9317a661bbeb4f2580cb6
tree5c9de03a44284b2dcc8ba4aa7aae3c7b0787a639
parent0a5918e477a56a2132c2ebcbe9e3c2d3c9e70341
Move Nonce to a separate offers sub-module

Nonce is used when constructing Offer::metadata and will soon be need
when constructing BlindedPath for use in authentication. Move it to
separate module now that it is public and will be more widely used.
lightning/src/ln/inbound_payment.rs
lightning/src/offers/invoice_request.rs
lightning/src/offers/mod.rs
lightning/src/offers/nonce.rs [new file with mode: 0644]
lightning/src/offers/offer.rs
lightning/src/offers/refund.rs
lightning/src/offers/signer.rs