12 Commits
Author SHA1 Message Date
t4sk e4e8b86137 tests: add integration tests for send to route
This commit add 3 integration tests for send-to-route RPC call.
One test ensures that single-hop payments are processed. Another test
checks that payments through a multi-hop route are processed. Lastly,
there is a test to check error propagation while sending payments via fake
predefined route.
2018-06-06 20:45:01 -07:00
t4sk f4c9192df3 cmd/lncli: add --final_cltv_delta to queryroutes 2018-06-06 20:45:01 -07:00
t4sk 982f53e6f2 rpc: modify QueryRoutes to take final_cltv_delta 2018-06-06 20:45:01 -07:00
t4sk d6ca581cbc lnrpc: add new final_cltv_delta param to QueryRoutes 2018-06-06 20:45:01 -07:00
t4sk 53eb396ae9 routing/router: add SendToRoute 2018-06-06 20:45:00 -07:00
t4sk 6ddd7b4d0d rpcserver: add SendToRoute methods
rpcserver: add SendToRoute handler
2018-06-06 20:45:00 -07:00
t4sk dac62e812c lnrpc: add SendToRoute command 2018-06-06 20:45:00 -07:00
t4sk dc04df0f2e cmd/lncli: add sendtoroute command
This commit adds sendtoroute command to lncli. RPC command SendToRoute
is not yet implemented.
2018-06-06 20:45:00 -07:00
t4sk eb80d07b26 tests: add integration tests for queryroutes 2018-04-19 09:15:21 +08:00
t4sk 49510d775f rpcserver: include millisatoshis in marshallRoute 2018-04-19 09:15:21 +08:00
t4sk 31feeca51a lnrpc: extend Route to include millisatoshis 2018-04-19 09:15:21 +08:00
t4sk 55f751fd37 routing/router Fix FindRoutes in router test
In router_test FindRoutes is passing DefaultFinalCLTVDelta in place
where numPaths is expected. This commit passes a default numPaths for
function calls to FindRoutes so that final cltv delta are correctly
passed.
2018-02-28 19:25:19 -08:00