GitHub PushEvent at 2014-07-16 20:14:31
Repository: bitcoin
Actor: kazcw
Payload: {"shas":[["afa26719bf7c0bd881e49abb9e8c4988d651621c","14901775114ac89c68277409c5bf825b63761d95@gmail.com","Cache rejected tx to avoid rerequesting\n\nPreviously AlreadyHave would only prevent rerequesting transactions accepted to\nthe mempool or identified as orphans; if a transaction failed validation, it\nwould keep requesting it and validating it every time it received an inv. This\nchange adds a small mruset to remember some failed transactions.\n\nThe main benefit of this change is that if a bug like #3190 causes a peer to\nperiodically send invs for bogus transactions, we don't repeatedly getdata and\nvalidate the same transactions until we DoS-ban the peer.\n\nThis requires a new distinction between permanent failures (that are independent\nof chain state) and temporary failures; the few potentially temporary rejections\nare not cached.","kazcw",true]],"size":1,"ref":"refs/heads/rejectcache","head":"afa26719bf7c0bd881e49abb9e8c4988d651621c"}