Hampus Sjöberg
3826bd735d
mobile: add tlsdisableautofill to sample config
...
This addresses new restrictions in Android 11.
3 years ago
Hampus Sjöberg
e1ebdb311a
mobile: Move lndStarted check to the top of the Start function
3 years ago
Hampus Sjöberg
af99f70e48
mobile: re-enitialize listeners with RecreateListeners
3 years ago
Johan T. Halseth
2868b22083
make: pass mobile subserver prefix to docker when generating mobile RPC
3 years ago
Johan T. Halseth
980beba985
mobile: return error in case lnd is already running
3 years ago
Johan T. Halseth
321141600e
mobile/bindings: update API for falafel v0.8.1
3 years ago
Johan T. Halseth
cf5b0b7943
mobile: include stateservice, use same listener for all services
3 years ago
Johan T. Halseth
db28e7c891
lnd: consolidate WalletUnlocker- and AdminAuthOptions
3 years ago
Johan T. Halseth
8789247bf9
print current falafel version
3 years ago
Hampus Sjöberg
ada1bc701c
signal: handle shutdown properly
...
This addresses issues related to the mobile lnd builds, where
calling `stopDaemon` and subsequently calling LndMobile's `Start`
results in crash.
3 years ago
Johan T. Halseth
8038e9f322
mobile: gracefully exit if lnd fails to start
...
Instead of killing the app, report an error back to the application.
3 years ago
Oliver Gugger
19f7670a5b
mobile: remove grpc-gateway import
...
Because we compile the REST code from the rest-annotations.yaml and no
longer import the annotations in the proto files, we don't need to
specify the custom import path anymore.
3 years ago
Oliver Gugger
02267565fe
multi: unify code blocks in READMEs
3 years ago
carla
daae8a9944
multi: wrap logger to request shutdown from signal on critical error
...
This commit adds a shutdown logger which will send a request for
shutdown on critical errors. It uses the signal package to request safe
shutdown of the daemon. Since we init our logs in config validation,
we add a started channel to the signal package to prevent the case where
we have a critical log after the ShutdownLogger has started but before
the daemon has started listening for intercepts. In this case, we just
ignore the shutdown request.
4 years ago
Johan T. Halseth
09b8bee865
mobile: remember walletunlocker.proto
4 years ago
Johan T. Halseth
935fa7f12d
make+mobile: pass expected falafel version to build script
4 years ago
Johan T. Halseth
39241dcdc7
mobile: use single brackets for bash if check
...
Double brackets are sh specific.
4 years ago
Johan T. Halseth
fd8e6c98b9
make: fetch falafel dependency for mobile-rpc
4 years ago
Johan T. Halseth
7a30332619
mobile: use single "mobile" build tag instead of "ios" and "android"
...
Since the "android" build tag conflicts with a go compiler build tag, we instead use a single "mobile" tag for both platforms.
4 years ago
Johan T. Halseth
f360ec71bf
mobile: restore config parsing for mobile bindings
...
A recent commit moved the config parsing out of lnd's Main method. This
commit makes the mobile bindings compile with this change.
4 years ago
Joost Jager
ffa7bed7f0
build+routerrpc+lncli: remove routerrpc conditional compilation
4 years ago
Johan T. Halseth
2b6575463b
mobile: bump falafel dep to 0.7
4 years ago
Johan T. Halseth
56230f5de2
mobile: add note about using lnddir
...
On both Android and iOS (when not using a simulator) the application
procees doesn't have write permissions to the default lnd directory.
This commit adds a note about using the app directory given by the used
platform.
4 years ago
Johan T. Halseth
f5a9813304
mobile: add TLS options to wallet unlocker listener
...
The wallet unlocker service also requires the TLS certificates to be
added, but this was not set. This commit sets the options similar to
what is done for the regular RPC server.
4 years ago
Johan T. Halseth
dae5dddfd2
mobile: trim arg spaces before comparison
...
Since spaces where trimmed only after checking for empty strings, an
empty flag '-- ' would be passed along to lnd. Intead we trim first to
properly ingore such flags.
4 years ago
Johan T. Halseth
d196a4431a
mobile: remove no-macaroons from sample config
...
Now that macaroons are supported, encourage usage.
4 years ago
Johan T. Halseth
5be6e1c92e
mobile: authenticate with rpc server
...
This makes the mobile bindings work with TLS and macaroons enabled,
which is supported from falafel 0.6.
4 years ago
Johan T. Halseth
200161e04c
mobile: update to falafel 0.6
4 years ago
Johan T. Halseth
260704f3cd
mobile: call Start callback when lnd ready, add unlock callback
...
Use the custom listeners' Ready channels to provide callbacks to the
mobile application when the gRPC services are ready.
NOTE: this changes the Start() API by adding one extra callback.
4 years ago
Johan T. Halseth
e8e5fd7abc
mobile: run goimports on generated files
...
Subservers might depend on each other (notably walletrpc depends on
signrpc) so running goimports ensures they properly import each other.
4 years ago
Johan T. Halseth
2754f5dea0
mobile: 80 char limit readme
5 years ago
Johan T. Halseth
27abe4a301
mobile: halseth/falafel -> lightninglabs/falafel
5 years ago
Johan T. Halseth
1b543b919e
mobile: add comments to build script
5 years ago
Alex Bosworth
bfe3f07959
trivial: typo fix
5 years ago
Alex Bosworth
c390219f3d
trivial: fix typo
5 years ago
Hampus Sjöberg
2445be6552
mobile: Updating sample_lnd.conf to contain norest config
5 years ago
Johan T. Halseth
a8cb1c80eb
mobile: add README
5 years ago
Johan T. Halseth
fef2074c1d
mobile: add sample_lnd.conf
5 years ago
Johan T. Halseth
8a92ccbbf4
mobile/bindings: add mobile bindings
5 years ago
Johan T. Halseth
a5c63786c6
make+mobile: define gen_bindings.sh
...
gen_bindings uses falafel to generate Go bindings from the lnrpc
protos.
5 years ago