Commit Graph

4339 Commits

Author SHA1 Message Date
Warren Togami
bacaa46b0a Litecoin: Release Notes for 0.8.6.2 2014-01-09 15:29:46 -10:00
Warren Togami
5b17393890 Upgrade gitian win32 to boost-1.55.
Fixes issue where all network activity just stops.
2014-01-09 15:23:04 -10:00
Nikolay Belikov
d781651e4c Litecoin: More straightforward SSE2 detection
- 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
2014-01-09 15:23:04 -10:00
Mr.Coder
4a96ed8039 Update makefile.osx to prevent some compiling errors under osx 10.9
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++'
2014-01-09 15:23:04 -10:00
Sejntcior
e955fa8971 Fix QT5 compatibility for Coin Control
Adapted from https://github.com/bitcoin/bitcoin/pull/3267
2014-01-09 15:23:04 -10:00
Matthieu Caneill
a921cd224c Add: requirement libupnpc-dev for Debian, in readme-qt
This library is needed on Debian and Ubuntu, unless the flag
to omit UPnP support is set.
2014-01-09 05:55:50 -10:00
Barry Allard
50f246e747 Litecoin: s/Bit/Lite/-coin.app 2014-01-09 05:54:16 -10:00
Barry Allard
375d8e9a4e [osx] update contrib/homebrew/bitcoin.qt.pro.patch from old OpenSSL -> modern OpenSSL via homebrew 2014-01-09 05:53:45 -10:00
rolf vreijdenberger
983aa861dd Litecoin: Coin Control cosmetic s/Bitcoin/Litecoin/ 2014-01-09 05:34:37 -10:00
rolf vreijdenberger
afbb2a32c9 Litecoin: bitrpc.py cosmetic s/Bitcoin/Litecoin/ 2014-01-09 05:31:24 -10:00
Warren Togami
88e2a2e898 Litecoin v0.8.6.1 2013-12-05 22:52:50 -10:00
Warren Togami
7cc3c0a9c0 Litecoin: Reduce default mintxfee to 0.001 2013-12-05 22:50:36 -10:00
Warren Togami
3ba60fe898 Litecoin: Release Notes for 0.8.6.1 2013-12-05 22:48:57 -10:00
pooler
9f8986dec4 Litecoin: Update pnSeed array 2013-12-05 22:48:56 -10:00
Warren Togami
def3c9e53b Litecoin: Reduce Dust thresholds by 10x
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.
2013-12-04 20:36:51 -10:00
Warren Togami
3d538f0a92 Litecoin: Reduce high priority tx size limit to 5KB (from 10KB)
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
2013-12-04 20:36:51 -10:00
Warren Togami
80aa7891ec Litecoin: Reduce prioritysize from 27KB to 17KB 2013-12-04 20:36:51 -10:00
Warren Togami
75c6b1ad12 Litecoin: Checkpoint at block 456000 2013-12-04 20:36:51 -10:00
Warren Togami
91a94eb4ea LevelDB: use PosixWriteableFile only on MacOS X
mmap is proven on the other platforms, we are not changing it at
the last moment before release.
2013-12-04 20:36:51 -10:00
Patrick Strateman
648c6f4510 dont use mmap in leveldb, this is a marginal performance hit
fail on short writes

Ensure new files referred to by the manifest are in the filesystem.
2013-12-04 20:36:51 -10:00
theuni
cb75107c7d leveldb: Use native Darwin memory barriers 2013-12-04 20:36:50 -10:00
Wladimir J. van der Laan
8f16782290 Prevent empty transactions from being added to vtxPrev
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.
2013-12-04 20:36:50 -10:00
Wladimir J. van der Laan
f1e8edc966 Refuse to retransmit transactions without vins
Versions of bitcoin before 0.8.6 have a bug that inserted
empty transactions into the vtxPrev in the wallet, which will cause the node to be
banned when retransmitted, hence add a check for !tx.vin.empty()
before RelayTransaction.
2013-12-04 20:36:50 -10:00
Wladimir J. van der Laan
bf7e6d69bf qt: use deleteLater to remove send entries
Use deleteLater() instead of delete, as it is not allowed
to delete widgets directly in an event handler.
Should solve the MacOSX random crashes on send with coincontrol.

Rebased-From: 6c98cca9e4
2013-12-03 22:09:16 -10:00
Philip Kaufmann
4b2d42ec3f Bitcoin-Qt: Fix display of window when bitcoin: URI is opened
WalletView:
- add new signal showNormalIfMinimized()
- emit the new signal in handleURI() to fix a bug, preventing the main
  window to show up when using bitcoin: URIs

Upstream: dbc0a6aba2
2013-11-28 12:34:27 -10:00
Timothy Stranex
f7daed9062 Fix typo in a comment: it's base58, not base48. 2013-11-28 12:34:27 -10:00
Wladimir J. van der Laan
7bc8d0d22a Create parent directories if needed in GetDataDir
One-line change. Fixes #2752.
2013-11-28 12:34:26 -10:00
Gregory Maxwell
9cb728a3bd Make the rand tests determinstic. (fixes #2714)
This avoids spurious errors with the old tests but still tests
 enough that if the rng is replaced with a totally broken one
 it should still fail.
2013-11-28 12:34:26 -10:00
Philip Kaufmann
a950202bde fix invalid conversion error with MinGW 4.8.1 in net.cpp
- fixes src\net.cpp:1601: Error:invalid conversion from 'void*' to
  'const char*' [-fpermissive] in a setsockopt() call on Win32 that was
  found by using MinGW 4.8.1 compiler suite
2013-11-28 12:34:26 -10:00
Luke Dashjr
68a488fbcc Bugfix: Move boost/version include from db.cpp to walletdb.cpp where BOOST_VERSION is used 2013-11-28 12:34:26 -10:00
Mike Hearn
8f8761519c Store and use a sanitized subVer
Rebased-from: a946aa8d3e
2013-11-27 22:28:40 -10:00
Gavin Andresen
cb063df2fe Refactor: pull alert string sanitization into util
Rebased-from: 17faf56262
2013-11-27 22:28:40 -10:00
theuni
33a35d217b qt: restore icon dock menu
This was removed by 25c0cce7f. It was apparently removed in qt5, but
may return for 5.1.
2013-11-27 22:28:40 -10:00
theuni
e3de4e6417 Fix uninitialized variable added in b33b9a6fe
After discussing with BlueMatt, this appears to be harmless in its
current state since it's always set before it's used. Initialize it
anyway for readability and future safety.

Rebased-from: 106f133de6
2013-11-25 22:39:24 -10:00
Matt Corallo
8ede0c3460 Fix comparison tool by asking for blocks more aggressively
Rebased-from: b33b9a6fef
2013-11-25 22:39:17 -10:00
Warren Togami
8809504863 Merge pull request #89 from pooler/more_logging
Add some additional logging to give extra network insight.
2013-11-23 04:58:23 -08:00
Cozz Lovan
e9e6262c0e Coin Control improvements October 25th, 2013
* code nits
 * introduced GUIUtil::setClipboard
 * calling getBalance(coinControl) now in walletmodel.cpp
 * replaced "WARNING" with "Warning"
 * added notr="true" to ui non translatable strings
2013-11-22 23:54:13 -10:00
Warren Togami
72b4e39c09 Litecoin: Adjust Coin Control for 0.8.5 for Litecoin
Display the correct fee including the per output sub-CENT dust penalty.
2013-11-22 23:54:13 -10:00
Cozz Lovan
9bec9feb87 Coin Control Features for Bitcoin 0.8.5
* fix transaction timezone display bug in output selection
* excluding Bitcoin 0.9 changes for #3008 and #2945
* merged src/wallet.cpp for nMinimumInputValue (mininput)
2013-11-22 23:54:13 -10:00
Mike Hearn
ab48dd1d17 Add some additional logging to give extra network insight. 2013-11-22 13:08:02 +01:00
Wladimir J. van der Laan
99f3d18b62 qt: GUI support for -disablewallet mode
Rebased-from: 8121047b20f6486bf049e642c3e6ca61682ffdd9
2013-11-14 00:44:49 -10:00
Warren Togami
cdd76fa878 Litecoin: getworkex: CreateNewBlock() scriptPubKey argument instead of key 2013-11-14 00:44:49 -10:00
Jeff Garzik
4e111e0a8f Add -disablewallet option, to disable wallet support (and BDB)
Conflicts:
	src/init.cpp

Rebased-from: 5d4f3a1f0cbdf52257b41ea09d175c0018ad9434
2013-11-14 00:44:49 -10:00
Jeff Garzik
ebabf7571f init.cpp: cosmetic indent changes, preparing for no-wallet
Rebased-from: 520cc05b89aae5fed155482d5fa66b4290487d55

Conflicts:
	src/init.cpp
2013-11-14 00:44:49 -10:00
Jeff Garzik
a7909372bd RPC validateaddress: test pwalletMain for NULL (no-wallet mode)
Conflicts:
	src/rpcwallet.cpp

Rebased-from: b878f6a92436e3facd700e2e10c04f541cd6421b
2013-11-14 00:44:49 -10:00
Jeff Garzik
a288878a00 Support absence of wallet (pwalletMain==NULL) in several locations,
notably RPC.

Conflicts:
	src/init.cpp
	src/rpcmining.cpp
	src/rpcwallet.cpp
	src/bitcoinrpc.cpp

Rebased-from: 541a7fcd515a27ebaa3ae5f1a9a698dab3db6ead
2013-11-14 00:44:49 -10:00
Jeff Garzik
fbf54fb6da miner: constify CreateNewBlock() arg scriptPubKeyIn
Conflicts:
	src/miner.cpp
	src/miner.h

Rebased-from: ad7d7cde5d30bcbfa7803c90daac7297b8a55e42
2013-11-14 00:44:49 -10:00
Jeff Garzik
6333bf9629 RPC: getblocktemplate does not require a key, to create a block template
getblocktemplate only uses certain portions of the coinbase transaction,
notably ignoring the coinbase TX output entirely.

Use CreateNewBlock() rather than CreateNewBlockWithKey(), eliminating
the needless key passing.

Should be zero behavior changes.
2013-11-14 00:44:49 -10:00
Jeff Garzik
b3060a26d0 CreateNewBlock() now takes scriptPubKey argument,
rather than a key.

CreateNewBlockWithKey() helper is added to restore existing functionality,
making this an equivalent-transformation change.

Conflicts:
	src/miner.cpp
	src/miner.h

Rebased-from: fcc32b7b9ce5bc310cbad677da7e7bca3a01459a
2013-11-14 00:44:49 -10:00
Jeff Garzik
02aa46394d RPC: add 'verifychain', to verify chain database at runtime 2013-11-14 00:44:48 -10:00