Oliver Gugger
4b827179bb
Merge pull request #5561 from guggero/database-migration-lndinit
...
kvdb: refactor as preparation for DB migration command in lndinit
2022-10-13 10:59:38 +02:00
Oliver Gugger
4e42ef0ab2
docs: add release notes
2022-10-13 09:45:07 +02:00
Oliver Gugger
696758a660
lncfg: export database namespace names
...
For the data migration tool we need to know what database namespaces
there are so we can loop over them.
2022-10-13 09:45:07 +02:00
Oliver Gugger
fc2d652261
channeldb: check for tombstone before opening DB
...
To avoid running a channel DB that was successfully migrated to another
system by accident, we check if there is a tombstone marker before we
open the DB for use.
2022-10-13 09:45:07 +02:00
Oliver Gugger
7e76326b97
channeldb: export DB migration related functions
...
We'll need to know whether a database was migrated to the latest version
in our upcoming data migration tool. To be able to determine the current
version of a DB and the total number of migrations in existence, we need
to export some of the functions in channeldb.
We also add some helper functions for adding tombstone and other markers
to a database.
2022-10-13 09:45:07 +02:00
Oliver Gugger
28c8e8b6dd
channeldb: remove unused tx argument
2022-10-13 09:37:53 +02:00
Oliver Gugger
ee9d6f21bd
etcd: add SequenceKey function
2022-10-13 09:37:52 +02:00
Oliver Gugger
d576184fdb
etcd: extract NewEtcdClient into exported function
...
In order for us to be able to re-use the code for initializing an etcd
client connection, we extract and export the NewEtcdClient function.
2022-10-13 09:37:52 +02:00
Oliver Gugger
98f359c5b7
etcd: fix typos
2022-10-13 09:37:52 +02:00
Oliver Gugger
b51b1e2f73
Merge pull request #6931 from morehouse/refactor_funding_manager
...
funding: create waitForPeerOnline helper
2022-10-13 09:37:01 +02:00
Oliver Gugger
b387e2c718
Merge pull request #6832 from kklash/switch-test-resource-cleanup
...
htlcswitch: clean up test resources and temporary files
2022-10-11 15:55:57 +02:00
Oliver Gugger
ff35647db3
Merge pull request #7019 from guggero/golang-1-19-2
...
build: bump Golang version to v1.19.2
2022-10-11 13:35:50 +02:00
Oliver Gugger
59a5f53cfe
Merge pull request #7018 from guggero/remote-signing-release-notes
...
docs: update remote signing update hint to v0.15.3-beta [skip ci]
2022-10-11 11:13:16 +02:00
Oliver Gugger
43521633ce
docs: update release notes
2022-10-11 09:56:04 +02:00
Oliver Gugger
f02528f304
multi: bump Golang version to v1.19.2
2022-10-11 09:49:30 +02:00
Oliver Gugger
299152e631
docs: update remote signing update hint to v0.15.3-beta [skip ci]
...
This commit bumps the recommended version to upgrade to for remote
signing setups.
2022-10-11 09:42:43 +02:00
Oliver Gugger
079537514c
Merge pull request #7012 from sputn1ck/sputn1ck_pgp_key
...
scripts: add sputn1ck pgp key
2022-10-11 09:08:38 +02:00
Oliver Gugger
ccbc578bd9
Merge pull request #7011 from ffranr/add_pgp_signing_key
...
scripts: add ffranr PGP signing key
2022-10-11 08:57:54 +02:00
Oliver Gugger
6ab6ba91bb
Merge pull request #6969 from tongokongo/master
...
Clarification sample-lnd.conf
2022-10-07 15:09:50 +02:00
Oliver Gugger
2efc70a5c4
Merge pull request #6966 from guggero/remote-signer-fix
...
lncli+docs: fix and document remote signing setup upgrade to lnd v0.15.2-beta
2022-10-05 13:13:11 +02:00
Oliver Gugger
c698b3acf2
Merge pull request #6970 from guggero/issue-template-chooser
...
GitHub: show issue triage page when submitting an issue
2022-10-04 09:33:57 +02:00
Oliver Gugger
9eaf0cb73f
GitHub: add link to discussions [skip ci]
2022-10-03 18:41:36 +02:00
Oliver Gugger
f5a3b735f6
GitHub: add template for feature requests
2022-10-03 18:41:36 +02:00
Oliver Gugger
bd507c4c37
GitHub: move default template to bug_report.md, add config
...
With this commit we prepare for adding multiple issue templates to
GitHub that will be shown when the user clicks on the "New Issue" button
on GitHub.
The config.yml will also add a bunch of useful links to the page that
shows the different issue templates.
An example of how this template selection page looks like can be found
here: https://github.com/lightninglabs/lightning-terminal/issues/new/choose
2022-10-03 18:41:36 +02:00
Oliver Gugger
abbf47fde8
docs: add release notes [skip ci]
2022-10-03 13:44:03 +02:00
Oliver Gugger
fb9e9f57c5
docs: describe remote signing upgrade process
...
This commit adds a short guide that explains how a remote signing node
setup should be migrated from lnd v0.14.x-beta to lnd v0.15.x-beta and
adds a note to all 0.15.x release notes.
2022-10-03 13:33:31 +02:00
Oliver Gugger
828ce07ca5
cmd/lncli: add p2tr address type to account import
2022-10-03 13:22:32 +02:00
Oliver Gugger
35c59643cd
Merge pull request #6500 from voltagecloud/encrypt-tor-privkey
...
[tor] Add ability to encrypt the Tor private key on disk
2022-09-30 10:06:42 +02:00
Oliver Gugger
4b2edc4777
Merge pull request #6753 from hieblmi/openchannel-fee-rates
...
lncli: `base_fee_msat` and `fee_rate_ppm` for `openchannel`
2022-09-29 15:43:56 +02:00
Oliver Gugger
b8545de5c0
Merge pull request #6941 from lightningnetwork/taproot-fee-estimation-fix
...
build: update to latest version of btcwallet w/ taproot estimation fix
2022-09-28 11:51:25 +02:00
Oliver Gugger
6a4648b7aa
Merge pull request #6936 from hieblmi/patch-1
...
doc: update psbt.md
2022-09-27 17:03:18 +02:00
Oliver Gugger
648bc88081
Merge pull request #6950 from hieblmi/patch-3
...
doc: vim visual ruler at column 80
2022-09-27 16:05:45 +02:00
Oliver Gugger
905dfed6dd
Merge pull request #6945 from ellemouton/errOnZeroLocalAmt
...
rpcserver: error on zero local balance in openchan req
2022-09-26 14:15:36 +02:00
Oliver Gugger
4994d1304b
Merge pull request #6944 from nayuta-ueno/rpc-comment-anchorstate
...
lnrpc: add comment for AnchorState [skip ci]
2022-09-26 14:10:23 +02:00
Oliver Gugger
2dee112fe9
Merge pull request #6919 from benthecarman/state-desc
...
Add comments for all wallet states
2022-09-22 17:06:40 +02:00
Oliver Gugger
bad25b1a2e
Merge pull request #6792 from Crypt-iQ/fullcommitflake
...
htlcswitch: use ticker.New instead of NewForce for test link
2022-09-21 22:29:02 +02:00
Oliver Gugger
beb897d6ed
Merge pull request #6892 from Crypt-iQ/iss6882_notifywhenonline_fix
...
server.go: add peerChan to peerConnectedListeners in NotifyWhenOnline
2022-09-21 19:21:42 +02:00
Oliver Gugger
49eeabf2a4
Merge pull request #6929 from morehouse/mutex_fix
...
funding: fix potential data race
2022-09-20 11:25:42 +02:00
Oliver Gugger
80049c98f1
Merge pull request #6926 from guggero/query-routes-bindings
...
lnrpc: add additional REST binding for QueryRoutes
2022-09-20 09:44:34 +02:00
Oliver Gugger
a1c31f06fa
docs: add release notes
2022-09-19 10:28:38 +02:00
Oliver Gugger
01cd1c991e
lnrpc: add additional REST binding for QueryRoutes
...
Lists with non-primitive members aren't supported in the query string of
a GET request with the current version of the grpc-gateway library. To
allow route_hints to be set through REST, we also offer a POST endpoint
for that call where the encoding of the request parameter can be
specified as JSON.
2022-09-19 10:18:34 +02:00
Oliver Gugger
202fcd6672
Merge pull request #6779 from Crypt-iQ/tlv_domain
...
tlv: allow tlv streams to use large records
2022-09-15 09:20:31 +02:00
Oliver Gugger
ab6fa9849c
Merge pull request #6908 from nayuta-ueno/fix-docs
...
docs: fix typo in watchtower document and code comment
2022-09-13 15:26:23 +02:00
Oliver Gugger
bd69e79f84
Merge pull request #6335 from JssDWt/feature/subscribe-paymentattempts
...
routerrpc: TrackPayments
2022-09-12 12:45:35 +02:00
Oliver Gugger
3873ec41af
Merge pull request #6905 from guggero/neutrino-backend-warning
...
sample-conf: Chain backend documentation reformat, add warning [skip ci]
2022-09-09 16:43:21 +02:00
Oliver Gugger
82e79929ca
Merge pull request #6893 from positiveblue/go-19-travis
...
ci: fix go version for travis jobs
2022-09-09 13:28:37 +02:00
Oliver Gugger
5d95f3f572
Merge pull request #6526 from orbitalturtle/tor-encryption-refactoring
...
Update Tor module to add option to encrypt Tor key
2022-09-09 13:09:48 +02:00
Oliver Gugger
9d04b0c3d9
Merge pull request #6868 from yyforyongyu/sweepr-config
...
sever+lncfg: add sweepr config
2022-09-01 10:05:11 +02:00
Oliver Gugger
b208642caf
Merge pull request #6875 from ellemouton/fixProfilePanic
...
cmd+docs: fix cap out of range error in profile command
2022-08-31 20:12:17 +02:00
Oliver Gugger
9f013f5058
Merge pull request #6858 from bottlepay/lncli-fix-sendpayment
...
lncli: fix sendpayment arg parsing
2022-08-29 08:52:59 +02:00
Oliver Gugger
cf9a9864cf
Merge pull request #6775 from guggero/import-taproot-pubkey
...
Import Taproot pubkey
2022-08-25 10:13:30 +02:00
Oliver Gugger
9fe97aff9e
docs: add release notes
2022-08-25 09:22:40 +02:00
Oliver Gugger
c45d0f6b07
itest: add integration tests for tapscript import
...
We add basic integration test coverage for importing Tapscript
addresses. Note that FundPsbt is not supported with those types of
imported keys, so we need to manually fill in all information in the
PSBT to be able to sweep the funds again.
2022-08-25 09:21:52 +02:00
Oliver Gugger
2dac7ef35a
lnrpc: add wallet output type for Taproot
2022-08-25 09:21:52 +02:00
Oliver Gugger
74fbd61d5f
walletrpc: add ImportTapscript RPC
2022-08-25 09:21:50 +02:00
Oliver Gugger
db73e640d9
input: add tapscript full key only helper function
2022-08-25 09:20:24 +02:00
Oliver Gugger
9f47d31681
input: add tapscript root hash helper function
2022-08-25 09:20:23 +02:00
Oliver Gugger
0d6e791042
lntest+lnwallet: add ImportTaprootScript to wallet interface
2022-08-25 09:20:23 +02:00
Oliver Gugger
3a66a09d9d
itest: test BIP-0086 Taproot account+pubkey import
2022-08-25 09:20:23 +02:00
Oliver Gugger
97dfc04117
lnrpc: allow importing Taproot pubkeys
2022-08-25 09:20:23 +02:00
Oliver Gugger
394ee84120
mod: update btcwallet to latest version
2022-08-25 09:20:23 +02:00
Oliver Gugger
073d052078
Merge pull request #6710 from Juneezee/test/t.TempDir
...
test: use `T.TempDir` to create temporary test directory
2022-08-24 09:01:06 +02:00
Oliver Gugger
3851f286b9
Merge pull request #6849 from yyforyongyu/small-fix
...
clock: add missing package `require`
2022-08-23 10:59:33 +02:00
Oliver Gugger
5933d66436
Merge pull request #6847 from ellemouton/defaultCaseForAddrType
...
rpcserver+docs: add default case to addr type switch
2022-08-22 19:25:14 +02:00
Oliver Gugger
a58553d1bd
Merge pull request #6836 from guggero/tor-update-1-0-2
...
mod: bump tor to v1.0.2
2022-08-19 10:12:37 +02:00
Oliver Gugger
52c2f447d1
Merge pull request #6596 from priyanshiiit/addressbalance
...
lnrpc+lnwallet: adds listaddresses RPC
2022-08-18 10:52:23 +02:00
Oliver Gugger
e0969f2f18
Merge pull request #6838 from yyforyongyu/cancel-workflow
...
github: cancel concurrent workflows for the same PR/push
2022-08-18 09:57:14 +02:00
Oliver Gugger
4bbfcfad14
docs: add release notes
2022-08-17 11:58:36 +02:00
Oliver Gugger
c6e18a335c
mod: bump tor to v1.0.2
2022-08-17 11:58:28 +02:00
Oliver Gugger
909ba573ea
Merge pull request #6829 from cutiful/master
...
tor: fix parsing replies
2022-08-17 11:54:29 +02:00
Oliver Gugger
e520d5e79c
Merge pull request #6771 from hieblmi/handle-trivial-psbt-signing
...
psbt: signal user that no psbt inputs were signed
2022-08-17 09:59:21 +02:00
Oliver Gugger
ba8b8d4e17
Merge pull request #6818 from ellemouton/lncli-metadata-insecure
...
cmd/lncli: add metadata and insecure flags
2022-08-15 16:46:45 +02:00
Oliver Gugger
e488bbfc9d
Merge pull request #6457 from sangaman/init-macaroon-root-key
...
Specify macaroon root key during wallet init
2022-08-15 09:29:05 +02:00
Oliver Gugger
996f4bc260
Merge pull request #6510 from ErikEk/neutrinorpc-add-getblockhash
...
neutrinorpc: add getblockhash
2022-08-15 09:20:23 +02:00
Oliver Gugger
2f602d9f5f
Merge pull request #6821 from Roasbeef/lnd-15-99
...
build: bump version to v0.15.99
2022-08-15 09:17:46 +02:00
Oliver Gugger
17014b592e
Merge pull request #6730 from Roasbeef/notifier-optional-block
...
chainntfns: add new option for conf notifications to send block
2022-08-10 13:52:49 +02:00
Oliver Gugger
6060e05d7c
Merge pull request #6736 from bitromortac/2207-independent-cookie
...
config: allow independent rpccookie config
2022-08-08 13:33:49 +02:00
Oliver Gugger
7e225f6aa5
Merge pull request #6806 from data-retriever/fixed-typo
...
Fixed typo
2022-08-08 08:58:08 +02:00
Oliver Gugger
e86a69b815
Merge pull request #6748 from Kixunil/patch-3
...
doc: Deprecation reason of `settled` on `Invoice`
2022-08-02 12:38:08 +02:00
Oliver Gugger
87f4f03fca
Merge pull request #6763 from theborakompanioni/patch-2
...
fix: go version in ARMv6 section of INSTALL.md
2022-07-25 19:22:38 +02:00
Oliver Gugger
2d093ac183
Merge pull request #6741 from morehouse/fix_sign_psbt
...
itest: fix sign_psbt failure
2022-07-22 15:27:12 +02:00
Oliver Gugger
0ac421907a
Merge pull request #6739 from ellemouton/indexOutOfRange
...
rpcperms: re-init mw lookup map after removal of one
2022-07-19 16:59:45 +02:00
Oliver Gugger
f7b7442680
Merge pull request #6545 from yyforyongyu/5746-sendtoroute
...
routing: enable skipping failing payments upon temporary error
2022-07-15 14:34:56 +02:00
Oliver Gugger
e6b25309bd
Merge pull request #6731 from guggero/linter-upgrade
...
tools: upgrade linter version to v1.46.2
2022-07-15 11:25:25 +02:00
Oliver Gugger
af97b8f877
Merge pull request #6722 from guggero/sign-schnorr-tweaked
...
signrpc: add Schnorr signatures to sign and verify message
2022-07-14 14:51:47 +02:00
Oliver Gugger
1e02d8910f
Merge pull request #6718 from hieblmi/chan-point-for-updatechanstatus
...
lncli: chan_point option for abandonchannel
2022-07-14 10:32:40 +02:00
Oliver Gugger
9d568cc119
Merge pull request #6630 from guggero/rpc-middleware-replace-request
...
RPC middleware: allow replacing request messages and response errors too
2022-07-14 10:24:19 +02:00
Oliver Gugger
f649c6fd47
docs: update release notes
2022-07-14 09:36:50 +02:00
Oliver Gugger
9774db614b
itest: add integration test for error interception
2022-07-14 09:36:50 +02:00
Oliver Gugger
e1efb39177
itest: add integration test for request replacement
2022-07-14 09:36:50 +02:00
Oliver Gugger
b1d8767a0c
rpcperms: intercept errors too
2022-07-14 09:36:50 +02:00
Oliver Gugger
502542da60
lnrpc: add is_error to intercept message
2022-07-14 09:36:48 +02:00
Oliver Gugger
d604055ccc
lnrpc: describe request replacement in API docs
...
This commit updates the comments in the proto file to mention the new
behavior of also being able to replace request messages.
2022-07-14 09:36:36 +02:00
Oliver Gugger
86c64abfe6
rpcperms: allow requests to be replaced as well
...
With this commit we allow a replacement message to be sent by the
middleware for a request type as well as the response type. This allows
an incoming RPC request to be modified before it is forwarded to lnd.
2022-07-14 09:36:36 +02:00
Oliver Gugger
dc32ca61f8
rpcperms: add replaceProtoMsg
...
Because of the way the gRPC Receive() method is designed, we need a way
to replace a proto message with the content of another one without
replacing the original instance itself (e.g. overwrite all values in the
existing struct instance).
2022-07-14 09:36:36 +02:00
Oliver Gugger
66258ee7b5
lnrpc: enable RPC middleware in REST WebSockets
...
If we don't flag the /v1/middleware call as request streaming, it can't
be used properly with REST WebSockets because the proxy would close the
connection after the first request message.
2022-07-14 09:36:36 +02:00
Oliver Gugger
b0d85c41a5
docs: add release notes
2022-07-14 09:33:50 +02:00
Oliver Gugger
850330a34e
multi: fix linter issues
...
Fix some issues found by the new nonamedreturn rule and rename some
nolint comment to the new rule name.
2022-07-14 09:30:53 +02:00
Oliver Gugger
da75619245
golangci: disable new exhauststruct rule
...
A new linter rule was added in the latest version that wants all fields
in a struct to be declared, even if the default value is used. Because
that would mean a large diff for us, we disable the rule for now.
2022-07-14 09:29:34 +02:00
Oliver Gugger
7d7ab4da3a
tools: upgrade linter to latest version
2022-07-14 09:29:16 +02:00