diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-06-04 18:22:58 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-13 14:27:40 -0400 |
commit | 36b1b63f20cc718084971d2cadd04497a9b72634 (patch) | |
tree | adf46bfa148f35463305f2c5e3175df147db2fb1 /src/core_io.h | |
parent | 3bd25c010c5cd19a8d68869ac9dab1f2fa40bd50 (diff) |
rpc: Expose ProcessNewBlockHeaders
Diffstat (limited to 'src/core_io.h')
-rw-r--r-- | src/core_io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core_io.h b/src/core_io.h index ee323a22ee..d53a45c0cb 100644 --- a/src/core_io.h +++ b/src/core_io.h @@ -11,6 +11,7 @@ #include <vector> class CBlock; +class CBlockHeader; class CScript; class CTransaction; struct CMutableTransaction; @@ -23,6 +24,7 @@ CScript ParseScript(const std::string& s); std::string ScriptToAsmStr(const CScript& script, const bool fAttemptSighashDecode = false); bool DecodeHexTx(CMutableTransaction& tx, const std::string& hex_tx, bool try_no_witness = false, bool try_witness = true); bool DecodeHexBlk(CBlock&, const std::string& strHexBlk); +bool DecodeHexBlockHeader(CBlockHeader&, const std::string& hex_header); uint256 ParseHashStr(const std::string&, const std::string& strName); std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName); bool DecodePSBT(PartiallySignedTransaction& psbt, const std::string& base64_tx, std::string& error); |