mirror of
				https://github.com/Xahau/xahaud.git
				synced 2025-11-04 10:45:50 +00:00 
			
		
		
		
	Improve transaction relaying logic:
The existing logic involves every server sending every transaction that it receives to all its peers (except the one that it received a transaction from). This commit instead uses a randomized algorithm, where a node will randomly select peers to relay a given transaction to, caching the list of transaction hashes that are not relayed and forwading them to peers once every second. Peers can then determine whether there are transactions that they have not seen and can request them from the node which has them. It is expected that this feature will further reduce the bandwidth needed to operate a server.
This commit is contained in:
		
				
					committed by
					
						
						Nik Bougalis
					
				
			
			
				
	
			
			
			
						parent
						
							0d17dd8228
						
					
				
				
					commit
					ea145d12c7
				
			@@ -163,6 +163,7 @@ test.overlay > ripple.basics
 | 
			
		||||
test.overlay > ripple.beast
 | 
			
		||||
test.overlay > ripple.core
 | 
			
		||||
test.overlay > ripple.overlay
 | 
			
		||||
test.overlay > ripple.peerfinder
 | 
			
		||||
test.overlay > ripple.protocol
 | 
			
		||||
test.overlay > ripple.shamap
 | 
			
		||||
test.overlay > test.jtx
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user