A properly decrypted failure from a node in the route.
A properly decrypted failure from a node in the route.
public key of the node that generated the failure.
friendly failure message.
Decrypting an onion packet yields a payload for the current node and the encrypted packet for the next node.
Decrypting an onion packet yields a payload for the current node and the encrypted packet for the next node.
decrypted payload for this node.
packet for the next node.
shared secret for the sending node, which we will need to return failure messages.
A encrypted onion packet with all the associated shared secrets.
A encrypted onion packet with all the associated shared secrets.
encrypted onion packet.
shared secrets (one per node in the route). Known (and needed) only if you're creating the packet. Empty if you're just forwarding the packet to the next node.
A payment onion packet is used when offering an HTLC to a remote node.
A trampoline onion packet is used to defer route construction to trampoline nodes.
A trampoline onion packet is used to defer route construction to trampoline nodes. It is usually embedded inside a payment onion packet in the final node's payload.
Compute the ephemeral public keys and shared secrets for all nodes on the route.
Compute the ephemeral public keys and shared secrets for all nodes on the route.
this node's session key.
public keys of each node on the route.
a tuple (ephemeral public keys, shared secrets).
Peek at the first bytes of the per-hop payload to extract its length.
(Since version ) see corresponding Javadoc for more information.
Created by fabrice on 13/01/17. see https://github.com/lightningnetwork/lightning-rfc/blob/master/04-onion-routing.md