Eng Zer Jun
712177ee03
chainntnfs: use T.TempDir
to create temporary test directory
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:16 +08:00
Eng Zer Jun
994f4d67a1
cert: use T.TempDir
to create temporary test directory
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:15 +08:00
Eng Zer Jun
1cd7e3aee6
aliasmgr: use T.TempDir
to create temporary test directory
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:11 +08:00
Olaoluwa Osuntokun
65a5eeb24e
build: make Go 1.18 the min version, update to Go 1.19
...
As usual, we keep with the last two Go versions, which means the last
year of Go release (they release every 6 months or so).
This change means we can now use the type params (generics) in the
project!
2022-08-23 10:54:13 -05:00
Olaoluwa Osuntokun
f8615f9910
Merge pull request #6853 from yyforyongyu/fix-make-fmt
...
github: fix `make fmt` and add `make fmt-check`
2022-08-23 10:48:58 -05:00
yyforyongyu
859c5e5da4
Makefile+github: add make fmt-check
to check for formatting
2022-08-23 22:10:27 +08:00
yyforyongyu
0735522194
multi: fix make fmt
2022-08-23 22:10:24 +08: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
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