aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-10-02 22:19:52 +0200
committerJon Atack <jon@atack.com>2020-10-14 16:29:37 +0200
commit6272604bef3b409455b010d134b4b62c8f6ff49f (patch)
tree5b1c00a6284455cc707ea9ae4020dbe9cea9adcf /src/net.h
parent82fd40216c70037480150d2b62e2b58c57784546 (diff)
refactor: enable -netinfo to add future networks (i2p, cjdns)
After this commit, a new network may be added by changing 4 lines: - increment the value of `m_networks_size` - add the network name to `m_networks` - add the network name to this line: `result += " ipv4 ipv6 onion total block-relay\n";` - add "counts.at(i).at(<m_networks pos>)" to this line: `result += strprintf("%-5s %5i %5i %5i %5i %5i\n...`
Diffstat (limited to 'src/net.h')
0 files changed, 0 insertions, 0 deletions