Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: cab74feb59e5b3aaa20e83a6ea8fdd69e7638c15
https://github.com/btcsuite/btcd/commit/cab74feb59e5b3aaa20e83a6ea8fdd69e7638c15
Author: David Hill <[email protected]>
Date: 2016-04-10 (Sun, 10 Apr 2016)
Changed paths:
M blockmanager.go
Log Message:
-----------
Keep track of recently rejected transactions. (#484)
This prevents the node from repeatedly requesting and rejecting the
same transaction as different peers inv the same transaction.
Idea from Bitcoin Core commit 0847d9cb5fcd2fdd5a21bde699944d966cf5add9
Also, limit the number of both requested blocks and transactions.