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.
2 parents b898c8f + 74567f7 commit ff3b235Copy full SHA for ff3b235
src/db.cpp
@@ -520,24 +520,6 @@ bool CAddrDB::LoadAddresses()
520
{
521
CRITICAL_BLOCK(cs_mapAddresses)
522
523
- // Load user provided addresses
524
- CAutoFile filein = fopen((GetDataDir() + "/addr.txt").c_str(), "rt");
525
- if (filein)
526
- {
527
- try
528
529
- char psz[1000];
530
- while (fgets(psz, sizeof(psz), filein))
531
532
- CAddress addr(psz, false, NODE_NETWORK);
533
- addr.nTime = 0; // so it won't relay unless successfully connected
534
- if (addr.IsValid())
535
- AddAddress(addr);
536
- }
537
538
- catch (...) { }
539
540
-
541
// Get cursor
542
Dbc* pcursor = GetCursor();
543
if (!pcursor)
0 commit comments