Author: Luke-Jr 2011-09-27 20:08:05
Published on: 2011-09-27T20:08:05+00:00
In this code snippet, there is a bool function called "AcceptBlock()" that takes in no parameters. Inside this function, there is a map iterator that finds the previous block index. If the iterator does not find the previous block index, a DoS error with a message of "prev block not found" will be returned. The question following the code asks whether or not it is possible for a peer with more blocks than you to trigger this error.
Updated on: 2023-06-04T20:05:49.777042+00:00