Skip to content

Commit

Permalink
javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Danno Ferrin <[email protected]>
  • Loading branch information
shemnon committed Jan 9, 2025
1 parent 25c9384 commit 104ca31
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
*/
public interface BlockHashLookup extends BiFunction<MessageFrame, Long, Hash> {

/**
* How far back from the current block are hash queries valid for? Default is 256.
*
* @return The number of blocks before the current that should return a hash value.
*/
default long getLookback() {
return 256L;
}
Expand Down

0 comments on commit 104ca31

Please sign in to comment.