From dea15d51f9aa50174c4d3af83d6f95544978cb11 Mon Sep 17 00:00:00 2001 From: Evan Kaloudis Date: Wed, 11 May 2022 13:18:50 -0400 Subject: [PATCH] mobile/README: explain new API objects for sub-servers in LND v0.15+ --- mobile/README.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/mobile/README.md b/mobile/README.md index dd378f032..538cf2fbc 100644 --- a/mobile/README.md +++ b/mobile/README.md @@ -227,19 +227,11 @@ implementation project(":lndmobile", { "default" }) ``` --- -## Options +## Calling the API -Similar to lnd, subservers can be conditionally compiled with the build by setting the tags argument: +In LND v0.15+ all API methods have prefixed the generated methods with the subserver name. This is required to support subservers with name conflicts. -```shell -⛰ make ios -``` - -To support subservers that have APIs with name conflicts, pass the "prefix" flag. This will add the subserver name as a prefix to each method name: - -```shell -⛰ make ios prefix=1 -``` +eg. `QueryScores` is now `AutopilotQueryScores`. `GetBlockHeader` is now `NeutrinoKitGetBlockHeader`. ## API docs