Commit Graph

13305 Commits

Author SHA1 Message Date
Oliver Gugger
95ff670c0e multi: add MuSig2Cleanup method to MuSig2 signer 2022-05-04 19:23:58 +02:00
Oliver Gugger
771d77d875 signrpc: add MuSig2Cleanup RPC 2022-05-04 19:23:57 +02:00
Elle Mouton
fa5d4195e0 docs/release-notes: update release notes 2022-05-04 11:06:46 +02:00
Elle Mouton
f40e2687ac lnwire: add randOpaqueAddrs for fuzz test
Let TestLightningWireProtocol also include random OpaqueAddrs.
2022-05-04 11:06:11 +02:00
Elle Mouton
1477c754f5 lnwire: store unknown address type as OpaqueAddrs
Instead of erroring out with encountering an address with an unknown
type, we just store the remainder of the addrBytes as OpaqueAddrs so
that we are able to rewrite them to the wire when we re-propagate the
message.
2022-05-04 11:06:11 +02:00
Elle Mouton
fa0512f62f lnwire: add new type OpaqueAddrs
In this commit, a new net.Addr implementation called OpaqueAddrs is
added along with a WriteOpaqueAddrs func that is called in
WriteNetAddrs. It will be used to store any address bytes that we cannot
parse due to us not being aware of the address type.
2022-05-04 11:06:11 +02:00
Elle Mouton
f77388e072 lnwire: add TestDecodeUnknownAddressType
Add a test to demonstrate that if a NodeAnnouncement includes an address
with an unknown type, then we incorrectly return an error. This will be
fixed in the following commit.
2022-05-04 11:06:10 +02:00
Olaoluwa Osuntokun
12b82d0156 Merge pull request #5652 from ErikEk/neutrino-sub-server
Neutrino sub-server
2022-05-03 16:01:24 -07:00
Olaoluwa Osuntokun
b5fed36465 Merge pull request #6468 from Roasbeef/neutrino-tor
build: update to version of neutrino w/ BIP 155 support
2022-05-03 15:50:44 -07:00
Olaoluwa Osuntokun
9ec26325b5 build: update to version of neutrino w/ BIP 155 support
Fixes #4973
2022-05-03 15:48:37 -07:00
Olaoluwa Osuntokun
54adc6996b Merge pull request #6322 from Crypt-iQ/handoff_deadlock_fix
contractcourt: deadlock fix via temporary unmerged map
2022-05-03 15:12:20 -07:00
Tommy Volk
bd9904e11e channeldb: remove empty files 2022-05-03 20:56:44 +00:00
Tommy Volk
5ae2ce984e multi: typo fixes [skip ci] 2022-05-03 20:55:40 +00:00
Oliver Gugger
05fd4f9e0e Merge pull request #6463 from guggero/num-payments
ListPayments: add new optional count_total_payments flag
2022-05-03 16:23:58 +02:00
Oliver Gugger
cd21918c5d Merge pull request #6483 from ErikEk/remove-zmq-check
zmq: remove port checker
2022-05-03 09:51:59 +02:00
Oliver Gugger
68fad0cd53 Merge pull request #6478 from bufo24/master
fix typo comment for scanInvoicesOnStart function
2022-05-03 09:51:32 +02:00
ErikEk
30a857b982 zmq: remove port check error 2022-05-02 13:50:23 +02:00
Oliver Gugger
bf03d112a9 docs: add release notes 2022-05-02 12:32:07 +02:00
Oliver Gugger
ab6e1012e4 cmd/lncli: add --count_total_payments flag 2022-05-02 12:32:07 +02:00
Oliver Gugger
a44e56b51a lnrpc: add new request/response fields for payment count 2022-05-02 12:32:06 +02:00
Oliver Gugger
c42330d9c5 channeldb: add CountTotal option to payment query 2022-05-02 12:32:06 +02:00
Jesse van Papenrecht
eff52ef3b7 fix typo for scanInvoicesOnStart [skip ci] 2022-05-02 10:49:59 +02:00
Oliver Gugger
63f02c2bd8 Merge pull request #6250 from Crypt-iQ/resolutionmsg_handoff
htlcswitch+lntest: create resolutionStore to persist ResolutionMsg
2022-05-02 10:17:05 +02:00
Oliver Gugger
aca22998bc Merge pull request #6481 from torkelrogstad/2022-04-30-chain-notifier
chainrpc: clarify documentation
2022-05-02 09:34:15 +02:00
Torkel Rogstad
d6db386663 chainrpc: clarify documentation
Clarify the comment on RegisterConfirmationsNtfn. The output script
is in fact mandatory, not optional.
2022-04-30 10:44:34 +02:00
ErikEk
3e306f8409 doc: release notes 2022-04-30 08:55:55 +02:00
ErikEk
57036d0f63 neutrinorpc: command interface 2022-04-30 08:55:55 +02:00
ErikEk
8c7be4ebf5 neutrinorpc: subserver functionality 2022-04-30 08:55:55 +02:00
ErikEk
635cffa871 multi: add sub-server dep 2022-04-30 08:55:49 +02:00
eugene
eeedb09e0f release-notes: update for 0.15.0 2022-04-29 16:40:19 -04:00
eugene
f7b3da4bb2 htlcswitch+lntest: modify Switch to persist resolution messages
Include unit tests for the Switch, and integration tests that
exercise the persistence logic.
2022-04-29 16:40:19 -04:00
eugene
bfed7a088f htlcswitch: introduce resolutionStore to persist cnct messages 2022-04-29 16:40:16 -04:00
Oliver Gugger
9bbee09497 Merge pull request #6361 from guggero/musig2
Musig2: add new MuSig2 RPC methods to `signrpc`
2022-04-29 12:55:52 +02:00
Oliver Gugger
93e069f3bd docs: add MuSig2 doc and release notes 2022-04-29 11:42:47 +02:00
Oliver Gugger
63e93ae572 itest: add taproot SignOutputRaw Bip86 signing test 2022-04-29 11:42:46 +02:00
Oliver Gugger
3ba6421d5c itest: add MuSig2 end-to-end tests 2022-04-29 11:42:43 +02:00
Oliver Gugger
e31aab5af6 multi: fix inclusion proof size
The inclusion proof field in the TapscriptPartialReveal function was
incorrect. An inclusion proof can be zero or more elements of 32-byte
slices. So an empty inclusion proof can be valid too for a tree that
only consists of a single leaf.
2022-04-29 11:41:09 +02:00
Oliver Gugger
f7275c7fc4 multi: implement MuSig2 RPCs and remote signing 2022-04-29 11:41:09 +02:00
Oliver Gugger
8fc99fba00 input+btcwallet: add MuSig2 signing operations
With this commit we add the high-level MuSig2 signing methods to the
btcwallet which will later be exposed through an RPC interface.
2022-04-29 11:41:08 +02:00
Oliver Gugger
fee2b28d1b itest: refactor taproot test 2022-04-29 11:41:05 +02:00
Oliver Gugger
dfac94bf9b tools+lint: fix linter for Go 1.18 2022-04-29 09:34:14 +02:00
Oliver Gugger
be704b09b2 mod: bump btcec to MuSig2 version, require go 1.17 2022-04-29 09:34:02 +02:00
Olaoluwa Osuntokun
de6fcf15b6 Merge pull request #6419 from Crypt-iQ/shutdown_coop_restart
peer: allow restart during cooperative close
2022-04-28 17:59:06 -07:00
eugene
caeb650e87 release-notes: update for 0.15.0 2022-04-26 12:52:49 -04:00
eugene
5ec6aafce3 peer: make linter happy 2022-04-26 12:52:49 -04:00
eugene
d881679de0 peer+chancloser: allow restarting coop close process
On startup, we'll check whether we have the coop close chan status
and have already broadcasted a coop close txn, and then make a
decision on whether to restart the process based on that.
2022-04-26 12:52:48 -04:00
eugene
a94466e936 peer: add createChanCloser function to de-dupe NewChanCloser sites 2022-04-26 12:52:46 -04:00
Oliver Gugger
0845c4daeb Merge pull request #6454 from bottlepay/require-interceptor-info
rpcserver: expose interceptor required flag on info call
2022-04-25 12:11:29 +02:00
Joost Jager
caf11d2607 rpcserver: expose interceptor required flag on info call 2022-04-25 11:05:18 +02:00
Joost Jager
3ad9a42e65 rpcserver: remove unnecessary conversion 2022-04-25 11:05:04 +02:00