Olaoluwa Osuntokun
da94cbf1ec
Merge pull request #5200 from champo/send_all_min_confs
...
sweep,rpc: honor minConfs paramater when SendAll is set
2021-06-18 14:08:45 -07:00
Olaoluwa Osuntokun
6f051fa5ea
Merge pull request #5248 from joostjager/concurrent-onion
...
htlcswitch: concurrent onion decoding
2021-06-18 14:08:24 -07:00
Olaoluwa Osuntokun
a4d4d5f8dc
Merge pull request #5299 from C-Otto/insufficient-bandwidth-log
...
add detailed log message for "insufficient bandwidth" error
2021-06-18 14:07:15 -07:00
Olaoluwa Osuntokun
3831ce05a0
Merge pull request #5399 from carlaKC/monitoring-default
...
multi: enable monitoring build by default
2021-06-18 14:06:41 -07:00
Olaoluwa Osuntokun
6c7fb7c20a
build: bump version to v0.13.99
...
A version bump to indicate that master is currently in-between major
versions.
2021-06-18 14:04:31 -07:00
Olaoluwa Osuntokun
725ff10480
build: bump version to v0.13.0-beta
2021-06-16 19:25:10 -07:00
Olaoluwa Osuntokun
cf7d082b98
Merge pull request #5353 from guggero/remove-release-cache
...
GitHub: remove build cache for release builder
2021-06-16 19:23:42 -07:00
Olaoluwa Osuntokun
42099ef5e1
build: bump version to v0.13.0-beta.rc5
2021-06-02 17:18:24 -04:00
Olaoluwa Osuntokun
c580005081
Merge pull request #5352 from guggero/drop-unused-arch
...
make: drop unused release targets
2021-06-02 14:13:14 -07:00
Olaoluwa Osuntokun
140907ce32
Merge pull request #5350 from Roasbeef/0-13-rc4-tag
...
build: bump version to v0.13.0-beta.rc4
2021-06-02 08:11:08 -07:00
Olaoluwa Osuntokun
aa5c844633
Merge pull request #5351 from wpaulino/signet-bitcoind
...
config+chainreg: fix default rpc params for signet bitcoind
2021-06-02 08:09:58 -07:00
Olaoluwa Osuntokun
5ac65d961d
build: bump version to v0.13.0-beta.rc4
2021-06-01 15:29:40 -07:00
Olaoluwa Osuntokun
a45827ff4d
docs: add prometheus flags to sample-lnd.conf ( #5331 )
2021-06-01 15:22:47 -07:00
Olaoluwa Osuntokun
22b1008916
Merge pull request #5343 from kaloudis/patch-1
...
Fix typo on FundPsbt fee definition error
2021-05-31 13:05:26 -07:00
Olaoluwa Osuntokun
7e91a022f3
Merge pull request #5336 from cfromknecht/reuse-amp-invoice
...
lnrpc: allow AMP pay-addr override + bump invoice timeouts
2021-05-31 13:02:34 -07:00
Olaoluwa Osuntokun
ad0ecc4d58
Merge pull request #5333 from wpaulino/incompatible-account-addr-type
...
lnwallet: check if requested address type is compatible with account
2021-05-27 19:06:13 -07:00
Olaoluwa Osuntokun
9fbcc349d4
Merge pull request #5338 from guggero/btcutil-fix-update
...
mod: update btcutil dependency
2021-05-27 18:09:26 -07:00
Olaoluwa Osuntokun
9163d1a16f
Merge pull request #5328 from guggero/neutrino-router-fix
...
rpcserver: check router state only if it is validating
2021-05-26 18:25:15 -07:00
Olaoluwa Osuntokun
c96a4e2bf8
Merge pull request #5322 from wpaulino/key-import-docs
...
docs: add introductory documentation for new key import feature
2021-05-26 18:24:23 -07:00
Olaoluwa Osuntokun
0ed72b8c6a
Merge pull request #5025 from guggero/signet
...
Add basic bitcoin signet support
2021-05-26 18:19:57 -07:00
Olaoluwa Osuntokun
cede7a122a
Merge pull request #5155 from bottlepay/random-coins
...
wallet: random coin selection
2021-05-26 15:28:25 -07:00
Olaoluwa Osuntokun
7f7e83b6aa
Merge pull request #5334 from wpaulino/process-zombie-update-log-debug
...
discovery: demote err log to debug from processZombieUpdate
2021-05-26 15:27:24 -07:00
Olaoluwa Osuntokun
785d3c9b4f
Merge pull request #5164 from cryptosharks131/fix-python-grpc-updatechannelpolicy
...
Update PolicyUpdateRequest to avoid python clash
2021-05-25 16:05:38 -07:00
Olaoluwa Osuntokun
f15961f764
Merge pull request #5316 from halseth/breachtests-buffer-chan
...
breacharbiter_test: select on quit chan on publication
2021-05-24 18:05:11 -07:00
Olaoluwa Osuntokun
dee6a1a29b
Merge pull request #5314 from Roasbeef/13-rc3
...
build: bump version to v0.13.0-beta.rc3
2021-05-19 21:02:23 -07:00
Olaoluwa Osuntokun
7716175454
build: bump version to v0.13.0-beta.rc3
2021-05-19 18:26:22 -07:00
Olaoluwa Osuntokun
f5ee874a0b
Merge pull request #5305 from carlaKC/sessionkey-deserialize
...
channeldb: read HtlcAttemptInfo session key raw bytes
2021-05-19 17:14:17 -07:00
Olaoluwa Osuntokun
c18f3333d8
Merge pull request #5247 from joostjager/deprecate-chan-capacity
...
lnrpc: deprecate route hop channel capacity field
2021-05-19 17:06:15 -07:00
Olaoluwa Osuntokun
47403c0be4
Merge pull request #5226 from yyforyongyu/small-fix-invoice
...
invoices: remove unused param in notifyClients
2021-05-19 16:36:06 -07:00
Olaoluwa Osuntokun
7f10e2bb75
Merge pull request #5309 from guggero/fix-router-annotations
...
lnrpc: fix typos in REST annotations for routerrpc
2021-05-19 11:24:49 -07:00
Olaoluwa Osuntokun
6c330d3121
Merge pull request #5303 from guggero/policy-nil-check
...
rpcserver: add nil check to policy ordering
2021-05-18 15:47:27 -07:00
Olaoluwa Osuntokun
a2138f0038
build: bump version to v0.13.0-beta.rc1
2021-05-13 18:26:50 -07:00
Olaoluwa Osuntokun
ea026257ee
Merge pull request #5296 from Roasbeef/dep-update-2021-may
...
build: update neutrino+btcwallet modules to latest versions
2021-05-13 18:11:04 -07:00
Olaoluwa Osuntokun
fb632ab4ee
build: update neutrino+btcwallet modules to latest versions
2021-05-13 17:18:20 -07:00
Olaoluwa Osuntokun
7ab5906093
Merge pull request #5245 from bhandras/kvdb_module
...
kvdb: make kvdb a top level submodule to allow dependency in other projects
2021-05-13 15:59:20 -07:00
Olaoluwa Osuntokun
3cc9e63bb5
Merge pull request #5293 from Crypt-iQ/prevent_zombie_payments_05122021
...
multi: validate payment params at RPC layer
2021-05-13 15:48:09 -07:00
Olaoluwa Osuntokun
875a3d9659
Merge pull request #5291 from guggero/psbt-segwit-check
...
chanfunding: extend PSBT witness input check
2021-05-13 15:46:20 -07:00
Olaoluwa Osuntokun
6a2fb316ca
Merge pull request #5274 from halseth/anchors-reserved-value-max
...
[anchors] cap value reserved for anchor fee bumping
2021-05-12 16:19:57 -07:00
Olaoluwa Osuntokun
c0acdd8082
Merge pull request #5036 from halseth/breacharbiter-justice-splitting
...
[breacharbiter] Split justice tx in case of delayed confirmation.
2021-05-12 13:42:42 -07:00
Olaoluwa Osuntokun
86c5e483b2
Merge pull request #5206 from carlaKC/4987-heightexpirywatcher
...
invoices: add height based expiry watcher
2021-05-12 13:41:52 -07:00
Olaoluwa Osuntokun
93730088c5
Merge pull request #5256 from guggero/wallet-unlock-file
...
Auto-unlock wallet from password file
2021-05-12 13:41:30 -07:00
Olaoluwa Osuntokun
dc73a23e81
Merge pull request #5253 from cfromknecht/amp-invoice
...
Support paying AMP invoices via SendPaymentV2
2021-05-12 13:38:42 -07:00
Olaoluwa Osuntokun
d2c25124ed
cmd/lncli: add basic AMP support for CLI
2021-05-10 22:02:15 -07:00
Olaoluwa Osuntokun
ba5aaec632
Merge pull request #5266 from wpaulino/import-dry-run
...
walletrpc: expose dry run support for ImportAccount
2021-05-10 17:19:09 -07:00
Olaoluwa Osuntokun
0d3253c410
Merge pull request #5281 from guggero/router-chain-sync
...
itest flakes: fix multiple issues around router subsystem being out of sync
2021-05-10 13:11:37 -07:00
Olaoluwa Osuntokun
1868c7dec1
Merge pull request #5231 from Crypt-iQ/unsigned_ack_patch_04212021
...
lnwallet: use tail not tip in getUnsignedAckedUpdates
2021-05-07 12:46:48 -07:00
Olaoluwa Osuntokun
4685341dcb
Merge pull request #5227 from Roasbeef/spent-channs-zombie-index
...
routing: add chans rejected due to failed chain validation to zombie index
2021-05-05 18:32:13 -07:00
Olaoluwa Osuntokun
6d66133459
Merge pull request #4998 from bhandras/leader_election
...
cluster: leader election using etcd backend
2021-05-04 20:05:02 -07:00
Olaoluwa Osuntokun
9d9f420da5
Merge pull request #5246 from joostjager/router-best-height
...
routing: no backend call to fetch best block
2021-05-04 19:27:37 -07:00
Olaoluwa Osuntokun
e0ce384f02
routing: add new error for failed funding tx validation
...
In this commit we add a new error for when we fail to validate the
funding transaction (invalid script, etc) and mark it as a zombie like
the other failed validation cases.
2021-05-03 19:06:59 -07:00
Olaoluwa Osuntokun
92c47983cb
routing: add chans rejected due to failed chain validation to zombie index
...
In this commit, we start to add any channels that fail the normal chain
validation to the zombie index. With this change, we'll ensure that we
won't continue to re-process the same set of spent channels over and
over again.
Fixes #5191 .
2021-05-03 19:06:55 -07:00
Olaoluwa Osuntokun
897a19d9df
routing: add new error for invalid funding tx rejection
2021-05-03 19:06:52 -07:00
Olaoluwa Osuntokun
0dc6f8058d
routing: add new error for spent channel UTXOs
2021-05-03 19:06:50 -07:00
Olaoluwa Osuntokun
7b42ad0b0e
channeldb: add new method for adhoc zombie chan creation
...
In this commit, we add a new method that allows us to mark a channel as
being a zombie on the fly without needing to go through the normal
channel deletion process.
2021-05-03 19:06:45 -07:00
Olaoluwa Osuntokun
99fe0ab150
Merge pull request #4878 from bhandras/etcd_doc_fix
...
etcd: `disabletls` option for etcd
2021-05-03 18:56:42 -07:00
Olaoluwa Osuntokun
140dd944c0
Merge pull request #5257 from wpaulino/neutrino-update
...
lncfg: add config options for new neutrino options
2021-04-30 16:54:35 -07:00
Olaoluwa Osuntokun
98b0b34bb4
Merge pull request #5237 from guggero/ws-bi-di
...
REST: Enable support for bi-directional streaming RPCs over REST, fix ping/pong support
2021-04-29 15:55:00 -07:00
Olaoluwa Osuntokun
41c089fbf4
Merge pull request #5224 from bhandras/invoice-gc-errors
...
invoices: do not fail DeleteInvoice if payment addr isn't indexed
2021-04-29 15:39:35 -07:00
Olaoluwa Osuntokun
2a2bc64a12
Merge pull request #5156 from ellemouton/blockcache
...
blockcache: add blockcache pkg and pass it to all backends
2021-04-29 13:52:39 -07:00
Olaoluwa Osuntokun
8af00ab0cf
Merge pull request #5205 from carlaKC/4987-refactorprep
...
invoices: add test to demonstrate hodl invoice bug and refactor
2021-04-26 15:48:56 -07:00
Olaoluwa Osuntokun
bfcaf02f04
Merge pull request #4905 from LN-Zap/feat/spend-unconfirmed-estimate
...
Support spend_unconfirmed in EstimateFee and FundPsbt
2021-04-26 15:48:11 -07:00
Olaoluwa Osuntokun
9ef00d98a7
Merge pull request #5230 from carlaKC/5059-interceptorchanupdate
...
multi: send channel update for failed interceptor packets
2021-04-26 15:45:43 -07:00
Olaoluwa Osuntokun
260ea9b842
Merge pull request #5165 from Crypt-iQ/psbt_funding_04022021
...
lnwallet/chanfunding: check all PSBT inputs have witness stack
2021-04-23 12:04:27 -07:00
Olaoluwa Osuntokun
4d358a84e4
Merge pull request #5214 from carlaKC/4788-terminalshard
...
routing: handle failure to launch shard after permanent failure
2021-04-23 09:50:15 -07: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
Olaoluwa Osuntokun
d07202d17b
Merge pull request #5212 from wpaulino/wtclient-update-stats-after-backup
...
wtclient: decrement pending tasks stats upon accepted task
2021-04-22 15:49:11 -07:00
Olaoluwa Osuntokun
045b58891a
Merge pull request #5146 from ellemouton/context-aware-rpcserver
...
rpcserver+lnrpc: make Subscribe RPCs context aware
2021-04-22 15:44:00 -07:00
Olaoluwa Osuntokun
5d1574f566
Merge pull request #2522 from roeierez/cleanup_server_error
...
Cleanup in case of server failed to start
2021-04-22 13:00:22 -07:00
Olaoluwa Osuntokun
bc3c5eb383
Merge pull request #5235 from Roasbeef/btcwallet-simnet-fix
...
build: update btcwallet to latest version
2021-04-22 12:48:27 -07:00
Olaoluwa Osuntokun
81452a1e1c
build: update btcwallet to latest version
...
This version includes a fix to a regression that caused simnet wallets
to no longer operate in certain conditions.
2021-04-22 11:20:49 -05:00
Olaoluwa Osuntokun
eda3d45b3d
Merge pull request #5232 from Roasbeef/go-mod-fix
...
build: set Go version to 1.15 remove retract
2021-04-22 09:15:20 -07:00
Olaoluwa Osuntokun
2b5c9e1606
build: set Go version to 1.15 remove retract
...
We need to remove the retract as it's a new directive that isn't
understood by Go versions < 1.16.
2021-04-21 17:44:13 -05:00
Olaoluwa Osuntokun
8f940a5ea3
Merge pull request #5138 from Roasbeef/strict-zombie
...
channeldb+discovery: implement strict zombie pruning
2021-04-21 14:03:50 -07:00
Olaoluwa Osuntokun
a9f1b341be
discovery: update zombie resurrection test w/ new logic
...
In this commit, we update the existing zombie resurrection test to
ensure that if we prune an edge and another pubkey is marked as nil,
that we only accept a resurrection channel update from the node the we
originally pruned if the pruning decision was one sided.
2021-04-21 13:56:35 -05:00
Olaoluwa Osuntokun
6c27de7d11
routing: add strict pruning as new flag, default for neutrino
...
In this commit we add a new flag that controls if lnd will do strict
zombie pruning or not. If true, then this will cause lnd to maintain a
tighter graph as it wants both edges to always be live. We enable this by
default for neutrino as without this, it's possible that a node never
sees both edges begin disabled, so those edges are never actually pruned
from the graph.
2021-04-21 13:56:29 -05:00
Olaoluwa Osuntokun
7b589e5811
routing: add strict zombie pruning as a config level param
...
In this commit, we add strict zombie pruning as a config level param.
This allow us to add the option for those that want a tighter graph, and
not change the default composition of the channel graph for most users
over night.
In addition, we expand the test case slightly by testing that the self
node won't be pruned, but also that if there's a node with only a single
known stale edge, then both variants will prune that edge.
2021-04-21 13:56:27 -05:00
Olaoluwa Osuntokun
916059da48
routing: update chan pruning test w/ new zombie logic
2021-04-21 13:56:24 -05:00
Olaoluwa Osuntokun
60250f0a04
Merge pull request #5034 from Roasbeef/m1-go1.16
...
build: switch all builds systems and CI/ID to go 1.16, update min go version, add support for compiling M1 binaries
2021-04-21 08:59:46 -07:00
Olaoluwa Osuntokun
1a8d1874a5
Merge pull request #5213 from hsjoberg/mobile-moveup
...
mobile: Move lndStarted check to the top of the Start function
2021-04-20 09:16:55 -07:00
Olaoluwa Osuntokun
5c5b91216a
Merge pull request #5221 from Roasbeef/btcwallet-chain-client-alignment
...
build: update to latest version of btcwallet
2021-04-19 20:15:54 -07:00
Olaoluwa Osuntokun
1301377e1a
build: update to latest version of btcwallet
...
In this commit, we upgrade to the latest version of `btcwallet` that
fixes an alignment issue with usage of atomics that can cause a panic on
certain systems.
Fixes #5196 .
2021-04-16 11:18:01 -07:00
Olaoluwa Osuntokun
d5aedbcbd9
Merge pull request #5192 from Roasbeef/reject-cache-chan-ann
...
discovery: always add chan announcements to the reject cache if err !…
2021-04-14 15:20:18 -07:00
Olaoluwa Osuntokun
bb6aca1130
discovery: add unit tests for chan anns in the reject cache
2021-04-14 15:19:27 -07:00
Olaoluwa Osuntokun
c959ecc4c9
discovery: always add chan announcements to the reject cache if err != ErrIgnored
...
In this commit, we make a change to always add chan announcements to the
reject cache if we didn't reject them for already existing. Without
this change, if we end up rejecting a channel announcement say because
the channel is already spent or the funding transaction doesn't exist,
then we'll end up continually re-validating the same set of channels we
know will fail, when they're sent to us by peers.
Fixes #5191
2021-04-14 15:19:14 -07:00
Olaoluwa Osuntokun
54e315101d
Merge pull request #4577 from yyforyongyu/itest-better-logging
...
itest: logging for subtests and refactor WaitForBlockchainSync
2021-04-14 15:04:34 -07:00
Olaoluwa Osuntokun
70b7c355d3
Merge pull request #4425 from breez/persist-rescan-progress
...
Persist rescan progress.
2021-04-14 12:43:35 -07:00
Olaoluwa Osuntokun
c760b0188a
Merge pull request #5209 from cfromknecht/constrain-pay-addr-lookup
...
channeldb/invoice: only allow pay-addr lookup w/ no query hash
2021-04-14 10:10:08 -07:00
Olaoluwa Osuntokun
3d0c477704
build: retract v0.0.2
...
A stray version of lnd was pushed out waaaay back in 2016 that can trip
up `pkg.go.dev` and things like `go get`. Using the new Go 1.16 feature,
we can now "retract" this version, which marks it as being unavailable.
2021-04-13 15:57:33 -07:00
Olaoluwa Osuntokun
a1bfbdc7d2
docs/INSTALL.md: update install docs w/ new min Go version
2021-04-13 15:57:27 -07:00
Olaoluwa Osuntokun
95650c7d63
build: add darwin-arm64 (M1 Apple Silicon) as a release target
2021-04-13 15:57:24 -07:00
Olaoluwa Osuntokun
af0fc09f62
multi: update build systems and CI/CD to go 1.16
2021-04-13 15:57:21 -07:00
Olaoluwa Osuntokun
25dfbc4106
Merge pull request #5193 from wpaulino/neutrino-assume-valid
...
Use routing.assumechanvalid=true by default in Neutrino mode
2021-04-13 15:37:51 -07:00
Olaoluwa Osuntokun
21e8394983
Merge pull request #5194 from Kixunil/patch-3
...
Better document the nature of accept-keysend
2021-04-13 15:35:20 -07:00
Olaoluwa Osuntokun
41e2db6fbb
Merge pull request #5204 from yyforyongyu/fix-pathfind-feature-bit
...
routing: fix pathfind edge features being nil
2021-04-13 15:34:54 -07:00
Olaoluwa Osuntokun
c27e9ab953
build+lncfg: support pruned bitcoind backends ( #5154 )
...
* build: update btcwallet dependency introducing pruned bitcoind support
This is achieved by some recent work within the BitcoindClient enabling
it to retrieve pruned blocks from its server's peers.
* lncfg: add new PrunedNodeMaxPeers config option/flag
2021-04-08 16:35:07 -07:00
Olaoluwa Osuntokun
c998264578
Merge pull request #5108 from cfromknecht/sendtoroute-amp
...
channeldb+invoices: add spontaneous AMP receiving + sending via SendToRoute
2021-04-07 16:37:23 -07:00
Olaoluwa Osuntokun
1ccf6ed7d4
Merge pull request #5063 from Crypt-iQ/pprof_patch_03022021
...
lnd: optionally serve pprof on localhost for better security
2021-04-05 20:20:39 -07:00
Olaoluwa Osuntokun
ca96e66b43
Merge pull request #5116 from joostjager/mc-deadlock
...
routing: fix mission control deadlock
2021-04-05 20:02:57 -07:00
Olaoluwa Osuntokun
d8ecc16eb0
Merge pull request #5047 from wpaulino/import-account-or-pubkey
...
multi: support derived public key import
2021-04-05 19:41:11 -07:00
Olaoluwa Osuntokun
a329c80612
Merge pull request #5133 from wpaulino/routing-validation-cancel-deps
...
discovery+routing: cancel dependent jobs if parent validation fails
2021-04-01 18:32:58 -07:00