Christian Decker
02b0826023
noise: Migrate noise over to poetry and add TLV support
...
TLV was removed in 0.12, so we should not be using it ourselves either.
2023-01-01 17:14:05 +01:00
Michael Schmoock
7953dc0011
noise: fix _msat purge leftover
2022-12-29 14:37:05 +01:00
Michael Schmoock
43317e0901
noise: rename last_id to msg_id and make code more readable
2022-02-21 17:54:11 +01:00
Michael Schmoock
ac9d1e4be1
noise: cleanup some nits
2022-02-21 17:54:11 +01:00
Michael Schmoock
8e0c748253
noise: adds testcase that checks correct order
...
Just to check the latest fix does not break anything.
2022-02-21 17:54:11 +01:00
Michael Schmoock
23a8f09b4d
noise: fix #331
...
fixes an off by one error
2022-02-21 17:54:11 +01:00
Michael Schmoock
f472484acd
noise: adds xfail testcase for #331
2022-02-21 17:54:11 +01:00
Christian Decker
6a3a90ae08
noise: Disable flaky test
2021-06-22 19:18:13 +02:00
Christian Decker
ce9aaebad4
noise: Disable timing out tests
...
squash! noise: Disable timing out tests
2021-01-13 11:23:56 +01:00
Michael Schmoock
de5489c1d6
noise: fix flake8 nits
2020-12-13 15:36:15 +01:00
Christian Decker
8668a2244d
noise: Disabled retry test for being way too flaky
2020-05-18 22:44:49 +02:00
Christian Decker
3290e4e456
noise: Add a Payment class for keysend payments
...
Suggested-by: Richard Bondi <@rsbondi>
2020-02-04 12:32:07 +01:00
Christian Decker
41aeed024d
noise: Don't assume that we have the required fields
2020-02-04 12:32:07 +01:00
Christian Decker
f80cc060b9
noise: Do not expect TlvPayloads without checking
...
Suggested-by: @darosior
2020-02-04 12:32:07 +01:00
Christian Decker
d2ca541728
noise: Added keysend functionality to attach a payment to a message
2020-02-04 12:32:07 +01:00
Christian Decker
528aa8410b
noise: Implement signature verification of chat messages
...
Since we don't pass the public key we just rely on the pubkey recovery and the
`checkmessage` interface to tell us whether it is a publicly known `node_id`
or not.
2020-02-04 12:32:07 +01:00
Christian Decker
374fdadcbe
noise: Use the onion classes and fix the length prefix issue
2020-02-04 12:32:07 +01:00
Christian Decker
ac49e8bd07
noise: Initial version of the noise chat plugin
...
Based on the WhatSat idea by @joostjager, this plugin implements a simple chat
protocol based on top of `createonion` and `sendonion`.
2020-02-04 12:32:07 +01:00