mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
feat:add raw PeerID to RPC interface (#7514)
* add raw PeerID to rpc interface * use snake_case * add peer_id to doc * pass peer_id only and use peer_id_t and base64 encoding when passing peer_id to stat * clang format * fix dangling pointer * remove std::optional * clean up tr_peerMsgs constructor * move b64encode to rpc * just use constructor * Update libtransmission/peer-msgs.cc Co-authored-by: Yat Ho <lagoho7@gmail.com> --------- Co-authored-by: Yat Ho <lagoho7@gmail.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
@@ -326,6 +326,7 @@ Files are returned in the order they are laid out in the torrent. References to
|
||||
| `isUTP` | boolean | tr_peer_stat
|
||||
| `peerIsChoked` | boolean | tr_peer_stat
|
||||
| `peerIsInterested` | boolean | tr_peer_stat
|
||||
| `peer_id` | string | tr_peer_stat
|
||||
| `port` | number | tr_peer_stat
|
||||
| `progress` | double | tr_peer_stat
|
||||
| `rateToClient` (B/s) | number | tr_peer_stat
|
||||
|
||||
Reference in New Issue
Block a user