Conner Fromknecht
340414356d
discovery: perform initial historical sync for pinned peers
2021-01-29 00:19:47 -08:00
Conner Fromknecht
2f0d56d539
discovery: add support for PinnedSyncers
...
A pinned syncer is an ActiveSyncer that is configured to always remain
active for the lifetime of the connection. Pinned syncers do not count
towards the total NumActiveSyncer count, which are rotated periodically.
This features allows nodes to more tightly synchronize their routing
tables by ensuring they are always receiving gossip from distinguished
subset of peers.
2021-01-29 00:19:47 -08:00
Conner Fromknecht
9e932f2a64
discovery/sync_manager: Pause/Resume HistoricalSyncTicker
...
This gives each initial historical syncer an equal amount of time before
being rotated, even if some fail.
2021-01-29 00:19:47 -08:00
Conner Fromknecht
ef0cd82c1f
discovery/sync_manager: make setHistoricalSyncer closure
2021-01-29 00:19:46 -08:00
Conner Fromknecht
72fbd1283b
discovery/sync_manager: break out IsGraphSynced check
2021-01-29 00:19:46 -08:00
Conner Fromknecht
7c6aa20bd8
discovery: handle err for linter
2021-01-29 00:19:46 -08:00
Johan T. Halseth
10a81e01e3
Merge pull request #2162 from halseth/make-goimports
...
[Makefile] Define `make imports`
2021-01-29 08:54:00 +01:00
Oliver Gugger
688a8045f0
Merge pull request #4963 from guggero/verify-no-key-fix
...
scripts: don't fail signature verification on missing public key
2021-01-28 14:52:22 +01:00
Oliver Gugger
91364056f7
Merge pull request #4952 from guggero/gh-actions
...
GitHub: use vendored actions for steps with sensitive info
2021-01-28 10:12:58 +01:00
Conner Fromknecht
626e732f9b
Merge pull request #4956 from joostjager/htlc-attempt-id
...
lnrpc: add htlc attempt id
2021-01-27 17:01:08 -08:00
Olaoluwa Osuntokun
9614626e2e
Merge pull request #4944 from xplorfin/clang-format-mac
...
docs: Add clang-format instructions for mac
2021-01-27 17:00:53 -08:00
Olaoluwa Osuntokun
8911a18b89
Merge pull request #4938 from motorina0/issue_4937
...
docker: add an extra listener for localhost
2021-01-27 16:58:46 -08:00
Conner Fromknecht
85f4d2b188
Merge pull request #4962 from halseth/halseth-gpg-key
...
scripts: add halseth key to verify script
2021-01-27 16:29:34 -08:00
Conner Fromknecht
02aa540b04
Merge pull request #4958 from halseth/netann-unknown-update
...
netann: ignore unknown channel update on startup
2021-01-27 16:27:15 -08:00
Olaoluwa Osuntokun
d10d1cbd86
Merge pull request #4162 from cfromknecht/amp-keys
...
amp: introduce child preimage and hash derivation
2021-01-27 16:25:25 -08:00
Oliver Gugger
734441d6c0
scripts: don't fail on missing public key
...
When verifying the release signatures, we don't want to fail if a
signer's signature is not available in the gpg key ring. Instead we just
don't want to count the signature for now and still succeed if there's
at least one other good sig with a known key.
2021-01-27 11:12:04 +01:00
Johan T. Halseth
991e077bf3
scripts: add halseth key to verify script
2021-01-27 10:43:32 +01:00
Olaoluwa Osuntokun
d176d2d65f
build: bump version to v0.12.0-beta
2021-01-26 17:31:07 -08:00
Olaoluwa Osuntokun
578b348a50
build: update Docker versions to Go 1.15.7
...
This updates the Docker files to the latest minor release of Go which
included some security fixes.
2021-01-26 17:29:10 -08:00
Conner Fromknecht
0ef04a749f
amp/derivation_test: add tests
2021-01-26 12:43:09 -08:00
Conner Fromknecht
cb47d0c825
amp/sharer: add recursive sharing logic
2021-01-26 12:43:09 -08:00
Conner Fromknecht
0144bdb241
amp/child: add Child deriviation
2021-01-26 12:43:08 -08:00
Johan T. Halseth
3485a7874f
netann: ignore unknown channel updat on startup
...
Since the funding manager might be in process of adding the edge to the
graph, we ignore the error.
2021-01-26 15:33:45 +01:00
Joost Jager
0ef0264d28
lnrpc: add htlc attempt id
2021-01-25 17:21:58 +01:00
Oliver Gugger
1abf3e7847
GitHub: use vendored actions for steps with sensitive info
...
To avoid leaking any sensitive information like Docker Hub credentials
because of compromised actions repositories, we use our own, vendored
actions for all steps that potentially touch sensitive information.
2021-01-25 14:16:00 +01:00
Jake Sylvestre
defb031b16
docs: add mac clang-format instructions
2021-01-22 15:16:46 -05:00
Johan T. Halseth
39f51b5568
Merge pull request #4926 from guggero/doc-code-blocks
...
docs: unify code block formatting
2021-01-22 09:39:02 +01:00
Oliver Gugger
9642012643
docs: clean up code contribution guideline syntax
2021-01-22 09:14:12 +01:00
Oliver Gugger
02267565fe
multi: unify code blocks in READMEs
2021-01-22 09:14:11 +01:00
Oliver Gugger
2c634bfaf3
docs: unify code and shell cmd blocks
2021-01-22 09:14:09 +01:00
Vlad Stan
3ad6ff1084
docker: add an extra listener for localhost
...
Make sure the lncli command can be used inside of the container without
needing to specify the --rpcserver flag all the time. Issue: #4937
2021-01-21 12:24:28 +02:00
Olaoluwa Osuntokun
b20afc0679
build: bump version to v0.12.0-beta.rc6
2021-01-19 19:11:54 -08:00
Olaoluwa Osuntokun
8b8fa7d14a
docs/release: add new command to use when signign release manifest
2021-01-19 19:10:21 -08:00
Conner Fromknecht
f79056e30e
Merge pull request #4920 from cfromknecht/update-rpc-feature-bits
...
lnrpc: add missing features to FeatureBit enum
2021-01-19 11:57:36 -08:00
Conner Fromknecht
1d71a2b55d
Merge pull request #4908 from halseth/anchors-reserve-utxo
...
[anchors] Reserve wallet balance for anchor fee bumping
2021-01-19 11:57:07 -08:00
Johan T. Halseth
8c78f20ffa
itest: add testAnchorReservedValue
...
We test that Alice as expected will not be allowed to spend her wallet
balance below the reserved amount.
2021-01-19 20:06:52 +01:00
Johan T. Halseth
422008e3c0
lnwallet+funding+rpcserver: check reserved value before
...
PublishTransaction
For a few manual send cases that can be initiated by the user, we check
the reserved value.
2021-01-19 20:06:52 +01:00
Johan T. Halseth
185ba77f8e
sweep: allow specified outputs to sweep tx
...
We'll use this to attach an output for the value reserved for anchor
commitments fee bumping if the user requests a send_all transaction.
2021-01-19 10:53:45 +01:00
Johan T. Halseth
eaf97418be
lnwallet: check Reserved value on funding request
2021-01-19 10:53:45 +01:00
Johan T. Halseth
3cc31ae841
lnwallet: add CheckReservedValue
2021-01-19 10:53:45 +01:00
Johan T. Halseth
4a4e0c73f7
lnwallet/chanfunding: add Inputs/Outputs to assemblers
...
This will be used to try to estimate how much the funding transaction
will decrease our wallet balance.
2021-01-19 10:53:45 +01:00
Olaoluwa Osuntokun
b2857bf392
Merge pull request #4914 from guggero/docker-verification
...
docker: add verification script
2021-01-18 15:29:15 -08:00
Conner Fromknecht
6d437117b4
lnrpc: add missing features to FeatureBit enum
...
- WumboChannels
- Anchors
- AnchorsZeroFeeHtlc
2021-01-15 15:23:53 -08:00
Olaoluwa Osuntokun
ff897db293
Merge pull request #4901 from bhandras/etcd_itest_ci
...
etcd+itests: use itest generated ports for embedded etcd and add etcd itests to travis CI
2021-01-14 17:53:54 -08:00
Olaoluwa Osuntokun
90a05ae41c
Merge pull request #4918 from halseth/itest-bounds-error
...
itest: fix node names out of bounds
2021-01-14 17:38:08 -08:00
Olaoluwa Osuntokun
b152232544
Merge pull request #4921 from carlaKC/healthcheck-bump
...
config: increase chain backend healthcheck timeout and backoff
2021-01-14 17:37:01 -08:00
Oliver Gugger
356fdb82f8
docs+build: explain how to verify docker images
2021-01-14 21:48:32 +01:00
Oliver Gugger
97a141e7af
docker: add verification script to production image
...
The verification script makes sure the hashes of the binaries inside of
a docker image match those of an official release.
The script first downloads all signatures, validates them, then compares
the hashes of the installed binaries to those contained in the detached
signature files.
2021-01-14 21:48:32 +01:00
carla
8eaba51bdc
sample-lnd: add anchors to sample config
2021-01-14 22:21:20 +02:00
carla
4093b2ae45
config: increase chain backend healthcheck timeout and backoff
2021-01-14 22:07:31 +02:00