building_blocks.block.check

Syntax

i = building_blocks.block.check(bp)

Get the validity of a block. Possible return values are: 0 = invalid block, 1 = valid block.

Returns:i - validity value
Arguments:bp - block pointer