Closed

Help RESOLVE Error! LoadExternalBlockFile: Deserialize or I/O error Bitcoin Code Error

Need an EXPERT DEV to help resolve issue.

Trying to do is trying to add merged mining (AuxPow) to a code base used by bitcoin/litecoin.

However, we are running into the following error:

>> LoadExternalBlockFile: Deserialize or I/O error - Read attempted past buffer limit: iostream error

This error comes from:

>> streams.h, near line 626 in the "read" method of CBufferedFile.

When trying to read a block with AuxPow, the relevant local variables in "read" are:

>> nsize 32, nReadPos 755, nReadLimit 776

The code base where most of the changes happen related to this happen in block.h:

Code:

// Copyright (c) 2009-2010 Satoshi Nakamoto

// Copyright (c) 2009-2016 The Bitcoin Core developers

// Distributed under the MIT software license, see the accompanying

// file COPYING or [url removed, login to view]

#ifndef BITCOIN_PRIMITIVES_BLOCK_H

#define BITCOIN_PRIMITIVES_BLOCK_H

#include "primitives/transaction.h"

#include "serialize.h"

#include "uint256.h"

/** Nodes collect new transactions into a block, hash them into a hash tree,

* and scan through nonce values to make the block's hash satisfy proof-of-work

* requirements. When they solve the proof-of-work, they broadcast the block

* to everyone and the block is added to the block chain. The first transaction

* in the block is a special one that creates a new coin owned by the creator

* of the block.

*/

class CAuxMerkleBranch : public CMutableTransaction

{

public:

uint256 hashBlock;

std::vector<uint256> vMerkleBranch;

int nIndex;

// memory only

mutable bool fMerkleVerified;

CAuxMerkleBranch()

{

Init();

Skills: Bitcoin, Blockchain, C Programming, Cryptography, Debugging

See more: low cost digital i o usb labview, labview cheap i o board, i want free bitcoin, i. o. metro, i o check freelancer, google help me out please i want to write an essay from my mom and dad about how much i love them and i care about them and i wa, plz help me i am a hard working man need a job, i have a web site and need help with seo keywords meta tags in cavite, modbus rtu i/o, i/o, i/o board, i have a local football association need a logo help, i am an undocumented immigrant artist need need help brooklyn, i am a clothes desinger an need help making my dress, verilog system block code error management, php code error, magento can apply coupon code error, embed code error clipshare, error 404 code, vb code error detection

About the Employer:
( 55 reviews ) boston, United States

Project ID: #15928965

1 freelancer is bidding on average $30 for this job

Codingtech1

Hi, I have gone check your projects descriptions so I can do it perfectly. I have completed lot of projects with Bitcoin, Blockchain, Programming which is related to your projects descriptions. Relevant Skills and Exp More

$30 USD in 3 days
(0 Reviews)
0.0