checkpoint: signature changes, add constants.go