aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2023-09-08 14:45:56 -0400
committerPieter Wuille <pieter@wuille.net>2023-09-10 16:12:30 -0400
commit64704386b28ce3a1ab607a946ec729286da8faa6 (patch)
treee580722b499779ae14f9dd5e7b6e15d086d4aa68 /src/net.h
parent9bde93df2c84b6d5f333aa56cbd0b28b6ad337b0 (diff)
doc: fix typos and mistakes in BIP324 code comments
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net.h b/src/net.h
index 81fbbfd195..e1d8995a8e 100644
--- a/src/net.h
+++ b/src/net.h
@@ -548,17 +548,17 @@ private:
/** Waiting for the other side's public key.
*
- * This is the initial state for initiators. The public key is sent out. When the receiver
- * receives the other side's public key and transitions to GARB_GARBTERM, the sender state
- * becomes READY. */
+ * This is the initial state for initiators. The public key and garbage is sent out. When
+ * the receiver receives the other side's public key and transitions to GARB_GARBTERM, the
+ * sender state becomes READY. */
AWAITING_KEY,
/** Normal sending state.
*
* In this state, the ciphers are initialized, so packets can be sent. When this state is
- * entered, the garbage, garbage terminator, garbage authentication packet, and version
- * packet are appended to the send buffer (in addition to the key which may still be
- * there). In this state a message can be provided if the send buffer is empty. */
+ * entered, the garbage terminator, garbage authentication packet, and version
+ * packet are appended to the send buffer (in addition to the key and garbage which may
+ * still be there). In this state a message can be provided if the send buffer is empty. */
READY,
/** This transport is using v1 fallback.