breez_sdk_liquid::lightning_with_bolt12::onion_message

Module dns_resolution

Expand description

This module defines message handling for DNSSEC proof fetching using bLIP 32.

It contains DNSResolverMessages as well as a DNSResolverMessageHandler trait to handle such messages using an OnionMessenger.

With the dnssec feature enabled, it also contains OMNameResolver, which does all the work required to resolve BIP 353 HumanReadableNames using bLIP 32 - sending onion messages to a DNS resolver, validating the proofs, and ultimately surfacing validated data back to the caller.

Structs§

  • A message which is sent in response to DNSSECQuery containing a DNSSEC proof.
  • A message which is sent to a DNSSEC prover requesting a DNSSEC proof for the given name.
  • A struct containing the two parts of a BIP 353 Human Readable Name - the user and domain parts.

Enums§

  • An enum containing the possible onion messages which are used uses to request and receive DNSSEC proofs.

Traits§