Warren Togami
267715362c
Litecoin: getworkex DEPRECATED - will be removed in TBD future version
...
Who wrote this? Earliest reference is from litecoin-0.5.x
638f9b1b src/bitcoinrpc.cpp (Alex 2012-02-15 22:53:27 +0400
2013-07-06 21:05:07 -10:00
coblee
164ae00f46
Litecoin: Fix zeitgeist2 attack thanks to Lolcust and ArtForz. This fixes an issue where a 51% attack can change difficulty at will. Go back the full period unless it's the first retarget after genesis.
2013-07-06 21:05:07 -10:00
coblee
db4d8e21d9
Litecoin: improve dust spamming prevention algorithm to add base fee for each output that's less than a CENT
2013-07-06 21:05:07 -10:00
coblee
5e17fcb020
Litecoin: Reduce amount that peers can adjust our time to eliminate an attack vector.
2013-07-06 21:05:06 -10:00
coblee
2db43142bc
Litecoin: Add mininput to deal with dust spam. By default, mininput is set to 0.0001. This means that create transaction will ignore any transactions with an output value less than 0.0001. You can override the default by passing in -mininput on startup or by calling setmininput.
...
Historically this patch allowed wallets to perform without delay after the dust spam attack during November 2011.
2013-07-06 21:05:06 -10:00
coblee
3da6dc7302
Litecoin: getnetworkhashps
2013-07-06 21:05:06 -10:00
coblee
0b646aed42
Litecoin: Protocol, genesis and parameters * 2.5 minute average between blocks * 3.5 days between diff changes * 84 million coin limit * Addresses begin with L
2013-07-06 21:05:06 -10:00
Warren Togami
9b5ca659e4
Litecoin: Default TCP ports, mainnet 9333 testnet 19333 RPC ports, mainnet 9332 testnet 19332
2013-07-06 21:05:06 -10:00
pooler
d6e580d43f
Litecoin: Adapt scrypt code to C++
2013-07-06 21:05:06 -10:00
Warren Togami
2acab1baf1
Litecoin: Scrypt n=1024 Pow hash based upon Colin Percival's Tarnsnap (2009)
...
Modified by Artforz, coblee, and pooler
2013-07-06 21:05:06 -10:00
Warren Togami
9ab59ab97a
Litecoin: CLIENT_VERSION_IS_RELEASE = false
2013-07-06 21:05:05 -10:00
Jeff Garzik
cb3076a3da
Log reason for non-standard transaction rejection
2013-07-05 23:53:06 -10:00
Gavin Andresen
b018b7f25c
README for contrib/debian
2013-07-05 23:51:41 -10:00
Gavin Andresen
8535ecba70
Fix Gnome bitcoin: URI handler
2013-07-05 23:51:41 -10:00
Pieter Wuille
3b0b36e380
Fix build date for from-tarball builds
2013-07-05 23:51:41 -10:00
Pieter Wuille
44cada7590
Initialize database before checking changed txindex
...
In case no database exists yet, and -txindex(=1) is passed, we currently first
check whether fTxIndex differs from -txindex (and ask the user to reindex in
that case), and only afterwards initialize the database. By swapping these
around (the initialization is a no-op in case the database already exists),
we allow it to be born in txindex mode, without warning.
That also means we don't need to check -reindex anymore, as the wiping/reinit
of the databases happens before checking.
2013-07-05 23:51:41 -10:00
theuni
f85096b30a
fixed: don't use thread::sleep_for where it's known to be broken
...
Fixes #2690 .
2013-07-05 23:51:41 -10:00
theuni
8ae8e62355
fixed: include boost header as necessary
...
Without this include, sometimes BOOST_VERSION was defined and sometimes
it was not, depending on which includes came before it. The result was a
random mix of sleep or sleep_for for boost versions >= 1.50.
2013-07-05 23:51:41 -10:00
Philip Kaufmann
53542dc9a7
allow txindex to be removed and add a reindex dialog
...
- adds a reindex dialog for Bitcoin-Qt to change -txindex without the need
to supply -reindex
- now also does a -reindex, when removing the -txindex switch
2013-07-04 03:17:52 -10:00
Cory Fields
e5bd319136
osx: fix bitcoin-qt startup crash when clicking dock icon
...
Crash probably introduced by 4d17a1b0
.
Inialize the window to NULL and verify it before use.
2013-07-04 03:16:12 -10:00
Wladimir J. van der Laan
f948663a80
Qt5 compatibility
...
This commit squashes all the changes in the Qt5 branch
relative to master.
Backward compatibility with Qt4 is retained.
Original authors:
- Philip Kaufmann <phil.kaufmann@t-online.de>
- Jonas Schnelli <jonas.schnelli@include7.ch>
2013-07-04 03:14:42 -10:00
Jonas Schnelli
c21beff608
MaxOSX: settings fixes ( #2371 )
...
- Launch-At-Startup implementation for mac
- Remove "Window" tab in settings
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-07-04 03:13:16 -10:00
Timon Rapp
4cea72e806
Added NSHighResolutionCapable flag to Info.plist for better font rendering on Retina displays.
2013-07-04 03:09:35 -10:00
Philip Kaufmann
5536b22b8d
remove obsolete and unused typedef for Windows
2013-07-04 03:07:53 -10:00
Jonas Schnelli
896c509dac
osx: make use of the 10.8+ user notification center to display growl like notifications
...
- if 10.8, use user notification center, if <10.8, use growl
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-07-04 03:06:59 -10:00
Robert Backhaus
c2954a117b
Don't attempt to resize vector to negative size.
2013-07-04 03:04:57 -10:00
Pieter Wuille
9ee8ffcca7
Check for correct genesis
...
At startup, check that the expected genesis is loaded. This should prevent
cases where accidentally a datadir from the wrong network is loaded
(testnet vs mainnet, e.g.).
2013-07-04 03:02:16 -10:00
Pieter Wuille
f346774f5a
Make signature cache store CPubKeys
2013-07-04 03:00:58 -10:00
Pieter Wuille
05d5ef46ba
CSecret/CKey -> CKey/CPubKey split/refactor
2013-07-04 03:00:32 -10:00
Pieter Wuille
029c52edb5
Make CPubKey statically allocated
2013-07-04 03:00:12 -10:00
Andrey
16a2acc92d
Updated help and tests for getreceivedby(account|address)
2013-07-04 02:58:49 -10:00
Andrey
b48905fa29
listreceivedbyaddress now provides tx ids (issue #1149 )
2013-07-04 02:58:42 -10:00
Daniel Larimer
f237d48e50
Fix memory leak on exception in Key::SignCompact
2013-07-04 02:54:15 -10:00
Daniel Larimer
806cf82716
fix memory leak in CKey::SetCompactSignature()
2013-07-04 02:54:05 -10:00
Robert Backhaus
5251d4450c
Explictly cast calculation to int, to allow std::max to work.
2013-07-04 02:50:25 -10:00
Gavin Andresen
40809aed65
Bump version numbers for 0.8.3 release
2013-06-25 10:27:24 -04:00
Pieter Wuille
65c20dbf55
Dump addresses every 15 minutes instead of 10 seconds
2013-06-25 10:21:02 -04:00
Peter Todd
7cc960f8f5
Truncate oversize 'tx' messages before relaying/storing.
...
Fixes a memory exhaustion attack on low-memory peers.
2013-06-25 09:59:31 -04:00
Wladimir J. van der Laan
09e437ba4e
Merge pull request #2696 from robbak/util_h-Add_stdarg_include
...
Explicitly #include stdarg.h, for access to va_list
2013-05-25 08:48:25 -07:00
Gavin Andresen
ef9acc5124
Bump build number to 0.8.2.2 for v0.8.2rc3
2013-05-24 16:11:44 -04:00
Gavin Andresen
378c526ee1
Merge pull request #2683 from Diapolo/translations
...
translations update 2013-05-23
2013-05-24 13:07:36 -07:00
Gavin Andresen
dbc6dea1b2
Fix crash-at-shutdown if exiting before initializing wallet
2013-05-24 15:52:52 -04:00
Gavin Andresen
8ab6d0a568
All-resolution pixmap, to make win32 builds determisitic again
2013-05-24 15:46:00 -04:00
Gavin Andresen
1472a2991b
Merge pull request #2688 from gavinandresen/issue2687
...
Clean up mining CReserveKey to prevent crash at shutdown
2013-05-24 12:41:04 -07:00
Robert Backhaus
65ec9eab2b
Explicitly #include stdarg.h, for access to va_list
2013-05-24 23:45:08 +10:00
Gavin Andresen
36e826cea1
Clean up mining CReserveKey to prevent crash at shutdown
...
Fixes issue#2687
2013-05-23 14:17:15 -04:00
Philip Kaufmann
6a2da2ba96
translations update 2013-05-23
...
- integrates current translations from Transifex
2013-05-23 08:39:31 +02:00
Gavin Andresen
36dc41f427
doc/README was replaced by README.md
2013-05-22 17:21:12 -04:00
Gregory Maxwell
95c2ba1689
Merge pull request #2682 from sipa/morewalletbb
...
More bestblock records in wallets
2013-05-22 14:01:31 -07:00
Gavin Andresen
0c4434cf77
Merge pull request #2652 from gavinandresen/version_0.8.2_final
...
Set CLIENT_VERSION_IS_RELEASE, bump build to 0.8.2.1
2013-05-22 13:23:38 -07:00