tx mempool start, hello packet
This commit is contained in:
@@ -561,8 +561,15 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
|
||||
free(block); // Chain stores block by value and owns copied transaction array.
|
||||
|
||||
if (i % 1000 == 0) {
|
||||
// Mid-mine flush
|
||||
(void)FlushChainAndSheet(chain, chainDataDir, currentSupply, currentReward);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (minedAll) {
|
||||
(void)FlushChainAndSheet(chain, chainDataDir, currentSupply, currentReward);
|
||||
printf("mine finished and chain flushed\n");
|
||||
|
||||
Reference in New Issue
Block a user