Skip to content
Draft
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added `ScriptPubkeyExt::as_bytes` to return a zero-copy slice into kernel-managed memory. Unlike `to_bytes`, this does not allocate.
- Added `Transaction::check` for context-free consensus validation of a transaction. Returns `TxCheckResult::Valid` on success or `TxCheckResult::Invalid(TxValidationResult)` on failure.
- Added `TxValidationResult` enum with all transaction validation result variants.
- Added a `script_trace` module with `set_script_trace_callback`/`unset_script_trace_callback` for registering a global `ScriptTracer` (or closure) that receives per-opcode `ScriptTraceFrame`s during script execution. Gated behind the `script-trace` feature.
- Added `ScriptTraceFrame`, `ScriptTraceFrameKind`, and `SigVersion` types.
- Added `KernelError::ScriptTraceUnavailable`, returned by `set_script_trace_callback` if the kernel wasn't built with `ENABLE_SCRIPT_TRACE`.

### Changed
- The `verify` function's `flags` parameter now uses `ScriptVerificationFlags` instead of `u32`, making the type explicit in the public API.
Expand Down
Loading
Loading