Add -loadblock to load from an external blk000?.dat file #883

pull sipa wants to merge 1 commits into bitcoin:master from sipa:loadblock changing 4 files +72 −3
  1. sipa commented at 1:59 pm on February 22, 2012: member
    It scans through the file for valid block signatures, and processes them one by one.
  2. gavinandresen commented at 3:33 pm on February 22, 2012: contributor
    ACK, good idea.
  3. Diapolo commented at 12:50 pm on April 6, 2012: none
    Is this safe or leaves it a possibility to get a manipulated chain somehow?
  4. sipa commented at 1:03 pm on April 6, 2012: member
    It processes the blocks found in the file exactly as if they were received via the network.
  5. luke-jr commented at 2:42 am on April 10, 2012: member
    Needs rebasing. Sipa broke everything using locks. >_<
  6. -loadblock to load from an external blk000?.dat file 1d740055da
  7. in src/main.cpp: in 8e1404a17d outdated
    2065+                    }
    2066+                }
    2067+            }
    2068+        }
    2069+        catch (std::exception &e) 
    2070+        {
    


    laanwj commented at 7:08 pm on April 12, 2012:
    I think it’d be better to print a message here, silently ignoring errors makes me nervous

    Diapolo commented at 9:00 pm on April 12, 2012:
    +1
  8. gmaxwell referenced this in commit f1ae31d8af on May 8, 2012
  9. gmaxwell merged this on May 8, 2012
  10. gmaxwell closed this on May 8, 2012

  11. coblee referenced this in commit d1f9bda3fd on Jul 17, 2012
  12. destenson referenced this in commit 2252f30a66 on Jun 26, 2016
  13. ptschip referenced this in commit f0179da42f on Jan 5, 2018
  14. dexX7 referenced this in commit 4c9abdecf5 on Apr 3, 2019
  15. MarcoFalke referenced this in commit 98958c81f5 on Jun 17, 2019
  16. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-18 21:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me