mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Merge pull request #1816
b867e40CreateNewBlock: Stick height in coinbase so we pass template sanity check (Luke Dashjr)60755dbsubmitblock: Check for duplicate submissions explicitly (Luke Dashjr)bc6cb41QA RPC tests: Add tests block block proposals (Luke Dashjr)9765a50Implement BIP 23 Block Proposal (Luke Dashjr)3dcbb9bAbstract DecodeHexBlk and BIP22ValidationResult functions out of submitblock (Luke Dashjr)132ea9bminer_tests: Disable checkpoints so they don't fail the subsidy-change test (Luke Dashjr)df08a62TestBlockValidity function for CBlock proposals (used by CreateNewBlock) (Luke Dashjr)4ea1be7CreateNewBlock and miner_tests: Also check generated template is valid by CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock (Luke Dashjr)a48f2d6Abstract context-dependent block checking from acceptance (Luke Dashjr)
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class CBlock;
|
||||
class CScript;
|
||||
class CTransaction;
|
||||
class uint256;
|
||||
@@ -16,6 +17,7 @@ class UniValue;
|
||||
// core_read.cpp
|
||||
extern CScript ParseScript(std::string s);
|
||||
extern bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx);
|
||||
extern bool DecodeHexBlk(CBlock&, const std::string& strHexBlk);
|
||||
extern uint256 ParseHashUV(const UniValue& v, const std::string& strName);
|
||||
extern std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user