MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / last_negated

Method last_negated

src/common/settings.cpp:275–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273const SettingsValue* SettingsSpan::end() const { return data + size; }
274bool SettingsSpan::empty() const { return size == 0 || last_negated(); }
275bool SettingsSpan::last_negated() const { return size > 0 && data[size - 1].isFalse(); }
276size_t SettingsSpan::negated() const
277{
278 for (size_t i = size; i > 0; --i) {

Callers 3

GetSettingFunction · 0.80
GetSettingsListFunction · 0.80
ReadConfigFilesMethod · 0.80

Calls 1

isFalseMethod · 0.80

Tested by

no test coverage detected