You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor: adapt to btckApi changes and implement rust idioms
Breaking changes:
- Replace BlockUndo with hierarchical
BlockSpentOutputs/TransactionSpentOutputs/Coin design
- Remove get_ prefixes from all methods following rust naming
conventions
- Introduce RefType<T, Owner> for zero-copy borrowing
Improvements:
- Add RefType wrapper for memory-safe borrowed references with
compile-time lifetime guarantees
- Update internal bindings from kernel_ to btck_ prefixed C API
- Add input validation to verify function
- Add transaction and block iteration methods (output_count,
transaction_count, etc.)
- Implement Clone traits using C copy functions
- Leverage C Library's smart ownershop tracking (m_owned flags) for safe
borrowing
- Updated and improved documentation
0 commit comments