-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
xahaud/src/ripple/core/impl/Config.cpp
Lines 272 to 290 in 7a9d48d
| Config::setupControl(bool bQuiet, bool bSilent, bool bStandalone) | |
| { | |
| assert(NODE_SIZE == 0); | |
| QUIET = bQuiet || bSilent; | |
| SILENT = bSilent; | |
| RUN_STANDALONE = bStandalone; | |
| // We try to autodetect the appropriate node size by checking available | |
| // RAM and CPU resources. We default to "tiny" for standalone mode. | |
| if (!bStandalone) | |
| { | |
| NODE_SIZE = 4; | |
| return; | |
| // First, check against 'minimum' RAM requirements per node size: | |
| auto const& threshold = | |
| sizedItems[std::underlying_type_t<SizedItem>(SizedItem::ramSizeGB)]; | |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels