- Move CPU capabilities detection from init.cpp to scrypt.cpp
- scrypt_1024_1_1_256_sp is defined as a macro: no need to check for SSE2
every time it is used
- Test correctness of both scrypt-generic and scrypt-sse2
osx 10.9 changed the default stdlib to libc++. You may need to compile with libstdc++ to prevent some errors. At the same time, boost should be compiled use a cxxflag '-stdlib=libstdc++'
DUST_SOFT_LIMIT of 0.001 means a penalty of an additional mintxfee
is charged for each output smaller than 0.001. This is a key
behavioral disincentive in Litecoin's anti-spam design.
DUST_HARD_LIMIT of 0.00001 means inputs smaller than this size are
ignored by the wallet, not available to coin selection and
effectively do not exist. This too discourages spam.
This is the first step in making the high priority transaction area
available to more people. Future versions of Litecoin will eventually
reduce this to 1KB per tx to match Bitcoin 0.8.6+. We decline to
make that drastic of a reduction now as currently p2pool miners have
too much dust to combine.
Litecoin plays an active role in p2pool development to make this less
of a problem. Litecoin helped p2pool version 13 to reduce the
frequency of dust payouts and increase the smallest dust size to be
roughly 5x bigger. An upcoming version of p2pool is expected to
eliminate a lot more dust payouts.
Modified-from: 9612e4c0d9730dbdb9971e53c72df17dd97daa2a
CWalletTx::AddSupportingTransactions() was adding empty transaction
to vtxPrev in some cases. Skip over these.
Part one of the solution to #3190. This prevents invalid vtxPrev from
entering the wallet, but not current ones being transmitted.