As otherwise, a bootstrap.dat over 2 GiB in size will fail to fopen(), let alone being able to seek in it.
Build with -D_FILE_OFFSET_BITS=64 on 32-bit Linux #2203
issue sipa opened this issue on January 22, 2013-
sipa commented at 11:33 PM on January 22, 2013: member
-
Diapolo commented at 7:24 AM on January 23, 2013: none
Isn't that size limit also there on Windows?
-
sipa commented at 10:33 AM on January 23, 2013: member
Just concatenate some block files.
-
Diapolo commented at 10:44 AM on January 23, 2013: none
Any way to do this in Windows, I dunno how ;). And you are talking about pre 0.8 block-files I guess (which I still have as I use the latest 0.7.2 for my main wallet).
-
sipa commented at 10:45 AM on January 23, 2013: member
Block file format didn't change (and the gaps caused by pre-allocation don't matter).
Install cygwin, run "cat blk*.dat >bootstrap.dat" ?
-
Diapolo commented at 10:53 AM on January 23, 2013: none
You are right, I forgot, that there was no format change ^^. Beat me, but cat is nothing I've ever heard of :-P.
-
sipa commented at 11:26 AM on January 23, 2013: member
cat = unix command to concatenate files :)
-
Diapolo commented at 12:38 PM on January 23, 2013: none
Importing now... resulting file size after cat is >6GB.
-
sipa commented at 7:03 PM on January 23, 2013: member
@gavinandresen DId you ever try importing a >2GiB file on 32-bit OSX builds?
-
gavinandresen commented at 1:34 AM on January 24, 2013: contributor
Importing >2GB file works fine on 32-bit OSX, at least with git HEAD.
- sipa closed this on Apr 23, 2013
- DrahtBot locked this on Sep 8, 2021
Contributors