yyforyongyu
077ebe3868
clock: add missing package require
and replace assert
[skip ci]
2022-08-23 03:27:42 +08: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
Elle Mouton
ca6a2e12e0
rpcserver+docs: add default case to addr type switch
...
This commit adds a default case to the address type switch statement in
the NewAddress rpc server function. This catches any invalid address
types and returns an error.
2022-08-22 17:25:56 +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
priyanshiiit
ec53b610f5
docs: adds list addresses RPC
2022-08-18 13:25:52 +05:30
priyanshiiit
3105d6a2ec
lntest: adds test for list addresses
2022-08-18 08:09:16 +05:30
priyanshiiit
2f20012af6
lncli: adds list addresses cli command
2022-08-18 08:09:16 +05:30
priyanshiiit
dba77edf2a
lnrpc: adds list addresses rpc
2022-08-18 08:09:16 +05:30
priyanshiiit
99e4728eb7
lnwallet: adds list addresses method
2022-08-18 07:58:24 +05:30
yyforyongyu
71eb5804b6
github: cancel concurrent workflows for the same PR/push
2022-08-18 03:54:48 +08: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
Spring Raindrop
01bba71715
release-notes: update for 0.16.0
2022-08-17 03:43:49 +00:00
Spring Raindrop
ff5b944400
tor: fix parsing replies
...
Replies may contain quoted values that include spaces, newlines and/or
escaped characters (including doublequote itself). Not accounting for
that leads to errors when e. g. `COOKIEFILE` path contains spaces.
2022-08-17 03:43:06 +00:00
Slyghtning
b2e624cd52
psbt: Indicate which psbt inputs were signed
2022-08-16 19:31:06 -04: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
Elle Mouton
a75ab9f71c
docs: update release notes
2022-08-15 15:29:21 +02:00
Elle Mouton
bd857ee298
cmd/lncli: use bitsize of 64 to read output index
...
In the lnrpc proto, we use either int64 or uint32 for output index. So
to keep things consistent, we should use a bitsize of 64 when reading an
output index from a string. Otherwise, we fail could fail to parse an
index that is valid based on the types we define in the protos.
2022-08-15 15:29:21 +02:00
Elle Mouton
027e4cdf11
cmd/lncli: add insecure flag to skip tls auth
...
Add an `insecure` global flag to lncli. If set, tls authentication with
the specified rpc server will be skipped.
2022-08-15 15:29:14 +02:00
Elle Mouton
1dffaf10e2
cmd/lncli: add metadata kvpair flag
...
Add a new `metadata` string slice flag to lncli that allows the caller
to specify multiple key-value string pairs that should be appended to
the outgoing context.
2022-08-15 15:29:12 +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
ErikEk
353b563174
doc: release notes
2022-08-13 21:41:41 +02:00
ErikEk
2d58ecb183
neutrinorpc: add getblockhash command
2022-08-13 21:41:41 +02:00
ErikEk
74023fe230
neutrinorpc: add getblockhash functionality
2022-08-13 21:41:30 +02:00
Olaoluwa Osuntokun
d0d4782c3e
Merge pull request #6826 from Roasbeef/bitcoind-taproot-after-19
...
chainreg: update tapoort node awareness to account for bitcoind 19+
2022-08-12 16:22:04 -07:00
Olaoluwa Osuntokun
6d0b354a8f
Merge pull request #6664 from Crypt-iQ/fl_chanupdate_order
...
funding: defer sending channel_update until received funding_locked
2022-08-12 16:01:23 -07:00
Olaoluwa Osuntokun
6b7abc3dbc
chainreg: update tapoort node awareness to account for bitcoind 19+
...
Bitcoind 23 will use the new `getdeploymentinfo` while versions after 19
(but below 23) will use the `UnifiedSoftForks` field instead of the
`SoftForks UnifiedSoftForks` field.
With this PR the taproot gating logic has been tested on bitcoind
versions: 21, 22, and 23. 21 is when the taproot logic was first added.
2022-08-12 15:35:32 -07:00
eugene
d51af48c3b
release-notes: update for 0.15.1
2022-08-12 17:49:27 -04:00
eugene
16067ca908
funding: defer sending channel_update until received funding_locked
...
This is required by BOLT#07 as otherwise the counter-party will
discard the channel_update as they may not consider the channel
"ready" or reorg-safe. Most other implementations besides eclair
have work-arounds for this, but it is nice to be spec-compliant.
2022-08-12 17:48:25 -04:00
Olaoluwa Osuntokun
dc453f2c39
Merge pull request #6820 from Roasbeef/btcsuite-updates
...
build: update to latest versions of btec, btcutil, and btcutil/psbt
2022-08-12 14:40:20 -07:00
Olaoluwa Osuntokun
822822bb75
build: update to latest versions of btec, btcutil, and btcutil/psbt
...
Fixes #6668
2022-08-12 14:40:00 -07:00
Olaoluwa Osuntokun
be5bc79444
Merge pull request #6716 from Crypt-iQ/zeroconfacceptor
...
multi: add zeroconfacceptor to default reject incoming channels
2022-08-12 14:20:11 -07:00
Olaoluwa Osuntokun
d0996a9df8
Merge pull request #6810 from Roasbeef/taproot-errwhere
...
multi: use taproot errwhere applicable for change/delivery/tower addresses
2022-08-12 14:18:35 -07:00
eugene
dd0615f488
release-notes: update for 0.15.1
2022-08-12 16:36:53 -04:00
eugene
48912560e2
lntest: update zero-conf tests to account for zeroconfacceptor
2022-08-12 16:36:17 -04:00
eugene
4ab80b012d
chanacceptor+lnrpc: update the commitmentTypes, send zero-conf to client
...
This updates the RPCAcceptor to send the correct commitment type
even if the zero-conf or scid-alias channel types are set. This also
adds two bools to the ChannelAcceptRequest struct that denotes whether
the funder set the zero-conf and scid-alias channel types.
2022-08-12 16:36:17 -04:00
eugene
c2a4a9adbc
multi: add zeroconfacceptor that default rejects if no rpc acceptors
...
This is a safety mechanism so that zero-conf channels are not accepted
by default if no rpc acceptor exists.
2022-08-12 16:30:42 -04:00
Daniel McNally
7a96b0afe1
Add release notes entry for #6457
2022-08-12 11:34:46 -04:00
Daniel McNally
f1ed9754c2
config_builder: specify root key during wallet init
...
This sets the macaroon root key during wallet initialization when one
is provided in the init wallet params.
2022-08-12 11:34:44 -04:00
Daniel McNally
4b14226e81
macaroons: add SetRootKey method
...
This adds a SetRootKey method which can be used to set the default
macaroon root key to a specified value.
2022-08-12 11:34:43 -04:00
Daniel McNally
86e5f9d0db
lnrpc: add macaroon_root_key to InitWalletRequest
...
This adds a field for specifying the macaroon root key to use during the
wallet initialization process instead of having lnd generate a random
macaroon root key itself.
2022-08-12 10:30:32 -04:00
Olaoluwa Osuntokun
67a6bb5ecf
build: bump version to v0.15.99
...
We forgot to do this after 0.15 was tagged, but usually we use a x.99
version to indicate that the commits in master are between releases.
This might also make it easier to help identify exactly which version a
user is running in issue reports.
[skip-ci]
2022-08-11 17:36:43 -07:00
Olaoluwa Osuntokun
91bc4b540c
docs/release-notes: add release notes entry
2022-08-11 17:26:28 -07:00
Olaoluwa Osuntokun
42549519ca
lnwallet/chanfunding: assumes all change outputs are P2TR
2022-08-11 17:26:23 -07:00