diff options
author | Jon Atack <jon@atack.com> | 2020-10-02 22:19:52 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2020-10-14 16:29:37 +0200 |
commit | 6272604bef3b409455b010d134b4b62c8f6ff49f (patch) | |
tree | 5b1c00a6284455cc707ea9ae4020dbe9cea9adcf /src/net.h | |
parent | 82fd40216c70037480150d2b62e2b58c57784546 (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