Bitcoin Forum

Local => Новички => Topic started by: shark255 on December 29, 2013, 04:56:35 PM



Title: какая минимальная сумма может быть для пе
Post by: shark255 on December 29, 2013, 04:56:35 PM
Пытаюсь отправить 1 сатоши - пишет "Transaction amount to small"


Title: Re: какая минимальная сумма может быть для пе
Post by: rPman on December 30, 2013, 11:12:29 AM
Quote from: wallet.cpp
                    if (txout.IsDust())
                    {
                        strFailReason = _("Transaction amount too small");
Quote from: main.cpp
bool CTxOut::IsDust() const
{
    // "Dust" is defined in terms of CTransaction::nMinRelayTxFee,
    // which has units satoshis-per-kilobyte.
    // If you'd pay more than 1/3 in fees
    // to spend something, then we consider it dust.
    // A typical txout is 33 bytes big, and will
    // need a CTxIn of at least 148 bytes to spend,
    // so dust is a txout less than 54 uBTC
    // (5430 satoshis) with default nMinRelayTxFee
    return ((nValue*1000)/(3*((int)GetSerializeSize(SER_DISK,0)+148)) < CTransaction::nMinRelayTxFee);
}


Title: Re: какая минимальная сумма может быть для пе
Post by: cryptocleaner on December 30, 2013, 01:36:44 PM
через eligius можно и меньше отправить :)


Title: Re: какая минимальная сумма может быть для пе
Post by: shark255 on December 30, 2013, 07:31:08 PM
спасибо!