]> git.bitcoin.ninja Git - rust-lightning/commit
Add DNS(SEC) query and proof messages and onion message handler
authorMatt Corallo <git@bluematt.me>
Mon, 30 Sep 2024 16:16:36 +0000 (16:16 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 30 Sep 2024 16:19:31 +0000 (16:19 +0000)
commit1cf03930561cd49017cbff8237ef45cdab379fb0
tree2eb001eb83d0fd1b765d576ee4561ff8f9e01cfe
parent151a8a1aaf828195a5198b64a97a08c645dc9b60
Add DNS(SEC) query and proof messages and onion message handler

This creates the initial DNSSEC proof and query messages in a new
module in `onion_message`, as well as a new message handler to
handle them.

In the coming commits, a default implementation will be added which
verifies DNSSEC proofs which can be used to resolve BIP 353 URIs
without relying on anything outside of the lightning network.
lightning/Cargo.toml
lightning/src/blinded_path/message.rs
lightning/src/onion_message/dns_resolution.rs [new file with mode: 0644]
lightning/src/onion_message/mod.rs
lightning/src/util/ser.rs