mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
bba01cf634
In this commit we set up the payment loop context according to user-provided parameters. The `cancelable` parameter indicates whether the user is able to interrupt the payment loop by cancelling the server stream context. We'll additionally wrap the context in a deadline if the user provided a payment timeout. We remove the timeout channel of the payment_lifecycle.go and in favor of the deadline context. |
||
---|---|---|
.. | ||
config.go | ||
driver.go | ||
forward_interceptor.go | ||
log.go | ||
router_backend_test.go | ||
router_backend.go | ||
router_grpc.pb.go | ||
router_server_deprecated.go | ||
router_server_test.go | ||
router_server.go | ||
router.pb.go | ||
router.pb.gw.go | ||
router.pb.json.go | ||
router.proto | ||
router.swagger.json | ||
router.yaml | ||
routing_config.go | ||
subscribe_events.go |