Oliver Gugger
235efc04e4
docs+lnrpc: rename rpc.proto to lightning.proto
...
To avoid a naming conflict with etcd, we rename our very generic
rpc.proto to lightning.proto to match the service name that's declared
within. This will break many external tutorials and possibly also our
API docs but the change needs to be done eventually.
2021-07-27 12:59:56 +02:00
Olaoluwa Osuntokun
5a82340a03
Merge pull request #5198 from hsjoberg/sampleconf-tlsdisableautofill
...
mobile: add tlsdisableautofill to sample config
2021-04-22 15:49:55 -07:00
Hampus Sjöberg
3826bd735d
mobile: add tlsdisableautofill to sample config
...
This addresses new restrictions in Android 11.
2021-04-21 12:55:46 +02:00
Hampus Sjöberg
e1ebdb311a
mobile: Move lndStarted check to the top of the Start function
2021-04-20 14:51:27 +02:00
Hampus Sjöberg
af99f70e48
mobile: re-enitialize listeners with RecreateListeners
2021-04-06 15:34:26 +02:00
Johan T. Halseth
d1c7059f14
Merge pull request #5178 from halseth/mobile-docker-prefix
...
make: pass mobile subserver prefix to docker when generating mobile RPC
2021-04-06 14:54:11 +02:00
Johan T. Halseth
2868b22083
make: pass mobile subserver prefix to docker when generating mobile RPC
2021-04-06 12:52:27 +02:00
Johan T. Halseth
980beba985
mobile: return error in case lnd is already running
2021-04-06 11:38:37 +02:00
Johan T. Halseth
321141600e
mobile/bindings: update API for falafel v0.8.1
2021-04-06 10:49:50 +02:00
Johan T. Halseth
cf5b0b7943
mobile: include stateservice, use same listener for all services
2021-04-06 10:49:50 +02:00
Johan T. Halseth
db28e7c891
lnd: consolidate WalletUnlocker- and AdminAuthOptions
2021-04-06 10:49:45 +02:00
Johan T. Halseth
8789247bf9
print current falafel version
2021-04-06 10:45:32 +02:00
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.
2021-03-18 12:54:25 +01:00
Johan T. Halseth
8038e9f322
mobile: gracefully exit if lnd fails to start
...
Instead of killing the app, report an error back to the application.
2021-03-09 14:25:46 +01:00
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.
2021-01-28 10:29:02 +01:00
Oliver Gugger
02267565fe
multi: unify code blocks in READMEs
2021-01-22 09:14:11 +01:00
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.
2020-08-24 08:54:34 +02:00
Johan T. Halseth
09b8bee865
mobile: remember walletunlocker.proto
2020-08-04 14:43:08 +02:00
Johan T. Halseth
935fa7f12d
make+mobile: pass expected falafel version to build script
2020-07-17 08:49:03 +02:00
Johan T. Halseth
39241dcdc7
mobile: use single brackets for bash if check
...
Double brackets are sh specific.
2020-07-17 08:49:03 +02:00
Johan T. Halseth
fd8e6c98b9
make: fetch falafel dependency for mobile-rpc
2020-07-17 08:49:02 +02:00
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.
2020-07-17 08:49:02 +02:00
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.
2020-07-17 08:49:02 +02:00
Joost Jager
ffa7bed7f0
build+routerrpc+lncli: remove routerrpc conditional compilation
2020-03-31 21:41:22 +02:00
Johan T. Halseth
fd75f29480
Merge pull request #3908 from halseth/mobile-trim-spaces
...
[mobile] trim arg spaces before comparison
2020-01-23 11:54:25 +01:00
Johan T. Halseth
2b6575463b
mobile: bump falafel dep to 0.7
2020-01-21 20:45:58 +01:00
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.
2020-01-14 09:30:09 +01:00
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.
2020-01-14 09:30:09 +01:00
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.
2020-01-13 13:25:14 +01:00
Johan T. Halseth
d196a4431a
mobile: remove no-macaroons from sample config
...
Now that macaroons are supported, encourage usage.
2019-12-18 10:30:51 +01:00
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.
2019-12-18 10:28:23 +01:00
Johan T. Halseth
200161e04c
mobile: update to falafel 0.6
2019-12-18 10:28:23 +01:00
Johan T. Halseth
f0bd4e775b
Merge pull request #3775 from halseth/mobile-listener-signal
...
[mobile] make Ready signal for custom listeners
2019-12-17 12:26:04 +01:00
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.
2019-11-29 11:59:01 +01:00
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.
2019-11-26 14:57:17 +01:00
Johan T. Halseth
2754f5dea0
mobile: 80 char limit readme
2019-11-21 12:35:52 +01:00
Johan T. Halseth
27abe4a301
mobile: halseth/falafel -> lightninglabs/falafel
2019-11-21 12:34:38 +01:00
Johan T. Halseth
1b543b919e
mobile: add comments to build script
2019-11-21 12:33:48 +01:00
Alex Bosworth
bfe3f07959
trivial: typo fix
2019-11-06 15:46:59 -08:00
Alex Bosworth
c390219f3d
trivial: fix typo
2019-11-06 15:44:12 -08:00
Hampus Sjöberg
2445be6552
mobile: Updating sample_lnd.conf to contain norest config
2019-09-10 01:01:27 +02:00
Johan T. Halseth
a8cb1c80eb
mobile: add README
2019-09-05 09:22:54 +02:00
Johan T. Halseth
fef2074c1d
mobile: add sample_lnd.conf
2019-09-05 09:22:54 +02:00
Johan T. Halseth
8a92ccbbf4
mobile/bindings: add mobile bindings
2019-09-05 09:22:54 +02:00
Johan T. Halseth
a5c63786c6
make+mobile: define gen_bindings.sh
...
gen_bindings uses falafel to generate Go bindings from the lnrpc
protos.
2019-09-05 09:22:54 +02:00