Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/citp/BlockSci
/ ValidSize
Function
ValidSize
include/blocksci/scripts/bitcoin_pubkey.hpp:71–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
}
70
71
bool static ValidSize(const std::vector<unsigned char> &vch) {
72
return vch.size() > 0 && GetLen(vch[0]) == vch.size();
73
}
74
75
//! Construct an invalid public key.
76
CPubKey() : vch{{0}}
Callers
2
MatchPayToPubkey
Function · 0.85
MatchMultisig
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected