getBlockId changes, add dump command.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>