--- Log opened Wed Aug 13 00:00:10 2025 07:52 < stickies-v> very nice work with the big fp on monday for https://github.com/bitcoin/bitcoin/pull/30595 TheCharlatan ! most changes lgtm, but i think ownership semantics are now getting increasingly unclear, so am working on a branch to improve that, trying to get it done before tomorrow's call 07:53 < stickies-v> for example, `btck_transaction_get_output_at` returns a (non-const) `btck_TransactionOutput*` which is documented as being "not owned", but must still be destroyed to avoid leaking memory, which i think is counterintuitive? if it's borrowed, the caller shouldn't have to destroy it 07:56 < stickies-v> my new approach involves introducing a new type for shared usage, from which an (unsafe/unmanaged) view can be borrowed (like std::shared_ptr::get()) on which most functions operate, so that we can allow the user to optimize for performance by only using borrowed views, or for ergonomics by using handles, or even a mixed usage 07:58 < stickies-v> the tl;dr of all of that : i'm adding all the `reinterpret_casts`'s back 😅 oops 14:40 -!- purpleKarrot [~purpleKar@user/purpleKarrot] has quit [Quit: purpleKarrot] 14:40 -!- purpleKarrot [~purpleKar@user/purpleKarrot] has joined #bitcoin-kernel 22:15 -!- fjahr [sid374480@id-374480.uxbridge.irccloud.com] has quit [Server closed connection] 22:15 -!- fjahr [sid374480@id-374480.uxbridge.irccloud.com] has joined #bitcoin-kernel 23:18 -!- yuvicc [~yuvicc@2401:4900:88ad:559d:58b3:8faa:c4b3:74f6] has joined #bitcoin-kernel 23:18 -!- yuvicc [~yuvicc@user/yuvicc] has changed host 23:21 -!- yuvicc [~yuvicc@user/yuvicc] has quit [Client Quit] --- Log closed Thu Aug 14 00:00:11 2025