Author

Topic: какая минимальная сумма может быть для пе&#10 (Read 512 times)

full member
Activity: 224
Merit: 100
newbie
Activity: 21
Merit: 0
через eligius можно и меньше отправить Smiley
legendary
Activity: 1120
Merit: 1069
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);
}
full member
Activity: 224
Merit: 100
Пытаюсь отправить 1 сатоши - пишет "Transaction amount to small"
Jump to: