mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	Allow unlimited catchain.getBlock requests (#1132)
This commit is contained in:
		
							parent
							
								
									e9bd482382
								
							
						
					
					
						commit
						48d94d500a
					
				
					 2 changed files with 3 additions and 7 deletions
				
			
		|  | @ -61,7 +61,7 @@ class CatChainReceiverSource { | |||
|   virtual td::BufferSlice fork_proof() const = 0; | ||||
|   virtual bool fork_is_found() const = 0; | ||||
| 
 | ||||
|   // One block can be sent to one node only a limited number of times to prevent DoS
 | ||||
|   // One block can be sent to one node in catchain.getDifference only a limited number of times to prevent DoS
 | ||||
|   virtual bool allow_send_block(CatChainBlockHash hash) = 0; | ||||
| 
 | ||||
|   static td::Result<std::unique_ptr<CatChainReceiverSource>> create(CatChainReceiver *chain, PublicKey pub_key, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue