Interrupt can be used to halt long‐running validation functions like when reindexing, importing or processing blocks.
Synopsis
Declared in <kernel/bitcoinkernel.h>
[[nodiscard, __nonnull__]]
int
btck_context_interrupt(btck_Context* context);
Return Value
0 if the interrupt was successful, non‐zero otherwise.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
context [in] |
Non‐null. |
Created with MrDocs