Skip to content

Commit

Permalink
tracing: update docs to reflect ConnectionType change
Browse files Browse the repository at this point in the history
  • Loading branch information
jb55 committed Dec 18, 2021
1 parent 08efc0d commit ca7a124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/tracing.md
Expand Up @@ -63,7 +63,7 @@ information about our peer, the connection and the message as arguments.
Arguments passed:
1. Peer ID as `int64`
2. Peer Address and Port (IPv4, IPv6, Tor v3, I2P, ...) as `pointer to C-style String` (max. length 68 characters)
3. Connection Type (inbound, feeler, outbound-full-relay, ...) as `pointer to C-style String` (max. length 20 characters)
3. Connection Type (`0` inbound, `1` outbound-full-relay, `2` manual, `3` feeler, `4` block-relay, `5` addr-fetch) as `uint32`
4. Message Type (inv, ping, getdata, addrv2, ...) as `pointer to C-style String` (max. length 20 characters)
5. Message Size in bytes as `uint64`
6. Message Bytes as `pointer to unsigned chars` (i.e. bytes)
Expand All @@ -82,7 +82,7 @@ information about our peer, the connection and the message as arguments.
Arguments passed:
1. Peer ID as `int64`
2. Peer Address and Port (IPv4, IPv6, Tor v3, I2P, ...) as `pointer to C-style String` (max. length 68 characters)
3. Connection Type (inbound, feeler, outbound-full-relay, ...) as `pointer to C-style String` (max. length 20 characters)
3. Connection Type (`0` inbound, `1` outbound-full-relay, `2` manual, `3` feeler, `4` block-relay, `5` addr-fetch) as `uint32`
4. Message Type (inv, ping, getdata, addrv2, ...) as `pointer to C-style String` (max. length 20 characters)
5. Message Size in bytes as `uint64`
6. Message Bytes as `pointer to unsigned chars` (i.e. bytes)
Expand Down

0 comments on commit ca7a124

Please sign in to comment.