Skip to content

Commit 148d335

Browse files
Squashed 'libbitcoinkernel-sys/bitcoin/' changes from 7f68dd378da6..ca74e0f92bbc
ca74e0f92bbc change install directory for kernel 66d876bdc413 kernel/blockreader REVERT: 7f68dd378da6 change install directory for kernel REVERT: 21beaa1e46bc kernel/blockreader git-subtree-dir: libbitcoinkernel-sys/bitcoin git-subtree-split: ca74e0f92bbc7f517ffa0f96b30f55484e648132
1 parent e3472de commit 148d335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/kernel/blockreader/blockreader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ BITCOINKERNEL_API bool BITCOINKERNEL_WARN_UNUSED_RESULT kernel_block_index_has_w
105105

106106
BITCOINKERNEL_API kernel_BlockPointer* BITCOINKERNEL_WARN_UNUSED_RESULT kernel_blockreader_get_block_by_index(const kernel_blockreader_Reader* reader, const kernel_BlockIndex* block_index) BITCOINKERNEL_ARG_NONNULL(1);
107107

108-
BITCOINKERNEL_API uint32_t BITCOINKERNEL_WARN_UNUSED_RESULT kernel_block_get_transaction_count(kernel_BlockPointer* block_pointer) BITCOINKERNEL_ARG_NONNULL(1);
108+
BITCOINKERNEL_API uint32_t BITCOINKERNEL_WARN_UNUSED_RESULT kernel_block_get_transaction_count(const kernel_BlockPointer* block_pointer) BITCOINKERNEL_ARG_NONNULL(1);
109109

110-
BITCOINKERNEL_API kernel_Transaction* BITCOINKERNEL_WARN_UNUSED_RESULT kernel_block_get_transaction(kernel_BlockPointer* block_pointer, size_t index) BITCOINKERNEL_ARG_NONNULL(1);
110+
BITCOINKERNEL_API kernel_Transaction* BITCOINKERNEL_WARN_UNUSED_RESULT kernel_block_get_transaction(const kernel_BlockPointer* block_pointer, size_t index) BITCOINKERNEL_ARG_NONNULL(1);
111111

112112
#ifdef __cplusplus
113113
}

0 commit comments

Comments
 (0)