Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ UintToArith256
Function
UintToArith256
src/arith_uint256.cpp:253–259 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
251
return b;
252
}
253
arith_uint256 UintToArith256(const uint256 &a)
254
{
255
arith_uint256 b;
256
for(int x=0; x<b.WIDTH; ++x)
257
b.pn[x] = ReadLE32(a.begin() + x*4);
258
return b;
259
}
Callers
14
CheckParentProofOfWork
Function · 0.85
GetNextWorkRequired
Function · 0.85
CalculateNextWorkRequired
Function · 0.85
CheckProofOfWork
Function · 0.85
grind_task
Function · 0.85
AppInitParameterInteraction
Function · 0.85
SetHex
Method · 0.85
arith_uint256V
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
sanity_check_chainparams
Function · 0.85
Calls
2
ReadLE32
Function · 0.85
begin
Method · 0.45
Tested by
7
arith_uint256V
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
sanity_check_chainparams
Function · 0.68
FUZZ_TARGET_INIT
Function · 0.68
ConsumeArithUInt256
Function · 0.68