Pieter Wuille
18379c8087
Add disk space checks before flushing CCoins cache
2013-01-30 03:56:45 +01:00
Pieter Wuille
86c82bf9d0
Treat coinbase value violation as DoS
2013-01-30 03:56:44 +01:00
Pieter Wuille
ef3988ca36
CValidationState framework
2013-01-30 03:56:44 +01:00
Jeff Garzik
2835080e16
Merge pull request #2231 from sipa/cleanups
...
Two cleanups before 0.8
2013-01-29 18:08:12 -08:00
Jeff Garzik
699bc3d14d
Merge pull request #2234 from gavinandresen/seednodes
...
New seed nodes, from http://bitcoin.sipa.be/seeds.txt
2013-01-29 18:07:30 -08:00
Gavin Andresen
74fbb151de
New seed nodes, from http://bitcoin.sipa.be/seeds.txt
2013-01-29 17:53:02 -05:00
Pieter Wuille
8fdc94cc8f
Rename database directories
2013-01-28 21:08:05 +01:00
Pieter Wuille
d0809a1925
Remove support for pre-checksum undo files
2013-01-28 21:07:56 +01:00
Gavin Andresen
79bec38cb4
Merge pull request #1549 from TheBlueMatt/addnoderpc
...
Addnode optimization and addnode access via RPC
2013-01-28 11:09:03 -08:00
Gavin Andresen
f73abdc82d
Merge pull request #2223 from gavinandresen/nonfinalnonstandard
...
Treat non-final transactions as non-standard
2013-01-28 07:56:58 -08:00
Matt Corallo
f2bd6c28e6
Try more than the first address for a DNS -addnode.
2013-01-27 03:03:04 -05:00
Matt Corallo
67a11bd6c5
Add a getaddednodeinfo RPC.
2013-01-27 03:03:04 -05:00
Matt Corallo
72a348fd9a
Add addnode RPC command.
2013-01-27 03:03:04 -05:00
Matt Corallo
f339e9e339
Make ThreadOpenAddedConnections2 exit quicker if(GetNameProxy()).
2013-01-27 03:03:04 -05:00
Matt Corallo
74088e862e
Use a copy in place of mapMultiArgs["-addnode"].
...
Also moves the DNS lookup of -addnode nodes into the repeated
loop, allowing -addnode to follow DNS changes.
2013-01-27 03:03:04 -05:00
Jeff Garzik
0d3d6094fa
Merge pull request #2162 from gavinandresen/spendfrom
...
spendfrom.py sends coins from a particular address or addresses
2013-01-26 12:13:39 -08:00
Gavin Andresen
6f8730752c
Treat non-final transactions as non-standard
...
At least one service that accepted zero-confirmation transactions
was vulnerable because an attacker could send a transaction
with a lock time far in the future, and then have plenty of time in
which to get a double-spend mined (perhaps from a miner who wasn't
on the network when the first transaction was broadcast).
That is a variation on the "Finney attack". We still don't
recommend anybody accept 0-confirmation transactions as final
payment for anything. This change keeps non-final transactions
from appearing in the wallet, and, assuming most of the network
accepts this change, will prevent them from being relayed until
they are final.
2013-01-26 14:38:40 -05:00
Gavin Andresen
434fa60d75
Merge pull request #2182 from gavinandresen/addressoracle
...
Remove IsFromMe() check in CTxMemPool::accept()
2013-01-26 11:27:48 -08:00
Gavin Andresen
bb5181fcc2
Merge pull request #2222 from sipa/check288
...
Check only 288 blocks at startup by default
2013-01-26 10:42:52 -08:00
Pieter Wuille
56869fc07c
Check only 288 blocks at startup by default
2013-01-26 18:57:07 +01:00
Wladimir J. van der Laan
71eccdeaff
Merge pull request #2213 from Diapolo/translations
...
full translations update
2013-01-26 05:02:38 -08:00
Philip Kaufmann
d001476cbc
full translations update
...
- fetch current translations from Transifex
- update bitcoinstrings.cpp and bitcoin_en.ts
2013-01-26 01:40:42 +01:00
Gavin Andresen
63cc7661a5
Merge pull request #2168 from sipa/txindex
...
Add optional transaction index to databases
2013-01-25 12:55:52 -08:00
Gavin Andresen
dba91a9a67
spendfrom.py sends coins from a particular address or addresses
...
Should be both useful and also a pretty good demonstration of
using the raw transactions API.
2013-01-24 20:04:18 -05:00
Gavin Andresen
d3ab598fd5
Merge pull request #2207 from gavinandresen/leveldb19
...
Leveldb19
2013-01-24 08:26:20 -08:00
Gavin Andresen
9c9f5c1303
Let limitfreerelay=0 reject ALL free transactions
2013-01-23 20:24:10 -05:00
Wladimir J. van der Laan
05e5e15887
Merge pull request #2165 from Diapolo/Qt_addrbook_cleanup
...
Bitcoin-Qt: cleanup / optimise addressbookpage
2013-01-23 14:33:31 -08:00
Philip Kaufmann
bb0726a8cf
Bitcoin-Qt: cleanup / optimise addressbookpage
...
- don't show QR Code context menu, when USE_QRCODE=1 was not specified
when compiling the client
- re-work on_showQRCode_clicked() for better readability and remove an
unneeded duplicate check
- re-work on_signMessage_clicked() and on_verifyMessage_clicked() to match
foreach in on_showQRCode_clicked(), which seems more robust / cleaner
- re-order context menu stuff to match real context menu layout
- add comments for all private slots in the class
2013-01-23 22:41:28 +01:00
David Grogan
36311b9a19
Fix corruption bug found and analyzed by dhruba@gmail.com
...
https://groups.google.com/d/msg/leveldb/Kc9JxuIUu5A/9P0N9RL4ar8J
2013-01-23 14:00:29 -05:00
Sanjay Ghemawat
f79ddf24a9
added utility to dump leveldb files
2013-01-23 14:00:29 -05:00
Gavin Andresen
09c69c03f7
Merge pull request #2187 from CodeShark/SyncWithWalletsFix
...
Bugfix - Moved SyncWithWallets out of ProcessMessage and into CTxMemPool::accept()
2013-01-23 09:29:01 -08:00
Gavin Andresen
b1024662ea
Port leveldb to MinGW32
...
Several changes to make the native windows leveldb code compile
with mingw32 and run on 32-bit Windows:
* Remove -std=c++0x dependency (modified code to use NULL instead of
nullptr)
* Link with -lshlwapi
* Only #define snprintf/etc if compiling with Visual Studio
* Do not link against DbgHelp.lib (wrote a CreateDir instead of using
DbgHelp's MakeSureDirectoryPathExists
* Define WINVER=0x0500 so MinGW32 can use the 64-bit-filesystem Windows
api calls
* Define __USE_MINGW_ANSI_STDIO=1 to use MinGW's printf (which supports
%ll)
I also cleaned up makefile.mingw, assuming that dependencies would be in
the standard /usr/local/{include,lib} by default but allowing overriding
with make DEPSDIR=... etc
2013-01-23 10:42:46 -05:00
Pieter Wuille
8aef119f43
Mingw support for Windows LevelDB port
2013-01-23 10:41:44 -05:00
Pieter Wuille
960797a0de
Pre-Vista leveldb::port::InitOnce implementation
2013-01-23 10:41:44 -05:00
Pieter Wuille
21f2ae7563
Native Windows LevelDB port
...
Import native Windows LevelDB port by Hiram Chirino.
Extracted from from https://github.com/chirino/leveldb.git using
git diff dd0d562..aea83b7
2013-01-23 10:41:44 -05:00
Pieter Wuille
00abfccc5d
Remove Snappy support
2013-01-23 10:41:44 -05:00
Pieter Wuille
4786302fb9
Replace leveldb/ with vanilla 1.7.0
2013-01-23 10:41:44 -05:00
Gavin Andresen
c429f2b062
Merge pull request #2114 from sipa/strictstrict
...
Make IsCanonicalScript() check the hash type more thoroughly
2013-01-23 07:08:55 -08:00
Gavin Andresen
5a4af8f71f
Merge pull request #2167 from Diapolo/Qt_laa_flag
...
enable GCC large address aware linker flag (Windows only)
2013-01-23 07:00:24 -08:00
Gavin Andresen
a337505bd7
Merge pull request #2192 from mikehearn/notfoundmsg
...
Add a notfound message to getdata.
2013-01-23 06:48:57 -08:00
Gavin Andresen
1a2e45d8d5
Merge pull request #2188 from TheBlueMatt/bloom
...
Send transactions after a CMerkleBlock when asked for it in an inv.
2013-01-23 06:48:17 -08:00
Gregory Maxwell
d40c164369
Merge pull request #1872 from gmaxwell/listaddrnotmine
...
In listaddressgroupings push down the IsMine check to run on each input.
2013-01-21 16:30:34 -08:00
Gavin Andresen
ea0a2b18f2
Merge pull request #2193 from Diapolo/Qt_parseBitcoinURI
...
Bitcoin-Qt: extend parseBitcoinURI() pre-check
2013-01-21 13:58:31 -08:00
Gavin Andresen
0d89669fe9
Merge pull request #2179 from gavinandresen/osx_codesign
...
Update mac packaging tool to create code-signed .app packages
2013-01-21 13:53:15 -08:00
Gavin Andresen
5fca58cb8e
Merge pull request #2190 from sipa/fixgenesis
...
Bugfix + simplify special case for genesis
2013-01-21 10:07:46 -08:00
Philip Kaufmann
446cbf5fe9
Bitcoin-Qt: extend parseBitcoinURI() pre-check
...
- add check to verify if an URI is valid
2013-01-21 07:48:54 +01:00
Wladimir J. van der Laan
7327716a95
Merge pull request #2194 from Diapolo/UTF8-bitcoinrpc.cpp
...
make bitcoinrpc.cpp UTF-8 conformant again
2013-01-20 12:36:17 -08:00
Philip Kaufmann
6e65420bd5
make bitcoinrpc.cpp UTF-8 conformant again
...
- just replaces a character in a comment, which I had problems with when
opening the file in Qt Creator IDE
2013-01-20 18:50:30 +01:00
Mike Hearn
903d146030
Add a notfound message to getdata that is sent if any transactions that aren't in the relayable set are requested.
2013-01-19 18:48:26 +01:00
Wladimir J. van der Laan
bd85cf3df7
Merge pull request #2157 from Diapolo/Qt_addrlist
...
Bitcoin-Qt: fix known addressbook bugs
2013-01-19 06:32:40 -08:00