correctly parsed ldb blocks.
This commit is contained in:
parent
43b3439639
commit
0955056d5c
|
@ -6136,6 +6136,9 @@ read_addr(const std::string addr) {
|
||||||
uint256 blockhash;
|
uint256 blockhash;
|
||||||
ssKey >> blockhash;
|
ssKey >> blockhash;
|
||||||
|
|
||||||
|
//CMerkleBlock b;
|
||||||
|
//ssValue >> b;
|
||||||
|
|
||||||
CBlockHeader header;
|
CBlockHeader header;
|
||||||
ssValue >> header;
|
ssValue >> header;
|
||||||
|
|
||||||
|
@ -6146,19 +6149,17 @@ read_addr(const std::string addr) {
|
||||||
unsigned int nTx;
|
unsigned int nTx;
|
||||||
ssValue >> nTx;
|
ssValue >> nTx;
|
||||||
|
|
||||||
/*
|
//class CValidationState {
|
||||||
class CValidationState {
|
// enum mode_state {
|
||||||
enum mode_state {
|
// MODE_VALID, // everything ok
|
||||||
MODE_VALID, // everything ok
|
// MODE_INVALID, // network rule violation (DoS value may be set)
|
||||||
MODE_INVALID, // network rule violation (DoS value may be set)
|
// MODE_ERROR, // run-time error
|
||||||
MODE_ERROR, // run-time error
|
// } mode;
|
||||||
} mode;
|
// int nDoS;
|
||||||
int nDoS;
|
// std::string strRejectReason;
|
||||||
std::string strRejectReason;
|
// unsigned char chRejectCode;
|
||||||
unsigned char chRejectCode;
|
// bool corruptionPossible;
|
||||||
bool corruptionPossible;
|
//}
|
||||||
}
|
|
||||||
*/
|
|
||||||
// CValidationState valid;
|
// CValidationState valid;
|
||||||
// ssValue >> valid;
|
// ssValue >> valid;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue