blockchain lock code on new checkpoint functions