block.leader

Syntax

blp = block.leader(blp)

Get the leader block if this block is a follower (joined). Returns null if block is not joined.

Returns:

blp - pointer to leader block

Arguments:

blp - block pointer