mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
Docs: fix GetWarnings docs to reflect behavior
In "gui", it returns all warnings, joined by a separator In "statusbar", it returns just the first warning
This commit is contained in:
parent
26f59f5054
commit
13bb5cae31
1 changed files with 4 additions and 4 deletions
|
@ -14,10 +14,10 @@ void SetfLargeWorkForkFound(bool flag);
|
||||||
bool GetfLargeWorkForkFound();
|
bool GetfLargeWorkForkFound();
|
||||||
void SetfLargeWorkInvalidChainFound(bool flag);
|
void SetfLargeWorkInvalidChainFound(bool flag);
|
||||||
/** Format a string that describes several potential problems detected by the core.
|
/** Format a string that describes several potential problems detected by the core.
|
||||||
* strFor can have three values:
|
* @param[in] strFor can have the following values:
|
||||||
* - "statusbar": get all warnings
|
* - "statusbar": get the most important warning
|
||||||
* - "gui": get all warnings, translated (where possible) for GUI
|
* - "gui": get all warnings, translated (where possible) for GUI, separated by <hr />
|
||||||
* This function only returns the highest priority warning of the set selected by strFor.
|
* @returns the warning string selected by strFor
|
||||||
*/
|
*/
|
||||||
std::string GetWarnings(const std::string& strFor);
|
std::string GetWarnings(const std::string& strFor);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue