Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: refactor negative-of-blockhash-depth #564

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: refactor negative-of-blockhash-depth
This refactors the function `negative-of-blockhash-depth` to be a
`defpurefun` instead of simply a `defun`.
  • Loading branch information
DavePearce committed Jan 16, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit ce36dd2b1d8f6fc46d377e9b8e99f88a7913925b
2 changes: 1 addition & 1 deletion blockhash/constraints.lisp
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
(* (- 1 PRPRC) (next PRPRC))))
(defun (ct-max-sum) (+ (* (- nROWS_MACRO 1) MACRO)
(* (- nROWS_PRPRC 1) PRPRC)))
(defun (negative-of-blockhash-depth) (- 0 BLOCKHASH_DEPTH))
(defpurefun (negative-of-blockhash-depth) (- 0 BLOCKHASH_DEPTH))

;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
Loading