kernel: Remove Univalue from kernel library

It is not required by any of the kernel components.
A JSON library should not need to be part of a consensus library.
This commit is contained in:
TheCharlatan
2023-07-21 14:37:03 +02:00
parent 10eb3a9faa
commit 6960c81cbf
5 changed files with 12 additions and 21 deletions

View File

@@ -46,7 +46,6 @@ bool DecodeHexBlockHeader(CBlockHeader&, const std::string& hex_header);
* @see ParseHashV for an RPC-oriented version of this
*/
bool ParseHashStr(const std::string& strHex, uint256& result);
std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName);
[[nodiscard]] util::Result<int> SighashFromStr(const std::string& sighash);
// core_write.cpp