Importing the Blockchain to Electroneum CLI

In principle I agree, but I believe the export height of the official is only 200000

Btw, do you know the height of this official export ?

When the official blockchain.raw has height 350000 - 400000, I will take down my file

I would recommend verify on, since my export is not official.

Here is a 4 months old reddit-link on the topic:

1 Like

I downloaded this blockchain.raw September 2018, if update was pushed of new image, it could be bigger now.
image
image

1 Like

I’m seeing current blockchain.raw from https://downloads.electroneum.com/blockchain.raw is over 13GB which should hold more than 323k blocks, its nice to see it updated.

1 Like

Now the offical blockchain.raw has 390876! Much appreciated, the download speed was lightning fast. Thanks :smile:

2 Likes

Thanks, I’ll remove the download-link to my unofficial .raw
Everyone should use the official trusted source.

The ETN Team is also working on a new checksum feature to speed up import :+1:

2 Likes

there is error what can i do ?

I get the same error. I think it is with blockchain.raw file. It needs to be updated for the latest changes. @Rach can you please update this file?

@rebvari @MJ138

Unable to sync blockchain

i am using the lastest Electroneum 3.0.0.0 from github downloaded

everytime i am getting this error .

help us to solve it .

log :

2019-07-13 05:04:12.776 8868 INFO logging contrib/epee/src/mlog.cpp:148 New log categories: *:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO
2019-07-13 05:04:12.777 8868 INFO logging contrib/epee/src/mlog.cpp:148 New log categories: *:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO,bcutil:INFO
2019-07-13 05:04:12.777 8868 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:801 Starting…
2019-07-13 05:04:12.778 8868 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:836 database: lmdb
2019-07-13 05:04:12.778 8868 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:837 database flags: 0
2019-07-13 05:04:12.779 8868 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:838 verify: false
2019-07-13 05:04:12.779 8868 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:842 batch: true batch size: 20000
2019-07-13 05:04:12.779 8868 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:848 resume: true
2019-07-13 05:04:12.779 8868 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:849 testnet: false
2019-07-13 05:04:12.781 8868 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:851 bootstrap file path: D:\Electronumeblockchain.raw
2019-07-13 05:04:12.782 8868 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:852 database path: C:\ProgramData\electroneum
2019-07-13 05:04:13.544 8868 WARN global src/blockchain_utilities/blockchain_import.cpp:862 e[1;31m
Import is set to proceed WITHOUT VERIFICATION.
This is a DANGEROUS operation: if the file was tampered with in transit, or obtained from a malicious source,
you could end up with a compromised database. It is recommended to NOT use --verify 0.


You have 20 seconds to press ^C or terminate this program before unverified import starts
*****************************************************************************************e[0m
2019-07-13 05:04:33.547 8868 INFO global src/cryptonote_core/cryptonote_core.cpp:343 Loading blockchain from folder C:\ProgramData\electroneum\lmdb …
2019-07-13 05:04:33.550 8868 WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:73 Failed to open lmdb environment: Input/output error
2019-07-13 05:04:33.550 8868 ERROR cn src/cryptonote_core/cryptonote_core.cpp:419 Error opening database: Failed to open lmdb environment: Input/output error
2019-07-13 05:06:13.039 8964 INFO logging contrib/epee/src/mlog.cpp:148 New log categories: *:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO
2019-07-13 05:06:13.039 8964 INFO logging contrib/epee/src/mlog.cpp:148 New log categories: *:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO,bcutil:INFO
2019-07-13 05:06:13.040 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:801 Starting…
2019-07-13 05:06:13.040 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:836 database: lmdb
2019-07-13 05:06:13.040 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:837 database flags: 0
2019-07-13 05:06:13.041 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:838 verify: false
2019-07-13 05:06:13.041 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:842 batch: true batch size: 20000
2019-07-13 05:06:13.042 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:848 resume: true
2019-07-13 05:06:13.042 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:849 testnet: false
2019-07-13 05:06:13.044 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:851 bootstrap file path: D:\Electronume\blockchain.raw
2019-07-13 05:06:13.045 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:852 database path: C:\ProgramData\electroneum
2019-07-13 05:06:13.776 8964 WARN global src/blockchain_utilities/blockchain_import.cpp:862 e[1;31m
Import is set to proceed WITHOUT VERIFICATION.
This is a DANGEROUS operation: if the file was tampered with in transit, or obtained from a malicious source,
you could end up with a compromised database. It is recommended to NOT use --verify 0.


You have 20 seconds to press ^C or terminate this program before unverified import starts
*****************************************************************************************e[0m
2019-07-13 05:06:33.778 8964 INFO global src/cryptonote_core/cryptonote_core.cpp:343 Loading blockchain from folder C:\ProgramData\electroneum\lmdb …
2019-07-13 05:06:33.784 8964 INFO global src/cryptonote_core/cryptonote_core.cpp:441 Loading checkpoints
2019-07-13 05:06:33.785 8964 WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:2775 WARNING: batch transaction mode already enabled, but asked to enable batch mode
2019-07-13 05:06:33.786 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:348 bootstrap file recognized
2019-07-13 05:06:33.786 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:358 bootstrap::file_info size: 4
2019-07-13 05:06:33.788 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:369 bootstrap file v0.1
2019-07-13 05:06:33.788 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:370 bootstrap magic size: 4
2019-07-13 05:06:33.789 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:371 bootstrap header size: 1024
2019-07-13 05:06:33.789 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:468 Scanning blockchain from bootstrap file…
2019-07-13 05:08:51.443 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:292 bootstrap file last block number: 588985 (zero-based height) total blocks: 588986
2019-07-13 05:08:51.455 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:348 bootstrap file recognized
2019-07-13 05:08:51.455 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:358 bootstrap::file_info size: 4
2019-07-13 05:08:51.456 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:369 bootstrap file v0.1
2019-07-13 05:08:51.456 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:370 bootstrap magic size: 4
2019-07-13 05:08:51.457 8964 INFO bcutil src/blockchain_utilities/bootstrap_file.cpp:371 bootstrap header size: 1024
2019-07-13 05:08:51.458 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:336 start block: 1 stop block: 588985
2019-07-13 05:08:51.458 8964 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:340 Reading blockchain from bootstrap file…
2019-07-13 05:08:54.919 8964 INFO global src/blockchain_db/lmdb/db_lmdb.cpp:577 [batch] DB resize needed
2019-07-13 05:08:54.920 8964 INFO global src/blockchain_db/lmdb/db_lmdb.cpp:497 LMDB Mapsize increased. Old: 1024MiB, New: 4174MiB
2019-07-13 05:08:54.973 8964 FATAL bcutil src/blockchain_utilities/blockchain_import.cpp:549 exception while reading from file, height=1: Error in deserialization of chunk

told u bro i use those last verson of electroneum

also use Blockchain Data : [blockchain]
(https://downloads.electroneum.com/blockchain.raw)

1 Like

Has the raw blockchain been updated yet?

2 Likes

Dont think so, people are still complaining about failed imports

1 Like

Ah ok,… will be updated when updated I guess :joy:

1 Like

import was successfully just when i open electroneud its said this error

its import log :

2019-07-14 13:14:14.660 12464 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:647 Starting…
2019-07-14 13:14:14.660 12464 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:682 database: lmdb
2019-07-14 13:14:14.660 12464 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:683 database flags: 0
2019-07-14 13:14:14.660 12464 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:684 verify: true
2019-07-14 13:14:14.660 12464 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:688 batch: true batch size: 5000
2019-07-14 13:14:14.660 12464 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:694 resume: true
2019-07-14 13:14:14.660 12464 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:695 testnet: false
2019-07-14 13:14:14.660 12464 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:697 bootstrap file path: C:\ProgramData\electroneum\export\blockchain.raw
2019-07-14 13:14:14.660 12464 INFO bcutil src/blockchain_utilities/blockchain_import.cpp:698 database path: C:\ProgramData\electroneum
2019-07-14 13:14:14.666 12464 INFO global src/cryptonote_core/cryptonote_core.cpp:324 Loading blockchain from folder C:\ProgramData\electroneum\lmdb …
2019-07-14 13:14:14.670 12464 WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:73 Failed to open lmdb environment: Input/output error
2019071413:14:14.670 12464 ERROR cn src/cryptonote_core/cryptonote_core.cpp:400 Error opening database: Failed to open lmdb environment: Input/output error

at last i find old version of electroneud for importing block chain
it solved
but when i start_mining its writing :
Error: mining has NOT been started: daemon is busy. Please try again later.

Dear @rebvari

Perhaps you did not realize but Electroneum has forked to the new Moderated Blockchain, The new Proof of Responsibility github files can be found here

I would strongly suggest that you watch the announcement video and read the announcement post.

It seems you are still trying to mine electroneum, which is no longer available.

Thanks
M

2 Likes

help pls Downloading blockchain through gui wallet

Mined last year before ETN pulled the plug for miners. I have to do taxes on these coins mined. Importing blockchain sticks at height 675000 / 847344. One thread is at 100% in task manager.

Using most recent Binary Version 3.2.0.0 Proof Of Responsibility.

What are my options, I don’t have time left now to do this the slow way or the slow way and that hangs as well. Why is this even a problem? Probably the most important aspect of any coin is uber reliable tools to the blockchain.

Moved the downloaded blockchain.raw to the same directory as the wallet
Open Console as Administrator
Put in the following command:
electroneum-blockchain-import --input-file blockchain.raw --dangerous-unverified-import 0

It read the blocks up to 847345, it started processing the blocks, looked like batches but it has stopped at block 675000. It created directory in C:\ProgramData\electroneum\Imdb with two files:
data.mdb which grew to over 38gb
lock.mdb 8kb

There is over 809gb of free space left on the SSD as a note for all of these files.

So what do I do now? Thanks

Well I closed the console for Electroneum-blockchain-import and started electroneumd.exe, it started at around block 600000, so I have most of the blockchain loaded. It is now loading the rest of the blocks at a really fast rate. So if no other problems, I should be OK.

1 Like