mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	reindent Datagram, Daemon, update default subscription in config example
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
		
							parent
							
								
									0e5dc15005
								
							
						
					
					
						commit
						6966539b86
					
				
					 3 changed files with 383 additions and 380 deletions
				
			
		| 
						 | 
				
			
			@ -192,8 +192,8 @@ verify = true
 | 
			
		|||
 | 
			
		||||
[addressbook]
 | 
			
		||||
## AddressBook subscription URL for initial setup
 | 
			
		||||
## Default: inr.i2p at "mainline" I2P Network
 | 
			
		||||
# defaulturl = http://joajgazyztfssty4w2on5oaqksz6tqoxbduy553y34mf4byv6gpq.b32.i2p/export/alive-hosts.txt
 | 
			
		||||
## Default: reg.i2p at "mainline" I2P Network
 | 
			
		||||
# defaulturl = http://shx5vqsw7usdaunyzr2qmes2fq37oumybpudrd4jjj4e4vk4uusa.b32.i2p/hosts.txt
 | 
			
		||||
## Optional subscriptions URLs, separated by comma
 | 
			
		||||
# subscriptions = http://inr.i2p/export/alive-hosts.txt,http://stats.i2p/cgi-bin/newhosts.txt,http://rus.i2p/hosts.txt
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -200,6 +200,7 @@ namespace i2p
 | 
			
		|||
				if (ygg)
 | 
			
		||||
					i2p::context.UpdateNTCP2V6Address (yggaddr);
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			else
 | 
			
		||||
				i2p::context.PublishNTCP2Address (port, false); // unpublish
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			@ -213,7 +214,9 @@ namespace i2p
 | 
			
		|||
		if (isFloodfill) {
 | 
			
		||||
			LogPrint(eLogInfo, "Daemon: router will be floodfill");
 | 
			
		||||
			i2p::context.SetFloodfill (true);
 | 
			
		||||
			}	else {
 | 
			
		||||
		}
 | 
			
		||||
		else
 | 
			
		||||
		{
 | 
			
		||||
			i2p::context.SetFloodfill (false);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue