make deniable blocks larger on average
This commit is contained in:
		
							parent
							
								
									4afa3d87e5
								
							
						
					
					
						commit
						c7bbd054e4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -27,6 +27,6 @@ def insert_deniable_block(comm_inst): | ||||||
|     if secrets.randbelow(chance) == (chance - 1): |     if secrets.randbelow(chance) == (chance - 1): | ||||||
|         # This assumes on the libsodium primitives to have key-privacy |         # This assumes on the libsodium primitives to have key-privacy | ||||||
|         fakePeer = onionrvalues.DENIABLE_PEER_ADDRESS |         fakePeer = onionrvalues.DENIABLE_PEER_ADDRESS | ||||||
|         data = secrets.token_hex(secrets.randbelow(1024) + 1) |         data = secrets.token_hex(secrets.randbelow(5120) + 1) | ||||||
|         onionrblocks.insert(data, header='pm', encryptType='asym', asymPeer=fakePeer, disableForward=True, meta={'subject': 'foo'}) |         onionrblocks.insert(data, header='pm', encryptType='asym', asymPeer=fakePeer, disableForward=True, meta={'subject': 'foo'}) | ||||||
|     comm_inst.decrementThreadCount('insert_deniable_block') |     comm_inst.decrementThreadCount('insert_deniable_block') | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue