Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ get_bool
Method
get_bool
src/univalue/lib/univalue_get.cpp:91–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
}
90
91
bool UniValue::get_bool() const
92
{
93
if (typ != VBOOL)
94
throw std::runtime_error(
"JSON value is not a boolean as expected"
);
95
return getBool();
96
}
97
98
const std::string& UniValue::get_str() const
99
{
Callers
15
ProcessReply
Method · 0.80
importprivkey
Function · 0.80
importaddress
Function · 0.80
importpubkey
Function · 0.80
ProcessImportLegacy
Function · 0.80
ProcessImportDescriptor
Function · 0.80
backup.cpp
File · 0.80
importmulti
Function · 0.80
importdescriptors
Function · 0.80
listdescriptors
Function · 0.80
restorewallet
Function · 0.80
coins.cpp
File · 0.80
Calls
no outgoing calls
Tested by
5
BOOST_AUTO_TEST_CASE
Function · 0.64
BOOST_AUTO_TEST_CASE
Function · 0.64
AssetTest
Function · 0.64
Test
Function · 0.64
BOOST_AUTO_TEST_CASE
Function · 0.64