Commit Graph

10 Commits

Author SHA1 Message Date
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