tracing: add misbehaving conn tracepoint
This commit is contained in:
1 parent
68c1ef4f19
commit
b2ad6ede95
3 files changed
+81
-2
No files matched your search
@@ -128,6 +128,15 @@ Arguments passed:
|
||||
4. Network the peer connects from as `uint32` (1 = IPv4, 2 = IPv6, 3 = Onion, 4 = I2P, 5 = CJDNS). See `Network` enum in `netaddress.h`.
|
||||
5. Connection established UNIX epoch timestamp in seconds as `uint64`.
|
||||
|
||||
#### Tracepoint `net:misbehaving_connection`
|
||||
|
||||
Is called when a connection is misbehaving. Passes the peer id and a
|
||||
reason for the peers misbehavior.
|
||||
|
||||
Arguments passed:
|
||||
1. Peer ID as `int64`.
|
||||
2. Reason why the peer is misbehaving as `pointer to C-style String` (max. length 128 characters).
|
||||
|
||||
### Context `validation`
|
||||
|
||||
#### Tracepoint `validation:block_connected`
|
||||
|
||||
Reference in new issue
Block a user