mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
75d9b72475708ee0da13fb23ef65dcced805b6af kernel: make blockTip index const (stickies-v) Pull request description: Notification interface subscribers need to view, but not mutate, the index. This change allows improving the #30595 kernel interface, see e.g. `BlockTreeEntry` where [currently](https://github.com/bitcoin/bitcoin/pull/30595/files#diff-4d05cd02fdce641be603f0f9abcecfeaf76944285d4539ba4bbc40337fa9bbc2R617) a `View` is constructed from a non-const pointer, whereas really this should be a `const btck_BlockTreeEntry* entry`. ACKs for top commit: achow101: ACK 75d9b72475708ee0da13fb23ef65dcced805b6af TheCharlatan: ACK 75d9b72475708ee0da13fb23ef65dcced805b6af l0rinc: Code review ACK 75d9b72475708ee0da13fb23ef65dcced805b6af yuvicc: Code review ACK 75d9b72475708ee0da13fb23ef65dcced805b6af Tree-SHA512: 6151374a040cead36490c5fa5ce9dc4d93499a02110f444c50bd90f9095912747bc5b2fd7294815e6794c96a6843f43eb0507706d41d7296af96071b5f704ff4