We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0010c8 commit 17e7054Copy full SHA for 17e7054
src/addrman.h
@@ -146,7 +146,9 @@ class AddrMan
146
/**
147
* Choose an address to connect to.
148
*
149
- * @param[in] new_only Whether to only select addresses from the new table.
+ * @param[in] new_only Whether to only select addresses from the new table. Passing `true` returns
150
+ * an address from the new table or an empty pair. Passing `false` will return an
151
+ * address from either the new or tried table (it does not guarantee a tried entry).
152
* @param[in] network Select only addresses of this network (nullopt = all)
153
* @return CAddress The record for the selected peer.
154
* seconds The last time we attempted to connect to that peer.
0 commit comments