pub unsafe extern "C" fn btck_chainstate_manager_options_create(
context: *const btck_Context,
data_directory: *const c_char,
data_directory_len: usize,
blocks_directory: *const c_char,
blocks_directory_len: usize,
) -> *mut btck_ChainstateManagerOptionsExpand description
@brief Create options for the chainstate manager.
@param[in] context Non-null, the created options and through it the chainstate manager will associate with this kernel context for the duration of their lifetimes. @param[in] data_directory Non-null, non-empty path string of the directory containing the chainstate data. If the directory does not exist yet, it will be created. @param[in] blocks_directory Non-null, non-empty path string of the directory containing the block data. If the directory does not exist yet, it will be created. @return The allocated chainstate manager options, or null on error.