chia-blockchain
chia-blockchain copied to clipboard
remove contains height from BlocksProtocol
Purpose:
remove contains height from blocks protocol
Current Behavior:
we are using contains height that just checks the height_to_hash where we can just check if height is <= peak.height
New Behavior:
add get_peak_height to BlocksProtocol and use that instead of contains_height