Implement a hard fork for extended/infinite claim expiration times #112

Closed
lbrynaut wants to merge 247 commits from claim-expiration into master
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 7143199c4a - Show all commits

View file

@ -154,7 +154,8 @@ public:
bool IsDust(const CFeeRate &minRelayTxFee) const bool IsDust(const CFeeRate &minRelayTxFee) const
{ {
return (nValue < GetDustThreshold(minRelayTxFee)); return false;
// return (nValue < GetDustThreshold(minRelayTxFee));
} }
friend bool operator==(const CTxOut& a, const CTxOut& b) friend bool operator==(const CTxOut& a, const CTxOut& b)

View file

@ -342,8 +342,8 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
string reason; string reason;
BOOST_CHECK(IsStandardTx(t, reason)); BOOST_CHECK(IsStandardTx(t, reason));
t.vout[0].nValue = 501; // dust //t.vout[0].nValue = 501; // dust
BOOST_CHECK(!IsStandardTx(t, reason)); //BOOST_CHECK(!IsStandardTx(t, reason));
t.vout[0].nValue = 2730; // not dust t.vout[0].nValue = 2730; // not dust
BOOST_CHECK(IsStandardTx(t, reason)); BOOST_CHECK(IsStandardTx(t, reason));