diff options
| author | Jon Atack <[email protected]> | 2020-10-02 22:19:52 +0200 |
|---|---|---|
| committer | Jon Atack <[email protected]> | 2020-10-14 16:29:37 +0200 |
| commit | 6272604bef3b409455b010d134b4b62c8f6ff49f (patch) | |
| tree | 5b1c00a6284455cc707ea9ae4020dbe9cea9adcf /src/script/script_error.cpp | |
| parent | refactor: promote some -netinfo localvars to class members (diff) | |
| download | discoin-6272604bef3b409455b010d134b4b62c8f6ff49f.tar.xz discoin-6272604bef3b409455b010d134b4b62c8f6ff49f.zip | |
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/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions