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

routing: update route hints when seeing a ChannelUpdate msg #5218

Closed

Commits on May 26, 2021

  1. Configuration menu
    Copy the full SHA
    e0a9c2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3b9b19 View commit details
    Browse the repository at this point in the history
  3. routing: fix TestSendPaymentErrorRepeatedFeeInsufficient

    The simulated error returned was rejected due to signature failure,
    and didn't simulate correctly the insufficient fees error as
    intended. Fix error by including correct signature.
    Bluetegu authored and yyforyongyu committed May 26, 2021
    Configuration menu
    Copy the full SHA
    d35304d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f873c74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c74a754 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5c3cd27 View commit details
    Browse the repository at this point in the history
  7. routing: use require in router test

    This commit refactors some of the tests in router_test.go to use the
    require package.
    yyforyongyu committed May 26, 2021
    Configuration menu
    Copy the full SHA
    cd6f483 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5de0ca2 View commit details
    Browse the repository at this point in the history
  9. routing: move sendErr handling in shardHandler

    This commit moves the handleSendError method from ChannelRouter to
    shardHandler. In doing so, shardHandler can now apply updates to the
    in-memory paymentSession if they are found in the error message.
    yyforyongyu committed May 26, 2021
    Configuration menu
    Copy the full SHA
    ef12011 View commit details
    Browse the repository at this point in the history
  10. routing: add method UpdateAdditionalEdge and GetAdditionalEdgePolicy

    This commit adds the method UpdateAdditionalEdge in PaymentSession,
    which allows the addtional channel edge policy to be updated from a
    ChannelUpdate message. Another method, GetAdditionalEdgePolicy is added
    to allow querying additional edge policies.
    yyforyongyu committed May 26, 2021
    Configuration menu
    Copy the full SHA
    45a288e View commit details
    Browse the repository at this point in the history
  11. routing: make shardHandler aware of payment session

    This commit adds payment session to shardHandler to enable private edge
    policies being updated in shardHandler. The relevant interface and mock
    are updated. From now on, upon seeing a ChannelUpdate message,
    shardHandler will first try to find the target policy in additionalEdges
    and update it. If nothing found, it will then check the database for
    edge policy to update.
    yyforyongyu committed May 26, 2021
    Configuration menu
    Copy the full SHA
    4825afa View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    940ec75 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    109e4da View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0b10206 View commit details
    Browse the repository at this point in the history
  15. itest: fix make lint

    yyforyongyu committed May 26, 2021
    Configuration menu
    Copy the full SHA
    04beb84 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    98822a1 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    427fa22 View commit details
    Browse the repository at this point in the history