Skip to content

Commit

Permalink
clean orphan blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
soldate committed Sep 14, 2020
1 parent 2dcee62 commit 9c1aa46
Show file tree
Hide file tree
Showing 141 changed files with 1 addition and 1 deletion.
Binary file removed data/blockchain/000000000001_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003511_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003511_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003544_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003544_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003580_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003580_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003596_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003596_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003597_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003601_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003609_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003613_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003614_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003619_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003619_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003625_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003625_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003630_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003630_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003632_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003632_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003633_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003633_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003634_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003635_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003635_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003635_3.block
Binary file not shown.
Binary file removed data/blockchain/000000003635_4.block
Binary file not shown.
Binary file removed data/blockchain/000000003636_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003637_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003637_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003638_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003644_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003644_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003645_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003645_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003648_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003648_3.block
Binary file not shown.
Binary file modified data/blockchain/000000003649_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003649_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003649_3.block
Binary file not shown.
Binary file modified data/blockchain/000000003652_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003652_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003653_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003653_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003653_3.block
Binary file not shown.
Binary file removed data/blockchain/000000003655_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003656_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003662_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003663_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003663_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003663_3.block
Binary file not shown.
Binary file modified data/blockchain/000000003665_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003665_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003665_3.block
Binary file not shown.
Binary file removed data/blockchain/000000003666_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003667_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003668_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003668_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003671_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003671_3.block
Binary file not shown.
Binary file removed data/blockchain/000000003672_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003673_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003673_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003673_3.block
Binary file not shown.
Binary file removed data/blockchain/000000003674_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003675_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003676_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003676_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003678_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003678_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003679_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003680_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003680_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003680_3.block
Binary file not shown.
Binary file modified data/blockchain/000000003681_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003681_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003681_3.block
Binary file not shown.
Binary file modified data/blockchain/000000003685_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003685_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003686_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003686_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003686_3.block
Binary file not shown.
Binary file modified data/blockchain/000000003687_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003687_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003688_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003688_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003689_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003690_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003690_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003690_3.block
Binary file not shown.
Binary file modified data/blockchain/000000003691_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003691_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003691_3.block
Binary file not shown.
Binary file removed data/blockchain/000000003692_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003693_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003694_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003694_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003696_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003698_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003698_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003698_3.block
Binary file not shown.
Binary file modified data/blockchain/000000003700_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003700_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003701_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003702_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003703_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003703_2.block
Binary file not shown.
Binary file modified data/blockchain/000000003709_1.block
Binary file not shown.
Binary file removed data/blockchain/000000003709_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003715_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003716_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003717_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003718_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003719_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003720_2.block
Binary file not shown.
Binary file removed data/blockchain/000000003721_2.block
Binary file not shown.
Binary file modified data/blockchain/000000006414_1.block
Binary file not shown.
Binary file removed data/blockchain/000000006414_2.block
Binary file not shown.
Binary file modified data/blockchain/000000006415_1.block
Binary file not shown.
Binary file removed data/blockchain/000000006415_2.block
Binary file not shown.
Binary file modified data/blockchain/000000006416_1.block
Binary file not shown.
Binary file removed data/blockchain/000000006416_2.block
Binary file not shown.
Binary file modified data/blockchain/000000006431_1.block
Binary file not shown.
Binary file removed data/blockchain/000000006431_2.block
Binary file not shown.
Binary file modified data/blockchain/000000006436_1.block
Binary file not shown.
Binary file removed data/blockchain/000000006436_2.block
Binary file not shown.
Binary file modified data/blockchain/000000006437_1.block
Binary file not shown.
Binary file removed data/blockchain/000000006437_2.block
Binary file not shown.
Binary file removed data/blockchain/000000006450_2.block
Binary file not shown.
Binary file modified data/blockchain/000000006461_1.block
Binary file not shown.
Binary file removed data/blockchain/000000006461_2.block
Binary file not shown.
Binary file modified data/blockchain/000000006481_1.block
Binary file not shown.
Binary file removed data/blockchain/000000006481_2.block
Binary file not shown.
Binary file modified data/blockchain/000000006495_1.block
Binary file not shown.
Binary file removed data/blockchain/000000006495_2.block
Binary file not shown.
Binary file removed data/blockchain/000000006522_2.block
Binary file not shown.
Binary file modified data/blockchain/000000006530_1.block
Binary file not shown.
Binary file removed data/blockchain/000000006530_2.block
Binary file not shown.
2 changes: 1 addition & 1 deletion src/mbtc/BUG.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private static void cleanOrphanBlocks() throws InvalidKeyException, NoSuchAlgori
}

private static void renameBlocks() {
for (long i = 1; i < 4000; i++) {
for (long i = 1; i < 7000; i++) {
for (int j = 2; j < 10; j++) {
final String fileName = B.getBlockFileName(i, j);
if (new File(fileName).exists()) {
Expand Down

0 comments on commit 9c1aa46

Please sign in to comment.