Skip to content

Conversation

sipa
Copy link
Member

@sipa sipa commented Aug 21, 2012

In -loadblock mode, ProcessBlock() is called without node to retrieve parents from, if needed. In this case, prefer to not store orphans as all, as they would just linger in RAM.

@Diapolo
Copy link

Diapolo commented Aug 21, 2012

Does this cleanup orphan blocks stored in our block-files when re-importing them as new block-files?

@gavinandresen
Copy link
Contributor

ACK

@sipa
Copy link
Member Author

sipa commented Aug 21, 2012

@Diapolo Normally, block files do not contain orphan blocks (by which i mean blocks that have no known parent), they do have chains of stale chains that got reorganised away (which is what I assume you're talking about). This only prevents real orphan blocks from being imported.

@jgarzik
Copy link
Contributor

jgarzik commented Aug 21, 2012

ACK

@BitcoinPullTester
Copy link

Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/5c88e3c108f8bbe0edbcd88b3f48e3eaf611cd7c for binaries and test log.

sipa added a commit that referenced this pull request Aug 22, 2012
Do not accept orphan blocks in -loadblock mode
@sipa sipa merged commit 1a3dcca into bitcoin:master Aug 22, 2012
suprnurd pushed a commit to chaincoin-legacy/chaincoin that referenced this pull request Dec 5, 2017
* fix edge case for IS (skip inputs that are too large)

* fix
suprnurd pushed a commit to chaincoin-legacy/chaincoin that referenced this pull request Dec 5, 2017
owlhooter pushed a commit to owlhooter/mazacoin-new that referenced this pull request Oct 10, 2018
…et (bitcoin#1819)

bitcoin#1695 introduced a fix for a instant send related edge case. Somehow the
parameters got mixed up and fUseInstantSend was passed as "iterations".
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants