From d738a77c6e4d6a909a6ae653b79fe0d04d0ec480 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 28 Aug 2020 15:54:41 +0200 Subject: [PATCH] noise: Fixup documentation about waiting for next message --- noise/README.org | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/noise/README.org b/noise/README.org index 3d0f5cf..bb3b13f 100644 --- a/noise/README.org +++ b/noise/README.org @@ -25,13 +25,15 @@ lightning-cli recvmsg last_id #+END_SRC The ~last_id~ indicates the last message we read, so we can retrieve each message -individually. If you'd just like to wait for the next message you can use a -~last_id~ or ~-1~. +individually. If you'd just like to wait for the next message then do not +specify any ~last_id~. + * Todo - [ ] Persist messages across restarts -- [ ] Use ~rpc_command~ to intercept any payment listing and add the keysend - payments to it. +- [X] Use ~rpc_command~ to intercept any payment listing and add the keysend + payments to it. (No longer needed, since keysends are handled correctly by + ~listpays~.) * Protocol The protocol was heavily inspired by the [[https://github.com/joostjager/whatsat#protocol][WhatSat protocol]]: