core, eth, internal, miner: optimize txpool for quick ops
This commit is contained in:
		| @@ -130,7 +130,7 @@ func testSendTransactions(t *testing.T, protocol int) { | ||||
| 	for nonce := range alltxs { | ||||
| 		alltxs[nonce] = newTestTransaction(testAccount, uint64(nonce), txsize) | ||||
| 	} | ||||
| 	pm.txpool.AddTransactions(alltxs) | ||||
| 	pm.txpool.AddBatch(alltxs) | ||||
|  | ||||
| 	// Connect several peers. They should all receive the pending transactions. | ||||
| 	var wg sync.WaitGroup | ||||
|   | ||||
		Reference in New Issue
	
	Block a user