add SafeCheckLast to satoshi_load for block_header_type
add index_type to blockchain