diff --git a/routing.asciidoc b/routing.asciidoc index c5a53ce..50c003f 100644 --- a/routing.asciidoc +++ b/routing.asciidoc @@ -489,7 +489,7 @@ When David receives the Onion package he will extract the public key from the un The property of the Elliptic Curve Diffie Hellmann key exchange is that if he multiplies this public key with his private node key he will get the same shared secret as a result as Alice did. However others cannot derive the same shared secrete as they neither know Alice's nor David's private key. -[Note] +[NOTE] ==== Let `(d,D)` be the secret and Public key of David and let G be the generator point of the elliptic curve so that `D = d*G`. similarily let `(ek_d, EPK_D)` the ephemeral keys that Alice has generated for David such that the Publikc ephemeral Key `EPK_D = ek_d*G`. @@ -550,7 +550,7 @@ Note how Wei was still supposed to forward 3000 satoshis but How Bob was suppose The difference is the routing fee for Wai. Bob on the other hand will only forward the onion if the difference between the mount to forward and the HTLC that Alice sets up while transfering the Onion to him is large enough to cover for the fees that he would like to earn. -[Note] +[NOTE] ==== We have not discussed the exact cryptographic algorithms and schemes that are being used to compute the cypthertext from the plain text. Also we have not discussed how the HMACs are being computed at every step and how everything fits together while the Onions are always being trucated and modified on the outer layer.