Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge incorrect_payment_amount and unknown_payment_hash errors #516

Commits on Dec 3, 2018

  1. Merge incorrect_payment_amount and unknown_payment_hash errors

    Because the errors are separate, if an intermediate node sees a
    payment hash for relay and has several guesses as to the
    destination of the payment, they can check their guesses by sending
    HTLCs with the same payment hashes first and seeing the error sent
    back.
    
    By adding the htlc_msat that the final node received to
    unknown_or_incorrect_payment_details, origin nodes can still
    identify bad value-relaying peers.
    TheBlueMatt committed Dec 3, 2018
    Configuration menu
    Copy the full SHA
    226cb8b View commit details
    Browse the repository at this point in the history