mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-09 05:14:22 +01:00
Display peers in -netinfo that request we not relay transactions
i.e. peers where getpeerinfo#relaytxes is false
This commit is contained in:
parent
0a9ee3a2c7
commit
3834e23b25
1 changed files with 2 additions and 1 deletions
|
@ -534,7 +534,7 @@ public:
|
|||
PingTimeToString(peer.ping),
|
||||
peer.last_send ? ToString(m_time_now - peer.last_send) : "",
|
||||
peer.last_recv ? ToString(m_time_now - peer.last_recv) : "",
|
||||
peer.last_trxn ? ToString((m_time_now - peer.last_trxn) / 60) : "",
|
||||
peer.last_trxn ? ToString((m_time_now - peer.last_trxn) / 60) : peer.is_block_relay ? "*" : "",
|
||||
peer.last_blck ? ToString((m_time_now - peer.last_blck) / 60) : "",
|
||||
strprintf("%s%s", peer.is_bip152_hb_to ? "." : " ", peer.is_bip152_hb_from ? "*" : " "),
|
||||
m_max_addr_processed_length, // variable spacing
|
||||
|
@ -625,6 +625,7 @@ public:
|
|||
" send Time since last message sent to the peer, in seconds\n"
|
||||
" recv Time since last message received from the peer, in seconds\n"
|
||||
" txn Time since last novel transaction received from the peer and accepted into our mempool, in minutes\n"
|
||||
" \"*\" - the peer requested we not relay transactions to it (relaytxes is false)\n"
|
||||
" blk Time since last novel block passing initial validity checks received from the peer, in minutes\n"
|
||||
" hb High-bandwidth BIP152 compact block relay\n"
|
||||
" \".\" (to) - we selected the peer as a high-bandwidth peer\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue