Commit Graph

9519 Commits

Author SHA1 Message Date
Oliver Gugger
d1629e9cf4
docs+python: add build instructions for subserver modules 2020-05-04 09:54:15 +02:00
Oliver Gugger
0bb449c8fe
docs+python: fix headings, make numbered list 2020-05-04 09:53:40 +02:00
Conner Fromknecht
20a776d703
Merge pull request #4194 from wpaulino/ignore-tor-inbound-reconnect
server: ignore reconnection for unadvertised inbound peers over Tor
2020-04-30 20:38:16 -07:00
Conner Fromknecht
1bfe52837d
Merge pull request #4176 from wpaulino/listchannels-uptime-before-server-active
rpcserver: omit uptime in ListChannels response if server not started
2020-04-30 20:33:37 -07:00
Olaoluwa Osuntokun
9f5f48b20d
Merge pull request #4089 from fguisso/acceptor
rpcserver: parameterize acceptortimeout
2020-04-30 19:03:55 -07:00
Olaoluwa Osuntokun
e8c365dc2e
Merge pull request #4207 from ErikEk/tor-socks-control-port-fix
tor: socks and control can not use the same host:port
2020-04-30 19:02:38 -07:00
Olaoluwa Osuntokun
ea5193b104
Merge pull request #4192 from bhandras/fixes
mixed: apply fixes recommended by staticcheck and dead code removal
2020-04-30 19:01:53 -07:00
Olaoluwa Osuntokun
1a3194d302
build: bump version to v0.10.0-beta 2020-04-29 10:21:45 -07:00
Olaoluwa Osuntokun
1d548684e2
build: bump version to v0.10.0-beta.rc6 2020-04-28 19:53:28 -07:00
Olaoluwa Osuntokun
957b34262a
Merge pull request #4230 from wpaulino/increase-zmq-timeout
chainregistry: increase zmq connection timeout with bitcoind backend
2020-04-28 19:49:12 -07:00
Olaoluwa Osuntokun
948fe8cfdb
Merge pull request #4224 from guggero/psbt-warning
lncli+docs: add safety warning about not publishing PSBT manually
2020-04-28 19:40:15 -07:00
Wilmer Paulino
c039aee059
chainregistry: increase zmq connection timeout with bitcoind backend
There seems to be a misinterpretation of a variable between the
btcwallet and gozmq libraries. When establish a ZMQ connection, it
expects a timeout, which is used to set read deadlines and determine how
long we should wait before attempting a reconnection. Within btcwallet
and lnd however, this is is interpreted as a polling duration,
explaining the current value of 100ms. Under load, especially on
less-capable hardware, this leads to high resource usage as we get into
a constant reconnection loop. To remedy this, we use a timeout of 5s
instead, which is a much more reasonable value for read timeouts, and is
also what's used for LN peers.
2020-04-28 11:15:44 -07:00
Oliver Gugger
fb17e9b863
docs: add PSBT publish warning 2020-04-26 21:05:24 +02:00
Oliver Gugger
d765e73e57
lncli: add PSBT publish warning 2020-04-26 21:05:13 +02:00
Andras Banki-Horvath
556e3525ea misc: fix error formatting in multiple files 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
2b729a78f3 lntest: fix ticker leak 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
633ea71ad1 lnd: time.Since instead of time.Now().Sub(...) 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
fe59890a4b lnd+test: remove dead test code 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
ed595adf59 lnd: one append instead of appends in a loop 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
63419c1870 lnd: remove dead code from nursery_store 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
62e6c392a5 lnd: remove dead code from fundingmanager 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
2d6c73f0fd netann: remove unused logClosure 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
f39387db3b monitoring: removing unused logClosure 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
0679d1dd4b autopilot: append instead of appends in a loop 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
28c2ef12b2 netann: one append instead of appends in a loop 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
f3f482d9f9 watchtower: one append instead of appends in a loop 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
ebf058a2a5 routing: static check fix, time.Since instead of Now().Sub() 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
4773ae17d9 routing: remove unused code 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
e9d7ba635c lnwallet: remove redundant return 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
b93140cd3c switch: remove unused code 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
ccf6e2a393 contractcourt: remove redundant return 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
1519a1bdfe channelnotifier: remove dead logging code 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
e1385af5a6 watchtower: remove dead logging code 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
72ed30e3e5 tlv: simplify byte slice comparison as recommenteded by static analysis 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
da9d7dd363 zpay32: invoice.MilliSat is uint64 which cannot be negative 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
1a13f822c6 invoices: remove dead code from logger 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
e636364ccf channeldb: remove dead code from payments test 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
3628e65378 channeldb: (nit) remove size argument from map make 2020-04-24 19:15:08 +02:00
Andras Banki-Horvath
c7fa5ea863 queue: remove unsued waitgroup 2020-04-24 19:15:08 +02:00
Olaoluwa Osuntokun
0cf63ae898
build: bump version to 0.10.0-beta.rc5 2020-04-23 18:13:24 -07:00
Olaoluwa Osuntokun
444eec2abc
Merge pull request #4196 from joostjager/lncli-live
lncli: live table-based payment updates
2020-04-23 18:11:07 -07:00
Joost Jager
f6b2410011
routing+routerrpc: rename max_shards to max_parts
Don't introduce a new term and align with the P in MPP.
2020-04-22 14:49:19 +02:00
Joost Jager
8d7e07d96b
lncli: live table-based payment updates 2020-04-22 14:49:17 +02:00
Olaoluwa Osuntokun
ce0a61abeb
lnrpc/invoicesrpc: linter fix 2020-04-21 22:19:24 -07:00
Olaoluwa Osuntokun
0bc05f9d65
build: bump version to bump version to v0.10.0-beta.rc4 2020-04-21 18:12:57 -07:00
Olaoluwa Osuntokun
cd9c1c7746 Revert "lncli: live table-based payment updates"
This reverts commit 6ffdf7ef1fa080844af9fced3a57e54d0ee22729.
2020-04-21 18:03:57 -07:00
Olaoluwa Osuntokun
6591408a9e
build: bump version to bump version to v0.10.0-beta.rc3 2020-04-21 17:30:39 -07:00
Joost Jager
6ffdf7ef1f
lncli: live table-based payment updates 2020-04-21 17:02:15 -07:00
Joost Jager
d51bb65536
routerrpc+lncli: add flag to suppress in-flight updates
This is a preparation for enabling the REST interface on routerrpc.
It provides REST clients that don't support server-side streaming
via keep-alive connections to use the streaming endpoint in the
typical request/response pattern. The url just needs to contain
?no_inflight_updates=true and only the terminal response is sent
back before the connection is closed.
2020-04-21 17:02:09 -07:00
Olaoluwa Osuntokun
1e51ec0a2d
lnrpc/invoicesrpc: clamp down on max invoice size
In this commit, we move to clamp down somewhat on the max invoice size
after the limit was removed as part of the mpp changes. In #4210, it was
reported that a value of -1, would underflow and end up as 18 million
BTC, which would trip checks w.r.t the max expressible value in mSAT.
In this commit, we clamp things down to 100k BTC, which should be more
than enough for anybody.

Fixes #4210.
2020-04-21 16:44:44 -07:00