Bugfix: fForRelay should be false when deciding required fee to include in blocks
authorLuke Dashjr <luke-jr+git@utopios.org>
Wed, 14 Dec 2011 06:03:55 +0000 (01:03 -0500)
committerLuke Dashjr <luke-jr+git@utopios.org>
Tue, 20 Dec 2011 22:05:04 +0000 (17:05 -0500)
commit027d149352bc25f0f37363da95a0b4c723100f63
tree3a1ddf6bfabf6acd590158b651ffe19f9f6c8f86
parent987f26aa1aeb2b3c546ada41ae4eab6bdee7099c
Bugfix: fForRelay should be false when deciding required fee to include in blocks

During the rushed transition from 0.01 BTC to 0.0005 BTC fees, we took the
approach of dropping the relay and block-inclusion fee to 0.0005 BTC
immediately, and only delayed adjusting the sending fee for the next release.
Afterward, the relay fee was lowered to 0.0001 BTC to avoid having the same
problem in the future. However, the block inclusion code was left setting
fForRelay to true! This fixes that, so the lower 0.0001 BTC allowance is (as
intended) only permitted for real relaying.
src/main.cpp