Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent stuck download: correct solution #1196

Merged
merged 1 commit into from May 6, 2012
Merged

Conversation

sipa
Copy link
Member

@sipa sipa commented May 5, 2012

Pull request #948 introduced a fix for nodes stuck on a long side branch of the main chain. The fix was non-functional however, as the additional getdata request was created in a first step of processing, but dropped
in a second step as it was considered redundant. This commits fixes it by sending the request directly.

Pull request bitcoin#948 introduced a fix for nodes stuck on a long side branch
of the main chain. The fix was non-functional however, as the additional
getdata request was created in a first step of processing, but dropped
in a second step as it was considered redundant. This commits fixes it
by sending the request directly.
@gmaxwell
Copy link
Contributor

gmaxwell commented May 6, 2012

Pulling to master to get some more testing on it quickly.

gmaxwell added a commit that referenced this pull request May 6, 2012
Prevent stuck download: correct solution
@gmaxwell gmaxwell merged commit f49d4f0 into bitcoin:master May 6, 2012
coblee pushed a commit to litecoin-project/litecoin that referenced this pull request Jul 17, 2012
Prevent stuck download: correct solution
@sipa sipa deleted the fix_948 branch June 23, 2017 00:43
suprnurd pushed a commit to chaincoin-legacy/chaincoin that referenced this pull request Dec 5, 2017
* Fix rate checks for governance objects

* Do not update last vote time when rate checks are disabled

* Bump governance serialization version
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Jan 22, 2019
…elay fee (bitcoin#1196)

* Move variable initializations for the mempool limiter to main.h

This is a move only, no other changes.

* Make the DEFAULT_MAXLIMITERTXFEE equal to the DEFAULT_MIN_RELAY_TX_FEE

This way we will not trample on zero-conf since our limiter will by
default not rise higher than the min relay fee defaults. However
operators can still manually change their mempool limiter settings to
whatever policy they wish to enforce.

* Clarify naming of maxFeeCutoff and initFeeCutoff

use the naming of dMaxLimiterTxFee and dMinLimiterTxFee to denote
these variables. This make the code easier to read.

* Make both minlimitertxfee and maxlimtertxfee tweaks.

* for clarity change feeCutoff to nMinRelay

* Add critcal section cs_limiter

Although we don't need this now because cs_main locks this section
we will in the future need this when we reduce the scope of cs_main
in accepttomemorypoolworker.

* fix format

* Fix log output message for nMinRelay

We were not actually printing out the correct value which led
to a great deal of confusion as to why the values were drifting
when they shouldn't be.

* Use Tweak version of maxlimitertxfee and minlimitertxfee only

* Always set minRelayTxFee in init.cpp

* Move UnlimitedSetup() to the beginning of AppInit2

* Fix fundrawtransaction.py

We need to launch the nodes with a minlimitertxfee=1.0 so that we
have a relayfee of 1000 sat per KB othewise this test will not work.

* Remove redundant nLastTime assignment.
@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.

None yet

3 participants