Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ sha256_double
Class
sha256_double
bitcoin/tx.c:707–707 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
705
char *hexstr, size_t hexstr_len)
706
{
707
struct sha256_double rev = txid->shad;
708
reverse_bytes(rev.sha.u.u8, sizeof(rev.sha.u.u8));
709
return hex_encode(&rev, sizeof(rev), hexstr, hexstr_len);
710
}
Callers
1
wally_txid
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected