Find Jobs
Hire Freelancers

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

$10-30 USD

Closed
Posted over 6 years ago

$10-30 USD

Paid on delivery
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 [login to view URL] #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();
Project ID: 15928965

About the project

Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
boston, United States
5.0
49
Payment method verified
Member since Jul 7, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.