Skip to content

Use prevblock height as locktime for new block generation tx#78

Open
luke-jr wants to merge 1 commit intoOCEAN-xyz:masterfrom
luke-jr:locktime_prevheight
Open

Use prevblock height as locktime for new block generation tx#78
luke-jr wants to merge 1 commit intoOCEAN-xyz:masterfrom
luke-jr:locktime_prevheight

Conversation

@luke-jr
Copy link
Copy Markdown
Contributor

@luke-jr luke-jr commented Mar 10, 2025

Needs careful testing (incl mainnet) as an off-by-one can invalidate blocks

@luke-jr luke-jr marked this pull request as draft March 10, 2025 18:41
@luke-jr
Copy link
Copy Markdown
Contributor Author

luke-jr commented Mar 10, 2025

Probably has an endian issue as-is

@luke-jr luke-jr force-pushed the locktime_prevheight branch from fbce29b to 5355db4 Compare March 10, 2025 19:11
@luke-jr luke-jr marked this pull request as ready for review March 10, 2025 19:11
@luke-jr
Copy link
Copy Markdown
Contributor Author

luke-jr commented Mar 10, 2025

Fixed and verified with decoderawtransaction for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant