Gavin Andresen
0a4e67afad
Bump client version number for 0.7.0rc3
2012-09-12 14:07:22 -04:00
Gavin Andresen
b3295cd283
Merge pull request #1822 from sipa/fix_ipv6_rpc
...
Do not abort if RPC listening for IPv6 fails
2012-09-12 11:02:40 -07:00
Pieter Wuille
c1d79812f4
Do not abort if RPC listening for IPv6 fails
...
Instead, fall back to IPv4 listening.
2012-09-12 16:45:09 +02:00
Gavin Andresen
d078739965
Merge branch 'bip30_harder' of git://github.com/gmaxwell/bitcoin
2012-09-12 10:20:46 -04:00
Wladimir J. van der Laan
8b1eb5687d
Merge pull request #1755 from osmosis79/patch-1
...
Update doc/build-unix.txt
2012-09-11 11:55:29 -07:00
osmosis
a21bdda7ad
Cleanup on doc/build-unix.txt
2012-09-11 10:47:12 -07:00
Gregory Maxwell
ab91bf39b7
Apply BIP30 checks to all blocks except the two historic violations.
...
Matt pointed out some time ago that there existed a minor DOS
attack where a node in its initial block download could be wedged
by an overwrite attack in a fork created between checkpoints before
a time where BIP30 was enforced. Now that the BIP30 timestamp
is irreversibly past the check can be more aggressive and apply to
all blocks except the two historic violations.
2012-09-09 20:11:04 -04:00
Wladimir J. van der Laan
0e08efc54a
Merge pull request #1808 from laanwj/2012_09_serialize_deadcode
...
Remove VC6 comment and pointless #ifdef'd benchmark code
2012-09-09 11:20:04 -07:00
Wladimir J. van der Laan
b019ea17ec
Remove VC6 comment and pointless #ifdef'd benchmark code
...
We're in a wholly different world now, C++-compiler-wise.
Current std::stringstream implementations don't have the stated problem anymore,
and are just as fast as CDataStream.
The #ifdef'd block does not even compile anymore; CDataStream constructor changed,
and missing some std::. Also timing in whole seconds is also way too granular
to say anything sensible in such microbenchmarks. Just remove it,
it can always be found again in git history.
2012-09-09 17:24:00 +02:00
Wladimir J. van der Laan
eabc8f2c81
Merge pull request #1803 from luke-jr/md2k7_license
...
Apply MIT license to md2k7 art
2012-09-09 01:58:00 -07:00
Wladimir J. van der Laan
d8ecd21ff7
Merge pull request #1802 from luke-jr/bugfix_ts
...
Update translations from Transifex (100% coverage for Finnish and Chinese (China)
2012-09-09 00:04:03 -07:00
Luke Dashjr
23a44a7ad6
Apply MIT license to md2k7 art
...
[21:48:14] <md2k7> feel free to make it MIT if you like
2012-09-08 21:51:52 +00:00
Luke Dashjr
85eb1e7e56
Update translations from Transifex (100% coverage for Finnish and Chinese (China)
2012-09-08 20:32:54 +00:00
Wladimir J. van der Laan
31fac119dc
Merge pull request #1796 from luke-jr/bugfix_ts
...
Various translation fixups and restorations
2012-09-07 22:15:19 -07:00
Luke Dashjr
4ee706243c
Partially Bugfix: Update English translation strings and translations from Transifex
...
Bugfix: Correct doubled-up &amp; in translations
Bugfix: Remove extra spaces after ampersand in translations (this fixes hotkeys)
Restore copyright translations, now split up
Restore old translations lost due to changes to English structure
Skipped: ca_ES et eu_ES fr_CA (under 10% coverage)
2012-09-08 04:59:13 +00:00
Wladimir J. van der Laan
5cb01b5714
Merge pull request #1799 from Diapolo/release-notes
...
small update to release-notes.txt
2012-09-07 07:44:08 -07:00
Philip Kaufmann
2dc953274d
small update to release-notes.txt
2012-09-07 16:33:50 +02:00
Wladimir J. van der Laan
db1967957d
Merge pull request #1798 from xanatos/patch-19
...
Wrong address added to collection in test (address1 instead of address2)
2012-09-07 07:13:23 -07:00
Wladimir J. van der Laan
7b1504ccb8
Merge pull request #1683 from Diapolo/Qt_Win_exe_version
...
Bitcoin-Qt (Windows only): add version info to Resource File
2012-09-07 07:12:58 -07:00
Philip Kaufmann
f875921176
Bitcoin-Qt (Windows only): add version info to Resource File
...
- add version information to bitcoin-qt.rc, which is displayed on Windows, when looking in the executable properties and selecting "Details"
- introduce a new clientversion.h (used in bitcoin-qt.rc to generate
version information), which takes only the version defines from
version.h and is included in it (to allow usage with the windres rc-file
compiler)
- move #define STRINGIFY(s) #s into clientversion.h as that is used in
bitcoin-qt.rc and rename to DO_STRINGIZE(X)
- add #define STRINGIZE(X) DO_STRINGIZE(X), which is needed to convert the
version defines into a version string in the rc-file
- this ensures we only need to update 1 file and have bitcoin-qt.exe
version information
- for RC-file documentation see:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx
2012-09-07 16:08:18 +02:00
xanatos
af8c050bff
Wrong address added to collection in test
...
The wrong address is added to the collection. As was written a second copy of address1 was added (and so address2 was useless).
2012-09-07 16:04:39 +03:00
Wladimir J. van der Laan
b9a4aaad1e
Merge pull request #1726 from laanwj/2012_08_gitian_qt_styles
...
Remove unused styles on Windows from gitian qt build
2012-09-06 23:34:43 -07:00
Wladimir J. van der Laan
f106491fa2
Merge pull request #1786 from jgarzik/select-fix
...
select()'s first argument should be zero, if no file descriptors are selected
2012-09-06 23:30:22 -07:00
Gavin Andresen
1913b6e2fc
Fix double-paren typo
2012-09-06 16:29:59 -04:00
Gavin Andresen
3c28b335af
Minor build documentation fix
2012-09-06 16:27:39 -04:00
Gavin Andresen
004fa1441c
Merge branch 'master' of github.com:bitcoin/bitcoin
2012-09-06 16:27:08 -04:00
Gavin Andresen
4dc89fa875
Build doc updates
2012-09-06 15:51:16 -04:00
Wladimir J. van der Laan
97e02a8d52
Merge pull request #1792 from Diapolo/rem_double_errfunc
...
replace 2x WSAGetLastError() with 1x WSAGetLastError() call
2012-09-05 22:15:38 -07:00
Gavin Andresen
ace35a1997
Fix mac .dmg packager for latest macports qt4
2012-09-05 17:54:37 -04:00
Philip Kaufmann
4bd34b4966
replace 2x WSAGetLastError() with 1x WSAGetLastError() call
2012-09-05 22:20:26 +02:00
Jeff Garzik
2387944782
select(): Use precise fd presence check, rather than imprecise hSocketMax test
2012-09-05 16:01:28 -04:00
Gavin Andresen
8788221761
Bump version number for 0.7.0rc2
2012-09-05 12:38:37 -04:00
Gavin Andresen
aeea5e2a2d
Minor documentation updates
2012-09-05 12:38:37 -04:00
Gavin Andresen
91c218a1cb
Merge branch 'testnet_alert' of git://github.com/gavinandresen/bitcoin-git
2012-09-05 11:38:38 -04:00
Gavin Andresen
21327ebe93
Update gitian build setup notes
2012-09-05 11:37:33 -04:00
Jeff Garzik
32416e380b
Merge pull request #1791 from xanatos/patch-18
...
Correct LoadWallet() return value (false -> DB_LOAD_OK)
2012-09-05 06:32:55 -07:00
xanatos
4f76be1dc5
Correct LoadWallet() return value (false -> DB_LOAD_OK)
...
Equivalent code. (false == 0 == DB_LOAD_OK). Fixes #1706 .
2012-09-05 11:32:13 +03:00
Jeff Garzik
e271c1d3d0
Merge pull request #1789 from Diapolo/fix_double_Startuptime
...
remove double logging of startup time, when !fLogTimestamps
2012-09-04 23:39:15 -07:00
Jeff Garzik
b930a2a6be
Merge pull request #1788 from Diapolo/fix_unsigned_BlockFilePath
...
fix signed/unsigned usage in BlockFilePath()
2012-09-04 23:38:37 -07:00
Philip Kaufmann
274b7ab123
remove double logging of startup time, when !fLogTimestamps
2012-09-05 08:36:50 +02:00
Philip Kaufmann
8d367c7e66
fix signed/unsigned usage in BlockFilePath()
2012-09-05 08:34:41 +02:00
Jeff Garzik
42613c97d5
Add block file naming helper, BlockFilePath()
2012-09-04 21:40:26 -04:00
Jeff Garzik
dcb14198bb
init.cpp: fix build error, and possibly-uninit'd warning
2012-09-04 12:24:08 -04:00
Jeff Garzik
38e8f282d2
Merge pull request #1427 from rebroad/StartTimeFix
...
No need to log start time if it's already being done on every line.
2012-09-04 09:10:47 -07:00
Jeff Garzik
2fd6f067db
Merge pull request #1777 from laanwj/2012_09_eliminate_sprintf
...
Remove last occurrence of potentially insecure function sprintf
2012-09-04 09:00:02 -07:00
Jeff Garzik
bec02998b4
Merge pull request #1779 from xanatos/patch-15
...
Useless vector declaration
2012-09-04 08:59:05 -07:00
Jeff Garzik
8c7b6c05db
Merge pull request #1738 from laanwj/2012_08_boostthread
...
implement CreateThread with boost::thread
2012-09-04 08:53:05 -07:00
Wladimir J. van der Laan
9d7da11458
Merge pull request #1743 from xanatos/patch-14
...
Changed nprev->pprev
2012-09-03 08:11:36 -07:00
Wladimir J. van der Laan
acbe4a1f32
Merge pull request #1728 from xanatos/patch-11
...
Removed duplicated lock
2012-09-03 08:00:18 -07:00
xanatos
89fbd1f11c
Useless vector declaration
...
The vector isn't referenced in the small code block it's declared. I don't see any "useful" side effect in its declaration.
2012-09-03 17:53:27 +03:00
Wladimir J. van der Laan
9c80909452
Remove last occurrence of potentially insecure function sprintf.
...
%d can return up to 11 characters. Move away from fixed buffer completely and
use our own safe function strprintf.
2012-09-03 16:18:16 +02:00
Gavin Andresen
eaf00a3a5d
Merge pull request #1774 from luke-jr/refactor_times
...
Bugfix: Require OrderedTxItems to provide properly scoped accounting entry list
2012-09-02 16:47:58 -07:00
Wladimir J. van der Laan
4d0c2b6cf4
Merge pull request #1761 from Diapolo/timeout_desc
...
add default value in -timeout description
2012-09-02 06:19:10 -07:00
Luke Dashjr
ddb709e9de
Bugfix: Require OrderedTxItems to provide properly scoped accounting entry list
...
OrderedTxItems returns a multimap of pointers, but needs a place to store the actual CAccountingEntries it points to.
It had been using a stack item, which was clobbered as soon as it returned, resulting in undefined behaviour.
This fixes at least bug #1768 .
2012-09-02 08:02:46 +00:00
Jeff Garzik
0e1be81a4a
Merge pull request #1771 from luke-jr/bugfix_bip22_mode
...
Bugfix: getblocktemplate: Accept optional "mode" parameter not being provided
2012-09-01 12:30:13 -07:00
R E Broadley
016178132e
No need to log start time if it's already being done on every line.
2012-09-01 14:24:33 +01:00
Luke Dashjr
0689a7eb9c
Bugfix: getblocktemplate: Accept optional "mode" parameter not being provided
2012-09-01 07:12:56 +00:00
Wladimir J. van der Laan
90489ae977
Merge pull request #1770 from laanwj/2012_08_rpcconsoleparsing2
...
RPC console: escaping within ' and " now handled differently
2012-09-01 00:10:00 -07:00
Wladimir J. van der Laan
9c94bdac06
RPC console: escaping within ' and " now handled differently
...
Should now mimic bash quoting and escaping (see http://wiki.bash-hackers.org/syntax/quoting ) exactly,
leaving out argument expansion and obscure syntax like $''.
2012-09-01 09:08:38 +02:00
Gregory Maxwell
ddbddcb31e
Merge pull request #1758 from laanwj/2012_08_uiconsole_parsing
...
Fix RPC console parser to handle escaped arguments more like bash
2012-08-31 22:50:23 -07:00
Wladimir J. van der Laan
b5c1467a7d
In RPC console, attempt to format errors
...
Try to display a nicer message instead of dumping raw JSON object when possible. If the error
somehow doesn't have the required 'code' and 'message' fields, fall back to printing raw JSON object.
2012-08-31 17:41:58 +02:00
Wladimir J. van der Laan
576b5efe93
Fix RPC console parser to handle escaped arguments more like bash
...
- Fix issue #1750
2012-08-31 17:23:48 +02:00
Jeff Garzik
c2cd13faa4
release-notes.txt: mention getmemorypool removal
2012-08-30 19:44:57 -04:00
Philip Kaufmann
d93e5986d7
add default value in -timeout description
2012-08-30 23:28:19 +02:00
Wladimir J. van der Laan
f78fd6f397
Merge pull request #1752 from Diapolo/bitcoind_ASLR_DEP
...
enable ASLR and DEP for bitcoind.exe via linker flags
2012-08-30 11:07:11 -07:00
Wladimir J. van der Laan
a65b53bf06
Merge pull request #1756 from Diapolo/pro_add_netbase_h
...
add missing netbase.h to Qt project-file
2012-08-30 10:20:32 -07:00
Philip Kaufmann
c3856bb011
add missing netbase.h to Qt project-file
2012-08-30 19:11:41 +02:00
Philip Kaufmann
a4d4403a75
enable ASLR and DEP for bitcoind.exe via linker flags
...
- this is already active for bitcoin-qt.exe
2012-08-29 22:22:04 +02:00
Wladimir J. van der Laan
4d1d94c56c
Rename CreateThread to NewThread
...
Prevent clash with win32 API symbol
2012-08-29 20:25:37 +02:00
Jeff Garzik
4445434a2d
Merge pull request #1745 from gmaxwell/irc_fixes
...
Misc IRC fixes.
2012-08-29 11:02:21 -07:00
Wladimir J. van der Laan
61d8507140
implement CreateThread with boost::thread
...
I'm not sure why this wasn't done before.
- Removes typedef of pthread_t on Windows, which fixes a native compile issue on mingw.
2012-08-29 20:02:07 +02:00
Wladimir J. van der Laan
74d36d44f2
Merge pull request #1754 from laanwj/2012_08_stringsupdate2
...
Update strings for 0.7.0rc2
2012-08-29 10:58:11 -07:00
Wladimir J. van der Laan
6117afeeaa
Update strings for 0.7.0rc2
2012-08-29 19:55:40 +02:00
Wladimir J. van der Laan
c7df832d7a
Merge pull request #1617 from Diapolo/Show_Hide_string
...
Update string for Show/Hide in the tray
2012-08-29 10:52:01 -07:00
Wladimir J. van der Laan
1b4bd4c976
Merge pull request #1731 from luke-jr/opt_ipv6
...
Optional IPv6 spaces cleanup
2012-08-29 10:50:46 -07:00
Wladimir J. van der Laan
fc52af2736
Merge pull request #1720 from Diapolo/Qt_about
...
Qt: add copyrightLabel to aboutdialog.ui
2012-08-29 10:50:17 -07:00
Wladimir J. van der Laan
29316f7bd0
Merge pull request #1751 from laanwj/2012_08_qtjsonspirit
...
Remove json/*.cpp from Qt build system
2012-08-28 23:30:46 -07:00
Wladimir J. van der Laan
3f37f20ddc
Remove json/*.cpp from Qt build system
...
They are unneeded as jsonspirit is always used as template library,
the other makefiles don't include them either.
2012-08-29 08:02:55 +02:00
Philip Kaufmann
e273c51287
Update string for Show/Hide in the tray
...
- be clear we don't "Show/Hide Bitcoins", but just the client window
- remove the tooltip for toggleHideAction as this is not shown anyway
- update a comment to be more general
2012-08-29 07:39:35 +02:00
Gregory Maxwell
6a60c64c6b
Don't retry a failing IRC nickname forever.
...
If our IRC nick is in use (because some other node thinks it has
the same address we think we have) don't fruitlessly try to reconnect
using that name forever. After three tries, give up and use a random
nick. Either we'll learn a new local address from IRC and switch
to that, or it was right and the other guy is advertising for us.
This avoids a pessimal case where a second testnet node behind
a nat is unable to get any peers because he can't get on IRC.
2012-08-28 22:04:38 -04:00
Gregory Maxwell
3595b18793
Don't force IRC off if not listening, do force it off if IPv4 is off.
...
Previously Bitcoin would refuse to use IRC if it was either not
accepting inbound connections or not making outbound. Instead this
changes it to not use IRC only if it's not doing either or if
IPv4 is off completely. If Bitcoin is not listening this will use
the default random nicks rather than the IP based ones.
2012-08-28 21:43:28 -04:00
Jeff Garzik
5f38875807
Merge pull request #1748 from sipa/bugfix_portinc
...
Bugfix: increase score, not port
2012-08-28 17:43:38 -07:00
Pieter Wuille
af4da4be3d
Bugfix: increase score, not port
2012-08-29 02:33:25 +02:00
Pieter Wuille
3588c91c7e
Small update to release notes regarding -seednode
2012-08-28 23:52:33 +02:00
Gavin Andresen
286dbba2d2
Give testnet it's own alert key.
2012-08-28 17:13:11 -04:00
Gavin Andresen
f35c6c4fb9
Refactor: move alert code from main to alert.cpp/h
2012-08-28 17:04:54 -04:00
xanatos
9eb7fc5842
Changed nprev->pprev
...
It should be pprev, because the next one is pnext, and it's printing the memory address of the CBlockIndex (so pSomething).
2012-08-28 23:25:52 +03:00
Jeff Garzik
06707dd610
Merge pull request #1741 from freewil/release-notes-remove-i2p
...
remove I2P support mention from release notes
2012-08-28 10:43:23 -07:00
Jeff Garzik
9c63fd8e76
Merge pull request #1739 from freewil/onlynet-release-notes
...
make use of -onlynet more clear in release notes
2012-08-28 10:41:55 -07:00
freewil
8ef51cf15c
remove I2P support mention from release notes
2012-08-28 13:39:48 -04:00
freewil
41b2856bd4
make use of -onlynet more clear in release notes
2012-08-28 13:33:32 -04:00
Wladimir J. van der Laan
e598b5b5c2
Remove unused styles on Windows from gitian qt build
...
Keeps the "windows", "windowsxp", "windowsvista" styles.
Reduces the size of a static bitcoin-qt.exe by ~400 kB.
2012-08-28 19:27:31 +02:00
Jeff Garzik
0d9556f948
Merge pull request #1733 from Diapolo/Qt_changelog
...
add Qt GUI part to release-notes.txt
2012-08-27 14:54:23 -07:00
Philip Kaufmann
4f6a85b3bd
add Qt GUI part to release-notes.txt
2012-08-27 23:52:45 +02:00
Luke Dashjr
0eeb54cb89
I forgot to paint the bike shed
2012-08-27 20:18:37 +00:00
Wladimir J. van der Laan
ba7ba84f07
Add boost chrono lib for windows builds (required for boost 1.50)
2012-08-27 22:16:24 +02:00
Jeff Garzik
f29eaee30a
Update release notes
2012-08-27 15:06:40 -04:00
Gavin Andresen
03fa53a640
Version numbers -> 0.7.0
2012-08-27 14:20:56 -04:00
Matt Corallo
a1755ec426
Upgrade to Boost 1.50
2012-08-27 14:20:56 -04:00
Gavin Andresen
fde5c34bd8
Merge branch 'alert_fix' of git://github.com/gavinandresen/bitcoin-git
2012-08-27 12:39:13 -04:00
Gavin Andresen
ef8e821cf2
Fix compiler warning on mac
2012-08-27 12:37:35 -04:00
Gavin Andresen
8cd98a9a26
Merge branch 'bugfix_gitian' of git://github.com/luke-jr/bitcoin
2012-08-27 11:52:56 -04:00
Gavin Andresen
ea2fda46c3
Special-case the last alert for alert-key-compromised case
...
Hard-code a special nId=max int alert, to be broadcast if the
alert key is ever compromised. It applies to all versions, never
expires, cancels all previous alerts, and has a fixed message:
URGENT: Alert key compromised, upgrade required
Variations are not allowed (ignored), so an attacker with
the private key cannot broadcast empty-message nId=max alerts.
2012-08-27 10:22:57 -04:00
xanatos
028ec224b8
Removed duplicated lock
...
Around line 167 there is already a LOCK(bitdb.cs_db) that covers everything. Re-locking is useless.
2012-08-27 15:08:20 +03:00
Luke Dashjr
d0377a70e2
Bugfix: Adjust gitian-win32 to use Boost 1.49 for real
2012-08-27 00:49:27 +00:00
Luke Dashjr
1837696580
Bugfix: Move boost::interprocess Win32 workaround to Bitcoin-Qt sources, rather than hacking boost in gitian
2012-08-27 00:49:23 +00:00
Gavin Andresen
d5a52d9b3e
Alert system DoS prevention
...
This fixes two alert system vulnerabilities found by
Sergio Lerner; you could send peers unlimited numbers
of invalid alert message to try to either fill up their
debug.log with messages and/or keep their CPU busy
checking signatures.
Fixed by disconnecting/banning peers if they send 10 or more
bad (invalid/expired/cancelled) alerts.
2012-08-26 17:08:18 -04:00
Gavin Andresen
772351b0d5
Merge branch '2012_08_progressbarwin' of git://github.com/laanwj/bitcoin
2012-08-25 11:14:11 -04:00
Gavin Andresen
9db9642db4
Merge branch 'nozeroout' of git://github.com/sipa/bitcoin
2012-08-25 11:05:59 -04:00
Gavin Andresen
b9c078ea96
Merge branch 'checkpoint'
2012-08-25 11:05:24 -04:00
Wladimir J. van der Laan
8f3f554053
Merge pull request #1724 from laanwj/2012_08_updtrans_cs
...
Update Czech translation from Transifex
2012-08-25 01:21:41 -07:00
Wladimir J. van der Laan
12324c1693
Update Czech translation from Transifex
2012-08-25 10:19:35 +02:00
Luke Dashjr
bc8d832335
Abstract all IPC communication to qtipcserver
2012-08-24 16:59:27 +00:00
Wladimir J. van der Laan
382b75f528
Override progress bar on platforms with segmented progress bars
...
Windows & WindowsXP style have a problem with displaying the block progress.
Add a custom stylesheet as workaround, but only when one of those renderers is active,
otherwise leave the theme alone (issue #1071 ).
2012-08-24 15:01:07 +02:00
Pieter Wuille
af1c6b93b7
Merge pull request #1699 from laanwj/2012_08_securealloc
...
Handle locked pages more robustly (Fixes issue #1462 )
2012-08-24 04:38:57 -07:00
Philip Kaufmann
9fd537965d
Qt: add copyrightLabel to aboutdialog.ui
...
- add a new label, which can be updated independently from the whole
license information stuff
- the benefit is, we don't need to re-translate that whole wall of text
every year the copyright info changes
- update to the same copyright string we use in the source and in the
bitcoin-qt.exe meta-data information
- removes an obsolete entry from the ui-file
2012-08-24 13:04:10 +02:00
Pieter Wuille
65ce215641
Make 0-value outputs non-standard
2012-08-24 12:15:12 +02:00
Gregory Maxwell
c68c4bc7a4
Merge pull request #1672 from gmaxwell/filter_listunspent
...
Listunspent txout address filtering and listaddressgroupings
2012-08-24 00:46:24 -07:00
Gregory Maxwell
b1093efa83
Change CWallet addressgrouping to use CTxDestination instead of strings.
...
This is cleanup for the listaddressgroupings code. Also add some
real help text.
2012-08-24 03:28:45 -04:00
Gregory Maxwell
bdab0cf58c
Avoid leaving return types or function attributes on their own lines.
2012-08-24 02:48:19 -04:00
Gregory Maxwell
0050cf21ce
Merge pull request #1409 from luke-jr/listtx_generate_fold
...
Treat generation (mined) transactions less different from receive transactions
2012-08-23 16:31:45 -07:00
Luke Dashjr
e07c8e9123
Treat generation (mined) transactions less different from receive transactions
...
- Show address receiving the generation, and include it in the correct "account"
- Multiple entries in listtransactions output if the coinbase has multiple outputs to us
2012-08-23 23:20:01 +00:00
Gregory Maxwell
1bcd3f26c0
Merge pull request #1431 from luke-jr/opt_ipv6
...
Make IPv6 support optional again (defaults to enabled)
2012-08-23 14:17:35 -07:00
Luke Dashjr
9655d73f49
Allow building with IPv6 support, but it disabled by default
2012-08-23 21:01:01 +00:00
Luke Dashjr
45beb88966
Bugfix: Make USE_UPNP=- work with makefile.{linux-mingw,mingw,osx} too
2012-08-23 21:00:57 +00:00
Luke Dashjr
e422bebbdc
Make IPv6 support buildtime-optional again (defaults to enabled)
2012-08-23 20:49:51 +00:00
Wladimir J. van der Laan
579d011738
Merge pull request #1713 from laanwj/2012_08_aboutqticon
...
Add icon for "About Qt" in menu
2012-08-23 13:03:14 -07:00
Wladimir J. van der Laan
05fa0de6d8
Add icon for "About Qt" in menu
...
Use the built-in icon that is also used in the dialog box itself.
2012-08-23 21:57:20 +02:00
Gregory Maxwell
92735bca31
Add txout address filtering to listunspent.
...
This applies on top of the coincontrol listaddressgroupings patch
and makes finding eligible outputs from the groups returned
by listaddressgroupings possible.
2012-08-23 15:55:50 -04:00
coderrr
22dfd73598
Add address groupings RPC from the coincontrol patches.
...
Signed-off-by: Gregory Maxwell <greg@xiph.org >
2012-08-23 15:55:42 -04:00
Gregory Maxwell
47753fa369
Merge pull request #1393 from luke-jr/refactor_times
...
Refactor transaction/accounting time
2012-08-23 12:38:50 -07:00
Luke Dashjr
c3f95ef13f
Choose reasonable "smart" times to display for transactions
...
Logic:
- If sending a transaction, assign its timestamp to the current time.
- If receiving a transaction outside a block, assign its timestamp to the current time.
- If receiving a block with a future timestamp, assign all its (not already known) transactions' timestamps to the current time.
- If receiving a block with a past timestamp, before the most recent known transaction (that we care about), assign all its (not already known) transactions' timestamps to the same timestamp as that most-recent-known transaction.
- If receiving a block with a past timestamp, but after the most recent known transaction, assign all its (not already known) transactions' timestamps to the block time.
2012-08-23 18:38:22 +00:00
Luke Dashjr
bdbfd2329a
JSON-RPC: Add "blocktime" and (for wallet transactions) "timereceived" to transaction Object outputs
2012-08-23 18:30:30 +00:00
Luke Dashjr
9c7722b7c5
Store a fixed order of transactions (and accounting) in the wallet
...
For backward compatibility, new accounting data is stored after a \0 in the comment string.
This way, old versions and third-party software should load and store them, but all actual use (listtransactions, for example) ignores it.
2012-08-23 18:18:20 +00:00
Jeff Garzik
cf78183fad
Merge pull request #1707 from xanatos/patch-7
...
Removed useless assignment
2012-08-23 06:41:02 -07:00
Pieter Wuille
de363e73ea
Merge pull request #1709 from xanatos/patch-10
...
Spaces in strings
2012-08-23 05:34:47 -07:00
xanatos
331544bc37
Spaces in strings
...
One added space + one removed space.
2012-08-23 15:19:13 +03:00
xanatos
b765385a3e
Removed useless assignment
...
nLoadWalletRet is already equal to DB_NEED_REWRITE (we are in an if)
2012-08-23 14:47:00 +03:00
Wladimir J. van der Laan
0b886ad1bd
Make CCrypter use LockedPageManager to manage locked pages
...
Replace direct calls to mlock.
Also, change the class to lock the memory areas in the constructor and unlock them again in the destructor. This makes sure that locked pages won't leak.
2012-08-23 06:55:35 +02:00
Wladimir J. van der Laan
e95568b78d
Handle locked pages more robustly (Fixes issue #1462 )
...
Memory locks do not stack, that is, pages which have been locked several times by calls to mlock()
will be unlocked by a single call to munlock(). This can result in keying material ending up in swap when
those functions are used naively. In this commit a class "LockedPageManager" is added
that simulates stacking memory locks by keeping a counter per page.
2012-08-23 06:55:35 +02:00
Wladimir J. van der Laan
fedd060d81
Merge pull request #1700 from laanwj/2012_08_testsotherfiles
...
bitcoin-qt.pro: Add test sources to OTHER_FILES
2012-08-22 10:49:38 -07:00
Gregory Maxwell
a159d6caf0
Merge pull request #1694 from sipa/fix_netloops
...
Fix infinite loops in connection logic
2012-08-22 07:15:03 -07:00
Wladimir J. van der Laan
4942b21203
bitcoin-qt.pro: Add test sources to OTHER_FILES so that they can be edited easier in Qt creator
...
- Also add src/version.h
2012-08-22 14:18:27 +02:00
Wladimir J. van der Laan
ba1cdb6883
Merge pull request #1701 from laanwj/2012_08_pull_transifex
...
Update translations from transifex
2012-08-22 05:09:29 -07:00
Wladimir J. van der Laan
d9725378b0
Update translations from transifex
2012-08-22 14:05:01 +02:00
Pieter Wuille
f161a2c211
Fix infinite loops in connection logic
2012-08-22 13:35:33 +02:00
Pieter Wuille
1a3dcca8f4
Merge pull request #1695 from sipa/noloadorphan
...
Do not accept orphan blocks in -loadblock mode
2012-08-22 04:32:39 -07:00
Gavin Andresen
80cfc3a485
Checkpoint at block 193,000
2012-08-21 22:50:00 -04:00
Gavin Andresen
f39ab4c8d0
Merge branch 'testdata' of git://github.com/TheBlueMatt/bitcoin
2012-08-21 13:58:24 -04:00
Pieter Wuille
5c88e3c108
Do not accept orphan blocks in -loadblock mode
2012-08-21 19:18:53 +02:00
Jeff Garzik
1954d40691
Merge pull request #1493 from jgarzik/unlocked-rpc
...
RPC: add facility to enable RPCs to run outside cs_main, wallet locks
2012-08-21 09:22:13 -07:00
Jeff Garzik
0e1d3551da
RPC: add facility to enable RPCs to run outside cs_main, wallet locks
...
Use with 'stop' and 'help' RPCs.
This provides a facility to individually evaluate the locking for an RPC, and
potentially make it more parallel.
2012-08-21 12:03:52 -04:00
Gavin Andresen
cd58f05894
Restore OSX 10.5 compatibility (do not use pthread_setname_np)
2012-08-21 12:00:05 -04:00
Gavin Andresen
b4b7ed1915
Fix 32-bit build error: include util.h to get int64 typedef
2012-08-21 11:59:59 -04:00
Jeff Garzik
5f2b41d54d
Merge pull request #1693 from jgarzik/rpcwallet
...
Move code to new modules rpcwallet.cpp, rpcblockchain.cpp
2012-08-21 08:44:21 -07:00
Jeff Garzik
c625ae04d2
RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module
2012-08-21 11:03:38 -04:00
Jeff Garzik
e3bc569865
RPC, cosmetic: move wallet-related RPCs to new rpcwallet.cpp module
2012-08-21 10:38:57 -04:00
Pieter Wuille
143acc7672
Merge pull request #1687 from gavinandresen/quietunit
...
Suppress output when running unit tests.
2012-08-21 07:07:51 -07:00
Gregory Maxwell
4a4a0c1196
Merge pull request #1690 from gavinandresen/signrawtx_null
...
Allow signrawtransaction '...' null null 'hashtype'
2012-08-21 06:40:50 -07:00
Jeff Garzik
a483c27704
Merge pull request #1691 from jgarzik/submitwork
...
Add 'submitblock' RPC, split out from 'getblocktemplate' RPC
2012-08-20 23:49:45 -07:00
Jeff Garzik
a2168d94c0
RPC: submitblock returns null on success, string on error
2012-08-21 02:41:46 -04:00
Jeff Garzik
7600e7fc39
RPC, cosmetic: Create rpcmining.cpp as new home for mining-related RPC code
2012-08-21 02:21:33 -04:00
Jeff Garzik
ddd1ffb4f1
RPC, cosmetic: de-indent getblocktemplate()
2012-08-21 02:06:09 -04:00
Jeff Garzik
79f2525ab6
RPC: split new 'submitblock' out of 'getblocktemplate'
2012-08-21 02:02:06 -04:00
Gavin Andresen
cc6dfd1f4b
Allow signrawtransaction '...' null null 'hashtype'
...
Allows the user to pass null as the second or third parameter
to signrawtransaction, in case you need to (for example) fetch
private keys from the wallet but want to specify the hash type.
2012-08-20 17:19:13 -04:00
Gregory Maxwell
b86da2abe8
Merge pull request #1689 from gavinandresen/rawtx_singlefix
...
When using SIGHASH_SINGLE, only sign inputs that have corresponding outputs
2012-08-20 12:59:50 -07:00
Jeff Garzik
af3b5ea569
Merge pull request #1526 from gavinandresen/heightincoinbase
...
Transition to requiring block height in block coinbases
2012-08-20 12:57:01 -07:00
Gavin Andresen
d5e7b61173
When using SIGHASH_SINGLE, do not sign inputs that have no corresponding outputs.
...
This fixes issue #1688
2012-08-20 14:06:27 -04:00
Matt Corallo
da9e86c3b6
Allow setting a different linker than compiler in makefile.unix
2012-08-20 12:12:41 -04:00
Matt Corallo
fc4743faa8
Add data-driven transaction tests.
2012-08-20 12:12:41 -04:00
Matt Corallo
336a0abbbb
Add a few test cases to data-driven script tests.
2012-08-20 12:12:41 -04:00
Gavin Andresen
4d51be1cf3
Suppress output when running unit tests.
...
This does two things:
1) Now does not output to debug.log if -printtodebugger flag is passed
2) Unit tests set -printtodebugger so only test results are output to stdout
Note that -printtodebugger only actually prints to the debugger on Windows.
2012-08-20 11:33:20 -04:00
Gavin Andresen
d18f2fd9d6
Reject block.nVersion<=1 blocks if network has upgraded to version=2
...
If 950 of the last 1,000 blocks are nVersion=2, reject nVersion=1
(or zero, but no bitcoin release has created block.nVersion=0) blocks
-- 75 of last 100 on testnet3.
This rule is being put in place now so that we don't have to go
through another "express support" process to get what we really
want, which is for every single new block to include the block height
in the coinbase.
2012-08-20 10:46:07 -04:00
Gavin Andresen
de237cbfa4
Block height in coinbase as a new block rule
...
"Version 2" blocks are blocks that have nVersion=2 and
have the block height as the first item in their coinbase.
Block-height-in-the-coinbase is strictly enforced when
version=2 blocks are a supermajority in the block chain
(750 of the last 1,000 blocks on main net, 51 of 100 for
testnet). This does not affect old clients/miners at all,
which will continue producing nVersion=1 blocks, and
which will continue to be valid.
2012-08-20 10:46:07 -04:00
Gavin Andresen
3fcec0d4a0
Set block.nVersion to fix miner unit test
2012-08-20 10:46:07 -04:00
Jeff Garzik
b3a570d158
Merge pull request #1641 from jgarzik/mempool
...
Add 'mempool' P2P command, and extend 'getdata' behavior
2012-08-20 07:21:34 -07:00
Jeff Garzik
89a7bd644f
Merge pull request #1686 from Diapolo/fix_comment
...
fix a comment in addrman.cpp
2012-08-18 09:15:11 -07:00
Philip Kaufmann
30c8a40847
fix a comment in addrman.cpp
2012-08-18 16:45:24 +02:00
Wladimir J. van der Laan
221497c61b
Merge pull request #1673 from Diapolo/Qt_Win_ASLR_DEP_linker_flag
...
Bitcoin-Qt (Windows only): add ASLR and DEP linker flags
2012-08-18 02:05:07 -07:00
Philip Kaufmann
8e2ebc0106
Bitcoin-Qt (Windows only): add ASLR and DEP linker flags
...
- for extra security on Windows: enable ASLR and DEP via GCC linker flags
GCC linker flag description:
--dynamicbase The image base address may be relocated using address space layout randomization (ASLR). This feature was introduced with MS Windows Vista for i386 PE targets.
--nxcompat The image is compatible with the Data Execution Prevention.
This feature was introduced with MS Windows XP SP2 for i386 PE targets.
2012-08-18 10:52:50 +02:00
Wladimir J. van der Laan
8765d20b1e
Merge pull request #1680 from Diapolo/add_message_on_blockimport
...
add splashscreen message when importing blocks via -loadblock
2012-08-17 11:29:43 -07:00
Gregory Maxwell
10ffb45667
Merge pull request #1681 from TheBlueMatt/fixtests
...
Remove useless non-cross-platform tests.
2012-08-17 09:42:35 -07:00
Matt Corallo
8555a3e3cc
Remove useless non-cross-platform tests.
2012-08-17 12:40:09 -04:00
Wladimir J. van der Laan
a108d3defb
Merge pull request #1607 from Diapolo/Qt_Win_exe_desc
...
Bitcoin-Qt (Windows only): extend Resource File
2012-08-17 08:55:54 -07:00
Jeff Garzik
dabb95b892
Merge pull request #1678 from Diapolo/LoadExternalBlockFile_add_timer
...
log how long LoadExternalBlockFile() takes in ms (Benchmark)
2012-08-17 08:45:11 -07:00
Pieter Wuille
63046fcf62
Merge pull request #1679 from Diapolo/fix_sign_warning
...
fix a compiler sign warning in OpenBlockFile()
2012-08-17 05:26:48 -07:00
Philip Kaufmann
2d914f89fe
add splashscreen message when importing blocks via -loadblock
2012-08-17 14:21:17 +02:00
Philip Kaufmann
1e7027b41e
fix a compiler sign warning in OpenBlockFile()
2012-08-17 10:35:51 +02:00
Philip Kaufmann
746f502a79
log how long LoadExternalBlockFile() takes in ms (Benchmark)
2012-08-17 00:14:40 +02:00
Philip Kaufmann
4b94f4e0ed
Bitcoin-Qt (Windows only): extend Resource File
...
- extend bitcoin-qt.rc to include meta information, which is displayed on
Windows, when looking in the executable properties and selecting
"Details"
- does currently NOT include version information, this is scheduled
for later releases
- for RC-file documentation see:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx
2012-08-14 11:16:46 +02:00
Wladimir J. van der Laan
0825aee8f4
Merge pull request #1649 from Diapolo/optionsdialog
...
small UX update for optionsdialog
2012-08-13 21:17:39 -07:00
Wladimir J. van der Laan
a55ed9d5bb
Merge pull request #1614 from Diapolo/Qt_Win_enable_DEP
...
Bitcoin-Qt (Windows only): enable DEP for bitcoin-qt.exe
2012-08-13 21:01:17 -07:00
Gregory Maxwell
14486dc0e2
Merge pull request #936 from luke-jr/gmp_bip
...
BIP22: getblocktemplate
2012-08-13 10:21:33 -07:00
Wladimir J. van der Laan
b2ce93fe16
Merge pull request #1623 from Diapolo/pro-file-set-target
...
set TARGET = bitcoin-qt in project file
2012-08-12 23:21:16 -07:00
Wladimir J. van der Laan
c23b6fd688
Revert "Make this error message similar to the others"
...
This reverts commit dc1e5ad191 .
The new error message was not correct, as it refers to the total balance, not an account.
2012-08-12 21:35:39 +02:00
Wladimir J. van der Laan
198947c19f
Merge pull request #1661 from laanwj/2012_08_stringsupdate
...
Update English translation strings
2012-08-09 08:32:18 -07:00
Gregory Maxwell
765654dae8
Merge pull request #1655 from gmaxwell/signrawtransaction_fix_missing
...
Correctly handle missing inputs in signrawtransaction. Fixes #1654 .
2012-08-09 05:56:03 -07:00
Jeff Garzik
2c006b0b3e
Merge pull request #1658 from TheBlueMatt/qttest
...
Fix several issues in the Qt unit tests.
2012-08-07 17:59:06 -07:00
Matt Corallo
c5f90cd88b
Fix test_bitcoin build in makefile.linux-mingw
2012-08-08 00:20:48 +02:00
Wladimir J. van der Laan
3a50cd2193
Update English translation strings
...
This is the last time for 0.7.0. We should avoid message changes
until the release. Translators can use the remaining time to update their languages on
Transifex.
The other languages need to be merged from Transifex just before release.
2012-08-07 21:10:03 +02:00
Wladimir J. van der Laan
c995995eb8
Merge pull request #1660 from fanquake/master
...
Change this error message to be similar to the others
2012-08-07 11:57:38 -07:00
Matt Corallo
2bc15836be
Fix Qt test cases by moving address checks to parseBitcoinURI
...
Makes sense in case bitcoin URIs eventually allow invalid addresses
as a part of some larger future payment scheme.
2012-08-07 19:37:02 +02:00
Matt Corallo
319236afa2
Fix Win32 compiling of qt/test/uritests.cpp
2012-08-07 19:36:59 +02:00
Matt Corallo
026594e269
Return !0 when qt tests fail.
2012-08-07 19:36:54 +02:00
fanquake
dc1e5ad191
Make this error message similar to the others
2012-08-07 22:39:19 +08:00
Gregory Maxwell
3557f99cf5
Correctly handle missing inputs in signrawtransaction. Fixes #1654 .
...
Signrawtransaction rpc was crashing when some inputs were unknown,
and even with that fixed was failing to handle all the known inputs
if there were unknown inputs in front of them. This commit instead
attempts to fetch inputs one at a time.
2012-08-06 00:37:28 -04:00
Philip Kaufmann
3d88c9b4d3
Bitcoin-Qt (Windows only): enable DEP for bitcoin-qt.exe
...
- this enables DEP on all Windows version which support the
SetProcessDEPPolicy() call in Kernel32.dll
- use a dynamic approach via GetProcAddress() to not rely on headers or
compiler libs
- this is the same way the Tor-project does it
2012-08-03 14:51:51 +02:00
Luke Dashjr
44427fa833
Merge branch 'gmp_bip_0.6.0' into gmp_bip
...
Conflicts:
src/bitcoinrpc.cpp
2012-08-03 01:12:55 +00:00
Luke Dashjr
3390014fd0
Minimal BIP 22 (getblocktemplate) support
...
- Replaces getmemorypool with new getblocktemplate
- Add missing keys: coinbaseaux, target, mutable, noncerange, sigoplimit, sizelimit, and height
- Accept and send parameter Objects, checking "mode" key if present
- Return rejection reason "rejected" for submit mode
2012-08-03 01:02:51 +00:00
Jeff Garzik
dd199d0ebd
Merge pull request #1650 from Diapolo/spelling_fixes
...
fix further spelling errors / remove a tab in the source
2012-08-02 14:36:45 -07:00
Wladimir J. van der Laan
88bd012003
Merge pull request #1644 from Diapolo/update_translations
...
Translations update 2012-08-01 (fetched from Transifex)
2012-08-02 12:27:11 -07:00
Philip Kaufmann
efdcf94174
fix further spelling errors / remove a tab in the source
2012-08-02 10:09:29 +02:00
Wladimir J. van der Laan
381e87cbd2
Merge pull request #1646 from Diapolo/only_upd_changed_vals
...
only update cached values in ClientModel::updateTimer() when they are changed, and set cached values before signal is emitted
2012-08-02 00:15:25 -07:00
Philip Kaufmann
4aaa4313e7
small UX update for optionsdialog
...
- add enableApplyButton() and disableApplyButton() to optionsdialog.{h/cpp}
- they are used to ensure the Ok button does not get disabled, when Apply needs to be disabled (standard UX should allow Ok always to dismiss the dialog and only disable it, when we have a faulty proxy IP)
- disable Apply after initially loading the settings, as nothing new needs to be saved
- remove orphan settings from optionsdialog.ui that are default anyway
2012-08-02 09:05:10 +02:00
Philip Kaufmann
75578d60f3
only update cached values in ClientModel::updateTimer() when they are changed
2012-08-01 23:32:32 +02:00
Philip Kaufmann
68acc1b4cb
Translations update 2012-08-01 (fetched from Transifex)
2012-08-01 22:22:41 +02:00
Gregory Maxwell
8ce7915aad
Merge pull request #1612 from luke-jr/opti_getblkhash
...
Optimize JSON-RPC getblockhash
2012-08-01 11:49:26 -07:00
Luke Dashjr
1be064190e
Optimize JSON-RPC getblockhash
...
- If the height is in the first half, start at the genesis block and go up, rather than at the top
- Cache the last lookup and use it as a reference point if it's close to the next request, to make linear lookups always fast
2012-08-01 18:23:30 +00:00
Jeff Garzik
f81e6f779b
Merge pull request #1632 from luke-jr/spelling
...
Fix spelling and grammar errors
2012-08-01 10:56:47 -07:00
Jeff Garzik
ffe47d6d5d
Merge pull request #1636 from Diapolo/Warning_string
...
Update Warning-strings to use a standard-format
2012-08-01 10:56:17 -07:00
Jeff Garzik
0f460644e3
Add doc/release-notes.txt, temporary for 0.7 release
2012-08-01 13:54:15 -04:00
Luke Dashjr
b49f1398a1
Bugfix: Correct English grammar regarding "'s"
2012-08-01 17:50:00 +00:00
Luke Dashjr
3c726dd3c0
Bugfix: Use standard BTC unit in comments
2012-08-01 17:49:57 +00:00
Luke Dashjr
814efd6f1f
Bugfix: Fix a variety of misspellings
2012-08-01 17:49:51 +00:00
Philip Kaufmann
e6bc9c35f3
Update Warning-strings to use a standard-format
...
- ensure warnings always start with "Warning:" and that the first
character after ":" is written uppercase
- ensure the first sentence in warnings ends with an "!"
- remove unneeded spaces from Warning-strings
- add missing Warning-string translation
- remove a "\n" and replace with untranslatable "<br><br>"
2012-08-01 19:33:32 +02:00
Jeff Garzik
06e0e1c853
Merge pull request #1465 from Diapolo/NOUI_showSSLVersion
...
write used OpenSSL library version to debug.log
2012-08-01 10:08:45 -07:00
Jeff Garzik
b5029b87c8
Merge pull request #1396 from rebroad/NoShrinkOption
...
Make truncating the debug.log file an option.
2012-08-01 09:41:50 -07:00
Jeff Garzik
a823faecf1
Merge pull request #1344 from rebroad/AskForTimeFormat
...
Unless debugging, show a more useful format for the askfors
2012-08-01 09:08:00 -07:00
Jeff Garzik
0ecbd46fe7
Merge pull request #1343 from rebroad/MisbehavingDelta
...
Show when node is misbehaving, not just at the point that it gets banned...
2012-08-01 09:06:57 -07:00
Jeff Garzik
05a85b2b38
Add 'mempool' P2P command, and extend 'getdata' behavior
...
to permit downloading of mempool transactions from the remote peer.
2012-07-31 17:42:35 -04:00
Wladimir J. van der Laan
3c83387c29
Merge pull request #1635 from Diapolo/update_helpMessage
...
update HelpMessage()
2012-07-28 01:05:43 -07:00
Wladimir J. van der Laan
c1aed4eff4
Merge pull request #1594 from Diapolo/GUI_testnet3_fix
...
small update for BitcoinGUI::setNumBlocks() function
2012-07-27 05:54:19 -07:00
Philip Kaufmann
6986c779f0
update HelpMessage()
...
- place "-?" option at first
- re-work description and "\n" usage for Gavins new block creation options
to better match current description syntax
- ensure no "\n" is in translated strings, which is better for Transifex
2012-07-27 14:03:37 +02:00
Wladimir J. van der Laan
2e53709f17
Merge pull request #1571 from Diapolo/optionsdialog_cleanup
...
GUI: optionsdialog cleanup
2012-07-27 04:08:03 -07:00
Gregory Maxwell
a9d811a976
Switch testnet3's message bytes to avoid connecting to old nodes.
...
The new bytes are based on "11" to appeal to Gavin's 11 fetish.
This breaks existing testnet3 nodes as the blockchain files
are also versioned. To upgrade a node delete everything
except wallet.dat from your .bitcoin/testnet3 folder.
2012-07-26 17:50:23 -04:00
Gavin Andresen
e0e54740b1
Handle should-never-happen case of orphan in mempool
2012-07-26 15:29:59 -04:00
Gavin Andresen
c555400ca1
When creating new blocks, sort 'paid' area by fee-per-kb
...
Modify CreateNewBlock so that instead of processing all transactions
in priority order, process the first 27K of transactions in
priority order and then process the rest in fee-per-kilobyte
order.
This is the first, minimal step towards better a better fee-handling
system for both miners and end-users; this patch should be easy
to backport to the old versions of Bitcoin, and accomplishes the
most important goal-- allow users to "buy their way in" to blocks
using transaction fees.
2012-07-26 14:24:19 -04:00
Gavin Andresen
29c8fb0d93
Merge branch 'checknewblock' of git://github.com/luke-jr/bitcoin
2012-07-26 13:55:27 -04:00
Gavin Andresen
986a78979e
Merge branch 'bugfix_CNBerr' of git://github.com/luke-jr/bitcoin
2012-07-26 13:55:21 -04:00
Wladimir J. van der Laan
701e1f5254
Merge pull request #1631 from laanwj/2012_07_translationsupdate
...
Update translation messages
2012-07-25 19:23:13 -07:00
Wladimir J. van der Laan
ebeafe5b0b
Update translation messages
...
- No core strings changed since last time
- Re-add line numbers in .ts file as this is marginally easier for translators (see #1227 )
2012-07-26 04:20:21 +02:00
Wladimir J. van der Laan
c32ad4594e
Merge pull request #1624 from Diapolo/fix_typo_log_file
...
fix typo "logfile" -> "log file"
2012-07-25 19:15:01 -07:00
Wladimir J. van der Laan
6892cb056d
Merge pull request #1630 from fanquake/master
...
Fix Typo
2012-07-25 19:09:49 -07:00
Michael Ford
50c85be6fc
Typo
2012-07-26 10:07:43 +08:00
Gregory Maxwell
f00ffc6c00
Merge pull request #1615 from Diapolo/net_noExtIp_IPv6only
...
do not use external IPv4 discovery, when -onlynet="IPv6"
2012-07-25 11:11:25 -07:00
Gregory Maxwell
f5a3dbea40
Merge pull request #1628 from glondu/master
...
Fix spelling of successfully
2012-07-25 11:10:00 -07:00
Stephane Glondu
2acfa219aa
Fix spelling of successfully
2012-07-24 10:39:09 +02:00
Philip Kaufmann
64c0020ff8
fix typo "logfile" -> "log file"
2012-07-23 08:22:04 +02:00
Philip Kaufmann
6fe375c3bd
set TARGET = bitcoin-qt in project file
2012-07-23 08:08:34 +02:00
Wladimir J. van der Laan
12e5881c09
Merge pull request #1622 from fanquake/master
...
Fix Typos
2012-07-22 22:31:15 -07:00
fanquake
26227db843
Typo
2012-07-23 12:03:48 +08:00
fanquake
951f7d35d6
Fix Typo
2012-07-23 11:59:02 +08:00
Gavin Andresen
0bf30d2b33
Merge pull request #1621 from luke-jr/WinCOPYING
...
Replace all occurances of license.txt with COPYING, including naming the file COPYING.txt on Windows
2012-07-22 16:18:41 -07:00
Luke Dashjr
90d95b6323
Replace all occurances of license.txt with COPYING, including naming the file COPYING.txt on Windows
2012-07-22 21:49:09 +00:00
Philip Kaufmann
1376a542b4
optionsdialog cleanup
...
- remove duplicate includes, that are already present in ui_optionsdialog.h
- change QIntValidator to not allow 0 as port-number
- re-order some function calls to match the Ui element order, for better readbility and to prepare for the addition of further IPv6 and Tor proxy options
- restat warning for the language selection is only shown, when the language was changed (not on simply activating the Ui element)
- split check for object == ui->proxyIp into seperate if-clause
- micro-optimize the code in the above mentioned if-clause
- unify used format for comments in the code
- introduce handleProxyIpValid() function, which handles UI elements and the
save button states for valid/invalid proxy IPs
2012-07-22 01:12:11 +02:00
Jeff Garzik
fa914f1dda
Merge pull request #1616 from Diapolo/OpenSSL_typo
...
fix OpenSSL not written as proper noun in some comments
2012-07-21 06:59:25 -07:00
Philip Kaufmann
a7f82808c4
fix OpenSSL not written as proper noun in some comments
2012-07-21 12:44:54 +02:00
Philip Kaufmann
a76552ce47
do not use external IPv4 discovery, when -onlynet="IPv6"
2012-07-20 13:23:02 +02:00
Wladimir J. van der Laan
134cb634b1
Merge pull request #1611 from Diapolo/addressbookpage_size
...
re-size addressbookpage.ui to fix #1062
2012-07-19 04:36:43 -07:00
Philip Kaufmann
1d915d0237
re-size addressbookpage.ui to fix #1062
2012-07-19 07:22:38 +02:00
Jeff Garzik
e3132693fa
Merge pull request #1610 from fanquake/master
...
Update a link to dev resources
2012-07-18 09:45:06 -07:00
fanquake
100f189c25
Update a link
2012-07-19 00:01:04 +08:00
Jeff Garzik
4b76541c25
Merge pull request #1609 from fanquake/master
...
Docs tidy up + fixes
2012-07-18 07:24:49 -07:00
fanquake
f00a0dcfed
Docs Tidy up
2012-07-18 22:11:56 +08:00
Gregory Maxwell
07becec31c
Merge pull request #1608 from runeksvendsen/master
...
Update the comment in GetBlockValue() to better reflect the uncertainty about the time interval between subsidy reductions
2012-07-18 06:13:52 -07:00
Wladimir J. van der Laan
1854433829
Merge pull request #1563 from Diapolo/pro-file
...
update Boost version to 1.49 for Windows in the Qt project file
2012-07-18 02:31:40 -07:00
Rune K. Svendsen
5f2e4b0565
Let the comment in GetBlockValue() reflect the uncertainty about the time interval between subsidy reductions
2012-07-18 09:37:05 +02:00
Wladimir J. van der Laan
e47bd0195c
Merge pull request #1605 from laanwj/2012_07_caseinsensitivesort
...
Make sort and filters for transactions and labels case-insensitive
2012-07-17 23:00:23 -07:00
Gavin Andresen
c93236b564
Merge branch 'master' of git://github.com/fanquake/bitcoin
2012-07-17 20:33:03 -04:00
Gavin Andresen
3c3666d67e
New feature for signrawtransaction: specify signature hash (ALL/NONE/etc)
2012-07-17 12:21:56 -04:00
Gavin Andresen
18871d4785
Give a better error message than 'type mismatch' for complex JSON arguments
2012-07-17 12:02:31 -04:00
Philip Kaufmann
ce2f66d9bf
small update for BitcoinGUI::setNumBlocks() function
...
- re-work code parts that check if we have a Statusbar warning
- use same variable names in the header
2012-07-17 14:54:01 +02:00
Wladimir J. van der Laan
d67badd9ce
Make sort and filters for transactions and labels case-insensitive
2012-07-17 11:38:18 +02:00
Wladimir J. van der Laan
ab0d6428b1
Merge pull request #1604 from Diapolo/fix_comment_net
...
fix a comment in net.cpp
2012-07-17 02:05:30 -07:00
Wladimir J. van der Laan
d47afc7f4c
Merge pull request #1564 from Diapolo/IPC-server
...
IPC-server hardening and update
2012-07-17 00:54:12 -07:00
Philip Kaufmann
c95d9a9482
fix a comment in net.cpp
2012-07-17 09:53:53 +02:00
Philip Kaufmann
41c938eede
IPC-server hardening and update
...
- add IMPLEMENT_RANDOMIZE_STACK for ipcThread()
- log / print boost interprocess exceptions
- use MAX_URI_LENGTH in guiconstants.h (also used in qrcodedialog.cpp)
- remove unneeded includes and ipcShutdown() from qtipcserver.cpp
- fix a small mem-leak by deleting mq before re-using it
- make ipcThread() and ipcThread2() static functions
- add some more comments
2012-07-17 09:37:12 +02:00
Wladimir J. van der Laan
ce652affe0
Merge pull request #1591 from Diapolo/lang_sel_Qt4.8
...
enhance lang-selection in OptionsDialog, when compiling with Qt >= 4.8
2012-07-16 23:19:25 -07:00
Gavin Andresen
14ad993895
Merge branch 'fix-commandline-warnings' of git://github.com/muggenhor/bitcoin
2012-07-16 21:23:57 -04:00
Gavin Andresen
92f6fb4cfa
Teach RenameThread to work on OSX
2012-07-16 20:57:26 -04:00
Giel van Schijndel
36fe96581f
Give the GUI-IPC thread a name as well
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-07-17 01:50:35 +02:00
Giel van Schijndel
b277b0f100
Don't check for __linux__ specifically, check for PR_SET_NAME feature instead
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-07-17 01:50:35 +02:00
Giel van Schijndel
304ca95508
Add support for renaming FreeBSD and OpenBSD threads
...
NOTE: This is currently disabled, until a developer with FreeBSD/OpenBSD
can confirm that this works (without causing undefined behaviour
preferrably).
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-07-17 01:50:35 +02:00
Giel van Schijndel
9f46ab62b1
Fix thread names after review
...
* Fix wrong thread name for wallet *relocking* thread
- Was named the unlocking thread
* Use consistent naming
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-07-17 01:50:35 +02:00
Giel van Schijndel
96931d6f78
Give threads a recognisable name to aid in debugging
...
NOTE: These thread names are visible in gdb when using 'info threads'.
Additionally both 'top' and 'ps' show these names *unless* told to
display the command-line instead of task name.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-07-17 01:50:35 +02:00
Giel van Schijndel
f04f24503d
Use linker-arguments only when linking
...
Passing linker-arguments when only compiling will cause warnings with
Clang. This change fixes those.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-07-17 01:48:03 +02:00
Wladimir J. van der Laan
1c009d622d
Merge pull request #1592 from Diapolo/Qt_WindowTitle
...
change Window title to "Bitcoin - Wallet" / misc related renames
2012-07-14 02:12:25 -07:00
Wladimir J. van der Laan
6cc409c24b
Merge pull request #1587 from Diapolo/signverifymessagedialog
...
fix a wrong string in signverifymessagedialog.ui
2012-07-14 02:11:00 -07:00
Wladimir J. van der Laan
07f1bb0d60
Merge pull request #1593 from Diapolo/testnet_icon_about
...
when on testnet, set testnet icon for about dialog
2012-07-14 02:06:51 -07:00
fanquake
1f915e418c
Correct OpenSSL in makefile
...
1.0.0d -> 1.0.1b
2012-07-14 00:24:19 +08:00
Gavin Andresen
1290914b37
Merge pull request #1595 from fanquake/master
...
Correct OpenSSL version
2012-07-13 07:49:29 -07:00
fanquake
d0c0706042
Correct OpenSSL version
2012-07-13 22:25:04 +08:00
Gavin Andresen
dbb0a12366
Merge branch 'chashwriter' of https://github.com/sipa/bitcoin
2012-07-13 08:35:58 -04:00
Wladimir J. van der Laan
916b11fba5
Merge pull request #1575 from laanwj/2012_07_persistentbalancecheck
...
(UI) Persistently poll for balance change when number of blocks changed
2012-07-13 04:52:40 -07:00
Philip Kaufmann
b9a33a61a0
change Window title to "Bitcoin - Wallet" / misc related renames
...
- this helps user to not think our Client is called "Bitcoin Wallet"
- change "About Bitcoin-Qt" to "About Bitcoin"
- change "Bitcoin debug window" to "Bitcoin - Debug window"
- change "Client" in debug Window to "Bitcoin Core"
2012-07-13 11:06:31 +02:00
Philip Kaufmann
56d673675d
when on testnet, set testnet icon for about dialog
...
- add a comment
2012-07-13 08:48:24 +02:00
Philip Kaufmann
81ccec4042
enhance lang-selection in OptionsDialog, when compiling with Qt >= 4.8
2012-07-13 07:43:41 +02:00
Gavin Andresen
771ffb5e28
Bug fix: sendrawtransaction was not relaying properly
2012-07-12 19:55:54 -04:00
Luke Dashjr
639b61d78e
Tests for CreateNewBlock
2012-07-12 16:35:34 +00:00
Wladimir J. van der Laan
4a7d53ee23
Merge pull request #1572 from Diapolo/optionsmodel_cleanup
...
GUI: optionsmodel cleanup
2012-07-12 07:17:08 -07:00
Philip Kaufmann
144bfd9c53
optionsmodel cleanup
...
- cleanup optionsmodel before adding new proxy options
- place SOCKS version stuff below proxy port (IP, Port, SOCKS version)
- simplyfy some parts of the code (e.g. don't check IP and port, as this
is done in optionsdialog anyway, remove unneeded {} in switch/case)
- small cosmetic changes in the header for better readability
2012-07-12 15:31:59 +02:00
Philip Kaufmann
a04030d30f
fix a wrong string in signverifymessagedialog.ui
2012-07-12 13:46:34 +02:00
Wladimir J. van der Laan
45aa01fe89
Merge pull request #1584 from Diapolo/trans_proc
...
translation process file updates
2012-07-11 22:17:09 -07:00
Gregory Maxwell
3dbca25b69
Merge pull request #1497 from luke-jr/bugfix_neguint
...
CBigNum: Convert negative int64 values in a more well-defined way
2012-07-11 16:56:18 -07:00
Philip Kaufmann
dae7fff12e
translation process file updates
...
- add part for handling of plurals
- update Transifex links
- small misc changes
2012-07-11 22:34:42 +02:00
Gregory Maxwell
ff20f32338
Reorder dnsseed list, Jeff's seed list is static so put it last.
...
Because new nodes pull from the first connected node the load
balancing of the first connection is more important than it should
be. This change puts Pieter's seed first, because its probably
the best maintained right now.
2012-07-11 10:55:30 -04:00
Wladimir J. van der Laan
e4b4f2d532
Merge pull request #1581 from Diapolo/trans_fixplurals
...
fix some recently added translation plurals
2012-07-11 05:14:00 -07:00
Philip Kaufmann
fd28283707
fix some recently added translation plurals
2012-07-11 14:08:53 +02:00
Wladimir J. van der Laan
bc4fb165ea
Merge pull request #1574 from Diapolo/pro-file2
...
fix for build.h regeneration failure when compiling on Windows
2012-07-11 04:52:23 -07:00
Wladimir J. van der Laan
8e66454df9
Merge pull request #1580 from laanwj/2012_07_bitcoinstrings
...
Translation strings update
2012-07-11 04:39:56 -07:00
Wladimir J. van der Laan
b42adfe052
Translation strings update
2012-07-11 13:37:32 +02:00
Philip Kaufmann
30d509c12e
fix for build.h regeneration failure when compiling on Windows
...
- as the "||" operator is not known to qmake use "|" instead,
which ensures the code in brackets does never get executed on Windows
2012-07-11 11:18:57 +02:00
Wladimir J. van der Laan
2e00b8fbd9
Persistently poll for balance change when number of blocks changed
...
Fixes #1452 . Until we can make the logic water-tight *and* are notified in every
case the balance might have changed, remove the premature optimization and
simply recompute the balance every half a second when the number of blocks changed.
2012-07-11 09:01:11 +02:00
Luke Dashjr
148e107da6
Run BDB disk-less for test_bitcoin
2012-07-11 04:26:44 +00:00
Luke Dashjr
fbf99a9cdc
Merge branch 'checknewblock_0.6.0' into checknewblock
...
Conflicts:
src/main.cpp
2012-07-11 04:24:58 +00:00
Wladimir J. van der Laan
232393e3bd
Merge pull request #1569 from Diapolo/addressbookpage
...
replace some ugly code in addressbookpage.cpp
2012-07-10 05:38:31 -07:00
Gavin Andresen
4060d64fc9
Fix Qt build on OSX
...
Compiling boost::interprocess::message_queue against
boost 1.50 macports with -arch i386 (how releases are built,
for minimum download size and maximum compatibility) is failing:
src/qt/qtipcserver.cpp:37: error: no matching function for call to ‘boost::interprocess::message_queue_t<boost::interprocess::offset_ptr<void, int, long unsigned int, 0u> >::timed_receive(char (*)[257], long unsigned int, size_t&, unsigned int&, boost::posix_time::ptime&)’
This is probably a boost or macports bug, but since interprocess::message_queue
is only used for URI support, which isn't implemented on OSX anyway, I fixed
the build by #ifdef'ing out that code.
2012-07-09 11:03:38 -04:00
Philip Kaufmann
ddadf791f1
replace some ugly code in addressbookpage.cpp
...
- add signals signMessage() and verifyMessage() in addressbookpage.cpp
- connect to them in bitcoingui.cpp to switch to the corresponding tab in the Sign/Verify Message dialog
- make gotoSignMessageTab() and gotoVerifyMessageTab() private slots
2012-07-08 18:49:07 +02:00
Wladimir J. van der Laan
ea53f183fc
Merge pull request #1464 from Diapolo/GUI_showSSLVersion
...
GUI: show used OpenSSL library version in debug window
2012-07-08 01:19:32 -07:00
Pieter Wuille
6ece1d747e
CHashWriter that does SHA256 in-place during serialization
2012-07-07 23:09:14 +02:00
Philip Kaufmann
c7441658da
show used OpenSSL library version in debug window
2012-07-07 16:43:46 +02:00
Pieter Wuille
9af3c3c824
Merge pull request #1566 from Diapolo/typo
...
fix typo in optionsmodel.cpp
2012-07-07 07:41:51 -07:00
Philip Kaufmann
0e3947ef32
fix typo in optionsmodel.cpp
2012-07-07 16:35:29 +02:00
Pieter Wuille
0ba5bacd0c
Merge pull request #1565 from jrmithdobbs/socks5-fix
...
Fix OBO in socks5 auth proposal.
2012-07-07 07:19:53 -07:00
Douglas Huff
b19811d5f4
Fix OBO in socks5 auth proposal. This fixes compatibility with openssh's socks5 proxy and tor's .2.3.x branch.
2012-07-07 09:11:54 -05:00
Wladimir J. van der Laan
249856d557
Merge pull request #1469 from Diapolo/signverifymessagedialog
...
GUI: merge sign/verify message into a single window with tabbed UI
2012-07-07 04:59:04 -07:00
Wladimir J. van der Laan
520198138a
Merge pull request #1518 from Diapolo/qrcodedialog
...
update QRCodeDialog
2012-07-07 04:46:03 -07:00
Wladimir J. van der Laan
08492c952b
Merge pull request #1552 from Diapolo/txdesc
...
GUI: enhance translation possibilities in TransactionDesc / misc other changes
2012-07-07 04:44:50 -07:00
Wladimir J. van der Laan
9502ee3b5f
Merge pull request #1559 from sje397/BalanceSignalFix
...
Add a timer to check for changes in immature or unconfirmed balances,
2012-07-07 04:37:03 -07:00
Philip Kaufmann
5c83f797c5
update QRCodeDialog
...
- remove unused #include <QDebug> and lblBTC label
- update Bitcoin input field to a BitcoinAmountField to allow Bitcoin unit selection
- use BitcoinUnits::format for the resulting amount parameter in the generated URI (always use BTC as per BIP21)
- move MAX_URI_LENGTH and EXPORT_IMAGE_SIZE to guiconstants.h
- add OptionsModel in AddressBookPage and use it in on_showQRCode_clicked() to pass it to QRCodeDialog
- add OptionsModel in QRCodeDialog to enable display unit updates
- add updateDisplayUnit() slot to be able to imediately update currently set bitcoin unit
- make all labels in the UI-file plain text
- resize dialog to match for an updated layout (fields are now stacked and new field)
- remove unused parameters from private slots
- only enable save button, when QR Code was generated
- show message when entered amound is invalid
- add read-only QPlainTextEdit field to output generated URI
2012-07-06 18:51:30 +02:00
Gavin Andresen
2a919e396d
Warn if blockchain majority doesn't match CBlock::CURRENT_VERSION
...
This adds a warning "this version is obsolete, upgrade required" if
more than 50 of the previous 100 blocks in the blockchain are
a new version.
2012-07-06 11:37:01 -04:00
Gavin Andresen
dae3e10a5a
Treat non-version-1 transactions as non-standard
...
Adds CBlock::CURRENT_VERSION and CTransaction::CURRENT_VERSION
constants, and makes non-CURRENT_VERSION transactions nonstandard.
This will help make future upgrades smoother.
2012-07-06 11:37:01 -04:00
Philip Kaufmann
47894585ae
GUI: merge sign/verify message into a single window with tabbed UI
...
- add UI-feedback via QValidatedLineEdit
- copy button for generated signature was moved to the signature output field
- add an addressbook button to verify message tab
- input fields are now evenly ordered for sign and verify tabs
- update FIRST_CLASS_MESSAGING support to ensure a good UX
- add a button and context menu entry in addressbook for verify message (to be consistent with sign message)
- focus is now only set/changed, when clearing input fields or adding an address via addressbook
- re-work / update some strings
- ensure model gets initialized in the SignVerifyMessageDialog constructor
- add checks for a valid model to both addressbook buttons
- remove unneeded includes for Qt GUI elements that are listed in ui_signverifymessagedialog.h anyway
2012-07-06 11:31:27 +02:00
Philip Kaufmann
a75b45fcd3
update Boost version to 1.49 for Windows in the Qt project file
...
- add -s flag as we also use a static build in makefile.mingw
2012-07-06 11:26:06 +02:00
Jeff Garzik
6e3a1a3742
Merge pull request #1304 from rebroad/ShowBlockTimestamp
...
Show block timestamp
2012-07-05 15:28:42 -07:00
Jeff Garzik
698b9f3095
bitcoinrpc.cpp: Removed outdated comment
...
Fixes #1373
2012-07-05 18:18:15 -04:00
Gavin Andresen
50fc02d063
Merge branch 'uri' of https://github.com/TheBlueMatt/bitcoin
2012-07-05 16:38:12 -04:00
Gavin Andresen
dab9fa7f91
Use unsigned ints to fix signed/unsigned warnings
2012-07-05 13:26:27 -04:00
Jeff Garzik
b47d2bc164
Merge pull request #1554 from jgarzik/dup-gethash
...
Remove duplicate GetHash() in ConnectBlock
2012-07-05 10:06:55 -07:00
Scott Ellis
6c83a8419b
Add a timer to check for changes in immature or unconfirmed balances,
...
when these are non-zero. Fixed a minor mem leak.
2012-07-06 03:05:35 +10:00
Gavin Andresen
a2709fad7f
Implement raw transaction RPC calls
...
Implement listunspent / getrawtransaction / createrawtransaction /
signrawtransaction, to support creation and
signing-on-multiple-device multisignature transactions.
2012-07-05 12:50:09 -04:00
Gavin Andresen
899d373b3c
RPCTypeCheck method to make type-checking JSON Arrays easier.
2012-07-05 12:42:25 -04:00
Gavin Andresen
34420d655d
Refactor: SignSignature/VerifyScript
...
Minor refactor to support signrawtx signing/verifying transactions
when it might only have the previous transaction's txid and
txOut.
2012-07-05 12:42:25 -04:00
Gavin Andresen
9a6ab7f142
Rework gettransaction / getblock RPC calls
...
This PULL reworks new (post-0.6.*) features of the
gettransaction/getblock RPC calls as follows:
It removes the 'decompositions' object argument from getblock,
replacing it just a list of transaction hashes; equivalent
(I believe) of passing the {"tx":"hash"} decomposition.
It replaces the 'decompositions' object argument of
gettransaction with a boolean flag; if true, returns
the same stuff that the {"script":"obj"} decomposition
would return (txins/txouts as hex, disassembled, and bitcoin
addresses).
It adds a "rawtx" field to the output of gettransaction,
that is the entire transaction serialized and hex-encoded.
It removes the "size" field from gettransaction, since the size
is trivial to compute from the "rawtx" field (either take the
length after hex-decoding, or just compute it as hex-length/2).
2012-07-05 12:42:25 -04:00
Jeff Garzik
fe70b09c42
Merge pull request #1555 from TheBlueMatt/warnings
...
Fix remaining compile warnings.
2012-07-04 08:34:11 -07:00
Gavin Andresen
8a05341cf5
Merge branch 'buildupdates' of https://github.com/TheBlueMatt/bitcoin
2012-07-04 10:46:44 -04:00
Matt Corallo
24154ed64b
Fix remaining warnings.
2012-07-04 16:40:16 +02:00
Philip Kaufmann
31b581bcac
write used OpenSSL library version to debug.log
2012-07-04 08:18:03 +02:00
Jeff Garzik
f77654a0e9
CTxMemPool: eliminate redundant lock, GetHash() call
...
::addUnchecked()'s only caller already takes the necessary lock,
and has already calculated the TX's hash.
2012-07-04 01:12:44 -04:00
Matt Corallo
96929a5515
Remove duplicate GetHash() in ConnectBlock
2012-07-04 00:04:57 -04:00
Jeff Garzik
c729dbb6d2
Merge pull request #1512 from jgarzik/json-batch
...
Support JSON-RPC 2.0 request batches
2012-07-03 20:08:36 -07:00
Jeff Garzik
613389019e
RPC: add support for JSON-RPC 2.0-style request batching
...
If the top-level object is an array, it is assumed to be an array of
JSON-RPC requests. An array is returned, containing one response (error or
not) per request, in the order submitted.
In a slight change in semantics, batched requests -always- return
an HTTP 200 OK status, even ones full of invalid or incorrect requests.
2012-07-03 22:53:57 -04:00
Jeff Garzik
c6494d82fa
RPC: break out high level JSON-RPC req/resp into their own functions
...
This prepares for JSON-RPC 2.0 batches.
2012-07-03 22:53:30 -04:00
Jeff Garzik
3898609304
Merge pull request #1546 from gmaxwell/allowsamenetinbound
...
Do not consider inbound peers for outbound network group exclusion.
2012-07-03 19:51:08 -07:00
Jeff Garzik
3ee48ba20a
Merge pull request #1548 from TheBlueMatt/warnings
...
Fix signed/unsigned warnings in {script,serialize}.h (fixes #1541 )
2012-07-03 19:50:06 -07:00
Matt Corallo
4d9c55da72
Work around a distcc bug where -MMD output isn't copied.
2012-07-03 17:50:35 +02:00
Philip Kaufmann
b7506b302d
enhance translation possibilities in TransactionDesc / misc other changes
...
- remove "#include <QString>" as this is included in the header
- add some missing plural forms that can be translated
- change "yours" into "own address", which is easier to understand and translate in that context
- cleanup translatable strings to not include HTML or unneeded chars (e.g. ":")
- resize TransactionDescDialog a little (remove unwanted line-breaks with non english translations)
2012-07-03 14:38:03 +02:00
R E Broadley
90c838da9f
Show when node is misbehaving, not just at the point that it gets banned.
2012-07-02 21:58:47 +01:00
R E Broadley
812392d325
Include human readble format for nRequestTime.
2012-07-02 21:45:43 +01:00
Matt Corallo
467b79391f
Fix signed/unsigned warnings in {script,serialize}.h ( fixes #1541 )
2012-07-02 16:29:14 +02:00
Jeff Garzik
da1103f4f8
Merge pull request #1545 from TheBlueMatt/diffsendbuffer
...
Minor send buffer changes
2012-07-01 18:17:34 -07:00
Gregory Maxwell
19521acfa4
Do not consider inbound peers for outbound network group exclusion.
...
Bitcoin will not make an outbound connection to a network group
(/16 for IPv4) that it is already connected to. This means that
if an attacker wants good odds of capturing all a nodes outbound
connections he must have hosts on a a large number of distinct
groups.
Previously both inbound and outbound connections were used to
feed this exclusion. The use of inbound connections, which can be
controlled by the attacker, actually has the potential of making
sibyl attacks _easier_: An attacker can start up hosts in groups
which house many honest nodes and make outbound connections to
the victim to exclude big swaths of honest nodes. Because the
attacker chooses to make the outbound connection he can always
beat out honest nodes for the consumption of inbound slots.
At _best_ the old behavior increases attacker costs by a single
group (e.g. one distinct group to use to fill up all your inbound
slots), but at worst it allows the attacker to select whole
networks you won't connect to.
This commit makes the nodes use only outbound links to exclude
network groups for outbound connections. Fancier things could
be done, like weaker exclusion for inbound groups... but
simplicity is good and I don't believe more complexity is
currently needed.
2012-07-01 20:42:47 -04:00
Jeff Garzik
18e8e43715
RPC getpeerinfo: s/height/startingheight/ for returned nStartingHeight value
2012-06-30 23:40:26 -04:00
Matt Corallo
6d6c2afb2b
Change default send buffer to 1Mb.
2012-07-01 04:17:26 +02:00
Matt Corallo
3c3cb60a90
Remove useless high-volume printf ( fixes #1544 ).
2012-07-01 04:13:00 +02:00
Jeff Garzik
eca96d7118
Merge pull request #1540 from fanquake/master
...
Fix a Couple Typos
2012-06-30 07:25:32 -07:00
fanquake
7790f391ab
Fix a couple more typos
2012-06-30 17:05:28 +08:00
Wladimir J. van der Laan
b5ec1da9e9
Merge pull request #1539 from cardpuncher/patch-3
...
Fix a typo in TransactionDesc
2012-06-30 01:56:29 -07:00
cardpuncher
eb9a21afed
Fix a typo in TransactionDesc
2012-06-30 11:31:09 +03:00
Gavin Andresen
3a906d45dc
Merge pull request #1531 from jgarzik/peerinfo
...
RPC: add 'getpeerinfo', returning easy-to-retrieve per-CNode data
2012-06-29 17:34:02 -07:00
Jeff Garzik
ac8d2b1df7
Merge pull request #1537 from Diapolo/fix_awesome_typo
...
fix an awesome typo in OptionsDialog ^^
2012-06-29 16:18:45 -07:00
Philip Kaufmann
0f5d4c6e88
fix a typo in OptionsDialog
2012-06-30 01:16:22 +02:00
Jeff Garzik
1006f0707e
RPC: add 'getpeerinfo', returning easy-to-retrieve per-CNode data
2012-06-29 17:24:53 -04:00
Jeff Garzik
a590aae017
Merge pull request #1532 from fanquake/master
...
Fix a couple typos
2012-06-29 06:15:33 -07:00
fanquake
e749405297
Fix a few typos
2012-06-29 17:26:45 +08:00
Jeff Garzik
70ab73a008
Create new rpcnet module, and move 'getconnectioncount' RPC to it
2012-06-28 23:18:38 -04:00
Gavin Andresen
5fa83965f2
Merge branch 'patch-5' of https://github.com/xanatos/bitcoin
2012-06-28 15:25:48 -04:00
Gavin Andresen
1b71f82e38
Merge branch 'patch-3' of https://github.com/xanatos/bitcoin
2012-06-28 15:24:35 -04:00
Matt Corallo
460d878613
Fix build error.
2012-06-28 19:31:22 +02:00
Matt Corallo
4e97a9d9eb
Lock vnThreadsRunning[THREAD_RPCHANDLER].
2012-06-28 18:34:11 +02:00
Matt Corallo
7cf3d2ccb9
Use a rpc-specific queue to tell asio connections to shutdown.
2012-06-28 18:32:32 +02:00
Matt Corallo
18c4beb05b
Revert "*Always* send a shutdown signal to enable custom shutdown actions"
...
This reverts commit 896899e0d6 .
2012-06-28 15:52:45 +02:00
R E Broadley
7f1de3fec8
Make truncating the debug.log file an option.
...
Useful for developers who need to refer to futher back in debug.log history, but who don't want to
enable the -debug option and all the verbosity that comes with that.
2012-06-27 23:42:22 +01:00
Jeff Garzik
e75acc006e
Merge pull request #1511 from jgarzik/quieten2
...
Quieten 'getdata' P2P message output
2012-06-27 09:06:59 -07:00
Pieter Wuille
abbb9a829c
Merge pull request #1347 from rebroad/FixAlreadyAskedFor
...
mapAlreadyAskedFor gets additions when AlreadyHave()
2012-06-27 08:06:57 -07:00
Pieter Wuille
6c88568fef
Merge pull request #973 from TheBlueMatt/diffsendbuffer
...
Stop processing messages on full send buffer and dont disconnect.
2012-06-27 07:49:28 -07:00
Pieter Wuille
4a52c187d3
Merge pull request #457 from muggenhor/async-ipv6-rpc
...
IPv6 RPC using asynchronously accepted connections
2012-06-27 07:48:38 -07:00
Matt Corallo
9d6cd04b3b
Stop processing messages on full send buffer and dont disconnect.
...
Also decrease default send/receive buffer sizes from 10 to 5 mb
as this patch makes it easy for a node to fill both instead of
only send.
2012-06-27 15:31:34 +02:00
Wladimir J. van der Laan
bcf0f41171
Merge pull request #1519 from Diapolo/GUI_locale_selection
...
GUI: change language selection format to "language - country (locale name)"
2012-06-27 03:37:33 -07:00
Wladimir J. van der Laan
a95a0ab569
Merge pull request #1516 from Diapolo/GUI_projectfile
...
small updates to Bitcoin-Qt project file
2012-06-27 03:35:41 -07:00
Philip Kaufmann
2943f60811
GUI: change language selection format
...
- display as "language - country (locale name)", when locale name consists of 2 parts
- display as "language (locale name)", when locale name consists of 1 part
2012-06-26 16:14:25 +02:00
Jeff Garzik
8a6ea5d687
Merge pull request #1520 from TheBlueMatt/debian
...
Update contrib/debian and remove system json_spirit patch.
2012-06-25 15:04:10 -07:00
Matt Corallo
3563824c60
Update contrib/debian and remove system json_spirit patch.
...
That patch has been broken for a long, long time (forever?) and
doesn't make sense.
2012-06-25 23:59:19 +02:00
Philip Kaufmann
82ec7d5542
small updates to Bitcoin-Qt project file
...
- add noui.cpp to SOURCES (to see / edit the file)
- re-word a comment and remove a space
2012-06-25 16:36:25 +02:00
Wladimir J. van der Laan
2849d0661d
Merge pull request #1501 from fanquake/master
...
QT to Qt
2012-06-25 06:49:59 -07:00
Gavin Andresen
1282c8653e
Checkpoint at block 185333 (and remove a couple of intermediate checkpoints)
2012-06-25 09:26:14 -04:00
Michael Ford
160eb23b0e
Add Bitcoin dev Copyright
2012-06-25 12:28:29 +08:00
Michael Ford
e4ebe82ee2
Update comments
2012-06-25 12:26:52 +08:00
Pieter Wuille
6cef700203
Merge pull request #1517 from Diapolo/fix_comment
...
fix a comment to correctly use -upgradewallet
2012-06-24 09:10:03 -07:00
Philip Kaufmann
a8c20ea946
fix a comment to correctly use -upgradewallet
2012-06-24 18:08:27 +02:00
Jeff Garzik
d887f54494
Document -debugnet option in command line help.
...
Fixes #1507
2012-06-24 10:38:02 -04:00
Giel van Schijndel
5b14622110
On Windows link with mswsock, it being required (indirectly) by RPC code
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-06-24 15:12:26 +02:00
Giel van Schijndel
ad25804feb
Cancel outstanding listen ops for RPC when shutting down
...
Use Boost's signal2 slot tracking mechanism to cancel any (still open)
listening sockets when receiving a shutdown signal.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-06-24 15:12:15 +02:00
Giel van Schijndel
415a87ef36
Merge branch 'master' into async-ipv6-rpc
2012-06-24 12:34:15 +02:00
Gregory Maxwell
817ee0d826
Merge pull request #1174 from sipa/torhs
...
Tor hidden service support
2012-06-23 19:21:13 -07:00
Gregory Maxwell
0ae2ac5431
Merge pull request #1503 from gmaxwell/testnet_tweaks
...
Remove some rule differences which aren't needed with testnet3.
2012-06-23 19:02:55 -07:00
Jeff Garzik
983e4bdef0
Quieten 'getdata' P2P message output
...
Output one message per getdata, not one message per 'inv' entry.
2012-06-23 21:38:33 -04:00
xanatos
3948eb0c54
Changed a comment about a QVariant type
2012-06-23 17:29:34 +03:00
Pieter Wuille
d789a3f140
Some documentation about tor
2012-06-23 01:11:38 +02:00
Pieter Wuille
863e995b79
Debug version messages
2012-06-23 01:11:38 +02:00
Pieter Wuille
54ce3bad64
Add -tor and related configuration
2012-06-23 01:11:38 +02:00
Pieter Wuille
d077dd2a6e
Rewrite CNetAddr::GetReachabilityFrom()
...
Add support for Tor/I2P networks, and make code more readable.
2012-06-23 01:11:38 +02:00
Pieter Wuille
70f7f00385
Node support for Tor hidden services
...
This commit adds support for .onion addresses (mapped into the IPv6
by using OnionCat's range and encoding), and the ability to connect
to them via a SOCKS5 proxy.
2012-06-23 01:11:32 +02:00
Jeff Garzik
d62a1947be
Merge pull request #1458 from jgarzik/tracenet
...
Introduce -tracenet option, thereby quieting some redundant debug messages
2012-06-22 10:13:31 -07:00
Jeff Garzik
d07eaba195
Introduce -debugnet option, thereby quieting some redundant debug messages
...
Prior to this change, each TX typically generated 3+ debug messages,
askfor tx 8644cc97480ba1537214 0
sending getdata: tx 8644cc97480ba1537214
askfor tx 8644cc97480ba1537214 1339640761000000
askfor tx 8644cc97480ba1537214 1339640881000000
CTxMemPool::accept() : accepted 8644cc9748 (poolsz 6857)
After this change, there is only one message for each valid TX received
CTxMemPool::accept() : accepted 22a73c5d8c (poolsz 42)
and two messages for each orphan tx received
ERROR: FetchInputs() : 673dc195aa mempool Tx prev not found 1e439346fc
stored orphan tx 673dc195aa (mapsz 19)
The -debugnet option, or its superset -debug, will restore the full debug
output.
2012-06-22 13:11:57 -04:00
Jeff Garzik
cb1fcde2f4
Merge pull request #1502 from jgarzik/getrawmempool
...
RPC: add 'getrawmempool', listing all transaction ids in memory pool
2012-06-22 09:59:19 -07:00
Gregory Maxwell
e6332751c6
Remove some rule differences which aren't needed with testnet3.
...
Bip16 and Bip30 had early activation dates for testnet, but
with the reset they might as well use the same dates as
the main network.
2012-06-22 11:50:52 -04:00
Jeff Garzik
25d5c19522
RPC: add 'getrawmempool', listing all transaction ids in memory pool
2012-06-22 11:43:34 -04:00
Gregory Maxwell
a3869547e5
Merge pull request #1495 from Diapolo/fix_CKey_mem_leak
...
fix a memory leak in key.cpp
2012-06-22 08:38:48 -07:00
Pieter Wuille
e0be8da392
Unit tests for base32 encode/decode
2012-06-22 17:19:28 +02:00
Pieter Wuille
c4c99ade65
Base32 encoding/decoding
2012-06-22 17:19:28 +02:00
xanatos
d89f06c1ae
Small fix to rpc_tests
2012-06-22 10:02:43 +03:00
Gregory Maxwell
a08e182698
Merge pull request #1490 from luke-jr/gd_ljr_key
...
gitian-downloader: Update luke-jr's key
2012-06-21 14:25:17 -07:00
Gavin Andresen
9700f212ad
Merge pull request #1496 from xanatos/patch-2
...
= instead of == in multisig_tests.cpp
2012-06-21 12:51:05 -07:00
xanatos
fdfdb5cd7d
= instead of == in multisig_tests.cpp
2012-06-21 21:37:49 +03:00
Philip Kaufmann
a3d12f445a
fix a memory leak in key.cpp
...
- add EC_KEY_free() in CKey::Reset() when pkey != NULL
- init pkey with NULL in CKey constructor
2012-06-21 14:43:13 +02:00
Michael Ford
b768a38b76
Update master
2012-06-21 09:36:20 +08:00
Luke Dashjr
0783bcceef
gitian-downloader: Update luke-jr's key
2012-06-20 16:15:46 +00:00
Pieter Wuille
d65e959bae
Update my GPG key
2012-06-20 18:13:16 +02:00
Jeff Garzik
219abac227
Merge pull request #1488 from sipa/noowner
...
Remove CTxDB::ReadOwnerTxes.
2012-06-20 06:46:39 -07:00
Pieter Wuille
70f6049f71
Remove CTxDB::ReadOwnerTxes.
...
It seems it wasn't ever used since 0.1.5.
2012-06-20 15:07:48 +02:00
Wladimir J. van der Laan
703db97d80
Merge pull request #1483 from Diapolo/txtablemodel_updateDisplayUnit
...
GUI: ensure a changed bitcoin unit immediately updates the tx list amounts
2012-06-19 22:34:03 -07:00
Philip Kaufmann
229c34f818
GUI: ensure a changed bitcoin unit immediately updates the tx list amounts
2012-06-20 06:51:38 +02:00
Gavin Andresen
c283b3c569
print large orphan warning BEFORE deleting pvMsg
2012-06-19 17:14:29 -04:00
Pieter Wuille
451c3957fe
Merge pull request #1485 from xanatos/patch-1
...
Small logical error in mruset
2012-06-19 05:37:21 -07:00
xanatos
16d5671943
If (for example) the new max_size must be 5 then at the end the queue.size() must be <= 5, so the exit condition must be <=, so the continuing condition must be > (and not >= as it was).
2012-06-19 09:48:00 +03:00
Pieter Wuille
4c6b210af0
Fix netbase tests
...
* Do not rely on "a.b.c" being interpreted as "a.0.b.c"
* Parse numeric addresses for address families for which no device is configured
2012-06-19 02:22:09 +02:00
Luke Dashjr
0f5a2a82d9
CBigNum: Convert negative int64 values in a more well-defined way
...
Since the minimum signed integer cannot be represented as positive so long as its type is signed, and it's not well-defined what happens if you make it unsigned before negating it, we instead increment the negative integer by 1, convert it, then increment the (now positive) unsigned integer by 1 to compensate
2012-06-18 20:37:57 +00:00
Gavin Andresen
c5532e188e
Merge pull request #1399 from sipa/ipparse
...
Improve parsing of IPv6 addresses
2012-06-18 11:39:16 -07:00
Gavin Andresen
7596a030c6
Merge branch 'master' of https://github.com/fanquake/bitcoin
2012-06-18 14:29:32 -04:00
Gavin Andresen
550c73f4c8
Merge branch 'signbugs' of https://github.com/wizeman/bitcoin
...
Resolved minor conflict in main.cpp
2012-06-18 10:48:40 -04:00
fanquake
baf814f3da
OS X not OSX
2012-06-18 22:09:19 +08:00
fanquake
8b7b3be765
Further updates to build instructions
2012-06-18 21:58:20 +08:00
Gavin Andresen
5204ca87e2
Merge pull request #1480 from fanquake/master
...
Update OSX build instructions
2012-06-18 06:44:51 -07:00
Fordy
2bbfcd2d02
Update OSX build instructions
2012-06-18 14:57:28 +08:00
Pieter Wuille
432d28d3bb
Merge pull request #1477 from gmaxwell/master
...
Fix inverted logic for !Discover/!UPNP when !Listen.
2012-06-17 17:07:08 -07:00
Giel van Schijndel
896899e0d6
*Always* send a shutdown signal to enable custom shutdown actions
...
NOTE: This is required to be sure that we can properly shut down the RPC
thread.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-06-17 21:50:49 +02:00
Wladimir J. van der Laan
a54d2118be
Merge pull request #1434 from Diapolo/GUI_fix_displayunit
...
GUI: init with correct display unit and update it, when user changes it via options dialog
2012-06-17 12:29:26 -07:00
Wladimir J. van der Laan
8ce04527f9
Merge pull request #1451 from Diapolo/sendcoins
...
GUI: set cursor for balance field to IBeamCursor (to show the user it IS selectable)
2012-06-17 12:26:20 -07:00
Wladimir J. van der Laan
6062de265a
Merge pull request #1461 from laanwj/2012_06_helpmessage
...
Show command line options as dialog when opened from debug window
2012-06-17 12:24:35 -07:00
Gregory Maxwell
3bbb49de55
Fix inverted logic for !Discover/!UPNP when !Listen.
2012-06-17 12:13:34 -04:00
Philip Kaufmann
e0873dafc5
add the slot updateDisplayUnit() to overviewpage, sendcoinsdialog, sendcoinsentry and connect it to displayUnitChanged() - this ensures all fields in the GUI, who use a display unit are imediately updated, when the user changes this setting in the optionsdialog / ensure used fields init with the current set display unit
2012-06-17 15:20:42 +02:00
Giel van Schijndel
07368a9e3c
Merge branch 'master' into async-ipv6-rpc
...
Conflicts:
src/bitcoinrpc.cpp
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-06-17 14:30:37 +02:00
Matt Corallo
ad5f29b743
Revert "Disable bitcoin: URI handling on Windows for the 0.6 release"
...
This reverts commit 7b90edb5a6 .
2012-06-15 17:19:13 +02:00
Matt Corallo
1d42878adb
Fix #956 the Boost 1.49 way.
2012-06-15 17:19:09 +02:00
Matt Corallo
39471861d5
Upgrade to Boost 1.49 on Win32
2012-06-15 17:15:37 +02:00
Gavin Andresen
fab7858a35
Document how to build/run unit tests
2012-06-14 20:44:04 -04:00
Gregory Maxwell
194ea3186a
Merge pull request #1463 from sipa/fix_1455
...
Use a 64-bit nonce in ping
2012-06-14 09:48:10 -07:00
Pieter Wuille
c971112dfa
Use a 64-bit nonce in ping
...
Former code sent '0' as nonce, which was serialized as 32-bit.
2012-06-14 18:31:08 +02:00
Pieter Wuille
c4971e24f9
Add netbase tests
2012-06-14 17:43:10 +02:00
Pieter Wuille
1e8aeae15a
Improve parsing of IPv6 addresses
...
Implement the following rules:
* Interpret [X]:Y as host=X port=Y, if Y is an integer
* Interpret X:Y as host=X port=Y, if Y is an integer and X contains no colon
* Interpret X:Y as host=X:Y port=default otherwise
2012-06-14 17:37:15 +02:00
Wladimir J. van der Laan
7d72a8c36a
Show command line options as dialog when opened from debug window
...
On Linux/Mac the command-line options were printed to stderr when the button
was pressed in the debug window, resulting in confusion. This is fixed
in this commit by adding a separate method.
2012-06-14 15:14:01 +02:00
Wladimir J. van der Laan
d59bce21e5
Merge pull request #1459 from laanwj/2012_06_trayiconmenu
...
Reorganize tray icon menu into more logical order
2012-06-14 05:52:33 -07:00
Wladimir J. van der Laan
641cfb1456
Fix build of testcases after commit 0f10b21719
2012-06-14 09:41:11 +02:00
Wladimir J. van der Laan
64d46e7c6a
Merge pull request #1002 from Diapolo/URL-handling_2
...
URI-handling code update: added safety checks and notifications
2012-06-13 23:17:06 -07:00
Wladimir J. van der Laan
0f10b21719
Merge pull request #1439 from Diapolo/ClientShutdown
...
re-work Shutdown() function
2012-06-13 23:12:22 -07:00
Wladimir J. van der Laan
f5f2d7410d
Reorganize tray icon menu into more logical order
...
The current order of menu options in the tray menu doesn't really match expected usage patterns, this commit changes it to more logical order.
- Toggle show/hide first (unchanged)
- Then, send/receive coins actions, which are the critical functionality of bitcoin
- Then, sign/verify message
- Then finally the options, and closing with the debug window
2012-06-14 08:01:41 +02:00
Philip Kaufmann
93b7af3099
URI-handling code update: added safety checks and tray-notifications
2012-06-14 07:59:27 +02:00
Wladimir J. van der Laan
7a98f19fb6
Merge pull request #1420 from Diapolo/extend_showNormalIfMinimized
...
GUI: merge toggleHidden() code into showNormalIfMinimized()
2012-06-13 22:49:38 -07:00
Gavin Andresen
d518e444f8
Merge branch 'refactor_coinselect' of https://github.com/luke-jr/bitcoin
2012-06-13 21:36:35 -04:00
Philip Kaufmann
b5782531ad
set cursor for balance field to IBeamCursor (to show the user it IS selectable) and set autoDefault to false for the buttons that do not need this
2012-06-13 18:34:29 +02:00
Wladimir J. van der Laan
7d1490576d
Merge pull request #1448 from Diapolo/2012-06-13_translation_updates
...
update translation files (fetched from Transifex - 2012-06-13)
2012-06-13 09:24:39 -07:00
Wladimir J. van der Laan
1bdc992a59
Merge pull request #1449 from laanwj/2012_06_bitcoinstrings
...
Update bitcoinstrings.cpp and English source translation file
2012-06-13 09:23:10 -07:00
Wladimir J. van der Laan
15094f7654
Update bitcoinstrings from core and English source translation file
...
This is necessary as any strings have changed since last time.
Also the python script used to extract bitcoinstrings.cpp, extract_strings_qt.py
now sorts the strings before generating the output file. This results in more
deterministic output and thus smaller diffs.
2012-06-13 18:19:16 +02:00
Philip Kaufmann
66654ab02e
update translation files (fetched from Transifex) and remove translation for fr_FR, which was removed / renamed on TX
2012-06-13 18:04:27 +02:00
Wladimir J. van der Laan
44c89996c8
Merge pull request #1433 from Diapolo/tabbed_optionsdialog
...
GUI: re-work current options dialog to a tabbed layout and use an UI-file
2012-06-13 07:37:24 -07:00
Philip Kaufmann
c4443c2be1
re-work optionsdialog to a tabbed UI based on an ui-file
...
- extend network options with a SOCKS version selection
- changing "Unit to show amounts in:" now also updates the unit used in the transaction fee box
- string updates
- link Apply button and OK button when enabling or disabling them
- use LookupNumeric() from netbase to verify proxy address (via an EventFilter)
- change proxy address field to QValidatedLineEdit and add visual feedback
- add a status label used for displaying a message for invalid proxy addresses
- allow usage of IPv6 address as proxy address
- added warning message when enabling / disabling SOCKS proxy
2012-06-13 16:24:25 +02:00
Wladimir J. van der Laan
c4879a0c2f
Merge pull request #1444 from laanwj/2012_06_opendebuglog
...
Cross-platform “Open debug logfile”
2012-06-12 23:56:14 -07:00
Wladimir J. van der Laan
609046df6a
Merge pull request #1445 from Diapolo/RPCCon_Button_noAutoDefault
...
GUI: make buttons in debug window non autoDefault
2012-06-12 23:08:31 -07:00
Gavin Andresen
c17e60e270
Merge pull request #1446 from TheBlueMatt/changelog
...
Update wiki changelog at doc/release-process.txt
2012-06-12 17:08:34 -07:00
Matt Corallo
992a2e2e79
Update wiki changelog at doc/release-process.txt
2012-06-13 01:06:40 +02:00
Philip Kaufmann
d2e6dd6c99
merge toggleHidden() code into showNormalIfMinimized() to extend the functionality, but keep a simpler toggleHidden() for use in SLOT() macro
2012-06-12 22:15:35 +02:00
Philip Kaufmann
d4b2f3c45b
make buttons in debug window non autoDefault
2012-06-12 17:17:51 +02:00
Wladimir J. van der Laan
9b1732baae
Cross-platform "Open debug logfile"
...
The option to open the debug logfile from the debug window was implemented only for
windows. By using `QDesktopServices::openUrl` it now works on any platform.
2012-06-12 16:35:19 +02:00
Wladimir J. van der Laan
12718ce767
Merge pull request #1440 from Diapolo/overviewpage_InitialBalance
...
change initial Balance on overviewpage from "123.456 BTC" to "0 BTC" to ...
2012-06-12 04:19:49 -07:00
Pieter Wuille
de29f9b444
Merge pull request #1441 from TheBlueMatt/gitian-downloader
...
Fix broken config files
2012-06-12 03:43:06 -07:00
Wladimir J. van der Laan
e5ad8de2d9
Merge pull request #1443 from laanwj/2012_06_addressbook_noautoselect
...
Do not select first address automatically in the address book
2012-06-12 01:49:32 -07:00
Wladimir J. van der Laan
2842fe4aa3
Do not select first address automatically in the address book
...
This contributed to an accidental send (#1384 ), and has no clear advantage, better to disable it.
2012-06-12 10:48:42 +02:00
Wladimir J. van der Laan
b6ef8d5a40
Merge pull request #1412 from Diapolo/string_wait_mature
...
GUI: update info strings for generated blocks
2012-06-11 22:30:21 -07:00
Philip Kaufmann
9247134eab
introduce a new StartShutdown() function, which starts a thread with Shutdown() if no GUI is used and calls uiInterface.QueueShutdown() if a GUI is used / all direct uiInterface.QueueShutdown() calls are replaced with Shutdown() - this ensures a clean GUI shutdown, even when catching a SIGTERM and allows the BitcoinGUI destructor to get called (which fixes a tray-icon issue and keeps the tray-icon until Bitcoin-Qt exits)
2012-06-12 07:21:03 +02:00
Matt Corallo
993928cfcc
Fix broken config files
2012-06-12 01:52:34 +02:00
Philip Kaufmann
59e0f445ce
change initial Balance on overviewpage from "123.456 BTC" to "0 BTC" to not confuse users, which could see it before we init with the real wallet balance
2012-06-11 22:40:06 +02:00
Jeff Garzik
883a310904
Merge pull request #1435 from TheBlueMatt/mingwbuild
...
Fix Mingw64 build (missing headers according to M$ documentation)
2012-06-09 12:40:15 -07:00
Matt Corallo
b065976007
Fix Mingw64 build (missing headers according to M$ documentation)
2012-06-09 17:14:41 +02:00
Philip Kaufmann
40d23dafb7
update info string in GUI for generated blocks and change "must wait" into "must mature" to take the new immature label into consideration
2012-06-09 00:34:10 +02:00
Pieter Wuille
11f73c728a
Merge pull request #1421 from Diapolo/netbase_fix_sign_warnings
...
fix two signed/unsigned comparison warnings in netbase.cpp
2012-06-08 07:29:34 -07:00
Pieter Wuille
0ed0806bb4
Update comment about secure_allocator<>
2012-06-08 16:27:05 +02:00
Pieter Wuille
1b7cd74a49
Merge pull request #1424 from TheBlueMatt/lockcontention
...
Fix DEBUG_LOCKCONTENTION
2012-06-08 07:22:19 -07:00
Ricardo M. Correia
31ac53fbdc
Move NOINLINE definition to test where it's used.
2012-06-07 20:22:18 +02:00
Ricardo M. Correia
43346904e1
Don't overflow integer on 32-bit machines.
...
This was causing test_bitcoin to abort on a 32-bit system likely due to -ftrapv.
2012-06-07 20:22:10 +02:00
Pieter Wuille
afdd59416e
Merge pull request #1418 from Diapolo/GUI_fix_default_proxy_addr
...
fix default Proxy address in Qt options (no hostname allowed currently)
2012-06-05 11:13:25 -07:00
Matt Corallo
4d009243cb
Fix DEBUG_LOCKCONTENTION
2012-06-05 16:13:16 +02:00
Gavin Andresen
45268208ae
Merge pull request #1422 from Diapolo/add_used_datadir_debug_log
...
add used datadir to debug.log
2012-06-05 06:45:49 -07:00
Philip Kaufmann
618b250e34
add used datadir to debug.log
2012-06-05 07:37:07 +02:00
Philip Kaufmann
b69dd08ae7
fix two signed/unsigned comparison warnings in netbase.cpp
2012-06-05 07:32:27 +02:00
Philip Kaufmann
4e16306ae3
fix default Proxy address in Qt options (no hostname allowed currently)
2012-06-04 23:13:01 +02:00
Gavin Andresen
46e06b875d
Merge branch 'netopt' of https://github.com/sipa/bitcoin
2012-06-04 14:15:19 -04:00
Chris Moore
831f59ce8b
Fix coin selection to only include change when it's necessary.
2012-06-04 16:49:10 +00:00
Chris Moore
d650f96d5f
Preserve the shuffled order of coins with equal value to give more randomized coin selection.
2012-06-04 16:36:46 +00:00
Chris Moore
4ce190a015
Test that the coin selection code is suitably random, and add tests re. sub-cent change.
2012-06-04 16:36:43 +00:00
Chris Moore
e333ab56d5
Move the random_shuffle call back into SelectCoinsMinConf() so we can unit test it.
2012-06-04 16:36:39 +00:00
Chris Moore
9b0369c773
Refactor SelectCoinsMinConf() and add unit tests.
...
AvailableCoins() makes a vector of available outputs which is then passed to SelectCoinsMinConf(). This allows unit tests to test the coin selection algorithm without having the whole blockchain available.
2012-06-04 16:36:34 +00:00
Gavin Andresen
9f46a3e32a
Merge pull request #1411 from TheBlueMatt/debian
...
Update contrib/debian.
2012-06-04 09:15:45 -07:00
Gavin Andresen
371f9616e9
Merge pull request #1415 from dooglus/fix-build-unix.txt
...
"USE_UPNP=-" is needed to remove UPnP support.
2012-06-04 09:14:34 -07:00
Chris Moore
2976a52222
"USE_UPNP=-" is needed to remove UPnP support.
2012-06-03 16:11:11 -07:00
Matt Corallo
8f6111bb9c
Update contrib/debian.
...
* Updates package description to note that blockchain now takes
2+ GB instead of 150+ MB.
* Stop creating DB_CONFIG with DB_LOG_AUTO_REMOVE as that is set
in Bitcoin itself now.
* Update changelog with 0.6.2 and the current updates.
2012-06-02 16:45:14 +02:00
Wladimir J. van der Laan
882ba0e752
Merge pull request #837 from sje397/ShowImmatureBalance
...
Added 'immature balance' for miners. Only displayed if the balance is > 0
2012-06-02 02:35:48 -07:00
Wladimir J. van der Laan
88d7bc930a
Merge pull request #1368 from Diapolo/verifymessagepage
...
GUI: change verifymessagepage behaviour to match RPC-call "verifymessage"
2012-06-02 02:33:41 -07:00
Wladimir J. van der Laan
1c85a7f3eb
Merge pull request #1364 from Diapolo/move_HelpMessage_GUIUtil_add_RPCCon_Button
...
GUI: move class HelpMessageBox to guiutil.cpp/.h
2012-06-02 02:32:19 -07:00
Philip Kaufmann
5d6b30271f
move class HelpMessageBox to guiutil.cpp/.h / add button to show Bitcoin command-line options (in RPC Console -> Information) / resize Debug window a little to allow for a non-breaking display of the welcome message with non-english translation
2012-06-01 16:29:54 +02:00
Philip Kaufmann
8103b0bb62
change verifymessagepage behaviour to match RPC-call "verifymessage" (input address, signature and message) / display messages in status label (remove message boxes) / resize window to make signature fully readable / change signature font to BC-address font (like in messagepage) / remove checkAddress() and place code directly in on_verifyMessage_clicked() / add visual feedback to LineEdits / remove AddressTableModel references, as they are now unused / add addr.GetKeyID(keyID) check
2012-06-01 11:13:44 +02:00
Gavin Andresen
98474d3d6f
Use ConvertTo to simplify sendmany/addmultisigaddress argument handling
2012-05-31 16:09:31 -04:00
Gavin Andresen
ea7582bb41
Make sendrawtx return txid to be consistent with other send methods.
2012-05-31 16:05:07 -04:00
Ricardo M. Correia
10b45b4c2e
Use C++-style numeric limits instead of C-style.
2012-05-31 20:33:22 +02:00
Ricardo M. Correia
78e851f94f
Fix noinline definition so that it works for more compilers.
2012-05-31 20:33:14 +02:00
Pieter Wuille
587f929c64
Rework network config settings
2012-05-31 18:12:35 +02:00
Nils Schneider
50fac68654
Merge pull request #1403 from Diapolo/translation_master_file
...
Translation: sync english translation master file with current master branch (2012-05-31)
2012-05-31 03:38:42 -07:00
Philip Kaufmann
407e20c11a
sync english translation master file with current master branch
2012-05-31 11:11:04 +02:00
Pieter Wuille
10ed8178fc
Update bitcoinstrings.cpp
2012-05-30 23:00:21 +02:00
R E Broadley
e69a797990
Show the timestamp for the block.
...
wrap lines
2012-05-29 20:11:37 +01:00
Gregory Maxwell
f6521b66f7
Merge pull request #1394 from grimd34th/patch-1
...
incorrect openssl when compared to makefile
2012-05-28 14:51:55 -07:00
grimd34th
a2bd31432f
incorrect openssl when compared to makefile
2012-05-28 18:46:37 -03:00
Gregory Maxwell
20cb17e1f9
Merge pull request #1392 from gavinandresen/testnet_reset
...
Testnet reset
2012-05-27 19:26:47 -07:00
Luke Dashjr
3cd01fdf0e
CreateNewBlock: Check that the produced CBlock is acceptable (except for proof-of-work and merkletree, since those need to be provided later)
...
This throws an exception from CreateNewBlock otherwise, which is not safe without #1245 !
2012-05-27 12:27:33 +00:00
Pieter Wuille
a52c7a1b65
Merge pull request #1357 from sipa/keyid
...
Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddress
2012-05-26 10:17:27 -07:00
Pieter Wuille
1e07068adf
Merge pull request #1370 from Diapolo/add_startuptime_to_log
...
add client startup time as an entry to debug.log
2012-05-26 01:55:17 -07:00
Gavin Andresen
c87c8cd163
Add a testnet checkpoint at block 546
2012-05-25 14:36:40 -04:00
Gavin Andresen
248bceb30c
Fix issue#1082, testnet difficulty unsigned integer underflow
2012-05-25 14:36:40 -04:00
Gavin Andresen
feeb761ba0
Testnet, Mark III
2012-05-25 14:36:40 -04:00
Gavin Andresen
4e6e3293ff
Remove newlines from JSON strings
...
Newlines in JSON strings are against the JSON spec,
so remove them from the script*.json unit tests to
make python's jsonrpc happy (json::spirit didn't care).
2012-05-25 13:58:44 -04:00
Gavin Andresen
325e5c3ef0
Merge pull request #1366 from roques/completion
...
Bash completion for bitcoind(1)
2012-05-25 09:07:16 -07:00
Gavin Andresen
787f5e9949
Unit tests for transaction size limits
2012-05-25 11:37:34 -04:00
sje397
8fdb7e108f
Added 'immature balance' for miners. Only displayed if the balance is greater than zero.
...
This adds a field labelled 'Immature' in the overview section under the 'unconfirmed' field, which shows mined
income that has not yet matured (which is currently not displayed anywhere, even though the transactions
exist in the transaction list). To do that I added a 'GetImmatureBalance' method to the wallet, and connected
that through to the GUI as per the 'GetBalance' and 'GetUnconfirmedBalance' methods. I did a small 'no-op'
change to make the code in adjacent functions a little more readable (imo); it was a change I had made in my
repo earlier...but I thought it wouldn't hurt so left it in. Immature balance comes from mined income that is
at least two blocks deep in the chain (same logic as displayed transactions).
My reasoning is:
- as a miner, it's a critical stat I want to see
- as a miner, and taking into account the label 'immature', the uncertainty is pretty clearly implied
- those numbers are already displayed in the transaction list
- this makes the overview numbers add up to what's in the transaction list
- it's not displayed if the immature balance is 0, so won't bother non-miners
I also 'cleaned' the overview UI a little, moving code to the XML and removing HTML.
2012-05-25 23:15:27 +10:00
Giel van Schijndel
fbf9df2ea3
Use the QueueShutdown signal to stop accepting new RPC connections
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-05-25 07:27:25 +02:00
Giel van Schijndel
7cc2ceae09
Allow all addresses on the loopback subnet (127.0.0.0/8) not just 127.0.0.1
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-05-25 07:27:24 +02:00
Giel van Schijndel
a0780ba08a
Generalise RPC connection handling code to allow more listening sockets
...
Using this modification it should be relatively easy to, at a later
time, listen on multiple addresses (even Unix domain sockets should be
possible).
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-05-25 07:27:24 +02:00
Giel van Schijndel
43b6dafa6e
Allow clients on the IPv6 loopback as well
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-05-25 07:27:24 +02:00
Giel van Schijndel
c1ecab818c
Add dual IPv4/IPv6 stack support to the RPC server
...
The RPC server now listens for, and handles, incoming connections on
both IPv4 as well as IPv6.
If available (and usable) it uses a dual IPv4/IPv6 socket on systems
that support it (e.g. Linux and BSDs) and falls back to separate
IPv4/IPv6 sockets on systems that don't (e.g. Windows).
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-05-25 07:27:24 +02:00
Giel van Schijndel
914dc01222
Use asynchronous I/O to handle RPC requests
...
This allows more flexibility in the RPC code, e.g. making it easier to
handle multiple simultaneous connections later on.
Currently asynchronous I/O is only used to listen for and accept
incoming connections. Asynchronous reading/writing is more involved.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2012-05-25 07:27:24 +02:00
Gavin Andresen
6b8a17119e
Lots more Script unit test cases.
2012-05-24 17:32:09 -04:00
Pieter Wuille
1025440184
Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddress
...
This introduces internal types:
* CKeyID: reference (hash160) of a key
* CScriptID: reference (hash160) of a script
* CTxDestination: a boost::variant of the former two
CBitcoinAddress is retrofitted to be a Base58 encoding of a
CTxDestination. This allows all internal code to only use the
internal types, and only have RPC and GUI depend on the base58 code.
Furthermore, the header dependencies are a lot saner now. base58.h is
at the top (right below rpc and gui) instead of at the bottom. For the
rest: wallet -> script -> keystore -> key. Only keystore still requires
a forward declaration of CScript. Solving that would require splitting
script into two layers.
2012-05-24 20:26:19 +02:00
Pieter Wuille
fd61d6f506
Encapsulate public keys in CPubKey
2012-05-24 19:58:12 +02:00
Gavin Andresen
f04017f702
More CScript unit tests.
2012-05-24 13:29:08 -04:00
Jeff Garzik
b92095f18c
DoS_tests: fix signed/unsigned comparison warnings
...
test/DoS_tests.cpp: In member function ‘void DoS_tests::DoS_mapOrphans::test_method()’:
test/DoS_tests.cpp:200:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
test/DoS_tests.cpp:208:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
test/DoS_tests.cpp: In member function ‘void DoS_tests::DoS_checkSig::test_method()’:
test/DoS_tests.cpp:260:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
test/DoS_tests.cpp:267:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
test/DoS_tests.cpp:280:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
test/DoS_tests.cpp:307:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
2012-05-24 12:18:50 -04:00
Jeff Garzik
2ae4ad004a
Merge pull request #1387 from Diapolo/rem_unused_rpcdump
...
remove dead "using namespace boost::asio;" from rpcdump.cpp
2012-05-24 09:14:59 -07:00
Jeff Garzik
ec9c902133
Merge pull request #1383 from jgarzik/rawtx
...
JSON-RPC: Add 'sendrawtx' op, for sending pre-built TX's to network
2012-05-24 09:14:04 -07:00
Philip Kaufmann
bd09334d1a
remove dead "using namespace boost::asio;" from rpcdump.cpp
2012-05-24 18:13:03 +02:00
Jeff Garzik
8e154e4d74
Merge branch 'merge2' into merge
2012-05-24 11:57:51 -04:00
Jeff Garzik
480d44bd0b
rpcdump: include cleanup. move JSONRPCError def to bitcoinrpc.h.
2012-05-23 23:20:07 -04:00
Jeff Garzik
429039d45d
Refactor: move runCommand() to util.cpp
2012-05-23 23:10:59 -04:00
Jeff Garzik
8956453c0d
.gitignore: add test_bitcoin
2012-05-23 21:45:26 -04:00
Jeff Garzik
976c08b68a
JSON-RPC: Add 'sendrawtx' op, for sending pre-built TX's to network
2012-05-23 16:21:25 -04:00
Christian von Roques
dbd9c486bb
Use debhelper to install bitcoind.bash-completion
2012-05-23 15:27:41 -04:00
Christian von Roques
33d7d93298
Bash programmable completion for bitcoind(1)
2012-05-23 14:26:45 -04:00
Philip Kaufmann
41c6b8abc6
add client startup time as an entry to debug.log (note: logged time in debug.log differs by a few seconds from the one displayed in the Debug window) / make ClientModel::formatClientStartupTime() return a QString
2012-05-23 18:44:28 +02:00
Jeff Garzik
9ac282ca0c
Refactor: add IsChainFile helper. LoadBlockIndex() code movement.
2012-05-23 00:17:07 -04:00
Gregory Maxwell
7a99821377
Merge pull request #1342 from rebroad/LastSeenMinusMinus
...
Should not be T minus, as this indicate duration to future event.
2012-05-22 20:33:35 -07:00
Luke Dashjr
f9189543bf
CDBEnv: fix qt build
2012-05-22 20:47:42 -04:00
Pieter Wuille
f29f242758
Merge pull request #1380 from gavinandresen/optimize2
...
Move signature cache from CKey::Verify to CheckSig in script.cpp
2012-05-22 15:13:36 -07:00
Jeff Garzik
0134a1c08c
Merge branch 'dbenv' into tmp
...
Conflicts:
src/db.cpp
2012-05-22 17:45:00 -04:00
Jeff Garzik
5d0f7c4f47
Merge pull request #1381 from jgarzik/check-deser
...
Prevent crashes due to missing or corrupted database records
2012-05-22 14:39:49 -07:00
Pieter Wuille
fa638ec8af
Merge pull request #1369 from sipa/bootorder
...
Reorder AppInit2
2012-05-22 13:54:46 -07:00
Jeff Garzik
78eb2789b2
ProcessMessage(): remove duplicate orphan tx debug message
2012-05-22 15:33:04 -04:00
Jeff Garzik
8fe791e4e2
Prevent crashes due to missing or corrupted blk????.dat records
...
In LoadExternalBlockFile(), errors are already caught... silently.
Add a warning message, even though we do not abort the program due to
load error.
2012-05-22 15:23:17 -04:00
Jeff Garzik
f94b64c2f3
Prevent crashes due to missing or corrupted database records
...
Any problems seen during deserialization will throw an uncaught
exception, crashing the entire bitcoin process. Properly return an
error instead, so that we may at least log the error and gracefully
shutdown other portions of the app.
2012-05-22 15:12:52 -04:00
Gavin Andresen
acf513cfe7
Move signature cache from CKey::Verify to CheckSig in script.cpp
...
More than doubles the speed of verifying already-cached signatures
that use compressed pubkeys:
Before: ~200 microseconds
After: ~80 microseconds
(no caching at all: ~3,300 microseconds per signature)
Also encapsulates the signature cache code in a class
and fixes a signed/unsigned comparison warning.
2012-05-22 14:15:11 -04:00
Wladimir J. van der Laan
d1edab602a
Merge pull request #1379 from laanwj/2012_05_macoshide
...
Remove duplicate behavior on MacOSX
2012-05-22 10:33:03 -07:00
Wladimir J. van der Laan
b06f9c1364
Remove duplicate behavior on MacOSX
...
Dock icon on macosx already has show/hide functionality. This results in erratic behavior.
2012-05-22 18:28:10 +02:00
Gavin Andresen
43d16f0361
Merge branch 'master' of github.com:bitcoin/bitcoin
2012-05-22 11:14:30 -04:00
Gavin Andresen
d0e4051cd8
Merge branch 'optimize'
2012-05-22 11:13:00 -04:00
Gregory Maxwell
09cec19e2f
Merge pull request #1378 from rebroad/ProcessMessagesDebugCorrect
...
Correct debug.log output to show correct function the debug is coming from.
2012-05-22 08:06:05 -07:00
Gavin Andresen
eef7c4a773
Merge pull request #1372 from jgarzik/json-threadsafe
...
Define BOOST_SPIRIT_THREADSAFE at all json_spirit*.h inclusion sites
2012-05-22 07:53:42 -07:00
R E Broadley
ea591ead85
Correct debug.log output to show correct function the debug is coming from.
2012-05-22 12:06:08 +01:00
Jeff Garzik
7b671f52e0
Define BOOST_SPIRIT_THREADSAFE in all makefiles
...
rather than at each include site.
Fixes #1371
2012-05-21 22:25:54 -04:00
Pieter Wuille
63407fd6e2
Merge pull request #917 from mndrix/reopen-log-file
...
Reopen log file on SIGHUP
2012-05-21 10:04:26 -07:00
Wladimir J. van der Laan
bc5053d93e
Merge pull request #1329 from laanwj/2012_05_addrremovewhitespace
...
Filter out whitespace and zero-width non-breaking spaces in address field validator
2012-05-21 09:54:24 -07:00
Wladimir J. van der Laan
ce7896070c
Remove autocorrection of 0/i in addresses in UI
2012-05-21 18:52:56 +02:00
Wladimir J. van der Laan
25047eb3e9
Filter out whitespace and zero-width non-breaking spaces in validator
...
- Fixes issues with copy/pasting from web or html emails (#1325 )
2012-05-21 18:52:15 +02:00
Pieter Wuille
7d80d2e3d7
Reorder AppInit2
...
This reorders AppInit2 into 10 sections:
1) basic setup (OS stuff, signal handlers)
2) parameter interactions (softset)
3) interpreting options without side effects (just setting internal variables)
4) application initialization (datadir lock, daemonize, pidfile, log file)
5) network initialization (network params, proxy, binding)
6) load blockchain
7) load wallet
8) import blocks (-loadblock=)
9) load peers
10) start node/rpc threads
11) finished
This means invalid configurations will be detected as soon as possible
(in particular, before loading the block chain).
2012-05-21 18:43:22 +02:00
Wladimir J. van der Laan
3b9473afa2
Merge pull request #1365 from Diapolo/askpassphrasedialog
...
GUI: start rows in askpassphrasedialog.ui at 0 (not 1)
2012-05-21 09:41:51 -07:00
Jeff Garzik
ce4cc630c2
Merge pull request #1367 from jgarzik/db-private
...
BDB: restore DB_PRIVATE flag to environment
2012-05-21 09:40:30 -07:00
Jeff Garzik
9c137aaccf
BDB: restore DB_PRIVATE flag to environment
...
Satoshi's commits fdbf76d and c8ad9b8 (SVN import) removed the
DB_PRIVATE flag from the environment. In part, this enables processes
other than bitcoind to examine the active database environment.
However, this incurs a slight performance penalty versus working
entirely within application memory (DB_PRIVATE). Because bitcointools
and other direct-BDB-accessing tools are not used by the vast
majority of users, prefer to default with DB_PRIVATE with the option
of disabling it if needed via -privdb=0.
2012-05-21 12:38:45 -04:00
Pieter Wuille
46784d0826
Merge pull request #1354 from fanquake/master
...
Update Header Licenses
2012-05-20 12:27:50 -07:00
Pieter Wuille
6e86c4700b
Merge pull request #1363 from Diapolo/remove_strncasecmp
...
remove strncasecmp() + strnicmp() calls use boost::algorithm::istarts_with()
2012-05-20 12:26:43 -07:00
Philip Kaufmann
4dfbc78a88
start rows in askpassphrasedialog.ui at 0 (not 1)
2012-05-20 15:55:39 +02:00
Wladimir J. van der Laan
5a8398e55a
Merge pull request #1205 from laanwj/2012_05_granular_ui_notifications
...
Finer-grained UI updates, move UI interface to boost::signals
2012-05-20 01:53:24 -07:00
Wladimir J. van der Laan
239c11d0dd
Make testcases build, prevent windows symbol collision
2012-05-20 10:44:50 +02:00
Wladimir J. van der Laan
0832c0d166
Process address book updates incrementally
...
- No longer invalidates selection model, thus retains selection on address book changes
- Fixes selection of new address when added
2012-05-20 10:44:50 +02:00
Wladimir J. van der Laan
ab1b288fa7
Convert UI interface to boost::signals2.
...
- Signals now go directly from the core to WalletModel/ClientModel.
- WalletModel subscribes to signals on CWallet: Prepares for multi-wallet support, by no longer assuming an implicit global wallet.
- Gets rid of noui.cpp, the few lines that were left are merged into init.cpp
- Rename wxXXX message flags to MF_XXX, to make them UI indifferent.
- ThreadSafeMessageBox no longer returns the value `4` which was never used, converted to void.
2012-05-20 10:44:50 +02:00
Wladimir J. van der Laan
fe4a655042
Fine-grained UI updates
...
Gets rid of `MainFrameRepaint` in favor of specific update functions that tell the UI exactly what changed.
This improves the efficiency of various handlers. Also fixes problems with mined transactions not showing up until restart.
The following notifications were added:
- `NotifyBlocksChanged`: Block chain changed
- `NotifyKeyStoreStatusChanged`: Wallet status (encrypted, locked) changed.
- `NotifyAddressBookChanged`: Address book entry changed.
- `NotifyTransactionChanged`: Wallet transaction added, removed or updated.
- `NotifyNumConnectionsChanged`: Number of connections changed.
- `NotifyAlertChanged`: New, updated or cancelled alert. As this finally makes it possible for the UI to know when a new alert arrived, it can be shown as OS notification.
These notifications could also be useful for RPC clients. However, currently, they are ignored in bitcoind (in noui.cpp).
Also brings back polling with timer for numBlocks in ClientModel. This value updates so frequently during initial download that the number of signals clogs the UI thread and causes heavy CPU usage. And after initial block download, the value changes so rarely that a delay of half a second until the UI updates is unnoticable.
2012-05-20 10:41:54 +02:00
Wladimir J. van der Laan
563f3efda3
Merge pull request #1323 from Diapolo/string_fixes
...
translation updates / string updates
2012-05-20 01:34:06 -07:00
Wladimir J. van der Laan
6f3b919ae1
Merge pull request #1353 from Diapolo/RPC_OpenDebugLog_Icon
...
GUI: add an icon for Debug logfile -> Open in the RPC console
2012-05-20 01:32:18 -07:00
Wladimir J. van der Laan
01ecb074a7
Merge pull request #1302 from laanwj/2012_05_utilstrings
...
Get rid of snprintf (except one) with fixed buffers, shorten code
2012-05-20 01:30:18 -07:00
Jeff Garzik
ffe8b77a61
Further CDBEnv encapsulation work.
2012-05-19 20:46:52 -04:00
Jeff Garzik
94e34fa0ad
CDB::CDB: properly initialize activeTxn to NULL
2012-05-19 20:45:39 -04:00
Jeff Garzik
8b1202c52c
Remove unused nested BDB transaction support
2012-05-19 20:45:39 -04:00
Jeff Garzik
24b57e3c6a
Create CDBEnv::TxnBegin(), and use it in CDB::TxnBegin()
2012-05-19 20:44:31 -04:00
Jeff Garzik
cd9696fc97
Encapsulate BDB environment inside new CDBEnv class
...
Cleans up and organizes several scattered functions and variables related to
the BDB env. Class CDBInit() existed to provide a
guaranteed-via-C++-destructor cleanup of the db environment.
A formal CDBEnv class provides all of this inside a single wrapper.
2012-05-19 20:43:19 -04:00
Jeff Garzik
b52a270538
Reorganize(): remove spurious TxnAbort()
...
If Reorganize() fails, then its caller, CBlock::SetBestChain(),
will call TxnAbort().
Redundant TxnAbort() calls are harmless. The second will return an
error return value, with no other side effects. TxnAbort() return
values are generally never checked. The impact is nil.
2012-05-19 20:40:43 -04:00
Philip Kaufmann
00fb08158d
remove strncasecmp() + strnicmp() calls and replace that code via boost::algorithm::istarts_with() / do not call ipcInit() on Mac and Windows as this is unneeded currently
2012-05-20 00:48:34 +02:00
Jeff Garzik
cde87ee75c
Merge pull request #1360 from jgarzik/datasync
...
Default to DB_TXN_WRITE_NOSYNC for all transactional operations
2012-05-19 12:33:19 -07:00
Pieter Wuille
bd795bd543
Merge pull request #1358 from luke-jr/shared_lockchk
...
Shared code for wallet lock help and check
2012-05-19 08:34:27 -07:00
Gavin Andresen
973ca019bc
Merge pull request #1296 from Diapolo/CheckDiskSpace
...
make CheckDiskSpace() use 50 * 1024 * 1024 Bytes
2012-05-19 05:48:48 -07:00
Gavin Andresen
23e5c5b11a
Merge pull request #1289 from Diapolo/Bitcoin_as_noun
...
change strings to Bitcoin (uppercase), where it is used as a noun and up...
2012-05-19 05:45:50 -07:00
Wladimir J. van der Laan
e3f72a3555
Merge pull request #1362 from laanwj/2012_05_debugwindowicon2
...
Replace debug window icon with LGPL-licensed one (fixes #1348 )
2012-05-19 03:48:09 -07:00
Wladimir J. van der Laan
8a6a35e9d9
Replace debug window icon with LGPL-licensed one ( fixes #1348 )
2012-05-19 12:47:01 +02:00
Jeff Garzik
394b9298fa
Default to DB_TXN_WRITE_NOSYNC for all transactional operations
...
* This is safer than DB_TXN_NOSYNC, and does not appear to impact
performance.
* Applying this to the dbenv is necessary to avoid many fdatasync(2)
calls on db 5.x
* We carefully and thoroughly flush databases upon shutdown and
other important events already.
2012-05-19 01:25:06 -04:00
Luke Dashjr
29875dcb4b
Shared code for wallet lock help and check
2012-05-18 23:13:21 +00:00
Michael Hendricks
9af080c351
Reopen debug.log on SIGHUP
...
The best log rotation method formerly available was to configure
logrotate with the copytruncate option. As described in the logrotate
documentation, "there is a very small time slice between copying the
file and truncating it, so some logging data might be lost".
By sending SIGHUP to the server process, one can now reopen the debug
log file without losing any data.
2012-05-18 16:20:03 -06:00
Michael Hendricks
fea25712ca
Serialize access to debug.log stream
...
Acquire an exclusive, advisory lock before sending output to debug.log
and release it when we're done. This should avoid output from multiple
threads being interspersed in the log file.
We can't use CRITICAL_SECTION machinery for this because the debug log
is written during startup and shutdown when that machinery is not
available.
(Thanks to Gavin for pointing out the CRITICAL_SECTION problems based
on his earlier work in this area)
2012-05-18 16:19:09 -06:00
Philip Kaufmann
ff0ee876bb
change strings to Bitcoin (uppercase), where it is used as a noun and update strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string
2012-05-18 23:13:58 +02:00
Jeff Garzik
d6615a54c6
Merge pull request #1350 from jgarzik/del-deprecated
...
JSON-RPC: remove 'getblocknumber' deprecated RPC
2012-05-18 08:26:40 -07:00
Pieter Wuille
660ff174f2
Use boost::thread locking instead of interprocess
2012-05-18 16:56:12 +02:00
Gavin Andresen
62922c8ab0
Cache signature verifications
...
Create a maximum-10MB signature verification result cache.
This should almost double the number of transactions that
can be processed on a given CPU, because before this change
ECDSA signatures were verified when transactions were added
to the memory pool and then again when they appeared in
a block.
2012-05-18 10:41:18 -04:00
Gavin Andresen
4add41a2a6
Further DoS prevention: Verify signatures last
...
Loop over all inputs doing inexpensive validity checks first,
and then loop over them a second time doing expensive signature
checks. This helps prevent possible CPU exhaustion attacks
where an attacker tries to make a victim waste time checking
signatures for invalid transactions.
2012-05-18 10:41:18 -04:00
Gavin Andresen
7a15109c04
Remove invalid dependent orphans from memory
...
Remove orphan transactions from memory once
all of their parent transactions are received
and they're still not valid.
Thanks to Sergio Demian Lerner for suggesting this fix.
2012-05-18 10:41:17 -04:00
Gavin Andresen
77b99cf7ad
Optimize orphan transaction handling
...
Changes suggested by Sergio Demian Lerner to
help prevent potential DoS attacks.
2012-05-18 10:13:21 -04:00
Fordy
3a25a2b9b0
Update License in File Headers
...
I originally created a pull to replace the "COPYING" in crypter.cpp and
crypter.h, but it turned out that COPYING was actually the correct
file.
2012-05-18 22:02:28 +08:00
Philip Kaufmann
a3b4caac38
add an icon for Debug logfile -> Open in the RPC console / add a missing comment in rpcconsole.h
2012-05-18 14:11:55 +02:00
Wladimir J. van der Laan
4a9130aca2
Merge pull request #1346 from laanwj/2012_05_overviewpage_restore
...
Restore overview page (put transactions back within frame)
2012-05-18 01:35:31 -07:00
Wladimir J. van der Laan
320fe1015a
Restore overviewpage (put transactions back within frame)
...
- Also, change "(out of sync)" to only red, instead of red and bold, which a bit more subtle
- Move label stylesheets to xml
2012-05-18 10:33:09 +02:00
Jeff Garzik
47f48a658d
JSON-RPC: remove 'getblocknumber' deprecated RPC
...
RPC 'getblockcount' should be used instead.
2012-05-17 23:43:00 -04:00
Jeff Garzik
6d64a0bfed
Make orphan logging more verbose, displaying mapOrphanTransactions.size()
...
Old log message:
storing orphan tx df2244f6bc
New log message:
storing orphan tx df2244f6bc (mapsz 51)
Also, trim a few trailing whitespace in main.cpp.
2012-05-17 20:36:55 -04:00
Jeff Garzik
6c513a45d5
Merge pull request #1340 from rebroad/DBFlushDurationReport
...
Report how long DBFlush took.
2012-05-17 17:21:01 -07:00
Jeff Garzik
f9dd136a09
Revert "use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add missing "#define strncasecmp _strnicmp" in init.cpp"
...
This reverts commit f4ac41806a .
Reason: breaks build.
2012-05-17 20:14:24 -04:00
Jeff Garzik
c0a360ce49
Merge pull request #1345 from Diapolo/strnicmp_Win32
...
Win32: use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX)
2012-05-17 15:53:38 -07:00
R E Broadley
757cec9ddd
Should only be mapped when the getdata is done.
...
Without this change, mappings will be created even after AlreadyHave equals true, and will never be erased.
2012-05-17 23:01:00 +01:00
R E Broadley
53d0e6dd6a
Report how long DBFlush took.
2012-05-17 22:56:14 +01:00
Philip Kaufmann
f4ac41806a
use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX) and add missing "#define strncasecmp _strnicmp" in init.cpp
2012-05-17 23:20:47 +02:00
Wladimir J. van der Laan
f0fc95a143
Merge pull request #1314 from Diapolo/Wallet_Transaction_state_Overviewpage
...
GUI: add 2 labels to the overviewpage that display Wallet and Transaction status
2012-05-17 14:13:23 -07:00
R E Broadley
83e047eaa7
Was showing a negative number. Changes to positive, since negative (T minus) usually indicates a future event.
2012-05-17 21:58:05 +01:00
Gavin Andresen
f718aedd9f
Refactor: GetRandHash() method for util
2012-05-17 16:33:27 -04:00
Gavin Andresen
096e06dbb5
Refactor: move code from key.h to key.cpp
2012-05-17 16:33:26 -04:00
Philip Kaufmann
c26f3a9bd1
add 2 labels to the overviewpage that display Wallet and Transaction status (obsolete or current) / cleanup overviewpage XML ui-file
2012-05-17 21:49:32 +02:00
Wladimir J. van der Laan
f1e7570755
Merge pull request #1336 from laanwj/2012_05_consoleicon
...
Add icon for debug window
2012-05-17 11:38:08 -07:00
Wladimir J. van der Laan
8ece75aee1
Add icon for debug window
2012-05-17 20:34:30 +02:00
Jeff Garzik
985302c7cc
Merge pull request #1335 from rebroad/IgnoreBuildDir
...
Add build directory to .gitignore, so that it's not tracked.
2012-05-17 11:32:47 -07:00
Jeff Garzik
7563424f32
Merge pull request #1334 from rebroad/Exiting2Exited
...
Corrected grammar. As per Principle Of Least Surprise.
2012-05-17 11:29:09 -07:00
Wladimir J. van der Laan
ae2fe472c3
Merge pull request #1333 from rebroad/AddBinSh
...
Add /bin/sh to bitcoin-qt.pro - as some filesystems don't have the execute flag.
2012-05-17 11:14:42 -07:00
R E Broadley
0ec6e88048
Add build directory to .gitignore, so that it's not tracked.
2012-05-17 19:09:21 +01:00
R E Broadley
1d764d631f
Corrected grammar. As per Principle Of Least Surprise.
2012-05-17 18:52:38 +01:00
R E Broadley
8c35bfbadf
Add /bin/sh to bitcoin-qt.pro - as some filesystems don't have the execute flag.
2012-05-17 18:48:09 +01:00
Gregory Maxwell
1844b2fdb4
Merge pull request #1331 from roques/trivia
...
Fix typo. libarcode => libqrcode
2012-05-17 10:35:02 -07:00
Jeff Garzik
0c7fd94585
Merge pull request #1332 from Diapolo/fix_RenameOver_FileCommit_Win32
...
fix RenameOver() and FileCommit() functions, to not generate compilation errors
2012-05-17 09:34:12 -07:00
Philip Kaufmann
5f9861953e
fix RenameOver() and FileCommit() functions, to not generate compilation errors
2012-05-17 18:30:09 +02:00
Jeff Garzik
cf2f7c30a3
Merge pull request #1295 from jgarzik/txn-retval
...
[FIX] Always check return values of TxnBegin() and TxnCommit()
2012-05-17 08:49:16 -07:00
Jeff Garzik
d17ac27a72
Merge pull request #1316 from jgarzik/dead-code
...
Remove dead code: CTxDB::EraseBlockIndex(), CBlockIndex::EraseBlockFromDisk()
2012-05-17 08:47:54 -07:00
Jeff Garzik
b56843b253
Merge pull request #1198 from jgarzik/addrman
...
Replace BDB-managed addr.dat with bitcoin-managed peers.dat
2012-05-17 08:46:33 -07:00
Christian von Roques
e54f330239
Fix typo. libarcode => libqrcode
2012-05-17 11:33:59 -04:00
Philip Kaufmann
8b4d653663
allow translation of "options" used in the --help message / split translation of RPC console welcome message and remove the need to take care of "<br>" / remove some spaces in strings and misc other stuff related to translations
2012-05-17 15:49:00 +02:00
Jeff Garzik
928d3a011c
CAddrDB: Replace BDB-managed addr.dat with internally managed peers.dat
2012-05-16 22:11:19 -04:00
Jeff Garzik
768e5d52fb
Add new utility functions FileCommit(), RenameOver()
2012-05-16 19:25:25 -04:00
Wladimir J. van der Laan
49232d1abf
Merge pull request #1319 from Diapolo/add_new_languages
...
add 4 new translations bg, el_GR, fr and pt_PT (based on transifex fetch from today)
2012-05-16 15:48:48 -07:00
Wladimir J. van der Laan
5026891d75
Merge pull request #1324 from laanwj/2012_05_missing_qobject
...
Add missing Q_OBJECT in bitcoin.cpp
2012-05-16 12:36:14 -07:00
Wladimir J. van der Laan
adc704563c
Add missing Q_OBJECT in bitcoin.cpp
...
Fixes translating HelpMessageBox strings.
2012-05-16 18:52:14 +02:00
Wladimir J. van der Laan
d44ac73925
Merge pull request #1321 from laanwj/2012_05_updatemaintrans
...
Update bitcoinstrings.cpp and bitcoin_en.ts
2012-05-15 22:27:33 -07:00
Wladimir J. van der Laan
746ea6bd86
Update bitcoinstrings.cpp and bitcoin_en.ts
2012-05-16 07:24:56 +02:00
Gregory Maxwell
462f5d98a2
Merge pull request #1315 from sipa/unstuck
...
Hopefully final fix for the stuck blockchain issue
2012-05-15 19:13:25 -07:00
Philip Kaufmann
cd8c905dfe
add 4 new translations bg, el_GR, fr and pt_PT (based on transifex fetch from today)
2012-05-15 23:44:49 +02:00
Jeff Garzik
a7d45c5a7a
Remove dead code: CTxDB::EraseBlockIndex(), CBlockIndex::EraseBlockFromDisk()
2012-05-15 13:36:25 -04:00
Pieter Wuille
385f730f31
Hopefully final fix for the stuck blockchain issue
...
Immediately issue a "getblocks", instead of a "getdata" (which will
trigger the relevant "inv" to be sent anyway), and only do so when
the previous set of invs led us into a known and attached part of
the block tree.
2012-05-15 17:53:46 +02:00
Wladimir J. van der Laan
790fe2e558
Merge pull request #1308 from Diapolo/polish_verifymessage
...
GUI: adapt user-experience from messagepage for verifymessagedialog
2012-05-14 23:15:38 -07:00
Philip Kaufmann
34aa3112c8
adapt user-experience from messagepage / move placeholderTexts from XML to source to avoid a problem with Qt < 4.7 / add eventFilter for address field to select text when clicking in / add Clear All button / rework strings
2012-05-15 08:04:51 +02:00
Wladimir J. van der Laan
2643ce97ae
Merge pull request #1307 from Diapolo/fix_OpenLogFile
...
GUI fix: DebugLog file opens twice after clicking "Open" in RPC Console Information tab
2012-05-14 22:18:20 -07:00
Gregory Maxwell
20f19893cb
Merge pull request #1262 from Diapolo/no_double_timestamps
...
no more double timestamps in debug.log
2012-05-14 18:59:28 -07:00
Philip Kaufmann
8892579f8b
fix DebugLog file opens twice after clicking "Open" in RPC Console Information tab
2012-05-14 22:26:15 +02:00
Ricardo M. Correia
5849bd472a
Fix signed subtraction overflow in CBigNum::setint64().
...
As noticed by sipa (Pieter Wuille), this can happen when CBigNum::setint64() is
called with an integer value of INT64_MIN (-2^63).
When compiled with -ftrapv, the program would crash. Otherwise, it would
execute an undefined operation (although in practice, usually the correct one).
2012-05-14 21:26:02 +02:00
Ricardo M. Correia
62e0453ce0
Add test case for CBigNum::setint64().
...
One of the test cases currently aborts when using gcc's flag -ftrapv, due to
negating an INT64_MIN int64 variable, which is an undefined operation.
This will be fixed in a subsequent commit.
2012-05-14 21:26:01 +02:00
Wladimir J. van der Laan
bb361cc644
Merge pull request #906 from sje397/ValidateMessage
...
Add a menu option and dialog to verify a signed message
2012-05-14 11:11:16 -07:00
Wladimir J. van der Laan
7dc04f4091
Merge pull request #1301 from laanwj/2012_05_rpcscrolltoend
...
RPC console: scroll to the end when user enters a command
2012-05-14 11:05:04 -07:00
Wladimir J. van der Laan
29b79e4c0e
Get rid of snprintf (except one) with fixed buffers, shorten code
...
- Use strprintf or vstrprintf instead of snprintf
2012-05-14 20:01:26 +02:00
Gregory Maxwell
a6f18e4686
Merge pull request #1299 from sipa/ipv6fixes
...
A few more IPv6-related improvements
2012-05-14 09:22:03 -07:00
Wladimir J. van der Laan
5a060b8dc8
RPC console: scroll to the end when user enters a command
...
- Ensures that the command and reply is visible
2012-05-14 18:17:12 +02:00
Pieter Wuille
91dace35a1
Do not listen on blocked networks
2012-05-14 17:52:51 +02:00
Pieter Wuille
55bb0cfbb6
Allow binding to the any address, and report failure
2012-05-14 17:52:50 +02:00
Pieter Wuille
0f1707de67
-onlynet instead of -blocknet
2012-05-14 17:52:45 +02:00
Philip Kaufmann
966ae00fe4
make CheckDiskSpace() use a global static const uint64 for checking required disk space and remove 2 ugly spaces from a message string
2012-05-14 14:02:36 +02:00
Pieter Wuille
0071a540d4
Merge pull request #1291 from sipa/canonames
...
Use getnameinfo() to get canonical IPv6 addresses
2012-05-14 04:14:28 -07:00
Jeff Garzik
0fb78eae34
Always check return values of TxnBegin() and TxnCommit()
2012-05-14 01:11:11 -04:00
Ricardo M. Correia
fe78c9ae8b
Don't overflow signed ints in CBigNum::setint64().
...
CBigNum::setint64() does 'n <<= 8', where n is of type "long long".
This leads to shifting onto and past the sign bit, which is undefined
behavior in C++11 and can cause problems in the future.
2012-05-14 02:53:27 +02:00
Pieter Wuille
ca81464697
Use getnameinfo() to get canonical IPv6 addresses
2012-05-14 01:41:15 +02:00
Pieter Wuille
09b4e26a44
Really do not consider blocked networks local
2012-05-13 23:50:55 +02:00
Wladimir J. van der Laan
524843af01
Merge pull request #1283 from laanwj/2012_05_prevent_tooltip_infiniteloop
...
Prevent tooltip filter from ever causing infinite loops
2012-05-13 13:04:20 -07:00
Ricardo M. Correia
4843b55fd1
Make CNetAddr::GetHash() return an unsigned val.
...
This prevents an undefined operation in main.cpp, when shifting the hash value
left by 32 bits.
Shifting a signed int left into the sign bit is undefined in C++11.
2012-05-13 21:42:54 +02:00
Wladimir J. van der Laan
a3957d089a
Merge pull request #1288 from Diapolo/sendcoinsdialog_strings
...
update some strings used as warning messages in sendcoinsdialog.cpp
2012-05-13 12:42:32 -07:00
Wladimir J. van der Laan
5b36c0336f
Merge pull request #1284 from laanwj/2012_05_helpmessage
...
Move help message out of AppInit2
2012-05-13 12:39:35 -07:00
Jeff Garzik
28d257da11
Merge pull request #1287 from sipa/noirc6
...
Only encode IPv4 addresses in IRC nicks
2012-05-13 11:48:27 -07:00
Philip Kaufmann
51ce20d5da
update some strings used as warning messages in sendcoinsdialog.cpp
2012-05-13 20:20:38 +02:00
Wladimir J. van der Laan
9f5b11e6fd
Move help message out of AppInit2
...
- Solves #1278 , attempts to address #1049
- Removes \t's from help message that are removed afterwards anyway
- Moves UI-specific command-line options help to UI code
- Moves "-detachdb" out of #ifdef USE_UPNP
2012-05-13 18:41:19 +02:00
Gregory Maxwell
5e794a9ab7
release-process.txt: Add a note to check the download link destinations.
2012-05-13 12:10:15 -04:00
Pieter Wuille
1653f97c8f
Do not consider blocked networks local
2012-05-13 15:11:51 +02:00
Pieter Wuille
8f737d28a6
Only encode IPv4 addresses in IRC nicks
2012-05-13 15:07:31 +02:00
Pieter Wuille
9fc0a15cd4
Merge pull request #1285 from sipa/initerror
...
Improve error reporting at startup
2012-05-13 06:01:21 -07:00
Philip Kaufmann
0985816bf6
ensure that no double timestamps show up in the debug.log, by removing manual timestamps from the source (now only -logtimestamps parameter adds timestamps to debug.log)
2012-05-13 14:36:35 +02:00
Pieter Wuille
af4006b3f5
Enforce -nodiscover better
2012-05-13 14:22:15 +02:00
Wladimir J. van der Laan
b07ea7c74b
Merge pull request #1178 from laanwj/2012_05_move_startonsystemstartup
...
Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI code
2012-05-13 03:36:40 -07:00
Pieter Wuille
ac7c7ab99a
Improve error reporting at startup
2012-05-13 12:35:39 +02:00
Wladimir J. van der Laan
67d4cbab46
Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI code
2012-05-13 12:31:28 +02:00
Wladimir J. van der Laan
82f66082b9
Merge pull request #1270 from laanwj/2012_05_overviewpage2
...
When a transaction is clicked on overview page, focus it on history page
2012-05-13 02:53:25 -07:00
Wladimir J. van der Laan
3986a05c62
Merge pull request #1274 from Diapolo/QR_Code
...
rename "QR-Code Dialog" to "QR Code Dialog" in qrcodedialog.ui as this spelling is used all over the code
2012-05-13 00:45:20 -07:00
Wladimir J. van der Laan
6da3b29e37
Merge pull request #1275 from Diapolo/askpassphrasedialog
...
remove string "TextLabel" from warningLabel, as this is unneeded and as ...
2012-05-13 00:40:26 -07:00
Wladimir J. van der Laan
99fdc1d829
Prevent tooltip filter from ever causing infinite loops
2012-05-13 09:27:45 +02:00
Wladimir J. van der Laan
df1a110d2e
Merge pull request #1268 from Diapolo/transactiondialog
...
change size of transactiondialog, to allow display of transaction-id wit...
2012-05-13 00:16:54 -07:00
Jeff Garzik
80af836ce0
Merge pull request #1277 from Diapolo/IPv6_IPv4_strings
...
use "IPv6" and "IPv4" in strings as these are the official spellings
2012-05-12 18:59:31 -07:00
Gregory Maxwell
6f7d45a323
Merge pull request #1272 from sipa/ipv6fixes
...
A few IPv6 fixes
2012-05-12 18:55:36 -07:00
Pieter Wuille
22db3f2c77
Fix warning about uninitialized value
...
Only reported when using -flto.
2012-05-13 01:36:46 +02:00
Pieter Wuille
5a3cb32e59
Take -port into account when resolving -bind's
2012-05-13 01:26:14 +02:00
Philip Kaufmann
ea933b03b4
use "IPv6" and "IPv4" in strings as these are the official spellings and make ParseNetwork() in netbase.cpp case-insensitive
2012-05-13 01:12:24 +02:00
Pieter Wuille
139d2f7c29
Keep local service information per address
...
Keep local service information per CNetAddr instead of per CService,
but move the port into the information kept on it.
2012-05-13 01:03:05 +02:00
Pieter Wuille
89b5616d10
Do not signal outbound semaphore if uninitialized
2012-05-13 00:49:12 +02:00
Pieter Wuille
45dcf63a62
Only check for port# after : in ConnectSocketByName
2012-05-13 00:49:12 +02:00
Pieter Wuille
a6cd0b08f6
Partially revert f621326: xCXXFLAGS
2012-05-13 00:41:46 +02:00
Gregory Maxwell
85a2229264
Merge pull request #1269 from laanwj/2012_05_consoleimprovements
...
UI console improvements
2012-05-12 15:33:57 -07:00
Philip Kaufmann
5e19030aa1
remove string "TextLabel" from warningLabel, as this is unneeded and as such is a silly translation less to do :)
2012-05-13 00:16:50 +02:00
Philip Kaufmann
4dca553e66
set minimum size allowed by Qt Creator and rename "QR-Code Dialog" to "QR Code Dialog" as this spelling is used all over the code
2012-05-13 00:03:58 +02:00
Wladimir J. van der Laan
ae744c8b78
RPC console: don't crash on invalid input exception
2012-05-12 18:39:26 +02:00
Wladimir J. van der Laan
c6aa86afc2
Convert RPC console to QTextEdit instead of QTableView
...
* This allows copy/pasting whole or partial messages
* Handle output more consistently in console
* No more scrollbars-in-scrollbars: by setting per-pixel scrolling on the table, cells can have any height
* Decorations for "request" and "reply" are changed to the txin and txout icons instead of colored squares
2012-05-12 18:39:26 +02:00
Pieter Wuille
839c4e7966
Fix initialization of inaddr_any
2012-05-12 17:20:43 +02:00
Jeff Garzik
d960a335f8
Merge pull request #1266 from Diapolo/tab_to_space
...
convert 4 tabs into 4 x 4 spaces in bitcoinrpc.cpp
2012-05-12 08:02:57 -07:00
Wladimir J. van der Laan
3ef1f41550
When a transaction is clicked on overview page, focus it on history page
2012-05-12 15:32:22 +02:00
Wladimir J. van der Laan
97ec4e50b1
Merge pull request #1263 from Diapolo/RPCCon_ClientStartupTime
...
GUI: add the client startup time to the debug window...
2012-05-12 03:44:22 -07:00
Wladimir J. van der Laan
591b5c0f41
Merge pull request #1267 from Diapolo/sendcoinsdialog
...
add Alt-Shortcut for "Clear All" in sendcoinsdialog.ui
2012-05-12 02:47:59 -07:00
Philip Kaufmann
55f19cb809
change size of transactiondialog, to allow display of transaction-id without an ugly line-break
2012-05-12 11:12:37 +02:00
Philip Kaufmann
a24ea3dab7
add Alt-Shortcut for "Clear All" in sendcoinsdialog.ui
2012-05-12 11:11:00 +02:00
Philip Kaufmann
bc05562730
convert 4 tabs into 4 x 4 spaces in bitcoinrpc.cpp
2012-05-12 11:06:30 +02:00
Wladimir J. van der Laan
4830ff923e
Merge pull request #1265 from laanwj/2012_05_fixredundantbuild
...
Speed up build in Qt creator in common case
2012-05-12 00:48:46 -07:00
Wladimir J. van der Laan
ffd8060a98
Speed up build in Qt creator in common case
...
- Generate *.qm only when needed (and when qmake is run), this avoids a long qrc compile and link step every time
- Generate build.h every time, but only trigger link when it changed (like makefile.unix)
2012-05-12 09:27:35 +02:00
Wladimir J. van der Laan
661834d02b
Merge pull request #1261 from laanwj/2012_05_escapecsv
...
Properly escape strings when exporting CSV
2012-05-11 23:30:04 -07:00
Gregory Maxwell
9dfa3c3e04
Merge pull request #1264 from fanquake/master
...
Correct Date
2012-05-11 20:40:57 -07:00
Fordy
46667ba3e4
Correct Date
2012-05-12 11:36:37 +08:00
Fordy
8bb9660baa
Correct Date
2012-05-12 11:32:03 +08:00
Pieter Wuille
a3878873f3
Merge pull request #1021 from sipa/ipv6
...
IPv6 node support
2012-05-11 18:23:56 -07:00
Gregory Maxwell
c05271901a
Merge pull request #1260 from sipa/splitsync
...
Split synchronization mechanisms from util.{h,cpp}
2012-05-11 18:05:49 -07:00
Philip Kaufmann
d2f7778cc7
add the client startup time to the debug window / rename Version label to Client, which is better suiting now / add IBeamCursor for selectable text on the information page / make ">" sign on RPC page untranslatable / re-order XML-file tags to match real GUI element order
2012-05-12 00:28:58 +02:00
Wladimir J. van der Laan
875f71d4ef
Properly escape " in strings when exporting CSV
2012-05-11 20:17:09 +02:00
Jeff Garzik
b34c5f3c0f
Merge pull request #1101 from jgarzik/http11
...
Multithreaded JSON-RPC with HTTP 1.1 Keep-Alive support
2012-05-11 09:57:08 -07:00
Pieter Wuille
7f3ccb59da
Split synchronization mechanisms from util.{h,cpp}
2012-05-11 18:13:51 +02:00
Gregory Maxwell
eb793429f1
Merge pull request #1255 from sipa/fixversion
...
Fix version numbers of archive builds
2012-05-11 08:29:47 -07:00
Pieter Wuille
5456ef3092
Use polling instead of boost's broken semaphore on OSX
2012-05-11 17:02:11 +02:00
Pieter Wuille
c59abe2589
Use semaphores instead of condition variables
2012-05-11 17:02:11 +02:00
Jeff Garzik
271f9faf9e
Merge pull request #1254 from jgarzik/mempool-logging
...
CTxMemPool: consolidate two frequently-printed debug.log lines into one
2012-05-11 07:53:08 -07:00
sje397
0c587936c7
Add a menu option to verify a signed message
...
(Also move 'setAttribute(Qt::WA_DeleteOnClose)' out of QRCodeDialog)
2012-05-12 00:13:13 +10:00
Wladimir J. van der Laan
2692ed3f01
Merge pull request #1258 from Diapolo/RPCCon_never_0_Blocks
...
GUI RPC Console: if there is no current block number available display N/A on totalBlocks label,...
2012-05-11 06:40:04 -07:00
Wladimir J. van der Laan
23f59e7023
Merge pull request #1259 from Diapolo/GUI_testnet_UX
...
GUI: allow easier use of the testnet icon
2012-05-11 06:35:50 -07:00
Philip Kaufmann
37244c2f7f
add calls to qApp->setWindowIcon(), to remove the need to set window icons for testnet with additional calls
2012-05-11 15:31:44 +02:00
Pieter Wuille
8f10a28890
Separate listening sockets, -bind=<addr>
2012-05-11 15:29:20 +02:00
Pieter Wuille
7fa4443f77
Keep port information for local addresses
2012-05-11 15:29:19 +02:00
Pieter Wuille
457754d2c2
Add -blocknet to prevent connections to a given network
2012-05-11 15:29:19 +02:00
Pieter Wuille
c5b3ffd8d5
Use NET_ identifiers in CNetAddr::GetGroup()
2012-05-11 15:29:19 +02:00
Pieter Wuille
623b987813
Add -noproxy to circumvent proxy for some network
2012-05-11 15:29:19 +02:00
Pieter Wuille
090e5b40f1
Limited relaying/storing of foreign addresses
...
Introduce a boolean variable for each "network" (ipv4, ipv6, tor, i2p),
and track whether we are likely to able to connect to it. Addresses in
"addr" messages outside of our network get limited relaying and are not
stored in addrman.
2012-05-11 15:29:19 +02:00
Pieter Wuille
d32148567f
Preliminary support for Tor/I2P hidden services
...
There are plans to let Bitcoin function as Tor/I2P hidden service.
To do so, we could use the established encoding provided by OnionCat
and GarliCat (without actually using those tools) to embed Tor/I2P
addresses in IPv6.
This patch makes these addresses considered routable, so they can
travel over the Bitcoin network in 'addr' messages. This will hopefully
make it easier to deploy real hidden service support later.
2012-05-11 15:29:19 +02:00
Pieter Wuille
23aa78c405
IPv6 node support
...
This will make bitcoin relay valid routable IPv6 addresses, and when
USE_IPV6 is enabled, listen on IPv6 interfaces and attempt connections
to IPv6 addresses.
2012-05-11 15:29:19 +02:00
Wladimir J. van der Laan
97521b5257
Add missing #include for GetDataDir
2012-05-11 13:18:25 +02:00
Philip Kaufmann
66331f2b51
if there is no current block number available display N/A on totalBlocks label, instead of 0, which can not ever be true
2012-05-11 12:29:31 +02:00
Pieter Wuille
1f5a7cef6f
Fix version numbers of archive builds
2012-05-11 11:44:53 +02:00
Wladimir J. van der Laan
a8fef7f569
Merge pull request #1251 from Diapolo/transactionview_comments
...
add 2 comments to transactionview.cpp to ensure no one moves setPlacehol...
2012-05-11 02:43:42 -07:00
Wladimir J. van der Laan
5e7c4f3be8
Merge pull request #1257 from Diapolo/fix_guiutil_warn
...
guiutil.cpp/.h: fix a -Wreorder compiler warning...
2012-05-11 02:43:18 -07:00
Philip Kaufmann
58b01afc50
guiutil.cpp/.h: fix a -Wreorder compiler warning and make constructor for ToolTipToRichTextFilter explicit
2012-05-11 11:32:04 +02:00
Wladimir J. van der Laan
508471bbc0
Merge pull request #1247 from Diapolo/Win_open_debug_logfile
...
Windows: open debug.log file via Bitcoin-Qt
2012-05-11 02:22:17 -07:00
Philip Kaufmann
4d3dda5d9f
add code to open (display) debug.log on Windows with the associated application and add a button to the Information page in the Debug console
2012-05-11 11:10:34 +02:00
Wladimir J. van der Laan
b66737e6df
Merge pull request #1204 from Diapolo/messagepage_focus_placeholder
...
GUI messagepage: add placeholder text to address field (like in sendcoins dialog)...
2012-05-10 23:55:34 -07:00
Wladimir J. van der Laan
b8a5e30d91
Merge pull request #1090 from laanwj/2012_04_wraptooltips
...
Allow Qt to wrap long tooltips (fixes #1063 )
2012-05-10 23:54:53 -07:00
Wladimir J. van der Laan
f93727aa56
Merge pull request #1206 from Diapolo/passphrasedialog
...
small passphrasedialog update
2012-05-10 23:53:24 -07:00
Wladimir J. van der Laan
c485a0636e
Merge pull request #1238 from Diapolo/tray
...
tray-icon - extend available options with Debug window
2012-05-10 23:52:21 -07:00
Wladimir J. van der Laan
e0feedd7ac
Merge pull request #1250 from Diapolo/optionsdialog
...
changes to optionsdialog.cpp (partly based on discussion in #1248 )
2012-05-10 23:47:36 -07:00
Jeff Garzik
33a53bc13b
CTxMemPool::accept(): do not log FetchInputs failure redundantly
...
FetchInputs already logs failures internally. This commit makes the logging
more consistent with other FetchInputs callsites also.
Prior to this commit, two log lines were logged for one condition:
ERROR: FetchInputs() : de15fde415 mempool Tx prev not found a2c75da227
ERROR: CTxMemPool::accept() : FetchInputs failed de15fde415
After this commit, only one line is logged:
ERROR: FetchInputs() : e0507ab2c7 mempool Tx prev not found 9a620262cd
2012-05-10 20:31:46 -04:00
Jeff Garzik
133dce6a37
CTxMemPool: consolidate two frequently-printed debug.log lines into one
...
Previously, a single TX would trigger two log lines in quick succession,
addUnchecked(): size 152
CTxMemPool::accept() : accepted c4cfdd48b7
After this change, only one log line is used:
CTxMemPool::accept() : accepted 98885e65db (poolsz 26)
2012-05-10 20:20:31 -04:00
Philip Kaufmann
81c45c0a94
optionsdialog.cpp: rename "Start Bitcoin on window system startup" to "Start Bitcoin on system login" and move it to Main / hide "Window" Options on Mac as there are currently none available / remove an unused variable / add Alt-Shortcuts where they were missing / allow translation of "default"
2012-05-10 18:00:00 +02:00
Philip Kaufmann
840470ec79
add placeholder text to address field (like in sendcoins) and set focus to address field on opening messagepage or "Clear All" / consolidate gotoMessagePage() to 1 function / rename windowTitle to "Sign Message Dialog"
2012-05-10 15:50:24 +02:00
Philip Kaufmann
5d21ffe16b
add 2 comments to transactionview.cpp to ensure no one moves setPlaceholderText to the XML file (after this all parts in the code that use setPlaceholderText have this comment
2012-05-10 15:42:26 +02:00
Wladimir J. van der Laan
037a8daee6
Merge pull request #1239 from Diapolo/testnet_GUI
...
GUI changes while on testnet
2012-05-09 22:42:58 -07:00
Wladimir J. van der Laan
a2de039ec4
Merge pull request #1199 from laanwj/2012_05_signmessage_autoselect
...
signmessage: auto-select signature when field is focused/clicked
2012-05-09 22:41:53 -07:00
Luke Dashjr
5d53f48acb
Bugfix: getmemorypool: NULL pindexPrev across CreateNewBlock, in case it fails
2012-05-09 18:12:01 +00:00
Gavin Andresen
e6fd96f054
Fix osx build
2012-05-09 13:56:53 -04:00
Luke Dashjr
5146599b01
Merge branch 'bugfix_CNBerr_daggy' into bugfix_CNBerr
...
Conflicts:
rpc.cpp
2012-05-09 17:14:08 +00:00
Luke Dashjr
b354251f1a
Bugfix: getwork: NULL pindexPrev across CreateNewBlock, in case it fails
2012-05-09 17:02:07 +00:00
Wladimir J. van der Laan
9245ff5705
Merge pull request #1212 from Diapolo/overviewpage
...
move many overviewpage settings from code to ui XML-file...
2012-05-09 09:38:32 -07:00
Gregory Maxwell
1eb2d8e0bf
Merge pull request #1243 from laanwj/2012_05_uiconsole_focus
...
Automatically focus entry widget when console tab comes into focus
2012-05-09 08:34:00 -07:00
Wladimir J. van der Laan
0981b80c29
Merge pull request #1220 from laanwj/2012_05_organize_optionsdialog
...
Organize optionsdialog (split off Window and Network page) and add option to change language
2012-05-09 08:33:44 -07:00
Wladimir J. van der Laan
bfbfb53ed4
Add key shortcuts for RPC console tabs
...
- Alt-I for Information, Alt-C for Console
2012-05-09 17:32:17 +02:00
Wladimir J. van der Laan
b84172434d
Automatically focus entry widget when console tab comes into focus
...
Fixes #1241
2012-05-09 17:15:09 +02:00
Jeff Garzik
9d9aae0396
Merge pull request #1237 from gmaxwell/master
...
Kill warning from unavoidable signed/unsigned comparison in bitcoinrpc.cpp.
2012-05-09 07:59:13 -07:00
Jeff Garzik
11b729d8a2
Merge pull request #1134 from Diapolo/util-updates
...
small util.cpp/h changes
2012-05-09 07:54:25 -07:00
Jeff Garzik
d54e6e8359
Merge pull request #1225 from Diapolo/net_cpp_if_clause
...
fix an incorrect if-clause in net.cpp
2012-05-09 07:50:27 -07:00
Philip Kaufmann
2abbe5fc88
Show testnet icon for tray-menu option Show/Hide / set tooltip for tray icon to match non-testnet text (just [testnet] added) / remove obsolete title_testnet variable'
2012-05-09 15:12:31 +02:00
Philip Kaufmann
1ad3b7d5c0
add Debug window to tray-menu / switch sendCoinsAction and receiveCoinsAction in tray to match button ordering in the client window
2012-05-09 14:38:06 +02:00
Gregory Maxwell
d285c7bf2c
Kill warning from unavoidable signed/unsigned comparison in bitcoinrpc.cpp.
2012-05-09 07:17:30 -04:00
Gregory Maxwell
2e767410b8
Merge pull request #1230 from sipa/warnings
...
Clean up warnings
2012-05-09 04:07:24 -07:00
Wladimir J. van der Laan
c164396ddc
Merge pull request #1235 from Diapolo/translation_en
...
update bitcoin_en.ts (translation master file) to match current master branch as of 2012-05-09
2012-05-09 04:06:47 -07:00
Gregory Maxwell
92dca80975
Merge pull request #1232 from TheBlueMatt/lockcontention
...
Fix DEBUG_LOCKCONTENTION
2012-05-09 03:55:02 -07:00
Philip Kaufmann
11353b0c57
update bitcoin_en.ts (translation master file) to match current master branch as of 2012-05-09
2012-05-09 12:38:51 +02:00
Philip Kaufmann
3e468840bd
util.h/.ccp: modifiy some comments / rename MyGetSpecialFolderPath() -> GetSpecialFolderPath(), set fCreate default to true and remove the fallback (not Win >= Vista compatible anyway) / remove namespace fs stuff where only used once / misc small changes'
2012-05-09 12:22:58 +02:00
Wladimir J. van der Laan
e17018adcd
Merge pull request #1211 from Diapolo/harmonize_ellipsis
...
harmonize the use of ellipsis ("...") in the GUI
2012-05-09 00:14:30 -07:00
Philip Kaufmann
3b6ed2294b
fix an incorrect if-clause in net.cpp
2012-05-09 09:11:13 +02:00
Philip Kaufmann
50a3855082
harmonize the use of ellipsis ("...") to be used in menus, but not on buttons / update some strings to be more informative
2012-05-09 09:06:51 +02:00
Wladimir J. van der Laan
9e11cb53dd
Merge pull request #1215 from laanwj/2012_05_nogridtables
...
Make user actions more straightforward in address book
2012-05-08 23:34:10 -07:00
Wladimir J. van der Laan
5ac114c756
Make it possible to set user interface language from options dialog
2012-05-09 07:45:47 +02:00
Wladimir J. van der Laan
6ddf861078
Organize optionsdialog (split off Window and Network page)
2012-05-09 07:45:47 +02:00
Wladimir J. van der Laan
6bdb06a7b1
Merge pull request #1221 from Diapolo/optionsdialog
...
remove 2 ugly spaces from a string used in translations
2012-05-08 22:44:04 -07:00
Matt Corallo
2ea78ec7fd
Fix DEBUG_LOCKCONTENTION
2012-05-09 01:41:07 -04:00
Philip Kaufmann
09570add5f
remove 2 ugly spaces from a string used in translations
2012-05-09 06:51:25 +02:00
Pieter Wuille
f621326c24
Clean up warnings
...
* Use -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameters
* Remove xCXXFLAGS usage in makefile.unix
* Fix several recent and older sign-compare warnings
2012-05-09 03:48:30 +02:00
Jeff Garzik
781fc2c8c0
Revert part of 1302257e: don't update CXXFLAGS, only xCXXFLAGS
2012-05-08 21:18:35 -04:00
Jeff Garzik
1302257e5d
makefile.unix: add -Wall to default CXXFLAGS
...
Additionally, remove -Wno-sign-compare from alt CXXFLAGS, as
that is no longer a problem.
2012-05-08 21:02:28 -04:00
David Joel Schwartz
96c5269511
RPC: Support HTTP/1.0 and HTTP/1.1, including the proper use of keep-alives
2012-05-08 20:25:39 -04:00
David Joel Schwartz
e9205293bd
Support multi-threaded JSON-RPC
...
Change internal HTTP JSON-RPC server from single-threaded to
thread-per-connection model. The IP filter list is applied prior to starting
the thread, which then processes the RPC.
A mutex covers the entire RPC operation, because not all RPC operations are
thread-safe.
[minor modifications by jgarzik, to make change upstream-ready]
2012-05-08 20:11:17 -04:00
Jeff Garzik
203f9e6c00
Merge branch 'tmp-ipv6' into merge-ipv6
2012-05-08 19:43:17 -04:00
Gregory Maxwell
82ab06b849
Merge pull request #886 from luke-jr/getblock_full
...
More details for getblock and gettransaction
2012-05-08 15:31:52 -07:00
Jeff Garzik
ab89d75daf
Merge pull request #1226 from Diapolo/init_h_rem_obsolete
...
remove 2 obsolete functions from init.h that moved to util.h
2012-05-08 15:18:08 -07:00
Philip Kaufmann
2387a7a969
remove 2 obsolete functions from init.h that moved to util.h
2012-05-08 23:22:36 +02:00
Luke Dashjr
7e63dc3615
Support for decomposing scripts as "obj"
2012-05-08 21:04:57 +00:00
Luke Dashjr
74335bd32a
Second parameter to JSON-RPC getblock/gettransaction: decompositions
...
This is an Object specifying how to decompose specific elements.
Currently supported:
- "tx": "no", "hash", "hex", "obj"
- "script": "no", "hex", "asm"
2012-05-08 21:04:52 +00:00
Luke Dashjr
d4e09300f3
Add block "confirmations" to getblock, mainly for identifying orphans
2012-05-08 21:04:47 +00:00
Jeff Garzik
a2ea797593
Merge pull request #1180 from jgarzik/sign-compare
...
Fix final sign comparison warnings
2012-05-08 13:50:27 -07:00
Gregory Maxwell
2f1dca645b
Merge pull request #841 from sipa/getalltransactions
...
gettransaction RPC for non-wallet transactions
2012-05-08 13:19:11 -07:00
Gregory Maxwell
f1ae31d8af
Merge pull request #883 from sipa/loadblock
...
Add -loadblock to load from an external blk000?.dat file
2012-05-08 12:37:27 -07:00
Gregory Maxwell
fa8cc47c4f
Merge pull request #1075 from laanwj/2012_04_consoleui
...
Add UI RPC console / debug window
2012-05-08 12:26:49 -07:00
Gregory Maxwell
a5f95d75a1
Increase client version to 0.6.99
2012-05-08 15:22:02 -04:00
Wladimir J. van der Laan
1f7e0e51aa
Merge pull request #1219 from luke-jr/rm_fee_tip
...
Bitcoin-Qt: Remove redundant tooltip on optional transaction fee. Fixes #1218
2012-05-07 12:36:26 -07:00
Luke Dashjr
1ef3a48c03
Bitcoin-Qt: Remove redundant tooltip on optional transaction fee. Fixes #1218
2012-05-07 19:22:09 +00:00
Wladimir J. van der Laan
356c3cad1a
Make user action more straightforward in address book
...
- Add all actions that can be triggered with buttons to the context menu
- Hide delete action from context menu for receiving tab
2012-05-07 11:30:23 +02:00
Jeff Garzik
28bddf4590
Merge pull request #1214 from TheBlueMatt/debian
...
Update changelog to match reality.
2012-05-06 18:35:42 -07:00
Matt Corallo
3d0a83aeb2
Update changelog to match reality.
2012-05-06 21:09:37 -04:00
Gregory Maxwell
f49d4f0e93
Merge pull request #1196 from sipa/fix_948
...
Prevent stuck download: correct solution
2012-05-06 16:58:31 -07:00
Wladimir J. van der Laan
7d5bb42946
Move back setPlaceholderText to code, from xml, as this broke building with Qt 4.6
2012-05-07 00:19:22 +02:00
Wladimir J. van der Laan
46692fc929
Merge pull request #1189 from Diapolo/fix#952
...
fix for #952 (send coins tab glitch)
2012-05-06 14:49:08 -07:00
Pieter Wuille
6860133373
Prevent stuck download: correct solution
...
Pull request #948 introduced a fix for nodes stuck on a long side branch
of the main chain. The fix was non-functional however, as the additional
getdata request was created in a first step of processing, but dropped
in a second step as it was considered redundant. This commits fixes it
by sending the request directly.
2012-05-06 23:37:45 +02:00
Philip Kaufmann
52d4975825
passphrasedialog: change dialog title to "Passphrase Dialog" / remove style-sheet for bold font and use Qt Designer option / remove an unused label default-text and remove an obsolete clear()'
2012-05-06 22:11:26 +02:00
Philip Kaufmann
4295311da3
move many overviewpage settings from code to ui XML-file / removed ability to translate "0 BTC" and "123.456 BTC" as this is only used as preview in the Qt Designer anyway / set mouse cursor to IBeam for selectable labels
2012-05-06 16:57:12 +02:00
Wladimir J. van der Laan
0e69fc6e84
Merge pull request #1209 from laanwj/2012_05_hideonshutdown
...
Hide UI immediately after leaving the main loop
2012-05-05 23:30:55 -07:00
Wladimir J. van der Laan
46f552a9fe
Hide UI immediately after leaving the main loop.
...
Prevents it from seeming to hang during shutdown if shutdown is triggered while the window is open.
2012-05-06 08:28:20 +02:00
Gregory Maxwell
4fdc8a62d0
Merge pull request #1207 from sipa/fix_addrman
...
Fix addrman crashes
2012-05-05 22:23:57 -07:00
Gregory Maxwell
5b8def797c
Merge pull request #1160 from retep/master
...
Minor error message fix
2012-05-05 12:34:46 -07:00
Pieter Wuille
bd1aabe941
Bugfix: store source address in addrman
2012-05-05 21:33:29 +02:00
Pieter Wuille
56f1e91239
Fix addrman crashes
...
A function returned the element to remove from a bucket, instead of its
position in that bucket. This function was only called when a tried
bucket overflowed, which only happens after many outgoing connections
have been made.
Closes : #1065 , #1156
2012-05-05 21:33:26 +02:00
Pieter Wuille
29a86a1735
Add extra asserts to addrman
2012-05-05 21:32:41 +02:00
Luke Dashjr
82e6b92b0a
Bugfix: %-12I64d is not valid and causes the parameter to be skipped, use %12"PRI64d" instead
2012-05-05 14:24:55 -04:00
Wladimir J. van der Laan
46c08874aa
Merge pull request #1201 from Diapolo/about-dialog
...
changed cursor for selectable text on the about dialog to IBeamCursor...
2012-05-05 04:22:04 -07:00
Philip Kaufmann
7b74bd4928
changed cursor for selectable text on the about dialog to IBeamCursor and removed an unused tag
2012-05-05 12:55:51 +02:00
Wladimir J. van der Laan
dd62ca1b29
Merge pull request #1202 from Diapolo/messagepage
...
change text on message.ui from "Copy to Clipboard" to "Copy Signature"...
2012-05-05 03:31:11 -07:00
Philip Kaufmann
d7d7d81a6a
change text on message.ui from "Copy to Clipboard" to "Copy Signature" and
...
add an Alt-Shortcut to "Clear &All"
2012-05-05 12:03:02 +02:00
Wladimir J. van der Laan
6ad47ddf40
Merge pull request #1203 from Diapolo/qrcodedialog
...
renamed qrcodedialog.ui window title to "QR-Code Dialog"...
2012-05-05 02:59:44 -07:00
Philip Kaufmann
092522af6c
renamed qrcodedialog.ui window title to "QR-Code Dialog" and changed window size to the minimum values Qt Creator allows me to set
2012-05-05 11:43:54 +02:00
Wladimir J. van der Laan
bdef43dde7
Merge pull request #1200 from laanwj/2012_05_moveicon
...
simplified qrcode icon that scales gracefully to 16x16
2012-05-05 02:34:36 -07:00
Wladimir J. van der Laan
e400258bf0
simplified qrcode icon that scales gracefully to 16x16
2012-05-05 11:27:38 +02:00
Wladimir J. van der Laan
460c51fdad
Add UI RPC console / debug window
2012-05-05 10:37:06 +02:00
Wladimir J. van der Laan
3793fa09ff
Allow Qt to wrap long tooltips ( fixes #1063 )
...
Implemented without having to touch any translation: by listening for QEvent::ToolTipChange events, then rewriting the tooltips to prefix `<qt/>` if it is not yet rich text.
2012-05-05 10:20:52 +02:00
Wladimir J. van der Laan
c8a3917089
signmessage: auto-select signature when field is focused/clicked
2012-05-05 09:56:55 +02:00
Wladimir J. van der Laan
4c9183e8bb
Merge pull request #1166 from Diapolo/signmessage_clear
...
add a clear all button to the sign message page (addresses #943 )
2012-05-05 00:43:27 -07:00
Wladimir J. van der Laan
6672400206
Merge pull request #1175 from Diapolo/translators
...
small translation-file handling / loading changes and re-work comments to be clearer
2012-05-05 00:11:37 -07:00
Wladimir J. van der Laan
1f6f261ace
Merge pull request #1187 from TheBlueMatt/win32_ie
...
Update to require IE 5.1 as it is required to build on mingw64.
2012-05-05 00:02:10 -07:00
Wladimir J. van der Laan
393a0edc51
Merge pull request #1194 from Diapolo/sendcoins_placeholdertext
...
move label placeholdertext from sendcoinsentry.cpp to ui-file
2012-05-05 00:01:35 -07:00
Wladimir J. van der Laan
3118d11d88
Merge pull request #1032 from Diapolo/fix#945
...
Remove HTML font crap from "Wallet" message (fix for #945 )
2012-05-04 23:58:46 -07:00
Philip Kaufmann
d0ccf0c755
move label placeholdertext from sendcoinsentry.cpp to ui-file
2012-05-04 18:19:06 +02:00
Gavin Andresen
397737b913
Bump version numbers for 0.6.1rc2
2012-05-04 10:22:26 -04:00
Pieter Wuille
19b6958cfd
Added -externalip and -discover
...
-externalip=<ip> can be used to explicitly set the public IP address
of your node. -discover=0 can be used to disable the automatic public
IP discovery system.
2012-05-04 16:12:23 +02:00
Pieter Wuille
39857190de
Support for multiple local addresses
2012-05-04 16:12:23 +02:00
Pieter Wuille
478b01d9a7
Add -seednode connections, and use this for -dnsseed + -proxydns
2012-05-04 16:11:54 +02:00
Pieter Wuille
9bab521df8
Support connecting by hostnames passed to proxy (-proxydns)
2012-05-04 16:11:54 +02:00
Pieter Wuille
a012e2db59
refactor ConnectSocket
2012-05-04 16:11:54 +02:00
Pieter Wuille
933f2715d8
SOCKS5 connect via hostname
2012-05-04 16:11:54 +02:00
Pieter Wuille
60a87bce87
SOCKS5 support by default
...
Add -socks=<n> to select SOCKS version to use. 4 and 5 are supported,
5 is default.
2012-05-04 16:11:54 +02:00
Philip Kaufmann
dab7acdf45
fix #952 by checking if we have a new address or an updated label
2012-05-04 11:09:55 +02:00
Peter Todd
86c47a5636
Fixed non-sensical error message
...
Previously trying to create a multisig address that required less than
one signature would output something like the following:
"wrong number of keys(got 1, need at least 0)"
2012-05-04 00:41:00 -04:00
Gregory Maxwell
1210aa435f
Merge pull request #1188 from Diapolo/rem_BackupWallet_wallet_h
...
remove obsolete BackupWallet() entry in wallet.h
2012-05-03 06:47:16 -07:00
Philip Kaufmann
e23a121afe
remove obsolete BackupWallet() entry in wallet.h
2012-05-03 11:30:52 +02:00
Philip Kaufmann
65c2ad687f
add a clear all button to the sign message page
2012-05-03 09:23:37 +02:00
Matt Corallo
234db30d66
Update to require IE 5.1 as it is required on mingw64.
...
We already require XP, this just fixes Mingw64 build.
2012-05-02 20:21:43 -04:00
Wladimir J. van der Laan
e099e1568a
Merge pull request #1179 from Diapolo/project-file
...
add bitcoin-qt.rc to OTHER_FILES (shown in Qt Creator)
2012-05-01 23:57:02 -07:00
Jeff Garzik
ca97bde8ff
Merge pull request #1171 from Diapolo/fix_compiler_warn
...
fix 2 compiler warnings
2012-05-01 15:02:41 -07:00
Jeff Garzik
024fa1cb44
EvalScript(): cast to avoid signed/unsigned warning
2012-05-01 17:57:12 -04:00
Jeff Garzik
061a001590
ThreadSocketHandler2(): cast to avoid signed/unsigned warning
2012-05-01 17:54:52 -04:00
Jeff Garzik
10ab9c2f42
OpenBlockFile(): cast to eliminate signed/unsigned comparison warning
...
nFile's null value is -1. Cast that to unsigned int, to avoid warning.
Additionally, avoid nFile==0 because the first valid value is 1.
2012-05-01 17:50:33 -04:00
Jeff Garzik
24de922636
CDiskTxPos, CInPoint, COutPoint: cast null value (-1) to unsigned int
...
to eliminate signed/unsigned comparison warnings
2012-05-01 17:49:17 -04:00
Philip Kaufmann
8a6329a7ac
add bitcoin-qt.rc to OTHER_FILES (shown in Qt Creator)
2012-05-01 22:26:33 +02:00
Wladimir J. van der Laan
50d710496d
Merge pull request #1176 from Diapolo/project-file
...
fix DEPENDPATH in the project file, as json has no include sub-dir and src was in twice
2012-05-01 12:38:56 -07:00
Jeff Garzik
e19ccfa657
Merge pull request #1177 from laanwj/2012_05_remove_duplicate_securestring
...
remove duplicate definition of SecureString in util.h
2012-05-01 10:05:00 -07:00
Wladimir J. van der Laan
6d25b0e99a
Merge pull request #1172 from Diapolo/serialize_h_rem_typedef
...
remove unused typedef in serialize.h
2012-05-01 09:52:38 -07:00
Wladimir J. van der Laan
3ee5f8aac3
remove duplicate definition of SecureString in util.h
...
SecureString was moved to allocators.h in commit 6cb6d62347
2012-05-01 18:49:50 +02:00
Philip Kaufmann
68103043ce
fix DEPENDPATH in the project file, as json has no include sub-dir and src was in twice
2012-05-01 18:45:10 +02:00
Philip Kaufmann
aab1f950aa
small translation-file handling / loading changes and re-work comments to be clearer
2012-05-01 17:54:07 +02:00
Jeff Garzik
bd51e8ef8a
Merge pull request #1173 from Diapolo/init_cpp_comment_upd
...
remove references to bitcoin-wx from comment in init.cpp
2012-05-01 08:29:10 -07:00
Philip Kaufmann
1c94f88d5e
fix compiler warning "suggest parentheses around assignment used as truth
...
value [-Wparentheses]" in util.cpp
2012-05-01 11:41:04 +02:00
Philip Kaufmann
f8e4d43be7
fix compiler warning "suggest explicit braces to avoid ambiguous "else"
...
[-Wparentheses]" in net.cpp
2012-05-01 11:40:08 +02:00
Philip Kaufmann
00d971e1e7
remove references to bitcoin-wx from comment in init.cpp
2012-05-01 01:59:54 +02:00
Philip Kaufmann
810b4fad7d
remove unused typedef in serialize.h
2012-05-01 01:56:47 +02:00
Gavin Andresen
be8651dde7
Check earlier for blocks with duplicate transactions. Fixes #1167
2012-04-30 11:08:07 -04:00
Wladimir J. van der Laan
ec4997d48f
Merge pull request #1139 from Diapolo/messagepage
...
change button tooltip on sign message page for copy to clipboard...
2012-04-29 04:35:27 -07:00
Wladimir J. van der Laan
0acb1e715c
Merge pull request #1163 from laanwj/2012_04_uiperformanceissue
...
Fix critical UI performance issue (#1154 )
2012-04-29 04:34:42 -07:00
Wladimir J. van der Laan
6974aff668
Fix critical UI performance issue ( #1154 )
2012-04-29 13:25:05 +02:00
Gavin Andresen
0acbe31cfc
Update openssl version
2012-04-27 12:45:49 -04:00
Gavin Andresen
cedcec2dec
Bump win32.deps version number for new openssl
2012-04-27 11:53:11 -04:00
Gavin Andresen
2b4d7735b6
Windows build: compile against openssl 1.0.1b
2012-04-27 10:52:14 -04:00
Gavin Andresen
2c31cfc271
Bump version numbers for 0.6.1rc1
2012-04-27 10:14:33 -04:00
Gavin Andresen
dfead66eac
Merge pull request #1151 from freewil/listsinceblock-blockhash
...
listsinceblock: rpc param blockid -> blockhash
2012-04-26 15:37:12 -07:00
Gavin Andresen
27d4b53a5c
Merge pull request #1150 from gavinandresen/NOPCH
...
Remove unused -DNOPCH
2012-04-26 15:36:33 -07:00
Gavin Andresen
b2997dc043
Merge pull request #1152 from freewil/remove-strange-debug
...
remove strange debug message from listsinceblock
2012-04-26 15:36:15 -07:00
Pieter Wuille
287ce61dc2
Merge pull request #1146 from drizztbsd/posix-include
...
We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)
2012-04-26 15:25:56 -07:00
freewil
42ce57687a
remove strange debug message from listsinceblock
2012-04-26 13:12:44 -04:00
freewil
fdb204abb1
listsinceblock: rpc param blockid -> blockhash
...
This is more consistent with the rest of the labeling seen
by the user when accessing the rpc commands.
2012-04-26 12:48:33 -04:00
Gavin Andresen
9e71a5cd23
Define TEST_DATA_DIR so unit tests can be run from any current working directory
2012-04-26 11:20:44 -04:00
Gavin Andresen
08e663d7e2
Undo part of c2e8c8ac to fix issue#1148
2012-04-26 10:18:35 -04:00
Pieter Wuille
e1ea3ce7aa
Merge pull request #1119 from sipa/fastshutdown
...
Make lsn_reset ("detach databases") optional and off by default.
2012-04-26 05:20:57 -07:00
Gavin Andresen
cfc45319fe
Remove unused -DNOPCH
2012-04-25 19:40:44 -04:00
Pieter Wuille
83743ed681
Make lsn_reset ("detach databases") optional and off by default.
...
Add an option -detachdb (and entry in OptionDialog), without which no
lsn_reset is called on addr.dat and blkindex.dat. That means these
files cannot be moved to a new environment, but shutdown can be
significantly faster. The wallet file is always lsn_reset'ed.
-detachdb corresponds to the old behaviour, though it is off by
default now to speed up shutdowns.
2012-04-26 00:31:54 +02:00
Timothy Redaelli
5e9dc15360
We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)
2012-04-25 14:07:24 +02:00
Jeff Garzik
c2e8c8acd8
Merge pull request #1140 from jgarzik/sign-compare
...
Address many more sign comparison warnings
2012-04-23 21:33:29 -07:00
Jeff Garzik
735a60698c
Change signed->unsigned at 3 code sites
...
This resolves signed/unsigned comparison warnings.
2012-04-23 14:14:36 -04:00
Jeff Garzik
5aa0b23825
CBlock::WriteToDisk() properly checks ftell(3) for error return
...
Rather than storing ftell(3)'s return value -- a long -- in an
unsigned int, we store and check a properly typed temp. Then, assured a
non-negative value, we store in nBlockPosRet.
2012-04-23 14:14:36 -04:00
Jeff Garzik
1d8c7a9557
Add casts for unavoidable signed/unsigned comparisons
...
At these code sites, it is preferable to cast rather than change
a variable's type.
2012-04-23 14:14:36 -04:00
Jeff Garzik
c0a0a93d02
Test ScriptSigArgsExpected() for error, before accumulating return value
2012-04-23 14:14:36 -04:00
Jeff Garzik
7bd9c3a3cf
SigOp and orphan-tx constants and counts are always unsigned.
...
Fixes several sign-comparison warnings.
2012-04-23 14:14:03 -04:00
Pieter Wuille
ef758662c5
Merge pull request #1133 from sipa/abspath
...
Make GetDataDir return absolute paths
2012-04-22 14:56:03 -07:00
Jeff Garzik
faf705a42a
Prefer 'unsigned int' for loop index variables tested against ::size()
...
C++ STL ::size() generally returns unsigned, which implies that "int idx"
style of loop variable will generate a signed-vs-unsigned comparison warning
when testing the loop exit condition "idx < blah.size()"
Update areas of the bitcoin code where loop variables may be more properly and
correctly defined as unsigned.
2012-04-22 13:22:39 -04:00
Philip Kaufmann
a2d0fcbe38
change button tooltip on sign message page for copy to clipboard as it was missleading
2012-04-22 19:02:52 +02:00
Pieter Wuille
f4203de302
Make GetDataDir return absolute paths
2012-04-22 17:38:47 +02:00
Pieter Wuille
1d740055da
-loadblock to load from an external blk000?.dat file
2012-04-22 03:09:35 +02:00
Pieter Wuille
457661f640
Merge pull request #1124 from sipa/rpcobj3
...
extension of #1103 : encapsulate mapCommands in CRPCTable
2012-04-21 16:49:32 -07:00
Pieter Wuille
7dbe393629
Merge pull request #1131 from laanwj/2012_04_hexstr
...
Integrate @JoelKatz's optimized ToHex (#562 ) into current HexStr function
2012-04-21 16:47:02 -07:00
Pieter Wuille
d5eb41fa08
Merge pull request #1129 from laanwj/2012_04_opcodes
...
Add explicit numeric constant value for all opcodes
2012-04-21 16:43:31 -07:00
Gavin Andresen
febe76e316
Merge pull request #1121 from gavinandresen/scripttest
...
Data-driven script evaluation unit tests (rebased to fix compiler warning).
2012-04-21 16:36:41 -07:00
Gavin Andresen
8449a8788a
Data-drive script evaluation unit tests.
2012-04-21 19:35:39 -04:00
Pieter Wuille
6a7a42be16
Merge pull request #1126 from drizztbsd/master
...
Fix build with gcc 4.7
2012-04-21 15:13:29 -07:00
Wladimir J. van der Laan
88dc2d6c6a
Integrate @JoelKatz's optimized ToHex ( #562 ) into current HexStr function
2012-04-21 20:37:50 +02:00
Wladimir J. van der Laan
b6c837cbe1
Remove no-longer used UI hints in bitcoin core
...
The Qt UI has its own associated structures for temporary transaction state / cache.
2012-04-21 18:21:19 +02:00
Wladimir J. van der Laan
cdcc319c2d
change type of various bare chars to bool that are only used as bool (and never serialized)
2012-04-21 18:16:11 +02:00
Wladimir J. van der Laan
7be8b2ff9c
Add explicit numeric constant value for all opcodes
...
- Easier for debugging (what opcode was 0x... again?)
- Clarifies that the opcodes are set in stone in the protocol, and signals that it is impossible to insert opcodes in between.
2012-04-21 10:34:18 +02:00
Pieter Wuille
e46704dd90
Expose CRPCTable via bitcoinrpc.h for testing
2012-04-21 01:37:34 +02:00
Pieter Wuille
9862229d4d
Encapsulate mapCommands in class CRPCTable
2012-04-21 01:20:05 +02:00
Jeff Garzik
dc42bf52c1
Encapsulate RPC command dispatch in an array of CRPCCommand's
2012-04-21 01:20:05 +02:00
Wladimir J. van der Laan
00b9c0f4b2
Merge pull request #1122 from dlitz/unsigned-char-fix
...
Unsigned char fix & fix undefined phexdigits[255]
2012-04-20 10:18:45 -07:00
Timothy Redaelli
9553c35d89
Add missing includes. (Fix bulding under GCC 4.7)
2012-04-20 12:50:57 +02:00
Pieter Wuille
3b9e6b7820
Merge pull request #959 from rebroad/LoadBlockIndexKillable
...
Added ability to respond to signals during Block Loading stage.
2012-04-19 04:33:04 -07:00
Pieter Wuille
c73ba23eb5
gettransaction RPC for non-wallet transactions
...
Works for wallet transactions, memory-pool transaction and block chain
transactions.
Available for all:
* txid
* version
* locktime
* size
* coinbase/inputs/outputs
* confirmations
Available only for wallet transactions:
* amount
* fee
* details
* blockindex
Available for wallet transactions and block chain transactions:
* blockhash
* time
2012-04-18 23:42:07 +02:00
R E Broadley
871c3557bf
Added ability to respond to signals during Block Loading stage.
2012-04-18 12:30:24 +01:00
Dwayne C. Litzenberger
8c8e8c2e93
Fix bugs on 'unsigned char' platforms.
...
In ISO C++, the signedness of 'char' is undefined. On some platforms (e.g.
ARM), 'char' is an unsigned type, but some of the code relies on 'char' being
signed (as it is on x86). This is indicated by compiler warnings like this:
bignum.h: In constructor 'CBigNum::CBigNum(char)':
bignum.h:81:59: warning: comparison is always true due to limited range of data type [-Wtype-limits]
util.cpp: In function 'bool IsHex(const string&)':
util.cpp:427:28: warning: comparison is always false due to limited range of data type [-Wtype-limits]
In particular, IsHex erroneously returned true regardless of the input
characters, as long as the length of the string was a positive multiple of 2.
Note: For testing, it's possible using GCC to force char to be unsigned by
adding the -funsigned-char parameter to xCXXFLAGS.
2012-04-18 00:33:32 -04:00
Dwayne C. Litzenberger
a6fa147c8d
Fix phexdigits[255] is undefined.
2012-04-18 00:33:32 -04:00
Wladimir J. van der Laan
ac4161e25d
Merge pull request #1118 from sipa/addbreaks
...
Add missing breaks in optionmodel's switch case
2012-04-17 14:33:26 -07:00
Pieter Wuille
559fc3c610
Add missing breaks in optionmodel's switch case
2012-04-17 23:27:59 +02:00
Pieter Wuille
031eae7864
Merge pull request #1114 from sipa/lesssync
...
Reduce sync frequency for blkindex.dat
2012-04-17 14:23:31 -07:00
Pieter Wuille
0a83c0fcef
Fix tests after recent refactors
2012-04-17 20:37:47 +02:00
Pieter Wuille
c23617fef3
Merge remote-tracking branch 'jgarzik/mempool'
2012-04-17 20:12:48 +02:00
Pieter Wuille
caeddc5d37
Merge pull request #1117 from sipa/deadlockfix
...
Fix potential deadlock
2012-04-17 11:05:02 -07:00
Pieter Wuille
1ffeb89a52
Merge pull request #1112 from sipa/saneserial
...
Further reduce header dependencies
2012-04-17 11:04:29 -07:00
Pieter Wuille
6b6aaa1698
Further reduce header dependencies
...
This commit removes the dependency of serialize.h on PROTOCOL_VERSION,
and makes this parameter required instead of implicit. This is much saner,
as it makes the places where changing a version number can have an
influence obvious.
2012-04-17 20:03:42 +02:00
Jeff Garzik
ccd65d4261
Move proto version to version.h. Reduce header deps a bit more.
2012-04-17 20:02:38 +02:00
Jeff Garzik
9eace6b113
Move CWalletDB code to new walletdb module.
...
In addition to standard code separation, this change opens the door
to fixing several include inter-dependencies.
2012-04-17 20:00:55 +02:00
Pieter Wuille
ed6d0b5f85
Remove headers.h
2012-04-17 20:00:55 +02:00
Gavin Andresen
b97d54355e
Merge pull request #1106 from jgarzik/sign-compare
...
Fix many sign-comparison warnings found in bitcoin codebase
2012-04-17 10:55:56 -07:00
Gavin Andresen
e873dc654c
Merge pull request #1115 from laanwj/2012_04_cleanupmisc
...
Delete unused, unreachable and commented code, add missing initializer
2012-04-17 10:12:33 -07:00
Pieter Wuille
c581cc16bb
Fix potential deadlock
...
Conflict:
* cs_main in ProcessMessages() (before calling ProcessMessages)
* cs_vSend in CNode::BeginMessage
versus:
* cs_vSend in ThreadMessageHandler2 (before calling SendMessages)
* cs_main in SendMessages
Even though cs_vSend is a try_lock, if it succeeds simultaneously with
the locking of cs_main in ProcessMessages(), it could cause a deadlock.
2012-04-17 18:50:52 +02:00
Jeff Garzik
ce8c93498a
main.cpp: replace tabs with spaces
...
Sometimes they sneak in through the 'vi' door
2012-04-17 12:31:51 -04:00
Jeff Garzik
8bff8ac079
AlreadyHave(): only hold lock during mapTransactions access
2012-04-17 12:30:00 -04:00
Wladimir J. van der Laan
7fa3ad83a9
Remove unused and unreachable code
2012-04-17 18:28:02 +02:00
Wladimir J. van der Laan
4941aad657
Add forgotten initializer
2012-04-17 18:27:55 +02:00
Pieter Wuille
8f2b50f178
Reduce sync frequency for blkindex.dat
...
Since auto-remove-db-logs was enabled, each time a CTxDB was closed
outside of the initial download window, it causes a checkpoint + log
cleanup. This is overkill, so reduce the sync frequency to once per
minute at most.
2012-04-17 18:27:18 +02:00
Jeff Garzik
dd21ce5f1b
Merge pull request #1094 from jgarzik/already-have-locking
...
Locking fix for AlreadyHave()
2012-04-17 09:23:49 -07:00
Jeff Garzik
ea9627979e
Bump PROTOCOL_VERSION to 60001, thereby enabling BIP31
2012-04-17 12:16:46 -04:00
Jeff Garzik
865a0c1674
Merge pull request #1081 from jgarzik/pong
...
BIP 0031: pong message
2012-04-17 08:51:17 -07:00
Wladimir J. van der Laan
7a5452ffb3
Merge pull request #1092 from laanwj/2012_04_sendcoins_setlabelfix
...
When sending coins, set label when selecting address that already has a label
2012-04-16 05:41:39 -07:00
Wladimir J. van der Laan
088a13331b
Merge pull request #1091 from Diapolo/GUI-BlockDL
...
revert to default OS theme for progressbar (fix #1071 )
2012-04-16 00:55:37 -07:00
Jeff Garzik
9fb89c26f3
Fix misc. minor sign-comparison warnings
2012-04-15 17:00:20 -04:00
Jeff Garzik
0dd710acb6
CNode's nHeaderStart may be negative, so change its type
2012-04-15 16:59:48 -04:00
Jeff Garzik
c3fad8350b
serialize.h: CAutoFile's read and write may take size_t nSize
2012-04-15 16:59:09 -04:00
Jeff Garzik
3a78f82a78
Fix sign-compare warnings: netbase's Lookup* max-solutions may be unsigned
2012-04-15 16:58:32 -04:00
Jeff Garzik
c376ac359e
Fix loop index var types, fixing many minor sign comparison warnings
...
foo.size() typically returns an unsigned integral type; make loop variables
match those types' signedness.
2012-04-15 16:52:09 -04:00
Jeff Garzik
ab9dc75a18
The string class returns string::npos, when find() fails.
...
Noticed when sign-comparison warnings were enabled.
2012-04-15 16:47:24 -04:00
Jeff Garzik
ca4c4c53a8
CTxMemPool: add helper methods, to reduce global mempool.mapTx accesses
2012-04-15 14:43:19 -04:00
Jeff Garzik
d01903e751
CTxMemPool: encapsulate AcceptToMemoryPool
2012-04-15 14:43:19 -04:00
Jeff Garzik
8e45ed66dd
CTxMemPool: encapsulate AddToMemoryPoolUnchecked(), RemoveFromMemoryPool(),
...
and nPooledTx
2012-04-15 14:42:52 -04:00
Jeff Garzik
235507ae48
New class CTxMemPool, encapsulating TX memory pool data members
2012-04-15 14:41:27 -04:00
Jeff Garzik
5a701eb7ea
Merge pull request #1104 from laanwj/2012_04_clang
...
Enable and fix most compilation warnings
2012-04-15 11:39:15 -07:00
Jeff Garzik
fced2231f8
Merge pull request #1084 from dooglus/validate_secret
...
importprivkey doesn't check that it is given a private key
2012-04-15 09:25:29 -07:00
Wladimir J. van der Laan
9ea8e60a0c
Merge pull request #1097 from laanwj/2012_04_runawayexception
...
Show a message box when runaway exception happens
2012-04-15 09:22:26 -07:00
Jeff Garzik
c99ddfaa22
Merge pull request #1100 from luke-jr/qrcode_errchk
...
Bugfix: Check that QRcode_encodeString didn't return NULL (error)
2012-04-15 08:31:22 -07:00
Wladimir J. van der Laan
da7bbd9dfd
fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
2012-04-15 13:40:14 +02:00
Wladimir J. van der Laan
6642ffb761
fix warnings: '&&' within '||' [-Wlogical-op-parentheses]
2012-04-15 13:40:14 +02:00
Wladimir J. van der Laan
2e120f28e0
fix warnings: delete called on 'XX' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
2012-04-15 13:40:14 +02:00
Wladimir J. van der Laan
11cd416525
fix warnings: unused variable 'XX' [-Wunused-variable]
2012-04-15 13:40:14 +02:00
Wladimir J. van der Laan
76d8170ce8
fix warnings: enumeration values 'XX' not handled in switch [-Wswitch-enum]
2012-04-15 13:40:14 +02:00
Wladimir J. van der Laan
87207a2e08
fix warnings: 'XX' defined as a struct here but previously declared as a class [-Wmismatched-tags]
2012-04-15 13:40:14 +02:00
Wladimir J. van der Laan
8add7822ce
fix warnings: array subscript is of type 'char' [-Wchar-subscripts]
2012-04-15 13:40:14 +02:00
Wladimir J. van der Laan
1f29d399f4
work around issue in boost::program_options that prevents from compiling in clang
2012-04-15 13:40:14 +02:00
Wladimir J. van der Laan
f9f625fb32
enable all warnings except invalid-offsetof, sign-compare, unused-parameter
2012-04-15 13:40:14 +02:00
Luke Dashjr
2eb665c634
Bugfix: Check that QRcode_encodeString didn't return NULL (error)
...
Without this, any error will segfault Bitcoin-Qt
2012-04-14 21:00:27 -04:00
Wladimir J. van der Laan
a7a0c7a1bf
Show a message box when runaway exception happens
...
This is more clear to users than when the program simply disappears (usually during initialization). It still logs the message to the console and debug log as well.
2012-04-14 18:35:42 +02:00
Wladimir J. van der Laan
6f6f524f1a
Rename make_windows_icon.py to .sh as it is a shell script ( fixes #1099 )
2012-04-14 18:33:19 +02:00
Jeff Garzik
22014c31e5
Merge pull request #1093 from jgarzik/tx-opt
...
Database micro-optimization for "tx" network message
2012-04-14 08:50:43 -07:00
Wladimir J. van der Laan
46ba858817
Merge pull request #1089 from laanwj/2012_04_translationupdate
...
Update translations for bitcoin core
2012-04-13 23:47:50 -07:00
Wladimir J. van der Laan
3fddc8effc
Update translations for bitcoin core
...
- Move scripts/qt to share/qt, to clean up toplevel directories
- Update english ts file which is used to source messages for Transifex
- In extract_strings_qt.py use a glob *.h *.cpp, this is safe now that the Wx UI files are removed
2012-04-14 08:46:16 +02:00
Wladimir J. van der Laan
c1d0547cf6
Merge pull request #1096 from laanwj/2012_04_tick
...
Do not show green tick unless all known blocks are downloaded (fixes #921 )
2012-04-13 23:27:23 -07:00
Wladimir J. van der Laan
b970067298
Do not show green tick unless all known blocks are downloaded ( fixes #921 )
2012-04-14 08:21:22 +02:00
Jeff Garzik
8deb9822e4
Locking fix for AlreadyHave()
...
Access to mapTransactions[] must be guarded by cs_mapTransactions lock.
Also, reformat long lines to make the switch statement more readable.
2012-04-13 18:24:55 -04:00
Jeff Garzik
9925d34a49
Database micro-optimization for "tx" network message
...
Open database once per "tx" message, rather than multiple times,
in the case of orphan transaction presence.
As a side effect, a now-unused CTransaction::AcceptToMemoryPool()
variant is removed.
2012-04-13 17:48:15 -04:00
Wladimir J. van der Laan
2d67195ed2
Set label when selecting an address that already has a label. Fixes #1080 .
2012-04-13 21:08:46 +02:00
Philip Kaufmann
e72c6a1830
revert to default OS theme for progressbar / fix small glitches in bitcoingui.cpp
2012-04-13 18:25:56 +02:00
Wladimir J. van der Laan
6b8e7eefcc
Add missing tooltip and key shortcut in settings dialog ( #1088 without line break part)
2012-04-13 09:16:46 +02:00
Gavin Andresen
c3c203ccd9
Merge pull request #1087 from sipa/fix_1086
...
Fix #1086 : add /testnet to passed datadir
2012-04-12 18:22:15 -07:00
Pieter Wuille
7a743148c9
Fix #1086 : add /testnet to passed datadir
2012-04-13 03:11:14 +02:00
Jeff Garzik
8b09cd3a4d
Replace several network protocol version numbers with named constants
...
stored in version.h.
Also, a minor CAddress code reformat while we're in there, fixing
some incorrect indentation.
2012-04-12 20:07:49 -04:00
Chris Moore
b3a6e613fc
CBitcoinSecret::SetString() now calls IsValid() to make sure it was passed something with the correct version.
2012-04-12 13:13:08 -07:00
Gavin Andresen
b7dc02381f
Merge pull request #1041 from gavinandresen/listtransactionsfix
...
Bug fix listtransactions from/count handling.
2012-04-12 12:20:51 -07:00
Wladimir J. van der Laan
181400c3d5
make text in about box selectable ( fixes #1055 )
2012-04-12 20:55:38 +02:00
Wladimir J. van der Laan
d844cb58a8
Merge pull request #1078 from Diapolo/QR-Code
...
QR-Code code update
Fixes problems reported on forum: https://bitcointalk.org/index.php?topic=73695.msg839804#msg839804
2012-04-12 11:38:36 -07:00
Philip Kaufmann
7261945eb5
enable wordWrap on lblQRCode / small code comment change
2012-04-12 20:34:06 +02:00
Philip Kaufmann
b1a99c3a1f
limit length of generated URI to 255 chars to prevent a DoS against the QR-Code dialog
2012-04-12 20:34:06 +02:00
Philip Kaufmann
1e8c62b29c
updated to reflect pull-request suggestions / renamed some GUI elements
2012-04-12 20:34:05 +02:00
Philip Kaufmann
9e0dba8c17
fixed amount part of URI in QR-Codes / removed (no label) string if we have NO label / coding style updates / removed an unused variable
2012-04-12 20:34:04 +02:00
Jeff Garzik
460b66b14b
Remove obsolete Win32 AffinityBugWorkaround()
...
Reference miner exists for testnet-in-a-box type situations, and as a
reference. We don't care enough about highly optimized internal
mining to keep workarounds like this.
2012-04-12 13:24:00 -04:00
Jeff Garzik
b87c0fc440
version.h: separate client, net sections. Move more constants to this file.
...
* move PROTOCOL_VERSION to version.h
* move CLIENT_VERSION* to version.h, make available past cpp stage
* clearly separate client, network version portions of version.h
2012-04-12 12:23:58 -04:00
Jeff Garzik
93e447b631
BIP 0031: pong message
...
Add a pong message that is sent in reply to a ping. It echoes back a nonce
field that is now added to the ping message. Send a nonce of zero in ping
messages.
Original author: Mike Hearn @ Google
Modified Mike's change to introduce a mild form of protocol documentation in
version.h.
2012-04-12 12:11:56 -04:00
Gavin Andresen
940e22fd81
Fix OSX build errors.
2012-04-12 11:14:46 -04:00
Wladimir J. van der Laan
4ac24cf59e
Merge pull request #855 from sje397/ToggleHide
...
Toggle UI hide
2012-04-11 23:02:18 -07:00
Pieter Wuille
ca2c1cb446
Merge pull request #1072 from sipa/boostpaths
...
Use filesystem::path instead of manual string tinkering
2012-04-11 15:02:24 -07:00
Pieter Wuille
ee12c3d60c
Use filesystem::path instead of manual string tinkering
...
Where possible, use boost::filesystem::path instead of std::string or
char* for filenames. This avoids a lot of manual string tinkering, in
favor of path::operator/.
GetDataDir is also reworked significantly, it now only keeps two cached
directory names (the network-specific data dir, and the root data dir),
which are decided through a parameter instead of pre-initialized global
variables.
Finally, remove the "upgrade from 0.1.5" case where a debug.log in the
current directory has to be removed.
2012-04-11 22:30:23 +02:00
Wladimir J. van der Laan
bcaa5f1c04
Merge pull request #1083 from laanwj/2012_04_connectionicon
...
Make 4th bar of connection icon green
2012-04-11 11:06:26 -07:00
Gavin Andresen
2232717cba
Remove path.make_preferred() calls, and fix compiler error in bitcoinrpc RE: boost::system
2012-04-11 14:00:48 -04:00
Wladimir J. van der Laan
5ca4f13b87
by popular request, make 4th bar of connection icon green
2012-04-11 19:59:15 +02:00
Gavin Andresen
37e7e72041
Merge pull request #1077 from sipa/buildinfo
...
Fix build.h dependencies
2012-04-11 10:35:44 -07:00
Pieter Wuille
4577167170
Fix build.h dependencies
...
For Qt builds, the build.h file is moved to build/build.h. For regular
builds, it is moved to obj/build.h. This allows the Qt build to be done
in a different directory than the source, and without interfering with
other builds.
2012-04-11 14:04:42 +02:00
Pieter Wuille
5d464a4a55
Force regeneration of build.h in qmake builds
2012-04-11 02:21:29 +02:00
Pieter Wuille
702764f53b
Merge pull request #1054 from sipa/buildinfo
...
Build identification strings
2012-04-10 13:31:12 -07:00
Wladimir J. van der Laan
b56772e5df
Merge pull request #1046 from laanwj/2012_04_rpcporterror
...
Show error message instead of exception crash when unable to bind RPC port
2012-04-10 13:14:47 -07:00
Pieter Wuille
a20c0d0f67
Build identification strings
...
All client version information is moved to version.cpp, which optionally
(-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated
on supporting platforms via contrib/genbuild.sh, using git describe.
The git export-subst attribute is used to put the commit id statically
in version.cpp inside generated archives, and this value is used if no
build.h is present.
The gitian descriptors are modified to use git archive instead of a
copy, to create the src/ directory in the output. This way,
src/src/version.cpp will contain the static commit id. To prevent
gitian builds from getting the "-dirty" marker in their git-describe
generated identifiers, no touching of files or running sed on the
makefile is performed anymore. This does not seem to influence
determinism.
2012-04-10 18:16:53 +02:00
sje397
86d5634941
Toggle main window hide on tray icon click
...
- converted openBictoinAction to toggleHideAction
- put GUIUtil functions into a namespace instead of a class
- put window-related functions together in optionsdialog
Reasoning:
- toggle is more typical behaviour
- it's more functional
- better UX
The typical issue with toggling visibility is that when a window
is obscured by other windows but in the 'shown' state, hiding it
isn't what you want. I've added an 'isObscured' function to GUIUtil
that checks several pixels in the window to see if they are visible
on the desktop so that an obscured but shown window can be raised.
Conflicts:
src/qt/guiutil.cpp
src/qt/guiutil.h
2012-04-11 00:07:32 +10:00
Pieter Wuille
962e2fcdb6
Merge pull request #1070 from cardpuncher/patch-1
...
Trivial: added comment lines in French & Turkish
2012-04-10 03:41:09 -07:00
Pieter Wuille
1a275bac2b
Merge pull request #1052 from sipa/scopedlocks
...
Use scoped locks instead of CRITICAL_BLOCK
2012-04-09 13:25:17 -07:00
cardpuncher
9c2c932f8c
Added comment lines in French & Turkish which basically mean "Bitcoin, virtual P2P cryptocurrency".
2012-04-09 22:22:38 +03:00
Gavin Andresen
1044391135
Merge branch 'filesystem' of https://github.com/Diapolo/bitcoin
2012-04-09 10:41:59 -04:00
Pieter Wuille
f342dac1cb
Do not report spurious deadlocks caused by TRY_LOCK
2012-04-09 01:59:57 +02:00
Pieter Wuille
908037fe16
Support for parametrized locks in deadlock detector
2012-04-09 01:59:57 +02:00
Pieter Wuille
f8dcd5ca6f
Use scoped locks instead of CRITICAL_BLOCK
2012-04-09 01:59:46 +02:00
Gregory Maxwell
138d08c531
Merge pull request #987 from luke-jr/ipc_name_fix
...
Cleanup: Replace "URL" with "URI" where we aren't actually working with URLs
2012-04-06 11:22:24 -07:00
Luke Dashjr
fa2544e79f
Bugfix: Replace "URL" with "URI" where we aren't actually working with URLs
2012-04-06 12:53:37 -04:00
Wladimir J. van der Laan
3e34352222
Show error message instead of exception crash when unable to bind RPC port
...
Fixes issue #875
2012-04-06 18:41:23 +02:00
Philip Kaufmann
42c63d3ad2
fixed small error in bitcoinrpc.cpp
2012-04-06 15:31:28 +02:00
Philip Kaufmann
36949554ab
updated util.cpp to use make_preferred()
2012-04-06 15:29:20 +02:00
Philip Kaufmann
93fb7489a7
updated bitcoinrpc.cpp to use make_preferred() and removed double inclusion of boost/filesystem.hpp
2012-04-06 15:29:19 +02:00
Philip Kaufmann
9c24588e73
updated db.cpp to use make_preferred()
2012-04-06 15:29:18 +02:00
Pieter Wuille
9362da78b0
Merge pull request #1033 from sipa/wait
...
Condition variables instead of polling
2012-04-06 04:11:14 -07:00
Gregory Maxwell
9682087b65
Merge pull request #1051 from graingert/patch-1
...
Change sign message bitcoin address tooltip to "The address to sign the ...
2012-04-05 19:21:03 -07:00
graingert
f9781fc62e
Change sign message bitcoin address tooltip to "The address to sign the message with" Closes #1050
2012-04-06 04:08:16 +02:00
Gavin Andresen
3acee27b14
Merge pull request #1047 from luke-jr/strlcpy_attribute
...
Document strlcpy.h in assets-attribution.txt since it isn't MIT-licensed
2012-04-05 16:41:20 -07:00
Luke Dashjr
7993454a92
Document strlcpy.h in assets-attribution.txt since it isn't MIT-licensed
2012-04-05 18:58:20 -04:00
Pieter Wuille
0167938c26
Merge pull request #1045 from sipa/fastblocks2
...
Flush on log size instead of transaction count
2012-04-05 13:02:16 -07:00
Pieter Wuille
e88ed65a39
Flush on log size instead of transaction count
2012-04-05 20:29:47 +02:00
Gavin Andresen
399ff1fe05
Merge pull request #1043 from Diapolo/misc
...
removed obsolete boost workaround (boost ticket #4258 )
2012-04-05 07:36:23 -07:00
Gavin Andresen
895c12943b
Merge pull request #1042 from gavinandresen/use_ssl_cleanup
...
Remove USE_SSL #define
2012-04-05 07:34:45 -07:00
Gavin Andresen
ea2cc8fc4a
Merge pull request #1037 from gavinandresen/addmultisigenable
...
Enable addmultisigaddress RPC call for main network
2012-04-05 07:34:19 -07:00
Gavin Andresen
c7fa55bb87
Merge pull request #1036 from gavinandresen/pubsubcleanup
...
Remove half-implemented publish/subscribe system
2012-04-05 07:33:54 -07:00
Gavin Andresen
78494ffecc
Merge pull request #1035 from gavinandresen/osxbuild
...
Add ifdef RELEASE to makefile.osx as the compile-for-older-macs flags
2012-04-05 07:33:00 -07:00
Gregory Maxwell
4a8d0f3b10
Merge pull request #1039 from sipa/fix_955
...
Fix #955 : Verify status of encrypt/decrypt calls to detect failed padding
2012-04-05 06:17:05 -07:00
Philip Kaufmann
7f10522c43
removed obsolete boost workaround (boost ticket #4258 )
2012-04-05 08:34:31 +02:00
Wladimir J. van der Laan
60d5ab3a16
Merge pull request #1038 from Diapolo/misc
...
small misc syntactic fixes
2012-04-04 22:52:34 -07:00
Gavin Andresen
5ce4c2a23a
Remove USE_SSL #define
2012-04-04 21:19:27 -04:00
Gavin Andresen
723cafcbcf
Bug fix listtransactions from/count handling.
2012-04-04 20:56:13 -04:00
Pieter Wuille
e5c027b49b
Verify status of encrypt/decrypt calls to detect failed padding
2012-04-05 02:07:53 +02:00
Philip Kaufmann
cf8525a571
removed an unneeded space in bitcoin-qt.pro
2012-04-05 00:11:22 +02:00
Philip Kaufmann
fc42e9fae2
removed an unused / obsolete tag from bitcoin.qrc
2012-04-05 00:11:22 +02:00
Gavin Andresen
ea8c55cfd7
Enable addmultisigaddress RPC call for main network
2012-04-04 16:01:27 -04:00
Gavin Andresen
f487746ded
Remove half-implemented publish/subscribe system
2012-04-04 15:56:00 -04:00
Gavin Andresen
3a8ca61bd0
Add ifdef RELEASE to makefile.osx as the compile-for-older-macs flags
2012-04-04 15:45:31 -04:00
Pieter Wuille
092631f0ba
Condition variable for outbound connection slots
...
Keep a global counter for nOutbound, protected with its own waitable
critical section, and wait when all outbound slots are filled, rather
than polling.
This removes the (on average) 1 second delay between a lost connection
and a new connection attempt, and may speed up shutdowns.
2012-04-04 17:24:13 +02:00
Pieter Wuille
712fd182b7
Locking system overhaul, add condition variables
...
This commit simplifies the locking system: CCriticalSection becomes a
simple typedef for boost::interprocess::interprocess_recursive_mutex,
and CCriticalBlock and CTryCriticalBlock are replaced by a templated
CMutexLock, which wraps boost::interprocess::scoped_lock.
By making the lock type a template parameter, some critical sections
can now be changed to non-recursive locks, which support waiting via
condition variables. These are implemented in CWaitableCriticalSection
and WAITABLE_CRITICAL_BLOCK.
CWaitableCriticalSection is a wrapper for a different Boost mutex,
which supports waiting/notification via condition variables. This
should enable us to remove much of the used polling code. Important
is that this mutex is not recursive, so functions that perform the
locking must not call eachother.
Because boost::interprocess::scoped_lock does not support assigning
and copying, I had to revert to the older CRITICAL_BLOCK macros that
use a nested for loop instead of a simple if.
2012-04-04 16:21:08 +02:00
Pieter Wuille
b0a7e05a45
Merge pull request #1019 from laanwj/2012_03_uirefactor
...
Streamline UI ↔ Core interface
2012-04-04 05:03:07 -07:00
Wladimir J. van der Laan
cadae3588c
Merge pull request #1025 from Diapolo/GUI-BlockDL
...
modified block DL progressbar to be more informative and precise
2012-04-04 04:36:09 -07:00
Wladimir J. van der Laan
5cccb13dad
Move from noui.h / ui.h to one ui_interface.h with dummy implementation for the daemon.
2012-04-04 13:19:30 +02:00
Wladimir J. van der Laan
5a60b66a9d
Use a messagebox to display the error when -server is provided without providing a rpc password
2012-04-04 09:37:26 +02:00
Wladimir J. van der Laan
7cfbe1fee4
qtui.h/noui.h interface cleanup
...
- rename wxMessageBox, remove redundant arguments to noui/qtui calls
- also, add flag to force blocking, modal dialog box for disk space warning etc
- clarify function naming
- no more special MessageBox needed from AppInit2, as window object is created before calling AppInit2
2012-04-04 09:37:25 +02:00
Wladimir J. van der Laan
1a3f0da922
support RPC stop and encryptwallet with UI
2012-04-04 09:35:01 +02:00
Wladimir J. van der Laan
5d7cebdadc
move translation function _ to qtui.h/noui.h instead of util.h
2012-04-04 09:35:01 +02:00
Wladimir J. van der Laan
6cb6d62347
remove dependency on serialize.h and util.h for SecureString
2012-04-04 09:35:01 +02:00
Wladimir J. van der Laan
f0b5e9e116
remove unused CalledSetStatusBar and UIThreadCall notifications
2012-04-04 09:35:01 +02:00
Wladimir J. van der Laan
98e6175874
Update UI through async calls MainFrameRepaint and AddressBookRepaint instead of a timer.
...
- Overall, this is better design
- This fixes problems with the address book UI not updating when the address book is changed through RPC
- Move Statusbar change detection responsibility to ClientModel
2012-04-04 09:35:01 +02:00
Philip Kaufmann
75b6323200
remove HTML code around "Wallet" (displayed on overview page) and use Qt tags for font settings
2012-04-04 09:07:55 +02:00
Wladimir J. van der Laan
7e7bcce2d9
Code deduplication: make function in GUIUtil to get connection type to call object slot in GUI thread
...
with invokeMethod.
2012-04-04 08:46:12 +02:00
Wladimir J. van der Laan
55f69a4700
move QT_PLUGINS stuff to qt main file, where it belongs
2012-04-04 08:46:12 +02:00
Wladimir J. van der Laan
fc8c44e3d5
Merge pull request #949 from laanwj/2012_03_vc2010compilefixes
...
VC2010 compile fixes
2012-04-03 11:35:33 -07:00
Wladimir J. van der Laan
52d3a48128
VC2010 compile fixes
2012-04-03 20:22:41 +02:00
Gregory Maxwell
703d64469e
Merge pull request #934 from luke-jr/gitian_luke
...
Add Luke-Jr's PGP key to gitian-downloader
2012-04-03 08:09:13 -07:00
Philip Kaufmann
853a4a81b3
clarified comment why we use an own progressbar style / included "~" in the tr() call
2012-04-03 09:42:34 +02:00
Philip Kaufmann
ec9a4904f3
changed percentage done in tooltip to float to be more precise / allowed plurals in translation for "x block(s) remaining"
2012-04-03 08:30:13 +02:00
Gregory Maxwell
3263a245bb
Merge pull request #1026 from laanwj/2012_04_increase_up_to_date_time
...
Increase time ago of last block for "up to date" status from 30 to 90 minutes
2012-04-02 20:35:44 -07:00
Philip Kaufmann
a7a69cd07a
polished code and fixed progress display (was very jerky at the end of a sync)
2012-04-02 23:51:40 +02:00
Philip Kaufmann
e9de46c436
color update for progress bar
2012-04-02 23:48:24 +02:00
Philip Kaufmann
c7c0c93172
implemented OS independent progress bar style / moved one-time functions used on the bar to a better code location
2012-04-02 23:48:23 +02:00
Philip Kaufmann
5519660a0d
changed progressbar text to "~n blocks remaining"
2012-04-02 23:48:22 +02:00
Philip Kaufmann
068ed1e838
removed relative progressbar display and moved re-worked network detection code to setNumBlocks()
2012-04-02 23:48:22 +02:00
Philip Kaufmann
9ceae8acea
modified block DL progressbar to be dynamic and more precise
2012-04-02 23:48:21 +02:00
Wladimir J. van der Laan
2675fe6218
Increase time ago of last block for "up to date" status from 30 to 90 minutes
...
It was too hyperactive.
gmaxwell: I mean that right now when the block gap goes over an hour it starts showing synchronizing. Increasing that to 90 minutes or so would make it only happen about 6.4 times per year
2012-04-02 20:37:55 +02:00
Gavin Andresen
85ea8b4f43
Merge pull request #951 from TheBlueMatt/headerslimit
...
Limit getheaders to a hard 2000.
2012-04-02 11:22:11 -07:00
Pieter Wuille
91c5132ab5
Merge pull request #998 from Diapolo/transactiontable
...
removed an ugly line break in a transaction tooltip
2012-04-02 07:19:22 -07:00
Pieter Wuille
d3f220b2c2
Merge pull request #1022 from Diapolo/fix#1020
...
fix for #1020
2012-04-02 07:08:14 -07:00
Pieter Wuille
fdef04e77b
Merge pull request #995 from Diapolo/master
...
fixed typo in comment in netbase.h and bignum.h
2012-04-02 07:07:48 -07:00
Pieter Wuille
542a1380aa
Merge pull request #1006 from Diapolo/tr-tray
...
made tray icon tooltip translatable
2012-04-02 07:07:21 -07:00
Pieter Wuille
811bde8267
Merge pull request #1018 from sipa/gpg
...
Updated my GPG key
2012-04-02 07:06:24 -07:00
Gavin Andresen
f3da2a88c9
Bump version to 0.6.0.99 for 0.6.1 merge window
2012-04-02 10:03:26 -04:00
Philip Kaufmann
b5271c8861
hide Delete button (only) on ReceivingTab / hide Sign message button (only) on SendingTab
2012-04-01 13:22:34 +02:00
Pieter Wuille
94e6967e98
Updated my GPG key
2012-03-31 15:39:14 +02:00
Philip Kaufmann
7e05b97229
fixed typo in comment in netbase.h and bignum.h
2012-03-30 07:44:35 +02:00
Gavin Andresen
a1c3d8f14d
Merge branch 'master' of github.com:bitcoin/bitcoin
2012-03-29 15:11:04 -04:00
Gavin Andresen
f146061d24
Merge pull request #1010 from sipa/fastblocks2
...
Use transactions-updated as flush condition
2012-03-29 12:10:30 -07:00
Gavin Andresen
dac1888c18
Merge pull request #1008 from gavinandresen/addrworkaround
...
Workaround hangs when upgrading old addr.dat files
2012-03-29 12:10:08 -07:00
Pieter Wuille
25c5eca893
Use transactions-updated as flush condition
...
The normal checkpointing during the block chain download is reduced
to every five minutes only, but forced every 200000 updated transactions.
2012-03-29 21:00:31 +02:00
Gavin Andresen
f3f9da868e
Bump version to 0.6.0rc6
2012-03-29 13:58:22 -04:00
Gavin Andresen
6293a9f87f
Workaround hangs when upgrading old addr.dat files
2012-03-29 13:34:07 -04:00
Gavin Andresen
83e914c1d5
Merge pull request #1007 from gavinandresen/log_auto_remove
...
Auto-remove logs, and decrease logfile size to 10M
2012-03-29 10:13:42 -07:00
Gavin Andresen
94b5960ef3
Merge pull request #996 from Diapolo/tx-lang-upd
...
update translations from transifex
2012-03-29 06:48:01 -07:00
Gavin Andresen
9f18347034
Auto-remove logs, and decrease logfile size to 10M
2012-03-29 09:03:11 -04:00
Philip Kaufmann
3d1d5fafc1
made tray icon tooltip translatable
2012-03-29 07:59:15 +02:00
Philip Kaufmann
0b637e0b86
removed an ugly line break in a transaction tooltip for case TransactionStatus::Mature
2012-03-27 23:20:09 +02:00
Philip Kaufmann
7b2eecd428
update translations from transifex
2012-03-27 10:13:38 +02:00
Gavin Andresen
8d29329f93
Update version to 60005 (0.6.0rc5)
2012-03-26 15:42:06 -04:00
Gavin Andresen
0ccb2c4f66
Merge branch 'master' of github.com:bitcoin/bitcoin
2012-03-26 15:37:40 -04:00
Gavin Andresen
84560c41c7
Merge pull request #994 from sipa/deladdr
...
Use erase instead of rewrite to remove old addr entries
2012-03-26 12:35:04 -07:00
Gavin Andresen
dd675e01c4
Merge branch 'master' of github.com:bitcoin/bitcoin
2012-03-26 15:34:13 -04:00
Gavin Andresen
be4502968e
Merge pull request #992 from gavinandresen/remove_wxBitcoin
...
Remove wxWidgets .exe during setup
2012-03-26 12:33:02 -07:00
Gavin Andresen
c698633447
Merge branch 'master' of github.com:bitcoin/bitcoin
2012-03-26 15:31:32 -04:00
Gavin Andresen
c289d95d6b
Merge pull request #991 from gavinandresen/disableWinURI
...
Disable bitcoin: URI handling on Windows for the 0.6 release
2012-03-26 12:31:06 -07:00
Wladimir J. van der Laan
57de7cd603
Merge pull request #990 from sipa/doc
...
Begin doxygen-compatible comments
2012-03-26 12:27:49 -07:00
Gavin Andresen
bf5b80a8ae
Merge branch 'deladdr' of https://github.com/sipa/bitcoin
2012-03-26 14:32:26 -04:00
Pieter Wuille
53cb1a49e7
Use erase instead of rewrite to remove old addr entries
2012-03-26 20:22:38 +02:00
Gavin Andresen
a56881b005
Remove wxWidgets .exe and locales during setup
2012-03-26 14:14:45 -04:00
Wladimir J. van der Laan
e9f9282bde
Merge pull request #988 from Diapolo/URL-Handling
...
show Window, when user is clicking bitcoin: link
2012-03-26 10:58:48 -07:00
Gavin Andresen
7b90edb5a6
Disable bitcoin: URI handling on Windows for the 0.6 release
2012-03-26 12:18:24 -04:00
Pieter Wuille
6b8de05d0a
Begin doxygen-compatible comments
2012-03-26 16:48:23 +02:00
Philip Kaufmann
4004b9a40b
make sure Window is shown when clicking bitcoin: Links to get user attention
2012-03-26 09:19:49 +02:00
Pieter Wuille
01a196e08d
Merge pull request #974 from sipa/walletupgrade
...
Introduce explicit -walletupgrade option
2012-03-25 19:44:52 -07:00
Pieter Wuille
59e659fcc0
Merge pull request #983 from laanwj/2012_03_removeunusedutil
...
Remove unused functions from util.h/util.cpp (EOM)
2012-03-25 19:31:03 -07:00
Pieter Wuille
6eb339fae4
Merge pull request #984 from sipa/youngseeds
...
Give DNS seeds a random age between 3 and 7 days old
2012-03-25 17:47:54 -07:00
Pieter Wuille
b3dbab33ca
Merge pull request #985 from TheBlueMatt/uri
...
Fix URI link to bitcoin-qt.exe instead of bitcoin.exe
2012-03-25 10:32:31 -07:00
Matt Corallo
0ec76d834e
Fix URI link to bitcoin-qt.exe instead of bitcoin.exe
2012-03-25 13:23:35 -04:00
Pieter Wuille
bf1afb02ca
Give DNS seeds a random age between 3 and 7 days old
...
This speeds up initial connections with an old/large addr.dat a lot.
2012-03-25 16:06:16 +02:00
Wladimir J. van der Laan
a6aee96c7e
remove unused functions from util.h/util.cpp
2012-03-25 12:33:30 +02:00
Luke Dashjr
a41957b873
Add Luke-Jr's PGP key to gitian-downloader
2012-03-22 20:32:41 -04:00
Pieter Wuille
439e1497e1
Introduce explicit -walletupgrade option
...
Do not automatically change the wallet format unless the user takes an
explicit action that implies an upgrade (encrypting, for now), or uses
-walletupgrade.
-walletupgrade optionally takes an integer argument: the client version
up to which upgrading is allowed. Without an argument, it is upgraded
to latest supported version. If an argument to -walletupgrade is
provided at the time the wallet is created, the new wallet will initially
not use features beyond that version.
Third, the current wallet version number is reported in getinfo.
2012-03-22 23:47:29 +01:00
Gavin Andresen
4a17e3e6b9
Merge pull request #946 from luke-jr/bugfix_rm_mingw
...
Move QMAKE_LIBS_QT_ENTRY adjustment to bitcoin side of build
2012-03-22 11:14:02 -07:00
Luke Dashjr
49e1501b5d
Move QMAKE_LIBS_QT_ENTRY adjustment to bitcoin side of build
...
It could just as well be on either part of the gitian build, but to safely put it on the Qt side would require bumping the filename, and every gitian user rebuilding it.
v0.5.3.1 put it on the Bitcoin side, and this is easier to work with and keep safe, so I'm moving it.
Use `qmake MINGW_THREAD_BUGFIX=0` to disable
2012-03-22 12:46:47 -04:00
Gavin Andresen
958fe01c32
Merge branch 'checklevel' of https://github.com/sipa/bitcoin
2012-03-22 12:18:56 -04:00
Gavin Andresen
e12d131734
Merge pull request #975 from sipa/versioncheck
...
Check minversion before loading the rest of the wallet
2012-03-22 09:18:11 -07:00
Gavin Andresen
a6b4a11385
Merge branch 'addrman' of https://github.com/sipa/bitcoin
2012-03-22 09:19:01 -04:00
Gavin Andresen
0e894be626
Merge pull request #964 from sipa/fastblocks
...
Speed up block downloading
2012-03-22 06:17:44 -07:00
Gavin Andresen
e53f03172a
Merge branch 'master' of github.com:bitcoin/bitcoin
2012-03-22 08:51:37 -04:00
Wladimir J. van der Laan
5cd806a03e
Merge pull request #969 from laanwj/2012_03_printconsole_error
...
replace call to PrintConsole with call to error()
2012-03-21 23:42:20 -07:00
Pieter Wuille
ef12c2184d
Check minversion before loading the rest of the wallet
...
When a 0.6 wallet with compressed pubkeys is created, it writes a
minversion record to prevent older clients from reading it. If the 0.5
loading it sees a key record before seeing the minversion record however,
it will fail with DB_CORRUPT instead of DB_TOO_NEW.
2012-03-22 04:59:59 +01:00
Pieter Wuille
4538e45c46
Add -checklevel and improve -checkblocks
...
-checkblocks now takes a numeric argument: the number of blocks that must
be verified at the end of the chain. Default is 2500, and 0 means all
blocks.
-checklevel specifies how thorough the verification must be:
0: only check whether the block exists on disk
1: verify block validity (default)
2: verify transaction index validity
3: check transaction hashes
4: check whether spent txouts were spent within the main chain
5: check whether all prevouts are marked spent
6: check whether spent txouts were spent by a valid transaction that consumes them
2012-03-22 03:19:23 +01:00
Wladimir J. van der Laan
100da73677
Fix warning about deprecated unescaped backslash
2012-03-21 22:29:33 +01:00
Gavin Andresen
8f188ece3c
Remove -bip16 and -paytoscripthashtime command-line arguments
2012-03-21 15:45:58 -04:00
Wladimir J. van der Laan
4a43dfbf3e
replace call to PrintConsole with call to error()
...
As these are equivalent functions, this cleans up the source a bit.
Also remove PrintConsole() as this was the only use.
2012-03-21 20:33:53 +01:00
Gavin Andresen
2e2c04e250
Merge pull request #947 from ali1234/master
...
When disconnecting a node, the receive buffer should be cleared
2012-03-21 12:24:57 -07:00
Gavin Andresen
b2fe3a5ca6
Merge pull request #948 from sipa/unstuck
...
Prevent stuck block download in large reorganisations
2012-03-21 12:16:28 -07:00
Nils Schneider
3979a2ee6c
Merge pull request #968 from Diapolo/doc-update
...
updated translation process documentation
2012-03-21 10:50:08 -07:00
Philip Kaufmann
2fac1028a8
updated translation process documentation
2012-03-21 18:41:11 +01:00
Gavin Andresen
c2b1ab072c
Merge pull request #965 from khorben/master
...
The generic UNIX Makefile builds with lots of warnings
2012-03-21 07:45:49 -07:00
Pieter Wuille
a1a0469f91
More debug output for failed reorganizations
2012-03-21 13:15:27 +01:00
Wladimir J. van der Laan
6565f4e855
Merge pull request #967 from fanquake/patch-1
...
Correct date
2012-03-21 00:59:50 -07:00
Michael
246c20e8a9
Correct date
2012-03-21 15:56:38 +08:00
Wladimir J. van der Laan
4046bdf18a
Merge pull request #954 from Diapolo/master
...
language updates for source file bitcoin_en.ts + remove cs_CZ (issue #958 )
2012-03-21 00:18:58 -07:00
Pieter Wuille
0aa89c08ff
Prevent stuck block download in large reorganisations
...
In cases of very large reorganisations (hundreds of blocks), a situation
may appear where an 'inv' is sent as response to a 'getblocks', but the
last block mentioned in the inv is already known to the receiver node.
However, the supplying node uses a request for this last block as a
trigger to send the rest of the inv blocks. If it never comes, the block
chain download is stuck.
This commit makes the receiver node always request the last inv'ed block,
even if it is already known, to prevent this problem.
2012-03-21 05:09:02 +01:00
Pieter Wuille
89516bd4e0
Speed up block downloading
2012-03-21 01:32:00 +01:00
Pierre Pronchery
7868808b2f
Avoid some pointless warnings while compiling
2012-03-21 00:08:19 +01:00
Gregory Maxwell
ef14236539
Merge pull request #960 from gavinandresen/issue913
...
Use last checkpoint instead of hard-coded 140,700. Fixes #913 .
2012-03-20 14:26:32 -07:00
Gavin Andresen
eae82d8ee5
Use last checkpoint instead of hard-coded 140,700. Fixes #913 .
2012-03-20 13:45:45 -04:00
p2k
3f1bb1ac78
Proper support for Growl 1.3 notifications
2012-03-20 12:54:51 -04:00
Pieter Wuille
9aa459b294
assertion in CBlock::SetBestChainInner was too strong
2012-03-20 16:41:36 +01:00
Philip Kaufmann
d6b08f6f2c
remove bitcoin_cs_CZ from bitcoin.qrc and delete bitcoin_cs_CZ.ts
2012-03-20 09:07:05 +01:00
Philip Kaufmann
603061a7e5
updated english language source file via lupdate
2012-03-19 14:08:41 +01:00
Nils Schneider
4ac3eea027
Merge pull request #953 from Diapolo/master
...
german translation update
2012-03-19 05:13:08 -07:00
Philip Kaufmann
8afd4699e6
fixed a capitalization error in the german translation
2012-03-19 10:28:10 +01:00
Philip Kaufmann
7c4fabde60
update german translation from transifex
2012-03-19 09:21:11 +01:00
Wladimir J. van der Laan
bd9c6f88be
Merge pull request #928 from jojkaart/master
...
Make send coins dialog honor the configured unit type even on the first attempt.
2012-03-19 01:08:43 -07:00
Matt Corallo
ecf07f2729
Limit getheaders to a hard 2000.
...
Previously getheaders would return any number of headers up to
2000 + the distance the locator parameter was back (which is up to
~ the number of items in the locator ^ 2).
The only client I was able to find which actually handles the headers
message is BitcoinJ, and it clearly expects no more than 2000 headers
See:
http://code.google.com/p/bitcoinj/source/browse/core/src/main/java/com/google/bitcoin/core/HeadersMessage.java#35
Additionally, the wiki clearly states that getheaders will only ever
return 2000 headers: https://en.bitcoin.it/wiki/Network#Messages
2012-03-19 00:13:15 -04:00
Gregory Maxwell
0b99d1b574
Merge pull request #931 from luke-jr/dbg_loaderr
...
Wallet loading diagnostic prints to debug.log
2012-03-18 20:11:09 -07:00
Joel Kaartinen
aa3d4c0221
Make the sendcoins dialog use the configured unit type, even on the first attempt.
2012-03-18 23:04:17 +02:00
Alistair Buxton
bb13d056ea
When disconnecting a node, clear the received buffer so that we do
...
not process any already received messages.
The primary reason to do this is if a node spams hundreds of messages
and we ban them, we don't want to continue processing the rest of it.
2012-03-18 03:03:24 +00:00
Nils Schneider
840f69c582
Merge pull request #942 from Diapolo/master
...
updated german translation from transifex
2012-03-17 02:05:06 -07:00
Philip Kaufmann
652856fb63
update german translation from transifex
2012-03-17 00:48:03 +01:00
Gregory Maxwell
44b69cf25e
Bump CLIENT_VERSION for rc4 release
2012-03-16 15:08:57 -04:00
Gregory Maxwell
fa689db37b
Merge pull request #938 from TheBlueMatt/guirpcwin32
...
Disable running with -server on bitcoin-qt.exe as it is broken.
2012-03-16 11:32:53 -07:00
Matt Corallo
8864019f6d
Fix Win32 RPC Crashes.
2012-03-16 14:28:54 -04:00
Nils Schneider
98ff031eb8
update translations from transifex
2012-03-16 19:05:25 +01:00
Nils Schneider
6c757e99f3
add shell one-liner for updating translations in bitcoin.qrc
2012-03-16 19:03:43 +01:00
Wladimir J. van der Laan
8e910c89b8
Merge pull request #941 from laanwj/2012_03_newminimizetray
...
Yet another attempt of a "minimize to tray" that works on all OSes
2012-03-16 08:59:43 -07:00
Wladimir J. van der Laan
08ed96d856
Yet another attempt at implementing "minimize to tray" that works on all OSes
2012-03-16 08:17:11 +01:00
Wladimir J. van der Laan
f94177367a
Fix windows build in windows Qt SDK
2012-03-15 22:28:31 +01:00
Wladimir J. van der Laan
30dfc64f48
Link -lrt library on Linux
...
This is needed for linking on newer Linux distribs, see http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
2012-03-14 07:40:41 +01:00
Gavin Andresen
e318b99d99
Bump CLIENT_VERSION for rc3 release
2012-03-13 09:31:37 -04:00
Gregory Maxwell
89cccc83f8
Merge pull request #930 from sipa/minireorg
...
Limit the impact of reorganisations on the database (fix #925 )
2012-03-12 15:21:36 -07:00
Pieter Wuille
d68dcf741e
Limit the impact of reorganisations on the database
...
Sometimes a new block arrives in a new chain that was already the
best valid one, but wasn't marked that way. This happens for example
when network rules change to recover after a fork.
In this case, it is not necessary to do the entire reorganisation
inside a single db commit. These can become huge, and exceed the
objects/lockers limits in bdb. This patch limits the blocks the
actual reorganisation is applied to, and adds the next blocks
afterwards in separate db transactions.
2012-03-12 20:31:56 +01:00
Luke Dashjr
3cc0624932
Print more diagnostic info for the various DB_CORRUPT conditions
2012-03-12 14:01:15 -04:00
Pieter Wuille
336ba312a6
Merge pull request #926 from gmaxwell/master
...
Resolves issue #922 - "wallet passphrase timeout of several years doesn't work"
2012-03-11 18:41:00 -07:00
Luke Dashjr
21e875c958
Print wallet load errors (to debug.log)
2012-03-11 17:57:47 -04:00
Gregory Maxwell
82a10c8170
Resolves issue #922 - "wallet passphrase timeout of several years doesn't work"
...
2^31 milliseconds is only about 25 days. Also clamps Sleep() to 10 years,
because it currently sleeps for 0 seconds when the sleep time would cross
2^31 seconds since the epoch. Hopefully boost will be fixed by 2028.
2012-03-10 17:38:37 -05:00
Pieter Wuille
4585d828b4
Merge pull request #918 from nomnombtc/patch-1
...
fix typo src/net.cpp
2012-03-05 14:45:30 -08:00
nomnombtc
f8c478c4fb
fix typo src/net.cpp
2012-03-05 19:33:24 +01:00
Gavin Andresen
f2e81bad33
Merge pull request #915 from sipa/nooverwritetx
...
Do not allow overwriting unspent transactions
2012-03-03 09:41:41 -08:00
Pieter Wuille
a206b0ea12
Do not allow overwriting unspent transactions (BIP 30)
...
Introduce the following network rule:
* a block is not valid if it contains a transaction whose hash
already exists in the block chain, unless all that transaction's
outputs were already spent before said block.
Warning: this is effectively a network rule change, with potential
risk for forking the block chain. Leaving this unfixed carries the
same risk however, for attackers that can cause a reorganisation
in part of the network.
Thanks to Russell O'Connor and Ben Reeves.
2012-03-03 18:26:36 +01:00
Gavin Andresen
50abb5516d
Updated Mac build process
2012-02-29 21:04:56 -05:00
Gavin Andresen
038fedccab
Merge pull request #912 from TheBlueMatt/master
...
Fix release-process.txt for new deps zip.
2012-02-29 13:17:19 -08:00
Matt Corallo
95486d5c48
Fix release-process.txt for new deps zip.
2012-02-29 16:12:36 -05:00
Gavin Andresen
142e604184
DoS fix for mapOrphanTransactions
2012-02-29 11:46:46 -05:00
Gavin Andresen
722d9387be
Merge branch 'mruinventory' of https://github.com/sipa/bitcoin
2012-02-28 11:48:44 -05:00
Gavin Andresen
6dd5ae41ac
Merge branch '2012_02_getspecialfolderpath_overflow' of https://github.com/laanwj/bitcoin
2012-02-28 11:45:14 -05:00
Pieter Wuille
d8a80af84a
Merge pull request #910 from fanquake/master
...
Correct Spelling
2012-02-28 04:33:43 -08:00
Michael Ford
27adfb2e0c
"February"
2012-02-28 20:31:56 +08:00
Gavin Andresen
07ed49a472
Do not start bitcoin: thread on OSX. fixes #889
2012-02-27 16:08:08 -05:00
Gavin Andresen
21503e4556
Merge branch 'nodosbip16' of https://github.com/sipa/bitcoin
2012-02-27 15:47:27 -05:00
Pieter Wuille
c4341fa6ab
Add mruset and use it for setInventoryKnown
2012-02-27 21:04:32 +01:00
Gavin Andresen
46aa2a6bdd
Move BIP16 switchover time to April 1
2012-02-27 11:41:20 -05:00
Gavin Andresen
90d78142c0
Merge branch 'nooptionsinwallet+fixproxysetting' of https://github.com/sipa/bitcoin
2012-02-27 11:30:05 -05:00
Wladimir J. van der Laan
fbbd42a535
Merge pull request #853 from laanwj/2012_02_altminimizetray
...
Yet another alternative "minimize to tray" implementation
Fixes problems with window positioning.
2012-02-26 22:27:25 -08:00
Pieter Wuille
42c8b56f62
Store addrProxy port in settings
2012-02-26 23:39:32 +01:00
Gavin Andresen
3f8cb2c565
Reworked QT settings
2012-02-26 23:38:28 +01:00
Gavin Andresen
972060ce0e
bitcoind changes to stop storing settings in wallet.dat.
2012-02-26 23:21:33 +01:00
Wladimir J. van der Laan
21ae37d215
Simplify MyGetSpecialFolderPath and fix possible buffer overflow ( #901 )
2012-02-26 17:11:38 +01:00
Wladimir J. van der Laan
3d2b5c53cb
Merge pull request #900 from sipa/movebackupmenu
...
Move 'Backup Wallet' to file menu
2012-02-26 07:13:58 -08:00
Pieter Wuille
88c41c43ea
Move 'Backup Wallet' to file menu
2012-02-26 03:04:25 +01:00
Pieter Wuille
4a10d4c6dc
Fix addrProxy setting
...
Before 0.6 addrProxy was a CAddress, but netbase changed it to CService.
Retain compatibility by wrapping/unwrapping with a CAddress when saving
or loading.
This commit retains compatibility with 0.6.0rc1 (which wrote the setting
as a CService) by trying to parse twice.
2012-02-25 21:13:34 +01:00
Wladimir J. van der Laan
da9ab62fb7
Merge pull request #897 from laanwj/2012_02_fixnegativesecs
...
In UI, handle cases in which the last received block was generated in the future
2012-02-25 10:14:37 -08:00
Wladimir J. van der Laan
71ba9abba6
In UI, handle cases in which the last received block was generated in the future (secs<0)
...
Fixes #874 .
2012-02-25 19:11:25 +01:00
Pieter Wuille
db9f2e0117
Do not invoke anti-DoS system for invalid BIP16 transactions
...
Doing so would allow an attack on old nodes, which would relay a
standard transaction spending a BIP16 output in an invalid way,
until reaching a new node, which will disconnect their peer.
Reported by makomk on IRC.
2012-02-25 19:05:50 +01:00
Wladimir J. van der Laan
1168d30b0a
Merge pull request #894 from dooglus/nosplash
...
Add option "-splash" so we can disable the splash screen.
2012-02-24 23:51:50 -08:00
Chris Moore
ec4efde40c
Add option "-splash" so we can disable the splash screen.
...
Don't show splash screen when -min is specified on the command line.
2012-02-24 19:17:22 -08:00
Pieter Wuille
5fee401fe1
CAddrMan: stochastic address manager
...
Design goals:
* Only keep a limited number of addresses around, so that addr.dat does not grow without bound.
* Keep the address tables in-memory, and occasionally write the table to addr.dat.
* Make sure no (localized) attacker can fill the entire table with his nodes/addresses.
See comments in addrman.h for more detailed information.
2012-02-24 13:41:04 +01:00
Gavin Andresen
8c12851ed4
Checkpoint block 168,000
2012-02-23 13:33:30 -05:00
Gavin Andresen
fc4f4c2e9a
Merge branch 'getblock_cleanup' of https://github.com/luke-jr/bitcoin
2012-02-23 12:41:26 -05:00
Pieter Wuille
35b327a520
Merge pull request #887 from TheBlueMatt/gitian_deps
...
Make deps build deterministic and upgrade to libpng 1.5.9.
2012-02-23 04:08:08 -08:00
Matt Corallo
3d0a0a9b9e
Make deps build deterministic and upgrade to libpng 1.5.9.
2012-02-22 22:09:06 -05:00
Luke Dashjr
34f8788915
Cleanup JSON-RPC getblock output to be consistent
...
- Add "size" and "bits"
- Rename "blockcount" to "height"
- Rename "hashprevious" and "hashnext" to "previousblockhash" and "nextblockhash" (respectively)
2012-02-22 12:31:28 -05:00
Gavin Andresen
5c03282521
Merge branch 'testnetirc' of https://github.com/sipa/bitcoin
2012-02-22 11:26:19 -05:00
Gavin Andresen
6fe8c45375
Merge branch 'fixnullpfrom' of https://github.com/sipa/bitcoin
2012-02-22 11:25:08 -05:00
Gavin Andresen
e7e6ae2104
Merge branch 'postfeb20' of https://github.com/sipa/bitcoin
2012-02-22 11:06:44 -05:00
Gavin Andresen
8c7358e1dd
Merge branch 'reorginfo' of https://github.com/sipa/bitcoin
2012-02-22 11:03:19 -05:00
Gavin Andresen
e1bad25fee
Merge branch 'fix_616' of https://github.com/sipa/bitcoin
2012-02-22 11:00:38 -05:00
Gavin Andresen
de737806b5
Merge branch 'fix_626' of https://github.com/sipa/bitcoin
2012-02-22 10:52:14 -05:00
Gavin Andresen
1af97c95f3
Merge branch 'bugfix_bip14_ez' of https://github.com/luke-jr/bitcoin
2012-02-22 10:44:44 -05:00
Gavin Andresen
f246fc648a
Merge branch '201202_guiaddsuffix' of https://github.com/laanwj/bitcoin
2012-02-22 10:41:11 -05:00
Luke Dashjr
c170d03e03
Bugfix: Instead of reporting "bitcoin-qt" for both bitcoind and Bitcoin-Qt, report "Satoshi" which is at least correct
2012-02-22 10:36:19 -05:00
Pieter Wuille
92d5864b80
Leave IRC enabled by default on testnet
...
As testnet has neither DNS seeds or built-in seed addresses to
bootstrap from.
2012-02-22 05:19:09 +01:00
Pieter Wuille
18c0fa97d0
Post-feb20 simplifications
...
Now the entire network upgraded to (initial) protocol version 209,
crtainl simplifications in the source code are possible.
2012-02-21 20:46:39 +01:00
Pieter Wuille
73aa0421a7
ProcessBlock is sometimes called with pfrom==NULL
2012-02-20 22:35:08 +01:00
Pieter Wuille
0d56f11ada
Fix tests after 38067c18
2012-02-20 18:32:33 +01:00
Wladimir J. van der Laan
f7b8f824de
Merge pull request #857 from laanwj/2012_02_fixhelpwindow
...
On windows, show message box with help, as there is no stderr (fixes #702 )
2012-02-20 08:56:41 -08:00
Wladimir J. van der Laan
7b88a61706
Merge pull request #858 from laanwj/2012_02_uisendlabelfix
...
Only fill in label from address book if no label is filled in yet (fixes #840 )
2012-02-20 08:55:49 -08:00
Gregory Maxwell
f50f36d4db
Merge pull request #876 from luke-jr/signmsg_desc
...
Sign message description changes discussed in #bitcoin-dev
2012-02-19 21:24:20 -08:00
Luke Dashjr
5a5cc6ac09
Sign message description changes discussed in #bitcoin-dev
2012-02-19 22:36:59 -05:00
Pieter Wuille
9fa042a96c
Typo fix
2012-02-20 04:17:00 +01:00
Pieter Wuille
3a4d81724e
Merge pull request #864 from sipa/fix_856
...
Make compressed pubkeys require client >=0.5.99
2012-02-19 18:21:19 -08:00
Pieter Wuille
49355d9993
Merge pull request #868 from sipa/fix_650
...
Fix #650 : CKey::SetSecret BIGNUM leak
2012-02-19 18:04:46 -08:00
Wladimir J. van der Laan
8a949dd6c3
Merge pull request #867 from laanwj/2012_02_hidetrayicononquit
...
Hide tray icon in destructor, as deleting will let it linger until quit (on ubuntu)
2012-02-19 11:30:32 -08:00
Pieter Wuille
ceaa13eff2
Report number of (dis)connected blocks in reorganization
...
Also report old and new best, and fork point.
2012-02-19 20:06:04 +01:00
Pieter Wuille
46245b4782
Fix #616 : remove base_uint::operator&=(uint64 b)
2012-02-19 19:12:41 +01:00
Pieter Wuille
a3342d096f
Fix #626 : RecvLine wrong error message
...
Also moved RecvLine to net.cpp.
2012-02-19 19:06:42 +01:00
Pieter Wuille
a09f101f14
Fix #650 : CKey::SetSecret BIGNUM leak
2012-02-19 18:45:56 +01:00
Pieter Wuille
e0b8d459b1
Merge pull request #863 from sipa/bn2mpifix
...
Workaround for BN_bn2mpi reading/writing out of bounds
2012-02-19 09:22:11 -08:00
Pieter Wuille
59b1b181e9
Merge pull request #865 from sipa/del_pwalletdb
...
Free pwalletdbEncryption after encryping wallet
2012-02-19 09:05:40 -08:00
Wladimir J. van der Laan
27a0ed8a0a
Hide tray icon in destructor, as deleting will let it linger until quit (on Ubuntu)
2012-02-19 12:07:07 +01:00
Pieter Wuille
fcfd7ff8f8
Free pwalletdbEncryption after encryping wallet
...
Fixes a memory leak.
2012-02-18 15:44:34 +01:00
Pieter Wuille
38067c18f8
Make compressed pubkeys require 0.6.0
2012-02-18 15:42:38 +01:00
Pieter Wuille
9976cf070f
Move GenerateNewKey back to CWallet
2012-02-18 15:42:38 +01:00
Pieter Wuille
0b807a417f
Add SetMinVersion to CWallet
2012-02-18 15:42:29 +01:00
Pieter Wuille
e9a041c536
Merge pull request #862 from TheBlueMatt/warnings
...
Fix compilation warning.
2012-02-18 04:56:58 -08:00
Pieter Wuille
a06113b0c5
Workaround for BN_bn2mpi reading/writing out of bounds
...
When OpenSSL's BN_bn2mpi is passed a buffer of size 4, valgrind
reports reading/writing one byte past it. I am unable to find
evidence of this behaviour in BN_bn2mpi's source code, so it may
be a spurious warning. However, this change is harmless, as only
the bignum with value 0 results in an mpi serialization of size 4.
2012-02-18 13:32:25 +01:00
Wladimir J. van der Laan
2d36b60f92
Merge pull request #859 from laanwj/2012_02_guilanguagearg
...
Make it possible to set UI language from commandline (implements #678 )
2012-02-18 01:33:56 -08:00
Matt Corallo
db1a5609a0
Fix compilation warning.
2012-02-18 01:22:22 -05:00
Wladimir J. van der Laan
17690ea5a7
Do show/showNormal only when needed.
2012-02-17 23:19:52 +01:00
Wladimir J. van der Laan
328512876a
Merge pull request #854 from laanwj/2012_02_qtipc
...
Restructure IPC URL handling (fixes #851 )
2012-02-17 12:54:07 -08:00
Gavin Andresen
d3a4b85670
Merge branch 'nolisten_bitcoin_conf_2' of https://github.com/dooglus/bitcoin
2012-02-17 13:50:40 -05:00
Gavin Andresen
0a6b081cca
Merge branch 'testnetmining' of github.com:gavinandresen/bitcoin-git
2012-02-17 13:48:01 -05:00
Gavin Andresen
25bc37f8a2
Merge branch 'threadid' of https://github.com/sipa/bitcoin
2012-02-17 13:40:42 -05:00
Wladimir J. van der Laan
ec2ed58232
Merge pull request #834 from sje397/BackupWallet
...
Added 'Backup Wallet' menu option to GUI
2012-02-17 10:30:15 -08:00
Wladimir J. van der Laan
72075edafb
Allow setting UI language from commandline (implements #678 )
2012-02-17 18:47:31 +01:00
Wladimir J. van der Laan
f9f75f320e
Only fill in label from address book, if no label is filled in yet, fixes #840
2012-02-17 18:25:14 +01:00
Wladimir J. van der Laan
a3f3e54eee
Change #ifdef GUI to #ifdef QT_GUI, GUI is not defined anymore...
2012-02-17 18:01:01 +01:00
Wladimir J. van der Laan
bc5e6b9f21
On windows, show message box with help, as there is no stderr ( fixes #702 )
2012-02-17 17:55:46 +01:00
Wladimir J. van der Laan
83d1d1a906
Hide window from taskbar when "minimize to tray" active by making window into Tool window
2012-02-17 17:14:02 +01:00
Wladimir J. van der Laan
23b3cf9d10
Restructure IPC URL handling ( fixes #851 )
2012-02-17 15:32:51 +01:00
Wladimir J. van der Laan
39231e9105
don't allow -daemon in bitcoin-qt (changes only #defines)
2012-02-17 14:47:56 +01:00
Wladimir J. van der Laan
d3896211d2
fix typo in CNetAddr::IsRFC4843() ( fixes #850 )
2012-02-17 14:40:21 +01:00
Chris Moore
d64e124cf4
Fix #846 . Allow negative options such as "nolisten=1" in bitcoin.conf as well as on the command line.
2012-02-16 12:08:58 -08:00
Gavin Andresen
0f8cb5db73
Fix issue #848 : broken mining on testnet
2012-02-16 11:37:54 -05:00
Pieter Wuille
b7c25e0c13
Merge pull request #843 from TheBlueMatt/qrcodedoc
...
Fix one compile-time warning and fix libqrcode linking in releases
2012-02-16 03:50:59 -08:00
Pieter Wuille
c59881eaee
Symbolic names for threads
...
Introduce an enum threadId, and use symbolic indices when accessing
vnThreadsRunning.
2012-02-16 12:43:06 +01:00
Pieter Wuille
999b4cacaf
Merge pull request #844 from sipa/shutdownfix
...
Several shutdown-related fixes
2012-02-16 03:34:11 -08:00
Pieter Wuille
2030fc6bc2
Merge pull request #842 from sipa/checkaf
...
Do not create CAddress for invalid accepts
2012-02-16 03:31:14 -08:00
Pieter Wuille
711d5038f5
Merge pull request #828 from sipa/fixwalletlock
...
Fix wallet locking locking
2012-02-16 03:30:26 -08:00
Matt Corallo
7dcd200489
Properly include $*_LIB_PATH in makefile.unix
2012-02-15 16:39:02 -05:00
Matt Corallo
b03cb15789
Make bitcoin-qt static-link libqrcode and add it for debian pkgs.
2012-02-15 16:39:01 -05:00
Matt Corallo
32af6b16f1
Fix compilation warning.
2012-02-15 16:38:57 -05:00
Pieter Wuille
cc201e01f8
Several shutdown-related fixes
...
* do not let vnThreadsRunning[1] go negative
* do not perform locking operations while vnThreadsRunning[1] is decreased
* check vnThreadsRunning[1] at exit
2012-02-15 21:17:15 +01:00
Pieter Wuille
25ab17585e
Bugfix: do not create CAddress for invalid accepts
2012-02-15 20:56:29 +01:00
Wladimir J. van der Laan
303a47c095
fix default suffixes in save dialog in GNOME, make it more clear that PNG is used (solves #833 )
2012-02-15 17:22:00 +01:00
Wladimir J. van der Laan
c85c37acb1
increase BitcoinAddressValidator::MaxAddressLength from 34 to 35
...
needed for sending BIP16 transactions on test network through GUI
2012-02-15 17:09:47 +01:00
sje397
4efbda3f25
Added 'Backup Wallet' menu option
...
- icon from the LGPL Nuvola set (like the tick) - http://www.icon-king.com/projects/nuvola/
- include 'boost/version.hpp' in db.cpp so that the overwrite version of copy can be used
- catch exceptions in BackupWallet (e.g. filesystem_error thrown when trying to overwrite without the overwrite flag set)
- include db.h in walletmodel.cpp for BackupWallet function
- updated doc/assets-attribution.txt and contrib/debian/copyright with copyright info for new icon
2012-02-15 23:29:59 +11:00
Wladimir J. van der Laan
1df182ff88
(trivial) regularize coding style
2012-02-15 13:14:16 +01:00
Wladimir J. van der Laan
15b87b2ec4
Merge pull request #807 from TheBlueMatt/bip21
...
Add req- prefixes to comply with BIP21.
2012-02-12 05:52:34 -08:00
Wladimir J. van der Laan
d27b4576f3
Add export action to file menu (as long as we have a file menu, export certainly should be there)
2012-02-12 12:54:33 +01:00
Wladimir J. van der Laan
2aa3429899
Merge pull request #826 from laanwj/2012_02_fixminimizetotray
...
Fix Minimize to the tray instead of the taskbar (rework)
2012-02-12 01:49:18 -08:00
gmaxwell
9f3de58d83
Merge pull request #817 from TheBlueMatt/dpiversionfix
...
Get ext. IP from UPnP, make sure addrMe IsRoutable() in version.
2012-02-11 15:14:02 -08:00
Pieter Wuille
7c39b56c3b
Merge pull request #827 from sipa/fixencrypt
...
Fix wallet encryption with compressed pubkeys
2012-02-11 15:02:05 -08:00
Pieter Wuille
aa625ed6ed
Extra wallet locking fixes
...
* Fix sign error in calculation of seconds to sleep
* Do not mix GetTime() (seconds) and Sleep() (milliseconds)
* Do not sleep forever if walletlock() is called
* Do locking within critical section
2012-02-11 21:59:39 +01:00
Pieter Wuille
b0529ffd95
Fix wallet locking locking
2012-02-11 21:59:39 +01:00
Pieter Wuille
88bc5f9485
Macros for manual critical sections
2012-02-11 21:59:33 +01:00
Janne Pulkkinen
6af93ee2ea
Fix Minimize to the tray instead of the taskbar
2012-02-11 18:24:49 +01:00
Gavin Andresen
b25474d1be
Merge pull request #825 from sipa/fix_822
...
Fix #822 : use free instead of delete
2012-02-11 09:12:00 -08:00
Pieter Wuille
cd5ee3bbb4
Fix wallet encryption with compressed pubkeys
2012-02-11 16:42:44 +01:00
Pieter Wuille
402deef944
Fix #822
2012-02-11 15:25:42 +01:00
Matt Corallo
245484679a
Add Bitcoin-Qt test suite with some bitcoin: URL Tests to start.
2012-02-10 17:47:00 -05:00
Matt Corallo
cce89ead18
Add -req prefixes to comply with BIP21.
2012-02-10 17:44:52 -05:00
Wladimir J. van der Laan
26d9e2c19d
Merge pull request #818 from laanwj/2012_02_win32_qtaccessible
...
Enable accessible widgets Qt module on win32
2012-02-10 09:31:21 -08:00
Gavin Andresen
b0cfef3214
Merge pull request #813 from dooglus/master
...
Fix #794 . Only remove transactions from memory pool when they're actually in the memory pool.
2012-02-10 09:04:19 -08:00
Wladimir J. van der Laan
2e5a781c64
Enable accessible widgets Qt module on win32, so that people with screen readers such as NVDA can make sense of it.
2012-02-10 08:28:32 +01:00
Matt Corallo
baba6e7de2
Get ext. IP from UPnP, make sure addrMe IsRoutable() in version.
...
This fixes a potential bug where some NATs may replace the node's
interal IP with its external IP in version messages, causing
incorrect checksums when version messages begin being checksummed
on February 14, 2012.
2012-02-10 00:54:11 -05:00
Chris Moore
74f28bf1fd
Fix #794 . Only remove transactions from memory pool when they're actually in the memory pool.
2012-02-09 05:21:41 -08:00
Wladimir J. van der Laan
328b26d40b
Update readme-qt.rst for 0.6.0
...
- Remove features list (no longer makes sense)
- Document USE_QRCODE
2012-02-07 21:16:28 +01:00
Gavin Andresen
a15bc17632
Merge pull request #805 from luke-jr/gitian_deps
...
Split dependencies into deps-gitian.yml
2012-02-07 09:23:34 -08:00
Luke Dashjr
f1142dcc5b
Update doc/release-process.txt
2012-02-07 12:12:10 -05:00
Luke Dashjr
9909340f37
Split smaller dependencies out of gitian-win32 into deps-win32
2012-02-07 11:52:40 -05:00
Gavin Andresen
882164196e
Update all copyrights to 2012
2012-02-07 11:28:30 -05:00
Gavin Andresen
6bf4253a68
Increase client version to 0.6
2012-02-07 11:22:09 -05:00
Gavin Andresen
9d952d17bb
Look for flushwallet/listen/irc/dnsseed/upnp instead of noflushwallet/etc. And switch default for irc to 0.
2012-02-07 09:14:31 -05:00
Gavin Andresen
3ad9f8a70f
New GetArg features: allow --, and booleans can be -foo or -nofoo
2012-02-07 09:14:31 -05:00
Gavin Andresen
3ae0735553
Unit tests for the GetArg() methods
2012-02-07 09:14:31 -05:00
Gavin Andresen
0b452dff5e
Merge branch 'standardScriptSigs' of github.com:gavinandresen/bitcoin-git
2012-02-07 09:04:56 -05:00
Gavin Andresen
7bf8b7c25c
-bip16 option (default: 1) to support / not support BIP 16. And bumped default BIP16 switchover date from Feb 15 to Mar 1
2012-02-06 16:27:05 -05:00
Gavin Andresen
0b9a05a2bc
Merge branch 'rpcpassword' of https://github.com/gmaxwell/bitcoin
2012-02-06 15:10:30 -05:00
Gavin Andresen
30999ec6f9
Merge branch 'decomposetransfix' of https://github.com/laanwj/bitcoin
2012-02-06 14:50:59 -05:00
Wladimir J. van der Laan
ab07866c8d
Restructure credit transaction decomposition (solves issue #689 )
...
When a transaction has multiple outputs that go to the wallet, list these
as multiple transactions in the UI. This is also applied to generated
(coinbase) transactions. Also makes the code shorter and easier
to understand.
2012-02-06 18:13:01 +01:00
Luke Dashjr
f051ee5f96
Update zlib and libpng (previous version had a security issue)
2012-02-06 11:46:49 -05:00
Gavin Andresen
aad945f9b1
Merge branch 'translation-fixes' of https://github.com/tcatm/bitcoin
2012-02-06 09:35:20 -05:00
Gavin Andresen
0104e36d4b
Mac deploy tool: make dylibs writeable when copying into app bundle, so they can be stripped/nametool'ed
2012-02-06 09:33:13 -05:00
p2k
f118b5fc5d
miniupnpc Porfile removed; new and improved macdeployqtplus
...
* My patch for miniupnpc has made it into the latest MacPorts release: https://trac.macports.org/ticket/31354
* Documentation has been changed appropriately
* New pure-Python macdeployqt; leverages all problems with the stock macdeployqt
2012-02-06 09:33:12 -05:00
Nils Schneider
9d4b05c0dc
fetch translations from transifex
...
* fixes issue #742
* new translations: cs_CZ fa fi fr_FR hr pl ro_RO sv tr
2012-02-05 16:40:27 +01:00
Wladimir J. van der Laan
f69b82e78a
Change up/down increment in UI to 0.001 BTC (issue #760 )
2012-02-05 12:15:16 +01:00
Gregory Maxwell
b04f301c8e
Have bitcoind recommend a secure RPC password. Increase invalid password delay.
...
Help users avoid insecure configurations a bit by recommending a
secure RPC password and increasing the incorrect password delay.
This may open up a RPC DOS for users with exposed RPC ports and
short passwords. Since users shouldn't have exposed RPC ports OR
short passwords, the DOS risk is preferable to the compromise
risk.
Also logs the client IP address for incorrect attempts.
2012-02-05 02:58:35 -05:00
Gregory Maxwell
5d1b8f1725
Avoid advertising the node's address when it is not listening or IsInitialBlockDownload().
...
This also avoids flushing setAddrKnown until 24 hours has passed,
and avoids contacting the external IP services when not listening.
Advertising non-listening nodes is just addr message spam.
It doesn't help the network, in fact it hurts the network,
and it also hurts user's privacy.
Advertising far out of sync nodes doesn't help the network—
they can't even forward (most) transactions and wastes nodes
outbound slots.
2012-02-01 18:08:03 -05:00
Wladimir J. van der Laan
d2291cce92
Remove loose amp; from Portugese translation (issue #701 )
2012-02-01 20:14:13 +01:00
Gavin Andresen
8beb917c6c
Allow -upnp to override setting in wallet (and simplify logic a bit)
2012-02-01 13:24:15 -05:00
Matt Corallo
177dbcaace
Fix UPnP by reannouncing every 20 minutes.
2012-01-31 17:42:15 -05:00
Gavin Andresen
c52296a73e
Testnet difficulty calculation changes, to take effect Feb 15 2012
...
Allow mining of min-difficulty blocks if 20 minutes have gone by without mining a regular-difficulty block.
Normal rules apply every 2016 blocks, though, so there may be a very-slow-to-confirm block at the difficulty-adjustment blocks.
2012-01-31 13:20:01 -05:00
Gavin Andresen
4477b17f15
Merge branch 'checkkeys' of https://github.com/sipa/bitcoin
2012-01-31 12:19:26 -05:00
Gavin Andresen
68649bef93
CreateNewBlock was not adding in transaction fees.
2012-01-28 10:16:21 -05:00
Luke Dashjr
2bc4fd609c
Bitcoin-Qt signmessage GUI (pull request #582 )
2012-01-27 08:41:55 +01:00
Pieter Wuille
91f43a33f8
Full checking of all loaded keys
2012-01-26 19:26:43 +01:00
Wladimir J. van der Laan
70f55355e2
Merge pull request #593 (Full URL Support in bitcoin-qt)
2012-01-26 19:00:02 +01:00
Gavin Andresen
4c932cca6f
Merge pull request #782 from sipa/checkkeys
...
Check consistency of private keys
2012-01-25 05:43:44 -08:00
Gavin Andresen
b6a35d2d52
Merge pull request #773 from gavinandresen/p2shSigOpCount
...
Simplify counting of P2SH sigops to match BIP 16
2012-01-25 05:21:20 -08:00
Pieter Wuille
b25cc627a3
Check consistency of private keys
...
Reported by onlineproof on IRC: Bitcoin does not verify whether private
keys and public keys correspond, when loading a wallet.
2012-01-25 03:05:16 +01:00
Gavin Andresen
341519523f
Support makefile.osx building test_bitcoin with dynamic boost
2012-01-23 15:58:06 -05:00
Gavin Andresen
2a9b46cf4b
Merge branch 'bugfix_shared_boost_test' of https://github.com/luke-jr/bitcoin
2012-01-23 15:16:59 -05:00
Luke Dashjr
34c69036da
Rename src/obj/test to src/obj-test to workaround bug in older GNU Make
2012-01-23 14:27:08 -05:00
Gavin Andresen
a702ceaafc
Merge branch 'lockcontention' of https://github.com/TheBlueMatt/bitcoin
2012-01-23 13:15:43 -05:00
Gavin Andresen
9ef59797af
Merge branch 'master' of github.com:bitcoin/bitcoin
2012-01-23 13:14:49 -05:00
Gavin Andresen
b8056dc5d0
Merge branch 'bugfix_areinpstd' of https://github.com/luke-jr/bitcoin
2012-01-23 13:09:34 -05:00
Gavin Andresen
5e437f05c7
Merge pull request #764 from luke-jr/update_release_process
...
Various updates to the release process
2012-01-23 09:59:38 -08:00
Gavin Andresen
149f580c82
Only store transactions with missing inputs in the orphan pool.
...
All previous versions of bitcoin could store some types of
invalid transactions in the orphan-transaction list.
2012-01-23 12:54:32 -05:00
Gavin Andresen
dc77dce07c
Fixed addmultisigaddress if looking up public keys from locked wallets.
2012-01-23 12:04:34 -05:00
Luke Dashjr
ca9afa8401
Bugfix: Support building test_bitcoin with shared-object boost test framework
2012-01-23 11:37:48 -05:00
Matt Corallo
198fb229a4
Add DEBUG_LOCKCONTENTION, to warn each time a thread waits to lock.
...
If compiled with -DDEBUG_LOCKCONTENTION, Bitcoin will print to
debug.log each time a thread has to wait for a lock to continue.
2012-01-21 16:16:28 -05:00
Luke Dashjr
575bdcde93
Sanitize AreInputsStandard slightly
...
Correct comment for why the check is unnecessary for coinbases
Move testnet check out, to AcceptToMemoryPool where everything else checks it
2012-01-20 21:00:08 -05:00
Gavin Andresen
137d0685a4
Simplify counting of P2SH sigops to match BIP 16 (thanks to Matt Corallo for prompting this).
...
This also removes an un-needed sigops-per-byte check when accepting transactions to the memory pool (un-needed assuming only standard transactions are being accepted). And it only counts P2SH sigops after the switchover date.
2012-01-20 17:07:40 -05:00
Gavin Andresen
1240a1b0a8
Back out spacing changes to json spirit code
2012-01-19 14:32:45 -05:00
Gavin Andresen
7012b124bc
Merge branch 'updateseednodes' of https://github.com/nanotube/bitcoin
2012-01-19 14:23:49 -05:00
Gavin Andresen
c55fd06b99
Merge branch 'tabs-to-space' of https://github.com/larsr/bitcoin
2012-01-19 14:22:26 -05:00
Gavin Andresen
aacefd2795
Merge branch 'getmemorypool_blockflagstime' of https://github.com/forrestv/bitcoin
2012-01-19 14:14:41 -05:00
Gavin Andresen
39f0d96860
Make transactions with extra data in their scriptSig's non-standard.
2012-01-19 13:30:54 -05:00
Daniel Folkinshteyn
b2f76e9ded
Update seednodes, pick long-uptime nodes with version >= 0.4.0
2012-01-19 01:54:14 -05:00
Luke Dashjr
9965e1d044
Various updates to the release process
2012-01-17 21:50:08 -05:00
Wladimir J. van der Laan
43cda5f325
Merge pull request #762 from laanwj/qtprogressfix
...
Revert to global progress indication, also fix the build
2012-01-17 00:35:16 -08:00
Wladimir J. van der Laan
06706ab8ef
Remove erroneous ":" in front of port in options dialog (introduced with network refactor)
2012-01-17 09:34:24 +01:00
Wladimir J. van der Laan
be4d08b261
fix the build (port IP validation in options to network refactoring)
2012-01-17 09:27:03 +01:00
Wladimir J. van der Laan
b2a967cd0b
Revert to global progress indication (see #753 )
2012-01-17 09:19:58 +01:00
Pieter Wuille
c981d768b3
Fix handling of default ports
2012-01-17 02:12:35 +01:00
Gavin Andresen
8498c59144
Merge branch 'keepnode' of https://github.com/TheBlueMatt/bitcoin
2012-01-16 16:45:43 -05:00
Wladimir J. van der Laan
5dc090009e
Merge pull request #758 from Matoking/master
...
Ui: Clear All tooltip and updated About dialog with 2012
2012-01-15 08:09:53 -08:00
Forrest Voight
ab84512258
Added mintime and curtime to RPC getmemorypool
2012-01-14 19:23:37 -05:00
Forrest Voight
52a3d2635c
Separated COINBASE_FLAGS out into main.h and made RPC getmemorypool return it
2012-01-14 19:22:24 -05:00
Janne Pulkkinen
29b7273153
*Clear all has a tooltip now *About dialog updated
2012-01-14 21:31:49 +02:00
Lars Rasmusson
b985efaac1
Replace tabs with four spaces to comply with coding standard in doc/coding.txt
2012-01-14 12:14:36 +01:00
Gavin Andresen
9e8818ec9d
Remove base58 encoding from validateaddress/addmultisigaddress
...
base58-encoding of full/compressed public keys needs more thought; it probably makes sense to define a base58 encoding that includes a version byte and a checksum. So just support hex and bitcoin-address encodings for now.
2012-01-13 10:22:24 -05:00
Gavin Andresen
4063460534
Refactor: needing to call ConnectInputs to process coinbase transactions was counter-intuitive
2012-01-13 10:22:24 -05:00
Gavin Andresen
8d7849b6db
Refactored ConnectInputs, so valid-transaction-checks are done before ECDSA-verifying signatures.
2012-01-13 10:22:24 -05:00
Gavin Andresen
922e8e2929
Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16).
2012-01-13 10:22:23 -05:00
Gavin Andresen
d11a58a2d3
Remove not-used-anywhere scriptPrereq from SignSignature()
2012-01-13 10:20:42 -05:00
Gavin Andresen
f290a649f9
Merge branch 'getmininginfo' of https://github.com/luke-jr/bitcoin
2012-01-13 10:06:05 -05:00
Matt Corallo
10ba0a3efc
Minor code cleanup to use fHaveUPnP instead of #ifdef
2012-01-12 22:13:16 -05:00
Matt Corallo
b24e6e4d1b
Add -keepnode which attempts to -addnode and keep a connection open
2012-01-12 22:13:16 -05:00
Gavin Andresen
a1de57a063
Compile with extra warnings turned on. And more makefile/code tidying up.
...
This turns on most gcc warnings, and removes some unused variables and other code that triggers warnings.
Exceptions are:
-Wno-sign-compare : triggered by lots of comparisons of signed integer to foo.size(), which is unsigned.
-Wno-char-subscripts : triggered by the convert-to-hex functions (I may fix this in a future commit).
2012-01-12 20:02:47 -05:00
Luke Dashjr
340f0876ea
collect more info on tx pooling and block finding for getmininginfo
2012-01-12 19:47:39 -05:00
Luke Dashjr
6950bb6200
Add new "getmininginfo" JSON-RPC method, with mining-only fields moved out of "getinfo"
2012-01-12 19:47:23 -05:00
Gavin Andresen
025d495481
Remove broken Visual C++ makefile.vc, and removed annoying HEADERS= list from other makefiles
2012-01-12 16:55:44 -05:00
Gavin Andresen
3f64fa1369
Merge pull request #743 from gavinandresen/blocknotify
...
-blocknotify : run a command when best-block changes
2012-01-12 06:31:25 -08:00
Pieter Wuille
afcf6f974f
Merge pull request #649 from sipa/comprpubkey
...
Compressed pubkeys
2012-01-10 13:23:51 -08:00
Wladimir J. van der Laan
b43eaa5508
Merge pull request #752 from luke-jr/qt_txnid
...
Qt: Show transaction ID in details
2012-01-10 11:51:55 -08:00
Luke Dashjr
ebf9065c22
Qt: Show transaction ID in details
2012-01-10 13:25:05 -05:00
Pieter Wuille
a4902c9e7c
Remove unused definition
2012-01-09 23:39:26 +01:00
Gavin Andresen
2e555237d3
Merge pull request #746 from laanwj/tdesc_ro
...
make transaction description read-only (UI fix)
2012-01-09 07:59:18 -08:00
Gavin Andresen
7501d61633
Merge pull request #750 from TheBlueMatt/anonymous
...
Remove mentions on anonymity in debian folder.
2012-01-09 07:58:58 -08:00
Pieter Wuille
b3974ec9d4
Unit tests for EC key routines
...
This tests:
* creation of keys from base58-encoded strings
* extracting public keys and addresses
* compressed public keys
* compact signatures and key recovery
2012-01-09 15:18:19 +01:00
Pieter Wuille
d4d9c734c3
Compact signatures with compressed pubkeys
2012-01-09 15:18:19 +01:00
Pieter Wuille
11529c6e4f
Compressed pubkeys
...
This patch enabled compressed pubkeys when -compressedpubkeys is passed.
These are 33 bytes instead of 65, and require only marginally more CPU
power when verifying. Compressed pubkeys have a different corresponding
address, so it is determined at generation. When -compressedpubkeys is
given, all newly generated addresses will use a compressed key, while
older/other addresses keep using normal keys. Unpatched clients will
relay and verify these transactions.
2012-01-09 15:18:19 +01:00
Matt Corallo
65c82be021
Remove mentions on anonymity in debian folder.
...
These should never have been there, bitcoin isnt anonymous without
a ton of work that virtually no users will ever be willing and
capable of doing.
2012-01-07 13:38:43 -05:00
Pieter Wuille
1684f98b27
Merge pull request #735 from sipa/netbase
...
Network stack refactor
2012-01-07 06:19:46 -08:00
Pieter Wuille
67a42f929b
Network stack refactor
...
This introduces CNetAddr and CService, respectively wrapping an
(IPv6) IP address and an IP+port combination. This functionality used
to be part of CAddress, which also contains network flags and
connection attempt information. These extra fields are however not
always necessary.
These classes, along with logic for creating connections and doing
name lookups, are moved to netbase.{h,cpp}, which does not depend on
headers.h.
Furthermore, CNetAddr is mostly IPv6-ready, though IPv6
functionality is not yet enabled for the application itself.
2012-01-06 18:55:37 +01:00
Wladimir J. van der Laan
7453497ee4
make transaction description read-only (UI fix)
2012-01-06 06:57:14 +01:00
Gavin Andresen
7486c64dd8
Merge pull request #740 from TheBlueMatt/perf
...
Fix horrific performance found by gmaxwell.
2012-01-05 05:37:23 -08:00
Matt Corallo
7d145a0f59
Add support for opening bitcoin: URIs directly.
2012-01-05 00:29:28 -05:00
Matt Corallo
9a93c4c024
Automatically refocus on new SendCoinsEntrys and scroll to them.
2012-01-05 00:29:28 -05:00
Matt Corallo
f7a9a11391
Fix horrific performance found by gmaxwell.
2012-01-04 19:46:16 -05:00
Gavin Andresen
d237f62c23
-blocknotify=command argument, implemented using system() and boost::thread
2012-01-03 15:48:59 -05:00
Gavin Andresen
96d3bcb996
Merge pull request #731 from laanwj/txshowfix
...
Fix transaction type in UI
2012-01-03 09:24:54 -08:00
Gavin Andresen
af8c56f8be
Merge branch 'getblock'
2012-01-03 12:16:56 -05:00
Gavin Andresen
8677f9c751
I broke -testnet with my TOR option-parsing fixes.
2012-01-03 11:17:24 -05:00
Gavin Andresen
112b0e97d4
Merge pull request #741 from laanwj/typo734fix
...
Fix typo (#734 )
2012-01-03 07:54:38 -08:00
Gavin Andresen
73e86eedd5
Merge branch 'bugfix_multisig' of https://github.com/coderrr/bitcoin
2012-01-03 10:23:20 -05:00
Gavin Andresen
daad9a9a71
Merge branch 'gitianfix' of https://github.com/TheBlueMatt/bitcoin
2012-01-03 10:22:24 -05:00
Gavin Andresen
0fcf91ea1e
Fix issue #659 , and cleanup wallet/command-line argument handling a bit
2012-01-03 10:17:28 -05:00
Wladimir J. van der Laan
ecaa91d1df
Fix typo ( #734 )
2012-01-03 11:57:24 +01:00
Pieter Wuille
4231eb217c
Merge pull request #738 from sipa/dnsseed-fix
...
Fix dnsseed deadlock
2012-01-02 17:04:09 -08:00
Pieter Wuille
a75d7066b8
Fix some address-handling deadlocks
...
Made three critical blocks for cs_mapAddresses smaller, and moved
writing to the database out of them. This should also improve the
concurrency of the code.
2012-01-03 02:01:56 +01:00
coderrr
6ec76ca09e
make sure IsMine only returns true when we own all keys
2012-01-03 06:24:52 +07:00
Wladimir J. van der Laan
56c6e3696d
Fix transaction type in UI: not all tx'es with "from"/"to" field are necessarily IP tx'es
...
- Also, prepare for OP_EVAL by calling all transactions without bitcoin address "SendToOther"/"RecvFromOther",
(IP tx'es are so rare they can be put together with funky EV_EVAL scripts)
2011-12-28 11:14:05 +01:00
Gavin Andresen
625b56de64
Merge branch 'opevalcountfix' of https://github.com/laanwj/bitcoin
2011-12-27 16:42:29 -05:00
Gavin Andresen
6d6d392b22
Fixed OP_EVAL recursion unit test, checks for both infinite and exactly-3-deep recursion
2011-12-27 16:41:56 -05:00
Wladimir J. van der Laan
89772f932a
Fix OP_EVAL recursion depth counting
2011-12-27 10:02:28 +01:00
Gavin Andresen
61977f956c
Check all prevout.n if one transaction provides multiple inputs
2011-12-25 10:32:05 -05:00
Gavin Andresen
60835d9627
assert condition in previous commit was backwards
2011-12-25 10:08:01 -05:00
Gavin Andresen
6996a9d713
Check for valid prevout.n in FetchInputs.
...
IsStandardInputs could crash if given invalid input index.
2011-12-25 08:45:09 -05:00
Matt Corallo
0b5d6f1e26
Add QR Code support to Win32 Gitian build.
2011-12-25 02:15:16 -08:00
Matt Corallo
1194739745
Fix Linux gitian descriptor to use QRCode support.
2011-12-23 15:35:59 -08:00
Matt Corallo
cad5745138
Add libqrencode-dev to the debian/ubuntu apt-get lines.
2011-12-23 15:34:48 -08:00
Matt Corallo
56690a69d6
No reason to have any qrcode stuff in the bitcoind osx makefile.
2011-12-23 15:28:35 -08:00
Gavin Andresen
fe358165e3
Be more conservative: check all transactions in blocks after last checkpoint.
2011-12-23 17:13:10 -05:00
Gavin Andresen
8a53cb0b9d
New RPC commands: getblockhash and getblock
2011-12-23 16:26:38 -05:00
Wladimir J. van der Laan
5ad2ca011e
Merge pull request #723 from TheBlueMatt/gitianfix
...
Fix #722 .
2011-12-23 03:53:31 -08:00
Wladimir J. van der Laan
3a6ede13f8
Merge pull request #683 from laanwj/ui_copy_amount
...
Context menu updates for TransactionView and AddressTablePage
2011-12-23 03:21:01 -08:00
Wladimir J. van der Laan
c58e7d4e01
Copy amount to clipboard (implements #657 )
...
- Also, unify similar code related to copying transaction fields to clipboard
2011-12-23 12:07:23 +01:00
Wladimir J. van der Laan
c4a4a4b886
Add context menu for address book page (implements part 1 of issue #648 )
2011-12-23 12:07:23 +01:00
Wladimir J. van der Laan
e073457191
Move HtmlEscape (escape for qt rich text controls) to qt gui utilities
2011-12-23 12:07:23 +01:00
Wladimir J. van der Laan
c75abc9f7e
Comments update
2011-12-23 12:07:23 +01:00
Wladimir J. van der Laan
96b1e085c3
Merge pull request #629 from sje397/master
...
QR Code generation via libqrencode
2011-12-23 02:50:28 -08:00
Matt Corallo
7415b805c4
Fix #722 .
2011-12-23 02:24:46 -08:00
Gavin Andresen
2e17ac83c6
Fix broken ExtractAddress (refactored, made callers check for addresses in keystore if they care)
2011-12-22 15:57:31 -05:00
Gavin Andresen
ce336fdc21
Back out testnet default address change, it breaks accounts on old wallets.
2011-12-22 15:56:45 -05:00
Wladimir J. van der Laan
bde280b9a4
Revert "Use standard C99 (and Qt) types for 64-bit integers"
...
This reverts commit 21d9f36781 .
2011-12-21 22:33:19 +01:00
Luke Dashjr
21d9f36781
Use standard C99 (and Qt) types for 64-bit integers
2011-12-20 16:52:59 -05:00
Gavin Andresen
781c06c0f5
Merge pull request #677 from luke-jr/minfee_modes
...
API: GetMinFee modes
2011-12-20 13:09:18 -08:00
Gavin Andresen
595925592d
Merge branch 'op_eval'
2011-12-20 14:43:31 -05:00
Gavin Andresen
f06e3e0ea6
Merge pull request #717 from TheBlueMatt/installerqtupgrade
...
Implement "Start on window system startup" on Win32 + Linux.
2011-12-20 11:42:53 -08:00
Matt Corallo
f18a119ac0
Implement "Start on window system startup" on Win32 + Linux.
2011-12-20 13:51:06 -05:00
Gavin Andresen
77f21f1583
include util.h to get SecureString definition.
2011-12-20 12:21:47 -05:00
Gavin Andresen
0e87f34bed
Include limits, not climints (using std::numeric_limits now)
2011-12-20 12:04:33 -05:00
Gavin Andresen
387c8e3c5b
Merge pull request #673 from mndrix/less-time-data
...
Store fewer time samples
2011-12-20 08:55:55 -08:00
Gavin Andresen
74f5435e10
Merge pull request #716 from gavinandresen/cleanup
...
Cleanups suggested by genjix
2011-12-20 08:52:22 -08:00
sje397
22123c85f3
Added QRCode generation functions via libqrencode. Switch on with USE_QRENCODE=1.
...
Amended build docs for Linux and OSX, and OSX makefile.
Added package 'qrencode' to gitian.yml
2011-12-20 22:11:24 +11:00
Gavin Andresen
9ef7fa3447
Code cleanup: use ECDSA_size() instead of fixed 10,000 byte sig buffer, and explicity init static var
2011-12-19 19:10:34 -05:00
Gavin Andresen
26ce92b352
Use std::numeric_limits<> for typesafe INT_MAX/etc
2011-12-19 19:10:34 -05:00
Gavin Andresen
bd846c0e56
Cleanup: removed dead code, and use C99 typedefs for int64 (supported by all modern c++ compilers)
2011-12-19 19:10:34 -05:00
Gavin Andresen
3528650560
Merge pull request #690 from runeksvendsen/qt-cmdline-options-parsing
...
When using Qt GUI, move parameter-parsing to start of qt/bitcoin.cpp:main()
2011-12-19 12:23:00 -08:00
Gavin Andresen
bafb43d6c1
Merge branch 'txn_block_info' of https://github.com/luke-jr/bitcoin
2011-12-19 15:14:22 -05:00
Gavin Andresen
9e470585b3
Update bitcoin address numbers for latest luke-jr/sipa scheme
2011-12-19 13:24:51 -05:00
Gavin Andresen
be237c119e
Fix logic for IsChange() for send-to-self transactions.
2011-12-19 13:24:49 -05:00
Gavin Andresen
2a45a494b0
Use block times for 'hard' OP_EVAL switchover, and refactored EvalScript
...
so it takes a flag for how to interpret OP_EVAL.
Also increased IsStandard size of scriptSigs to 500 bytes, so
a 3-of-3 multisig transaction IsStandard.
2011-12-19 13:24:48 -05:00
Gavin Andresen
a0871afb2b
Interpret OP_EVAL as OP_NOP until Feb 1, 2012
2011-12-19 13:24:48 -05:00
Gavin Andresen
fae3e2aab6
Disable addmultisigaddress if not testnet
2011-12-19 13:24:48 -05:00
Gavin Andresen
d7062ef1bd
Put OP_EVAL string in coinbase of generated blocks
2011-12-19 13:24:48 -05:00
Pieter Wuille
3ae65166b5
add key.o and rpcdump.o to makefile.linux-mingw
2011-12-19 19:20:53 +01:00
Gavin Andresen
e679ec969c
OP_EVAL implementation
...
OP_EVAL is a new opcode that evaluates an item on the stack as a script.
It enables a new type of bitcoin address that needs an arbitrarily
complex script to redeem.
2011-12-19 12:40:19 -05:00
Gavin Andresen
cc40ba2151
Global fixture to send output to console instead of debug.log
2011-12-19 12:40:19 -05:00
Gavin Andresen
bf798734db
Support 3 new multisignature IsStandard transactions
...
Initial support for (a and b), (a or b), and 2-of-3 escrow
transactions (where a, b, and c are keys).
2011-12-19 12:40:19 -05:00
Gavin Andresen
1466b8b78a
Rework unit tests so test_bitcoin.cpp does not #include them all
2011-12-19 12:39:47 -05:00
Gavin Andresen
7e55c1ab65
Collapse no-op ExtractAddress/ExtractAddressInner
2011-12-19 12:39:47 -05:00
Gavin Andresen
99a289f531
Merge pull request #574 from sipa/dumpprivkey
...
Dumpprivkey
2011-12-19 07:27:25 -08:00
Gavin Andresen
fc90967876
Merge pull request #699 from laanwj/about_qt
...
Add "About Qt" menu option to show built-in Qt About dialog
2011-12-19 07:26:14 -08:00
Gavin Andresen
1f3bc1c239
Merge pull request #707 from gavinandresen/BIP14
...
Implement BIP 14 : separate protocol version from client version
2011-12-19 07:25:16 -08:00
Gavin Andresen
f8ded588a2
Implement BIP 14 : separate protocol version from client version
2011-12-19 10:24:23 -05:00
Gavin Andresen
cd2b8832fd
Merge pull request #709 from luke-jr/newdnsseeds
...
New DNS seeds
2011-12-19 07:12:30 -08:00
Pieter Wuille
95d888a6d1
Key import and export
...
Introduces two new RPC calls:
* dumpprivkey: retrieve the private key corresponding to an address
* importprivkey: add a private key to your wallet
The private key format is analoguous to the address format. It is
a 51-character base58-encoded string, that includes a version number
and a checksum.
Includes patch by mhanne:
* add optional account parameter for importprivkey, if omitted use default
2011-12-17 21:49:48 +01:00
Pieter Wuille
30ab2c9c46
Preparations for key import/export
2011-12-17 21:49:48 +01:00
Pieter Wuille
15a8590ecf
CBitcoinSecret added (base58 encoded privkey)
2011-12-17 21:49:48 +01:00
Pieter Wuille
93db3fceac
Add GetSecret() and GetKeys() to CKeyStore
2011-12-17 21:49:47 +01:00
Pieter Wuille
4c6e22953e
Make CWalletTx::pwallet private
2011-12-17 21:49:47 +01:00
Luke Dashjr
cce16fdc68
Add blockhash and blockindex to transaction info
2011-12-16 19:05:41 -05:00
Luke Dashjr
647734881c
Add my DNS seed domain
2011-12-16 18:34:47 -05:00
Gavin Andresen
8214620178
Merge pull request #704 from TheBlueMatt/master
...
Update debian changelog to 0.5.1.
2011-12-16 14:19:32 -08:00
Gavin Andresen
f0a70570fe
Merge pull request #706 from TheBlueMatt/gitian
...
Add laanwj to gitian download scripts.
2011-12-16 14:15:28 -08:00
Gavin Andresen
6e39e7c9b3
Move more newlines out of strings, and fix translations.
2011-12-16 17:13:45 -05:00
Gavin Andresen
ab6c45372c
Merge branch 'fix-help-translations' of https://github.com/tcatm/bitcoin
2011-12-16 16:37:24 -05:00
Matt Corallo
fdaf1dfd2e
Add laanwj to gitian download scripts.
2011-12-16 15:06:17 -05:00
Matt Corallo
4051e79887
Update debian changelog to 0.5.1.
2011-12-16 13:27:52 -05:00
Gavin Andresen
8896c2d9d6
Bump version 0.5.99 (prep for pulling for version 0.6)
2011-12-16 12:31:59 -05:00
Matt Corallo
61a8c0569e
Add sipa's new dnsseed.
2011-12-16 11:30:36 -05:00
Luke Dashjr
dbbf1d4a48
GetMinFee takes a mode parameter (GMF_{BLOCK,RELAY,SEND}) instead of fForRelay
2011-12-14 01:07:43 -05:00
Luke Dashjr
a880b29cab
Bugfix: fForRelay should be false when deciding required fee to include in blocks
...
During the rushed transition from 0.01 BTC to 0.0005 BTC fees, we took the
approach of dropping the relay and block-inclusion fee to 0.0005 BTC
immediately, and only delayed adjusting the sending fee for the next release.
Afterward, the relay fee was lowered to 0.0001 BTC to avoid having the same
problem in the future. However, the block inclusion code was left setting
fForRelay to true! This fixes that, so the lower 0.0001 BTC allowance is (as
intended) only permitted for real relaying.
2011-12-14 01:06:21 -05:00
Gavin Andresen
b12fc3e112
Merge pull request #700 from TheBlueMatt/qtalertfix
...
Fix status bar not displaying Alerts.
2011-12-13 12:56:26 -08:00
Matt Corallo
7ca47cece7
Fix status bar not displaying Alerts.
2011-12-13 15:29:17 -05:00
Wladimir J. van der Laan
01ea41b203
Add "About Qt" menu option to show built-in Qt About dialog
...
- Most Qt programs do this, and it can be useful to find out what version of Qt was built against.
2011-12-13 17:35:17 +01:00
Wladimir J. van der Laan
857aa73783
Enable wordwrap for long message in passphrase dialog
...
- Remove explicit resizing from constructor to prevent potential hang
2011-12-13 16:32:25 +01:00
Nils Schneider
43421af2e4
move \\n outside _() in --help
2011-12-13 06:46:37 +01:00
Gavin Andresen
5491c310a6
Merge commit '7298ebb'
2011-12-12 15:03:16 -05:00
Nils Schneider
1d8b4cd544
added translations: pt_BR zh_CN
2011-12-12 20:56:34 +01:00
Nils Schneider
7ad4ca9c17
updated translations: es es_CL nb ru
2011-12-12 20:53:18 +01:00
Gavin Andresen
93e92d3f44
Merge pull request #687 from TheBlueMatt/gitianssl
...
Re-enable RPCSSL in gitian builds.
2011-12-12 11:33:17 -08:00
Gavin Andresen
ca287d66f2
Merge pull request #694 from luke-jr/restore_old_miniupnp_compat
...
Restore compatibility with miniupnpc 1.5 (without breaking miniupnp 1.6)
2011-12-12 11:32:48 -08:00
Luke Dashjr
94b97046fd
Restore compatibility with miniupnpc 1.5 (without breaking miniupnp 1.6)
2011-12-10 11:52:50 -05:00
Wladimir J. van der Laan
189dbde982
Merge pull request #693 from laanwj/min_fix_tmpshow
...
Prevent window from being shown momentarily when using -min
2011-12-09 13:43:34 -08:00
Wladimir J. van der Laan
45198af2be
Prevent window from being shown momentarily when using -min
...
- In a previous patch, show() was added to all the page switcher functions. As the contructor calls showOverviewPage(), this means the window is shown in the constructor.
- This change prevents this by connecting show() to the signal instead.
2011-12-09 22:41:19 +01:00
Rune K Svendsen
4dba26620c
When using Qt GUI, move parameter-parsing to start of qt/bitcoin.cpp:main()
2011-12-09 19:19:27 +01:00
Matt Corallo
a22535144c
Re-enable RPCSSL in gitian builds.
2011-12-07 10:28:01 -05:00
Gavin Andresen
8848a70ba1
Merge pull request #679 from laanwj/cmdline_minimize
...
Implement -min option to start minimized
2011-12-05 07:53:15 -08:00
Gavin Andresen
f66eabd281
Merge pull request #682 from TheBlueMatt/gdicrypto
...
Move -lgdi32 after -lcrypto (fixes #681 )
2011-12-05 07:53:00 -08:00
Wladimir J. van der Laan
7915370cb9
Implement -min option to start minimized
2011-12-04 10:03:57 +01:00
Matt Corallo
3f9144d42c
Move -lgdi32 after -lcrypto ( fixes #681 ).
2011-12-03 21:51:50 -05:00
Gavin Andresen
43ae68b5ef
Merge pull request #654 from TheBlueMatt/dnsseed-thread
...
Move DNS Seed lookup to a new thread.
2011-12-02 07:09:41 -08:00
Michael Hendricks
1c4aab926e
Retain only the most recent time samples
...
Remembering all time samples makes nTimeOffset slow to respond to
system clock corrections. For instance, I start my node with a system
clock that's 30 minutes slow and run it for a few days. During that
time, I accumulate 10,000 offset samples with a median of 1800
seconds. Now I correct my system clock. Without this change, my node
must collect another 10,000 samples before nTimeOffset is correct
again. With this change, I must only accumulate 100 samples to
correct the offset.
Storing unlimited time samples also allows an attacker with many IP
addresses (ex, a large botnet) to perform a memory exhaustion attack
against Bitcoin nodes. The attacker sends a version message from each
IP to his target, consuming more of the target's memory each time.
Time samples are small, so this attack might be impractical under the
old code, but it's impossible with the new code.
2011-12-01 17:28:14 -07:00
Michael Hendricks
5e1ddc4210
Only log time samples in debug mode
...
The full list of time samples is rarely useful outside of debugging.
The node's time offset, however is useful for discovering local clock
drift, so it's displayed in all logging modes.
2011-12-01 17:28:14 -07:00
Gavin Andresen
173efb1865
Merge pull request #670 from gavinandresen/rpcauth_speedup
...
Speed up RPC authentication (reworked pull from Joel Katz)
2011-12-01 13:01:59 -08:00
Gavin Andresen
f81ce5bd6d
Speed up RPC authentication (reworked pull from Joel Katz)
2011-12-01 15:55:25 -05:00
Gavin Andresen
43f20bb3c2
Merge pull request #534 from gavinandresen/DoSorphans
...
Denial-of-service prevention: low-difficulty blocks
2011-12-01 12:42:02 -08:00
Gavin Andresen
10fd7f6689
Orphan block fill-up-memory attack prevention
2011-12-01 13:53:38 -05:00
Gavin Andresen
eb5fff9e16
Moved checkpoints out of main, to prep for using them to help prevent DoS attacks
2011-12-01 12:18:50 -05:00
Gavin Andresen
a7120a3647
Merge pull request #666 from nobled/secstrings
...
Implement an mlock()'d string class for storing passphrases
2011-11-30 17:30:54 -08:00
Gavin Andresen
0305f60cad
Merge pull request #667 from laanwj/homeaddricons
...
Make home and addressbook icon more consistent with other toolbar icons
2011-11-30 17:28:13 -08:00
Gavin Andresen
e1b1055b46
Add missing command-line arguments to --help/-? output
2011-11-27 14:53:30 -05:00
Matt Corallo
2bc6cecebb
Move DNS Seed lookup to a new thread.
2011-11-26 14:28:46 -05:00
Wladimir J. van der Laan
24911ac65d
Make home and addressbook icon more consistent with other toolbar icons (make it blue and flip light source direction)
2011-11-26 10:10:22 +01:00
Dylan Noblesmith
94f778bdeb
Implement an mlock()'d string class for storing passphrases
...
SecureString is identical to std::string except with secure_allocator
substituting for std::allocator. This makes casting between them
impossible, so converting between the two at API boundaries requires
calling ::c_str() for now.
2011-11-26 06:02:04 +00:00
Wladimir J. van der Laan
d8b8640863
allow for filtering addresses and labels by searching for the typed string anywhere, not just at the beginning ( #641 )
2011-11-24 20:20:01 +01:00
Nils Schneider
b790077c37
update translation: de
2011-11-24 13:40:32 +01:00
Nils Schneider
8787ee699c
add translations: hu uk
2011-11-24 13:36:30 +01:00
Nils Schneider
f4894d9793
Merge pull request #662 from paraipan/master
...
Some patches...
2011-11-24 04:04:35 -08:00
Alex B
e92e97f1ee
Small fixes in both spanish translations
2011-11-24 12:32:19 +01:00
Nils Schneider
50aa850fc8
update translations: da de nl ru zh_TW
2011-11-22 13:01:07 +01:00
Nils Schneider
4b53cff901
add italian translation
2011-11-22 13:00:49 +01:00
Gavin Andresen
605ca141c7
Don't forget to bump release numbers in READMEs next time
2011-11-21 14:38:47 -05:00
Gavin Andresen
795faa595c
Bump version numbers to 0.5.1
2011-11-21 14:37:59 -05:00
Gavin Andresen
42eb76a054
Merge pull request #602 from wowus/master
...
Cleaned up critical section code.
2011-11-21 11:33:14 -08:00
Gavin Andresen
92979f8288
Merge pull request #634 from laanwj/doxygen
...
Add doxygen documentation
2011-11-21 11:31:57 -08:00
Gavin Andresen
0310cd6403
Merge pull request #632 from mndrix/deprecate-getblocknumber
...
Deprecate RPC getblocknumber
2011-11-21 11:31:42 -08:00
Gavin Andresen
4ad4f66327
Merge pull request #652 from TheBlueMatt/master
...
Update contrib/debian/ for 0.5.0 release and fix copyright file.
2011-11-21 11:27:26 -08:00
Gavin Andresen
e6389c3229
Update release process instructions
2011-11-21 14:13:22 -05:00
Gavin Andresen
67c454c67c
Bump version to 0.5.1
2011-11-21 13:38:38 -05:00
Wladimir J. van der Laan
fe9032709c
Merge pull request #653 from luke-jr/bugfix_transparent_tooltip
...
Bugfix: only make QListView transparent, not its tooltips
2011-11-21 09:20:34 -08:00
Luke Dashjr
a3c675d1a3
Bugfix: only make QListView transparent, not its tooltips
2011-11-21 12:18:15 -05:00
Matt Corallo
555d1cd02f
Update contrib/debian/ for 0.5.0 release and fix copyright file.
2011-11-21 11:55:45 -05:00
Wladimir J. van der Laan
c968b684ee
Merge pull request #646 from luke-jr/bugfix_MIT_icons
...
update debian copyright file for MIT icon relicensing
2011-11-21 01:07:24 -08:00
Luke Dashjr
aa1ed9265f
update debian copyright file for MIT icon relicensing
2011-11-20 16:32:16 -05:00
Wladimir J. van der Laan
459d3fb77b
relicense my own images as MIT
2011-11-20 21:51:12 +01:00
Pieter Wuille
f53c5ede73
close old db when rewriting
2011-11-20 11:17:41 -05:00
Gavin Andresen
b2d3b2d65d
Never remove database files on shutdown, it caused unreadable wallets on some testers' machines.
2011-11-20 10:39:01 -05:00
Gavin Andresen
1c15f88653
Only remove database log files on shutdown after wallet encryption/rewrite
2011-11-17 14:21:32 -05:00
Gavin Andresen
37971fcc76
Create new keypool for newly encrypted wallets.
2011-11-17 14:01:25 -05:00
Gavin Andresen
1b93ea0e31
Merge pull request #636 from gavinandresen/master
...
Fix crash-on-wallet-upgrade bug on OSX
2011-11-15 13:48:12 -08:00
Gavin Andresen
c4de918478
Tweak handling of boost filesystem versions
2011-11-15 14:30:24 -05:00
Gavin Andresen
8d0923109d
Fix crash-on-osx-on-shutdown bug. And cleanup CDB handling in Rewrite.
2011-11-15 14:30:24 -05:00
Gavin Andresen
709c1b267f
Fix boost filesystem incompatibility problem
2011-11-15 09:47:29 -05:00
Gavin Andresen
b6d11a3018
Merge pull request #635 from gavinandresen/encryptionbug
...
Prevent unencrypted private keys from being written to wallet.dat
2011-11-15 06:38:43 -08:00
Wladimir J. van der Laan
4585f7e2c1
add message about restarting bitcoin after encrypting wallet succesfully
2011-11-15 09:30:16 -05:00
Gavin Andresen
d764d9161e
Obsolete keypool and make sure database removes log files on shutdown.
2011-11-15 09:30:16 -05:00
Pieter Wuille
9e9869d0fe
Resilvering
2011-11-14 09:59:22 -05:00
Gavin Andresen
e6a729d2d8
Merge pull request #631 from luke-jr/free_icons
...
Free icons
2011-11-14 06:57:46 -08:00
Gavin Andresen
88a1b89452
Merge pull request #633 from laanwj/qtrpcconflict
...
RPC: do not launch Shutdown in a new thread in case we are running the UI
2011-11-14 06:56:57 -08:00
Wladimir J. van der Laan
af836ad588
Improve documentation for UI classes
2011-11-13 14:12:44 +01:00
Wladimir J. van der Laan
66112ed6e6
Example documented class
2011-11-13 11:43:23 +01:00
Wladimir J. van der Laan
15ceadf7a5
Add doxygen documentation configuration file
2011-11-13 11:12:23 +01:00
Wladimir J. van der Laan
405ce5a876
Add model null pointer check (solves issue #595 and https://github.com/laanwj/bitcoin-qt/issues/29 )
...
Missed this one before, which can be triggered in race condition if window event arrives before model is set
2011-11-13 08:50:58 +01:00
Wladimir J. van der Laan
19197d5e29
Do not launch Shutdown in a new thread in case we are running the UI.
...
This leads to the bitcoin core being shut down while the UI is accessing it, and generally results in a segmentation fault or crash. In case it is desirable to make it possible to shutdown the GUI from its RPC server, we'll need to implement a signal for it. For the mean time, this is a safe stopgap.
2011-11-12 14:14:27 +01:00
Michael Hendricks
29c8b9416d
Deprecate RPC getblocknumber
...
This RPC is exactly identical to getblockcount. This duplication
dates back to commit 22f721dbf2 when
Satoshi created the RPC interface.
There's no need to have both, so we standardize on "count" which
matches the naming convention in getconnectioncount.
Following the tradition established with previously deprecated APIs,
getblocknumber continues to work, but it's not listed in the help
system.
2011-11-11 10:13:36 -07:00
Luke Dashjr
0fe19a3a2c
Replace kfm_home with go-home for "overview"
2011-11-11 11:11:07 -05:00
Luke Dashjr
d2e21a9d74
update doc/assets-attribution.txt
2011-11-10 16:27:24 -05:00
Gavin Andresen
6be6be2ed9
Tool/process for including correct qt translations in mac .App
2011-11-10 13:01:40 -05:00
Luke Dashjr
81dd7aa4c1
Replace icons with Nuvola (LGPL 2.1): some (but not all) GPL-licensed
2011-11-10 12:59:01 -05:00
Luke Dashjr
5a7321562d
Replace icons with Nuvola (LGPL 2.1): all non-free except for those by Wladimir van der Laan (who will hopefully relicense)
2011-11-10 12:48:31 -05:00
Gavin Andresen
ba1fce94b5
Merge branch 'nullmodels' of https://github.com/laanwj/bitcoin
2011-11-10 10:30:24 -05:00
Gavin Andresen
5efee7da86
Release process doc fixes
2011-11-10 10:29:24 -05:00
Gavin Andresen
145b2d078e
Merge pull request #608 from TheBlueMatt/debian-build
...
Debian build
2011-11-10 07:27:46 -08:00
Wladimir J. van der Laan
3c0baa68fa
Merge pull request #617 from tcatm/translations-readme
...
add doc/translation_process.md
2011-11-08 23:40:36 -08:00
Wladimir J. van der Laan
90b5aadf56
Merge pull request #611 from sipa/docs
...
Some extra comments
2011-11-08 23:39:41 -08:00
Wladimir J. van der Laan
dead0ff8cd
Add robustness against null models
2011-11-08 21:18:36 +01:00
Wladimir J. van der Laan
0fb0a38339
Merge pull request #618 from laanwj/issue615
...
Fix segmentation fault when editing address not in address book (issue #615 )
2011-11-08 11:01:56 -08:00
Wladimir J. van der Laan
9bc9593df5
Fix segmentation fault when editing address not in address book (issue #615 )
2011-11-08 19:54:16 +01:00
Matt Corallo
38f33ce4a3
Add debian build folder
2011-11-08 11:57:05 -05:00
Matt Corallo
2b814d6eb0
Re-add bitcoin(32&80).xpm
2011-11-08 11:43:37 -05:00
Nils Schneider
560078a768
add doc/translation_process.md
2011-11-08 16:19:52 +01:00
Nils Schneider
e1739cbf38
merged translations from transifex: da de es es_CL nb nl ru zh_TW
2011-11-08 14:51:28 +01:00
Pieter Wuille
09d7be3e63
Merge commit 'v0.5.0rc3'
2011-11-08 14:22:18 +01:00
Wladimir J. van der Laan
7e91dd27da
Merge pull request #609 from iongchun/add-zhtw
...
add zh_TW locale
2011-11-07 22:35:00 -08:00
Gavin Andresen
d6245ca5d9
Mention Qt4 runtime dependencies
2011-11-07 12:11:11 -05:00
Gavin Andresen
a5f07cbea0
Static link on Linux. And better document release process on OSX.
2011-11-07 10:17:30 -05:00
Pieter Wuille
d825e6a31b
Some extra comments
2011-11-07 00:11:34 +01:00
Ang Iong Chun
1615c14756
add zh_TW locale
2011-11-06 10:26:11 +08:00
Wladimir J. van der Laan
81a28d7a6f
Merge pull request #606 from dooglus/add-english-translation
...
Add English translation to fix plural(s).
2011-11-04 13:15:42 -07:00
Chris Moore
2989b462a5
Add English translation to fix plural(s).
2011-11-04 13:04:49 -07:00
Gavin Andresen
ab15ebaae8
Merge branch 'master' of github.com:bitcoin/bitcoin
2011-11-04 11:30:05 -04:00
Gavin Andresen
f6aacbfe6d
Mac releases use macdeployqtplus
2011-11-04 10:22:55 -04:00
Gavin Andresen
25e6573317
Merge pull request #604 from laanwj/winqt_deterministic
...
Make qt-win32 gitian build deterministic
2011-11-03 13:37:47 -07:00
Wladimir J. van der Laan
c589f09115
Make qt-win32 gitian build deterministic
2011-11-03 20:26:51 +01:00
Gavin Andresen
8c69b6621c
Merge git://github.com/p2k/bitcoin-qt
2011-11-03 11:06:57 -04:00
Clark Gaebel
f873b84d6e
Added simple critical section test cases.
2011-11-02 18:10:41 -04:00
p2k
a8fe4b7a5f
Added a copy of the GPLv3 to macdeployqtplus
2011-11-02 19:26:32 +01:00
p2k
6eaa1b36fc
Mac Deployment Script
...
See notes.txt in contrib/macdeploy.
Also added a dash to the application name in src/qt/bitcoin.cpp
2011-11-02 14:58:50 +01:00
Clark Gaebel
3083cf100a
Cleaned up the critical section macros.
2011-11-02 04:33:55 -04:00
Gavin Andresen
434a483d50
Update documentation to reflect 0.5 reality. And removed leading $ from shell commands, so it is easier to copy and paste from release-process.txt.
2011-11-01 17:59:33 -04:00
Wladimir J. van der Laan
8fb6134aa5
attempt to make build deterministic
2011-11-01 10:49:39 -04:00
Wladimir J. van der Laan
533c82ce92
do not use -fstack-protector on Windows
2011-11-01 10:49:26 -04:00
Matt Corallo
fca0e799c2
Update Win32 gitian descriptor for bitcoin-qt.
2011-11-01 10:49:11 -04:00
Matt Corallo
2f91039c70
Add gitian descriptor for qt cross compile via MinGW.
2011-11-01 10:49:02 -04:00
Jeff Garzik
02d630c37f
Remove vladimir's DNS seed, at his request.
2011-10-31 12:42:01 -04:00
Wladimir J. van der Laan
8d3e1becf0
Save translators some work
...
- Remove duplicate translation strings (that somehow came from old wx UI and ended up in bitcoinstrings.cpp)
2011-10-29 23:09:58 +02:00
Gavin Andresen
383ad8b8a6
Add notes on getting gitian builds going
2011-10-25 12:27:09 -04:00
Gavin Andresen
7ec064b88e
Update documentation to reflect reality (no win32 gitian builds, new Mac process)
2011-10-25 12:09:08 -04:00
Matt Corallo
472bbb750c
Update openssl to 1.0.0e.
2011-10-25 11:54:46 -04:00
Matt Corallo
d1df571746
Update setup.nsi for bitcoin-qt.
2011-10-25 11:53:00 -04:00
Matt Corallo
438adb6c25
Decrease number of installed packages for Linux Gitian build.
2011-10-25 11:52:51 -04:00
Matt Corallo
f5e760268b
Remove wxWidgets gitian descriptors.
2011-10-25 11:52:36 -04:00
Matt Corallo
8ab246297b
Update Linux gitian descriptor for bitcoin-qt.
2011-10-25 11:52:15 -04:00
Matt Corallo
aaf71d8453
Allow miniupnpc include path specificaiton and fix link on Win32.
2011-10-25 11:51:57 -04:00
Matt Corallo
5f2e76b8c7
Optionally include additional QT plugins when required to build.
2011-10-25 11:51:34 -04:00
Matt Corallo
3f197952bd
Add BOOST_THREAD_USE_LIB define.
2011-10-25 11:51:19 -04:00
Matt Corallo
0e569e4a27
Add option to specify a different suffix for boost_thread.
2011-10-25 11:47:10 -04:00
Matt Corallo
0767e69199
Add returns to avoid annoying compile-time warnings.
2011-10-25 11:40:59 -04:00
Matt Corallo
d041590218
Add -Wno-strict-aliasing because boost breaks that too much.
2011-10-25 11:39:56 -04:00
Matt Corallo
25a9a1f62b
Only define __STDC_LIMIT_MACROS if not already defined.
2011-10-25 11:39:17 -04:00
Matt Corallo
f891cc9415
Update qt readme to indicate Qt is now the primary GUI.
2011-10-25 11:38:46 -04:00
Gavin Andresen
20601f3477
Merge pull request #592 from dooglus/qt-at-spi-bug
...
Warn about the qt-at-spi bug in Ubuntu 11.10.
2011-10-25 05:49:26 -07:00
Chris Moore
6c33ec4045
Warn about the qt-at-spi bug in Ubuntu 11.10.
2011-10-24 20:38:46 -07:00
Gavin Andresen
f9f289aba5
Merge pull request #584 from kwaaak/master
...
Make build work on Mac OS X 10.7 Lion
2011-10-24 11:29:57 -07:00
Gavin Andresen
d760b5c979
Merge pull request #586 from cjdelisle/hardening-bug-workaround
...
Added a workaround for an Ubuntu bug which causes -fstack-protector-all t
2011-10-24 11:29:32 -07:00
Gavin Andresen
cf908574cf
Merge pull request #591 from laanwj/translation_lookup_logic
...
Translation look-up logic improvements for Qt UI
2011-10-24 11:28:23 -07:00
Wladimir J. van der Laan
5c92622ad6
Translation lookup logic improvements
...
- use wildcard for TRANSLATIONS in bitcoin-qt.pro to automatically build all translations present in src/qt/locale (thanks @tcatm)
- first load translations/<language>.qm, then translations/<language>_<TERRITORY>.qm, so that territory-specific translations take precedence, but the fallback is on the base language if no territory-specific translation exists.
2011-10-23 13:42:11 +02:00
Wladimir J. van der Laan
3a30f34f1a
Revert "translation fixes"
...
This reverts commit f86ecd4a06 .
2011-10-23 11:20:39 +02:00
Wladimir J. van der Laan
f86ecd4a06
translation fixes
...
- use wildcard for TRANSLATIONS in bitcoin-qt.pro to automatically build all translations present in src/qt/locale (thanks @tcatm)
- rename language files to the usual <lang>_<TERRITORY>
- include recently added language files for es_ES and nb_NO
2011-10-23 10:35:00 +02:00
Nils Schneider
38a9edba20
update translations: nb, es_CL (from transifex)
2011-10-22 23:21:03 +02:00
Nick Bosma
7298ebb432
Added Caps Lock check and warning at askpassphrasedialog.
2011-10-18 16:07:52 +02:00
cjdelisle
1e5f939381
Added a workaround for an Ubuntu bug which causes -fstack-protector-all to be disregarded.
2011-10-16 20:38:23 -04:00
Wladimir J. van der Laan
b68a8a6b34
Merge pull request #583 from laanwj/qt3
...
More Qt GUI updates
- Make USE_SSL qmake build flag actually work
- Improve mac experience, general UI improvements
- Add keyboard shortcut to switch between tabs
2011-10-15 08:33:10 -07:00
kwaaak
efb3d3292f
Make build work on Mac OS X 10.7 Lion
...
(32bit dependencies through MacPorts)
2011-10-14 07:39:54 +03:00
Wladimir J. van der Laan
fbea7eca65
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-10-11 21:07:09 +02:00
Gavin Andresen
755e2819b0
Merge pull request #578 from luke-jr/bitcoind_build_improvements
...
Allow users to customize CXX, CXXFLAGS, and LDFLAGS normally
2011-10-10 13:57:47 -07:00
Gavin Andresen
e44a00ae0d
bitcoind does not need to link with gthread-2.0
2011-10-10 16:03:14 -04:00
Luke Dashjr
a1e0bb5a09
Allow users to customize CXX, CXXFLAGS, and LDFLAGS normally
2011-10-10 13:42:43 -04:00
Gavin Andresen
ef49d8a6ca
Add spanish translation to TRANSLATIONS
2011-10-10 11:25:51 -04:00
Gavin Andresen
e99b8eae65
Merge pull request #577 from paraipanakos/master
...
Spanish translation for new qt gui
2011-10-10 08:20:53 -07:00
Gavin Andresen
ab877a2dde
Merge pull request #576 from luke-jr/bitcoind_build_improvements
...
bitcoind build improvements
2011-10-10 08:20:28 -07:00
Gavin Andresen
b50ac8f73e
Mac OSX release process changes
...
Rename App Bundle "Bitcoin-Qt.app" instead of "Bitcoin Qt" for
consistency with Windows/Linux.
Update create_osx_dmg.sh script to use macdeployqt tool.
Add ifdef STATIC to makefile.osx to build bitcoind static or dynamic.
2011-10-10 11:13:32 -04:00
Alex B
53f21f6ee7
Added Spanish translation for qt
2011-10-09 23:54:07 +02:00
Wladimir J. van der Laan
d85f245800
Add alt-1..alt-5 shortcut to switch between tabs
2011-10-09 21:40:03 +02:00
p2k
527137e3ee
Improved Mac experience; QDoubleSpinBox for BitcoinAmountField
...
Now it can't be told if this is was a Windows App before. All Mac design principles are fulfilled and some cosmetics have been applied to suit the native look and feel. The biggest change there is the proper use of the Dock icon which takes the role of the Tray icon on Mac.
The QDoubleSpinBox improves entering of Bitcoin amounts, no two separate fields are required anymore. All functionality and validation effects have been retained; pressing the comma key will be internally translated to a period to keep it consistent throughout the application and eases entering in countries which use the comma as decimal separator.
Additionally, Notificator now supports Growl, Mac's native notification system. This is provided via Apple Script in order to avoid linking to Growl on compile time. Other changes involve encapsulation of Toolbar and Menubar creation, loading of Qt's own translation and some clean up.
2011-10-09 21:19:44 +02:00
Wladimir J. van der Laan
d934e7e3dd
Make "Quit" menu saner
...
- Use 'x' for Exit shortcut
- Set Ctrl-Q as global quit key sequence
2011-10-09 21:06:28 +02:00
Wladimir J. van der Laan
8828da5f56
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-10-09 20:26:40 +02:00
Luke Dashjr
b4d0588d06
Add support to makefile.unix for the same parameters used by bitcoin-qt.pro, dynamic linking unless STATIC=1 is passed
2011-10-09 14:23:20 -04:00
Gavin Andresen
eab61cd0b2
Merge branch 'master' of github.com:bitcoin/bitcoin
2011-10-09 13:36:10 -04:00
Gavin Andresen
4db9705dd8
Merge pull request #573 from luke-jr/bugfix_bits_string
...
Bugfix: getmemorypool "bits" should be a hex-string
2011-10-09 10:32:22 -07:00
Gavin Andresen
ddd9b39bd4
Merge pull request #575 from globalcitizen/master
...
Unix build documentation improvements
2011-10-09 10:27:34 -07:00
globalcitizen
bdf2f7e711
Fix typo. Improve Gentoo instructions.
2011-10-09 17:18:34 +08:00
globalcitizen
4adf78bad3
Improved Gentoo instructions.
2011-10-09 17:16:53 +08:00
globalcitizen
c60aec9c20
Fix extraneous directory specifier, beautify bash syntax $VAR -> ${VAR}
2011-10-09 17:10:43 +08:00
globalcitizen
7b465b663a
Collate generic dependency information. Segregate distribution-specific (Ubuntu/Debian) information. Add Gentoo information.
2011-10-09 17:04:35 +08:00
Gavin Andresen
94eaab7710
Bump version to 0.5.0.0
2011-10-08 17:29:47 -04:00
Gavin Andresen
0b3f3657c8
Remove old wx translations, updated qt translations
2011-10-08 17:29:21 -04:00
Gavin Andresen
c1131a28ad
Remove ui_res from makefiles
2011-10-07 14:35:36 -04:00
Gavin Andresen
6853e627f1
Fix build on windows and mac
...
Replaced all occurrences of #if* __WXMSW__ with WIN32,
and all occurrences of __WXMAC_OSX__ with MAC_OSX, and made
sure those are defined appropriately in the makefile and bitcoin-qt.pro.
2011-10-07 11:02:21 -04:00
Gavin Andresen
e9b95e4f6c
Merge pull request #572 from delirium---/master
...
Fix for win64 build
2011-10-06 12:11:07 -07:00
Luke Dashjr
903a255836
Bugfix: "bits" should be a hex-string, not a number (that just doesn't make sense)
2011-10-06 12:47:28 -04:00
Victor Leschuk
b95e6376d0
Fix for 64bit build
2011-10-06 19:53:42 +04:00
Gavin Andresen
32ebde4612
Merge pull request #564 from luke-jr/optimize_remove_CheckWork_delay
...
Remove 2 second sleep from CheckWork
2011-10-06 07:54:50 -07:00
Gavin Andresen
e653578db3
Merge pull request #566 from luke-jr/optimize_http_status
...
Optimize HTTP status messages
2011-10-05 12:19:34 -07:00
David Joel Schwartz
ae81b82fb8
Use C's const char* for status strings rather than C++'s std::string, which is slower
2011-10-05 14:48:33 -04:00
Gavin Andresen
9e5322d23a
Fix miner_test unit test bug
2011-10-05 14:33:49 -04:00
Gavin Andresen
3a6e468d9a
Merge branch 'listsinceblock' of https://github.com/cdhowie/bitcoin
2011-10-05 11:38:24 -04:00
Gavin Andresen
4ffbdcc0f5
Auto-build dependencies
2011-10-05 11:28:08 -04:00
Gavin Andresen
e9e7bb968b
Update mac Makefile and build instructions to use MacPorts
2011-10-05 11:10:06 -04:00
Gavin Andresen
ff3b235580
Merge pull request #545 from tcatm/remove-addr.txt
...
remove code that reads addr.txt in LoadAddreses()
2011-10-05 07:41:07 -07:00
Gavin Andresen
b898c8fce6
Merge branch 'no-cryptopp' of https://github.com/tcatm/bitcoin
2011-10-05 10:38:10 -04:00
Gavin Andresen
8bc52d0692
Merge pull request #558 from luke-jr/bugfix_CreateThread_ThreadSocketHandler_errReporting
...
Bugfix: ThreadSocketHandler creation error
2011-10-05 07:27:56 -07:00
Gavin Andresen
9ec4fa7b50
Merge pull request #561 from luke-jr/optimize_conn_adjtime
...
Only GetAdjustedTime once for the retry loop
2011-10-05 07:22:52 -07:00
Luke Dashjr
3552497ae5
Send "Connection: close" HTTP header with JSON-RPC requests (client)
2011-10-05 10:15:07 -04:00
Gavin Andresen
5c5d310a0a
Merge pull request #549 from enmaku/master
...
Python scripts demonstrating using RPC to keep passphrases out of shell history/etc.
2011-10-04 07:41:00 -07:00
Gavin Andresen
887b9d4113
Merge pull request #547 from TheBlueMatt/build-updates
...
Update release-process to point to gitian.sigs repo.
2011-10-04 07:38:06 -07:00
David Joel Schwartz
514b18722a
Remove 2 second sleep from CheckWork
2011-10-04 00:04:43 -04:00
Luke Dashjr
65ba3e2f50
Bugfix: report error creating ThreadSocketHandler thread just like the rest
2011-10-03 23:45:42 -04:00
Luke Dashjr
a4e6ae101a
Only GetAdjustedTime once for the retry loop
2011-10-03 23:41:47 -04:00
David Perry
5a105cdb7d
Added bitrpc.py which allows for sending of all standard Bitcoin commands via RPC rather than as command line args.
...
Signed-off-by: David Perry <enmaku@gmail.com >
2011-10-03 16:10:03 -07:00
David Perry
8ad100a55b
Added wallet tools
...
Signed-off-by: David Perry <enmaku@gmail.com >
2011-10-03 14:04:11 -07:00
Gavin Andresen
3504801778
Declare integer constant LL
2011-10-03 13:10:31 -04:00
Matt Corallo
c923fe71b4
Update release-process to point to gitian.sigs repo.
2011-10-03 12:59:37 -04:00
Wladimir J. van der Laan
ba2db7262b
Edited doc/readme-qt.rst via GitHub
2011-10-02 10:47:23 +03:00
Luke Dashjr
5d3083c3fb
Bugfix: Restore old behaviour of USE_UPNP as close as possible (built & enabled by default, can be disabled or unsupported by option)
2011-10-02 09:40:17 +02:00
Nils Schneider
74567f7ef1
remove code that reads addr.txt in LoadAddreses()
2011-10-01 22:27:02 +02:00
Gavin Andresen
1ff3583e41
Merge pull request #543 from laanwj/utiltests
...
Remove possibility of 63 bit overflow in ParseMoney
2011-10-01 12:00:24 -07:00
Gavin Andresen
ad9ceecf9c
Merge pull request #476 from forrestv/getmemorypool
...
Added RPC call 'getmemorypool' for p2p mining pools
2011-10-01 11:57:51 -07:00
Forrest Voight
074d584a04
Added RPC call 'getmemorypool' that provides everything needed to construct a block with a custom generation transaction and submit a solution
...
getmemorypool [data]
If [data] is not specified, returns data needed to construct a block to work on:
"version" : block version
"previousblockhash" : hash of current highest block
"transactions" : contents of non-coinbase transactions that should be included in the next block
"coinbasevalue" : maximum allowable input to coinbase transaction, including the generation award and transaction fees
"time" : timestamp appropriate for next block
"bits" : compressed target of next block
If [data] is specified, tries to solve the block and returns true if it was successful.
2011-10-01 14:42:54 -04:00
Wladimir J. van der Laan
2f7f2a5fca
remove possibility of 63 bit overflow in ParseMoney
...
- also, add unit tests for various functions in util.cpp/util.h
2011-10-01 17:29:46 +02:00
Wladimir J. van der Laan
608dacf689
only install translator when not empty
2011-10-01 13:23:00 +02:00
Nils Schneider
452506fc41
simpler ByteReverse
2011-09-30 20:00:30 +02:00
Nils Schneider
6ccff2cbde
remove cryptopp dependency, add simple unittest for SHA256Transform()
2011-09-30 20:00:22 +02:00
Wladimir J. van der Laan
52e9fe9296
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-09-30 17:39:29 +02:00
Wladimir J. van der Laan
8f1631b797
make USE_SSL actually work (thanks @prusnak for noticing)
2011-09-30 17:36:39 +02:00
Gavin Andresen
f4769e44a3
Merge pull request #524 from sipa/signandverif
...
Sign and verify message with bitcoin address
2011-09-30 05:04:26 -07:00
Gavin Andresen
e297ea999e
Merge pull request #542 from laanwj/qt2
...
qmake build system improvements
2011-09-29 12:06:03 -07:00
Wladimir J. van der Laan
07e2882366
qmake build system improvements
...
- USE_SSL=1 to support RPC SSL
- BDB_LIB_SUFFIX= to link against specific BDB version
- Fix typo
- Start lrelease during qmake phase to prevent errors/warnings
2011-09-29 20:39:56 +02:00
Gavin Andresen
9a7e5ed3b0
Merge pull request #539 from laanwj/qt2
...
Qt GUI updates
2011-09-29 10:50:40 -07:00
Nils Schneider
7dd4001b40
Merge pull request #537 from tcatm/remove-deprecated-rpcs
...
remove deprecated RPCs
2011-09-29 09:39:11 -07:00
Wladimir J. van der Laan
20091df725
Add assertion size>0 to MedianFilter
2011-09-29 17:17:42 +02:00
Gavin Andresen
e8e0e23d20
Merge pull request #538 from tcatm/deprecate-midstate
...
deprecate midstate and hash1 in getwork
2011-09-29 07:57:22 -07:00
Wladimir J. van der Laan
f33a43efdf
Update "other files" in Qt Creator with all documentation now that the projects merged
2011-09-28 22:01:47 +02:00
Wladimir J. van der Laan
002a4dcad0
Merge branch 'master' of https://github.com/bitcoin/bitcoin
...
Conflicts:
.gitignore (used upstream version)
bitcoin-qt.pro
2011-09-28 21:52:32 +02:00
Wladimir J. van der Laan
a8b95ce6ed
use median filter for peer-reported reported number of blocks
...
- fixes problem that one misconfigured or malicious node can mess up progress bar
- implementation in src/util.h
- testcase in src/test/util_tests.cpp
2011-09-28 21:35:58 +02:00
Jeff Garzik
4dcad1d294
Merge pull request #536 from TheBlueMatt/build-updates
...
Update release-process.txt with gitian release instructions.
2011-09-28 09:27:25 -07:00
Nils Schneider
f8acc29fca
deprecate midstate and hash1 in getwork
2011-09-28 17:54:44 +02:00
Nils Schneider
eec44dad17
remove deprecated RPCs
2011-09-28 17:43:31 +02:00
Matt Corallo
45723584c5
Update release-process.txt with gitian release instructions.
2011-09-28 11:19:09 -04:00
Jeff Garzik
ab1bbe5492
Merge pull request #533 from alexwaters/readme
...
Updated readme file with timers.
2011-09-27 20:47:06 -07:00
Wladimir J. van der Laan
5902040874
translation handling improvements
...
- automatically build binary translation files in qmake/make
- roll translations into resource file and executable, to simply installation
2011-09-27 20:47:51 +02:00
Pieter Wuille
3a570dc80a
Use key recovery for message signatures
...
Instead of encoding the public key inside the signature string, use
key recovery to do verification. This allows 88-character base64-encoded
signature strings instead of 188-character ones.
2011-09-27 19:48:22 +02:00
Pieter Wuille
01cc526318
Compact signatures and key recovery
...
Introduce a new type of signatures that are only 65 bytes long, and allow
reconstruction of the public key that was used to create the signature.
2011-09-27 19:48:22 +02:00
Pieter Wuille
d9867551fc
base64-based sign/verify
2011-09-27 19:48:22 +02:00
Pieter Wuille
b53d6284eb
Incorporate pubkey in signature, check based on address
...
Include the public key in the signature string, to allow verification
based on address.
2011-09-27 19:48:22 +02:00
Khalahan
cc2567e32f
Sign and verify message with bitcoin address and public key
...
Add padding to input (fixed string + address) before hashing
2011-09-27 19:48:22 +02:00
Pieter Wuille
e93bf37e86
Test case for base64 encode/decode
2011-09-27 19:48:10 +02:00
Pieter Wuille
4b603f1cd6
Inline base64 encoder/decoder
...
This replaces the openssl-based base64 encoder and decoder with a more
efficient internal one. Tested against the rfc4648 test vectors.
Decoder is based on JoelKatz' version.
2011-09-27 19:47:35 +02:00
JoelKatz
4e67a6216b
Faster Base64 decoder.
2011-09-27 19:47:34 +02:00
Wladimir J. van der Laan
d28ed9c98e
Merge pull request #25 from Matoking/master
...
Send Coins page changes
2011-09-27 09:34:25 -07:00
Janne Pulkkinen
a1ef0d19b1
Removing the if statement entirely - not needed.
2011-09-27 19:20:24 +03:00
Gavin Andresen
a8c108bca1
Remove DoS penalty for SigOpCount or immature transactions
2011-09-27 11:19:57 -04:00
Janne Pulkkinen
609acbf43d
Send Coins page not cleared when changing tabs. Clear all button for clearing the entries
2011-09-27 17:46:19 +03:00
Alex Waters
13945b2a61
Updated readme file with timers.
2011-09-26 22:22:19 -04:00
Gavin Andresen
9a1ce86969
Merge pull request #532 from TheBlueMatt/build-updates
...
Output build temp files in build/ instead of current directory.
2011-09-26 10:16:03 -07:00
Matt Corallo
36eccc5174
Output build temp files in build/ instead of current directory.
2011-09-26 13:14:34 -04:00
Gavin Andresen
adea540e38
Update build instructions for the new, no-wxwidgets world
2011-09-26 11:40:43 -04:00
Gavin Andresen
81cadd74d2
Fix build: put back rules to build cryptopp files
2011-09-26 11:15:01 -04:00
Gavin Andresen
565c4771b6
Remove wxWidgets
...
Makefiles now build bitcoind only.
qmake/make in top-level directory is used to build Bitcoin QT
Deleted almost all #ifdef GUI from the code (left one possibly controversial one)
Deleted xpm/ files.
2011-09-26 10:04:04 -04:00
Gavin Andresen
ee1d6e4ed0
Merge pull request #492 from gavinandresen/fasterinitialdownload
...
Skip verifying transaction signatures during initial block-chain download
2011-09-26 06:21:13 -07:00
Gavin Andresen
b14bd4df58
Skip verifying transaction signatures during initial block-chain download
2011-09-26 09:20:22 -04:00
Gavin Andresen
6b8a5ab622
Bump version to 0.4.1
2011-09-26 09:16:56 -04:00
Gavin Andresen
5df25e78db
Merge pull request #513 from cjdelisle/feature-hardening
...
Hardening
2011-09-26 06:12:59 -07:00
Gavin Andresen
17e2c24645
Merge pull request #517 from gavinandresen/DoSprevention
...
Denial-of-service prevention
2011-09-26 06:06:16 -07:00
Gavin Andresen
f7f2a36925
Merge pull request #521 from laanwj/qt
...
Qt GUI
2011-09-26 06:05:11 -07:00
Wladimir J. van der Laan
010c4fc0b5
Change define to determine use of DBUS to USE_DBUS, to prevent overlap with Qt-defined QT_DBUS
2011-09-24 11:56:33 +02:00
Wladimir J. van der Laan
99cec89cb3
make qmake build system more configurable (as suggested by lukejr)
2011-09-24 11:43:58 +02:00
Jeff Garzik
f8937b2d3b
Merge pull request #528 from TheBlueMatt/gitian-downloader
...
Add win32 gitian download config.
2011-09-23 10:56:25 -07:00
Gavin Andresen
c1ffdc5801
Update release process for repackaging gitian builds, and osx dmg
2011-09-23 11:18:22 -04:00
Wladimir J. van der Laan
0961c2fc0d
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-09-23 13:42:04 +02:00
Matt Corallo
3fc4c3a9f1
Add win32 gitian download config.
2011-09-23 00:52:08 -04:00
Gavin Andresen
a4f2c8419f
Script to create OSX .dmg diskimage file.
2011-09-22 17:16:13 -04:00
Gavin Andresen
c7eb151ad0
Merge pull request #527 from TheBlueMatt/gitian-downloader
...
Restructure gitian files and add download config files.
2011-09-22 13:54:42 -07:00
Matt Corallo
0920ad152f
Restructure gitian files and add download config files.
2011-09-22 16:52:49 -04:00
Gavin Andresen
16d6963ef6
Fix QA email address
2011-09-22 16:50:32 -04:00
Gavin Andresen
da799d92fa
Merge pull request #526 from sipa/nl
...
Updated dutch translation
2011-09-22 13:45:48 -07:00
Pieter Wuille
90efeb5ddb
Updated dutch translation
2011-09-22 19:22:17 +02:00
Wladimir J. van der Laan
b8afa21fad
show balance in sendcoins screen (issue #24 )
2011-09-22 19:05:04 +02:00
Jeff Garzik
864e49a12c
Merge pull request #525 from TheBlueMatt/master
...
Update binary mo to match latest po translation.
2011-09-22 09:48:02 -07:00
Matt Corallo
2fc80399b7
Update binary mo to match latest po translation.
2011-09-22 12:45:52 -04:00
Gavin Andresen
806704c237
More denial-of-service misbehavior detection: version/addr/inv/getdata messages
2011-09-21 12:50:13 -04:00
Gavin Andresen
3e52aaf212
Transaction/Block denial-of-service detection/response
2011-09-21 12:50:12 -04:00
Gavin Andresen
15f3ad4dbd
Framework for banning mis-behaving peers
2011-09-21 12:49:53 -04:00
Gavin Andresen
54d02f158d
SetMockTime() for cleaner unit testing
2011-09-21 12:01:56 -04:00
Jeff Garzik
700f942692
Merge pull request #522 from sipa/minorfix
...
SocketHandler thread can be detached
2011-09-20 11:47:02 -07:00
Nils Schneider
2d294e080c
Merge pull request #520 from tcatm/less-logging
...
log low-level network messages only when fDebug is set
2011-09-19 12:19:15 -07:00
Wladimir J. van der Laan
9b490f71b0
put Q_OBJECT everywhere it should be (removes warnings when running lupdate)
2011-09-19 13:08:24 +02:00
Pieter Wuille
88367a5fb8
SocketHandler thread can be detached
2011-09-19 13:08:22 +02:00
Wladimir J. van der Laan
0465c41c84
move current qt specific readme to doc/, restore original README.md
2011-09-18 12:47:49 +02:00
Wladimir J. van der Laan
e122e42354
assure that base bitcoind and bitcoin still build
2011-09-18 12:44:38 +02:00
Wladimir J. van der Laan
3c66913cd2
move qt-specific scripts to qt-specific directory in scripts/
2011-09-18 12:44:32 +02:00
Nils Schneider
e674680ddd
missed printf in AbortMessage(); merged printfs in EndMessage
2011-09-17 21:36:58 +02:00
Nils Schneider
59090133c0
log low-level network messages only when fDebug is set
2011-09-17 18:29:41 +02:00
Jeff Garzik
7337b343cd
Merge pull request #519 from dabaopku/master
...
Chinese Simp translation update
2011-09-17 09:24:54 -07:00
Dean Lee
67c6994370
Update to the Chinese Simp translation
2011-09-17 19:11:29 +08:00
Wladimir J. van der Laan
5dd7318db7
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-09-16 06:55:47 +02:00
Gavin Andresen
217208a36d
Merge pull request #516 from TheBlueMatt/nsisiconfix
...
Update bitcoin icon to make nsis setup exe deterministic.
2011-09-14 08:03:36 -07:00
Matt Corallo
6083295f46
Update bitcoin icon to make nsis setup exe deterministic.
...
This adds a 32x32 16-bit icon to the bitcoin.ico file.
Though this realistically probably looks worse than the 32-bit
32x32 being displayed on a 16-bit monitor, it makes the nsis
setup exe deterministic in gitian output (go figure) which makes
the slight visual loss for users of very old monitors/computers
worth it.
2011-09-14 10:59:54 -04:00
Jeff Garzik
53c6c12886
Merge pull request #512 from paraipanakos/master
...
Spanish translation update
2011-09-13 13:21:09 -07:00
flower
c1e667222a
make German translation up-to-date
2011-09-13 18:55:50 +02:00
cjdelisle
3f94dfa25f
Add some hardening to protect against unknown/future exploits.
2011-09-12 17:09:55 -04:00
Jeff Garzik
38fd861fff
Merge pull request #511 from mibe/translation-de
...
Updated German translation
2011-09-11 18:45:00 -07:00
Michael Bemmerl
c4149423f9
Updated German translation
2011-09-12 01:16:44 +02:00
Alex B
b4af75c07f
Spanish translation update
2011-09-11 22:08:43 +02:00
Wladimir J. van der Laan
83312d7c6c
remove transparency effect and windows-specific code for now, it's not working as supposed
2011-09-11 21:06:23 +02:00
Wladimir J. van der Laan
1837644c4a
Merge pull request #22 from p2k/master
...
Some improvements for Mac OS X
2011-09-11 08:52:57 -07:00
p2k
2c1fd3c395
Some Mac OS X specific things
...
* Added application icon for Mac OS X * Added instructions for compiling
under Mac OS X * Added Portfile for compiling miniupnpc with MacPorts
2011-09-11 17:42:20 +02:00
Wladimir J. van der Laan
d33cc2b5e3
clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' blocks as initial value for number of peer blocks
2011-09-11 10:49:30 +02:00
Janne Pulkkinen
78b3bf56f7
The synchronization progress bar now compares the amount of total blocks to amount of blocks downloaded at application start-up. Could be probably implemented better.
2011-09-11 10:29:29 +02:00
Gavin Andresen
95cea79e39
Merge pull request #509 from cjdelisle/walletCrypto-wx-minVersion
...
wxWidgets needs to be at least version 2.9.1 because wallet crypto uses T
2011-09-09 11:46:04 -07:00
Gavin Andresen
b56658bdad
Merge pull request #508 from TheBlueMatt/master
...
Update gitian build descriptors to produce proper builds.
2011-09-09 11:45:46 -07:00
Matt Corallo
0295912479
Update gitian build descriptors to produce proper builds.
...
Thanks to makomk for finding the bugs here and devrandom
for passing them along (see
https://bitcointalk.org/index.php?topic=42198.msg514312#msg514312 )
2011-09-09 12:35:42 -04:00
Gavin Andresen
b7598ceefa
Merge pull request #505 from gavinandresen/unique_coinbase
...
Unique coinbase: Fixes #482
2011-09-09 06:34:37 -07:00
cjdelisle
3448ce56f4
wxWidgets needs to be at least version 2.9.1 because wallet crypto uses ToStdString() which is not in 2.9.0
2011-09-08 20:50:00 -04:00
Wladimir J. van der Laan
9b9e2f1748
http -> https
2011-09-08 18:07:07 +02:00
Wladimir J. van der Laan
a0d2f9a12d
Merge branch 'master' of https://github.com/bitcoin/bitcoin
...
Conflicts:
.gitignore
2011-09-07 18:57:11 +02:00
Wladimir J. van der Laan
f077d1ad62
fix the build (moved code use 'this' instead of 'window')
2011-09-07 18:16:38 +02:00
Janne Pulkkinen
94723e27ad
Pull request #21 : windows fixes/cleanup by Matoking
2011-09-07 17:45:07 +02:00
Gavin Andresen
5a3dea451d
Merge branch 'unique_coinbase' of git://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin into unique_coinbase
2011-09-07 10:51:57 -04:00
Gavin Andresen
f92f022eda
Merge pull request #500 from gavinandresen/txndeadlock
...
Fix AddAddress cs_mapaddresses/db transaction deadlock
2011-09-07 07:29:44 -07:00
Gavin Andresen
9406696578
Fix AddAddress cs_mapaddresses/db transaction deadlock
2011-09-06 20:28:15 -04:00
Luke Dashjr
83f4cd156e
Bugfix: Use timestamp in coinbase rather than "bits", needed to ensure coinbase txn is unique even if address is the same
2011-09-06 16:43:40 -04:00
Luke Dashjr
49c8e53ee2
Save coinbase, not just extraNonce
2011-09-06 16:43:35 -04:00
Luke Dashjr
b760e25458
Merge branch 'getwork_dedupe' into unique_coinbase
2011-09-06 16:43:32 -04:00
Jeff Garzik
0535644b30
Merge branch 'master' of git://github.com/bitcoin/bitcoin
2011-09-06 16:20:24 -04:00
Jeff Garzik
cbd959c473
Revert "Define MSG_NOSIGNAL to 0 on platforms where it is unavailable."
...
This reverts commit 6a0296791d .
The change breaks build on Fedora Linux.
2011-09-06 16:19:54 -04:00
Jeff Garzik
ff4bd3977a
Merge pull request #503 from TheBlueMatt/translatefix
...
Add binary mo for new translation.
2011-09-06 12:03:08 -07:00
Matt Corallo
fd5eaf323f
Add binary mo for new translation.
2011-09-06 15:01:58 -04:00
Jeff Garzik
074653973e
Merge pull request #502 from vsrinivas/master
...
Define MSG_NOSIGNAL to 0 when it is not defined. Gets OpenBSD building.
2011-09-06 11:58:42 -07:00
Venkatesh Srinivas
6a0296791d
Define MSG_NOSIGNAL to 0 on platforms where it is unavailable.
...
Enables building bitcoind on OpenBSD.
2011-09-06 14:54:10 -04:00
Jeff Garzik
04f9a37c71
Merge pull request #501 from paraipanakos/master
...
Added Romanian translation
2011-09-06 11:50:56 -07:00
Alex B
905cbf0bf8
Romanian translation added
2011-09-06 20:41:33 +02:00
Luke Dashjr
e39f925655
ignore stuff
2011-09-06 13:53:04 -04:00
Gavin Andresen
e4626e94f4
Merge pull request #491 from gavinandresen/manytxfix
...
Optimize database writes for transactions with lots of TxIns.
2011-09-06 10:47:27 -07:00
Gavin Andresen
dc0c768760
Merge pull request #499 from codler/patch-3
...
Add a note to only include .po file
2011-09-06 10:20:22 -07:00
Han Lin Yap
e03209979b
Add a note to only include .po file
2011-09-06 20:13:43 +03:00
Gavin Andresen
c5eed9a1ae
Merge pull request #490 from TheBlueMatt/master
...
Fix build process to actually work (yet again).
2011-09-06 05:26:23 -07:00
Gavin Andresen
a79401b31d
Merge pull request #496 from alexwaters/boost_fs3
...
Support for boost filesystem version 3
2011-09-06 05:25:29 -07:00
Jeff Garzik
cc558f0603
README.md: word wrap text file
2011-09-05 23:02:35 -04:00
Jeff Garzik
3a7c4d89de
Merge pull request #495 from alexwaters/readme
...
Updated readme file
2011-09-05 20:01:55 -07:00
Alex Waters
adb8a55b46
Updated readme file
2011-09-05 21:16:46 -04:00
Gavin Andresen
e077cce617
Optimize database writes for transactions with lots of TxIns.
...
Patch from ArtForz, who discovered the problem.
2011-09-05 14:33:07 -04:00
Wladimir J. van der Laan
cf9195c808
(k)ubuntu 10.04+ notification support (based on @zwierzak his code)
2011-09-03 21:05:12 +02:00
Wladimir J. van der Laan
69e87633bc
Merge branch 'master' of github.com:laanwj/bitcoin-qt
2011-09-03 20:51:48 +02:00
Matt Corallo
7b7d46be89
Fix build process to actually work.
2011-09-03 12:38:20 -04:00
Luke Dashjr
a687d4f574
Support for boost filesystem version 3
2011-09-03 11:24:45 -04:00
Wladimir J. van der Laan
0a70a3f4d8
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-09-03 09:09:34 +02:00
Gavin Andresen
7464e647de
Bumped version numbers to 0.4.0rc1
2011-09-02 13:34:56 -04:00
Jeff Garzik
712077a760
Merge pull request #486 from TheBlueMatt/translatefix
...
Update binary mos to latest translations.
2011-09-02 10:12:20 -07:00
Gavin Andresen
ec74e8a443
Versions 0.3.20 THROUGH 0.3.23 have trouble with blockchain downloads; avoid them
2011-09-02 12:56:10 -04:00
Wladimir J. van der Laan
4785e6df74
Edited README.rst via GitHub
2011-09-02 19:42:59 +03:00
Wladimir J. van der Laan
0aca8577b5
support USE_UPNP setting
2011-09-02 18:33:09 +02:00
Matt Corallo
fb462ab272
Update binary mos to latest translations.
2011-09-02 12:26:18 -04:00
Gavin Andresen
b53e277ba1
Stay connected to seed nodes; disconnecting causes problems if you are trying to make the initial blockchain download.
2011-09-02 12:25:25 -04:00
Wladimir J. van der Laan
b2d1129f27
bitcoin-qt cannot be used as command line rpc client
2011-09-02 18:05:08 +02:00
Wladimir J. van der Laan
c5aa1b139a
update to work with new lock system, add protocol.* to build system
2011-09-02 18:02:22 +02:00
Gavin Andresen
c591cc50eb
If compiled -DDEBUG_LOCKORDER and run with -debug, print out every mutex lock/unlock (helpful for debugging something-is-holding-a-mutex-too-long problems)
2011-09-02 12:01:42 -04:00
Gavin Andresen
fb45259967
Do not try to download blockchain from 0.3.23 nodes
2011-09-02 12:00:01 -04:00
Wladimir J. van der Laan
7a15d4ff67
Merge branch 'master' of https://github.com/bitcoin/bitcoin
...
Conflicts:
src/main.cpp
2011-09-02 17:35:30 +02:00
Gavin Andresen
86fd7c5af6
Give hard-coded seed nodes a random last-seen time, to randomize order they're tried.
2011-09-02 11:01:45 -04:00
Daniel Folkinshteyn
bca179e8bd
Update the list of seednodes.
...
Nodes culled from MagicalTux's database of bitcoin nodes,
http://dump.bitcoin.it/misc/
by version and longevity, and tested for connectivity.
2011-09-02 00:02:45 -04:00
Gavin Andresen
2f4c30fd85
Fix bad merge: getaccountaddress was broken for new accounts
2011-09-01 18:40:18 -04:00
Gavin Andresen
36d9b2311d
Fixed regression I introduced: wallets with lots of transactions were unusable in GUI.
2011-09-01 15:44:47 -04:00
Gavin Andresen
783c636c73
Merge pull request #467 from gavinandresen/keypoolzero
...
Logic running with -keypool=0 was wrong (empty keys were being returned).
2011-09-01 12:01:29 -07:00
Gavin Andresen
dd7868364d
Merge branch 'code-cleanup' of git://github.com/muggenhor/bitcoin
2011-09-01 11:52:07 -04:00
Gavin Andresen
ed02c95d50
obtain cs_wallet mutex to protect vchDefaultKey
2011-09-01 10:58:08 -04:00
Gavin Andresen
123e5bd998
Fix RPC call name in error message.
2011-09-01 10:12:59 -04:00
Gavin Andresen
7db3b75b3e
Logic running with -keypool=0 was wrong (empty keys were being returned). Fixes #445
...
Renames GetOrReuseKeyFromKeyPool to GetKeyFromPool, with fAllowReuse arg and bool result.
2011-09-01 10:12:59 -04:00
Gavin Andresen
f662cefd85
Merge pull request #470 from fabianhjr/master
...
Checkpoints
2011-09-01 06:58:14 -07:00
Gavin Andresen
e3c26b2573
SetCrypted() obtains keystore lock, to be safe.
2011-08-31 14:00:41 -04:00
Gavin Andresen
541e585d8e
Fix typo ("you own security")
2011-08-31 14:28:14 -03:00
Gavin Andresen
cb6c4b883d
Merge pull request #480 from gavinandresen/deadlocks
...
Simplify mutex locking, fix deadlocks. Fixes issue #453
2011-08-31 10:24:45 -07:00
Gavin Andresen
471426fb3b
Fixed potential deadlocks in GUI code.
...
Also changed semantics of CWalletTx::GetTxTime(); now always returns the time the transaction was received by this node, not the average block time.
And added information about -DDEBUG_LOCKORDER to coding.txt.
2011-08-31 12:55:16 -04:00
Gavin Andresen
6cc4a62c0e
Fix rpc-hanging deadlocks
...
Collapsed multiple wallet mutexes to a single cs_wallet, to avoid deadlocks with wallet methods that acquired locks in different order.
Also change master RPC call handler to acquire cs_main and cs_wallet locks before executing RPC calls; requiring each RPC call to acquire the right set of locks in the right order was too error-prone.
2011-08-31 12:55:16 -04:00
Gavin Andresen
b0243da77c
Highlight mis-matching locks
2011-08-31 12:53:57 -04:00
Jeff Garzik
21189a42a7
Merge pull request #463 from TheBlueMatt/encreadme
...
Encryption readme update and minor rpc.cpp fixes
2011-08-31 09:32:42 -07:00
Jeff Garzik
927aaa0f27
Add reference python miner, in contrib/pyminer/
2011-08-31 12:27:41 -04:00
Jeff Garzik
ce39dfe425
Merge pull request #475 from ovdeathiam/patch-1
...
Edited locale/pl/LC_MESSAGES/bitcoin.po via GitHub
2011-08-31 09:23:30 -07:00
Jeff Garzik
8af99d1893
Merge pull request #464 from TheBlueMatt/upnp1.6
...
Upgrade dependancies and tweak build process.
2011-08-31 09:16:56 -07:00
Wladimir J. van der Laan
f43f46c175
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-08-31 17:06:38 +02:00
Wladimir J. van der Laan
6c85cbecf1
comments and readme update
2011-08-31 16:08:31 +02:00
Wladimir J. van der Laan
b7bcaf940d
Wallet encryption part 2: ask passphrase when needed, add menu options
2011-08-31 14:19:43 +02:00
Misbakh-Soloviev Vadim A
3f0816e3d9
add russian translation and add unicode compatibility (merges pull request #20 )
2011-08-28 14:14:29 +02:00
Gavin Andresen
829e21733b
CHECKMULTISIG unit tests.
2011-08-26 18:43:58 -04:00
Dev Random
e40bef3c0a
Add Gitian Build descriptors for Boost and wxWidgets.
2011-08-25 14:34:41 -04:00
Gavin Andresen
1224a14ae4
Merge pull request #474 from xHire/master
...
Updated czech translation [only .po]
2011-08-24 07:37:38 -07:00
Wladimir J. van der Laan
ae8adeb90a
Wallet encryption part 1: show wallet encryption status
2011-08-23 20:08:42 +02:00
Matt Corallo
b4ada906c0
Upgrade dependancies and tweak build process.
...
* Upgrade to use miniupnpc 1.6
* Upgrade to wxWidgets 2.9.2
* Upgrade to Bost 1.47 for Win32 Builds
2011-08-23 13:00:34 -04:00
Dev Random
3bb23e5c8b
Mingw gitian build with deterministic bitcoin.exe by use of faketime
2011-08-23 13:00:34 -04:00
Dev Random
bef41ada0d
Mingw gitian with separate wxWidgets and boost
2011-08-23 13:00:34 -04:00
Dev Random
d2cbb14d7c
Linux gitian config with separate wxWidgets build
2011-08-23 13:00:34 -04:00
Wladimir J. van der Laan
adce862c27
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-08-22 14:43:37 +02:00
ovdeathiam
98deeaef15
Edited locale/pl/LC_MESSAGES/bitcoin.po via GitHub
2011-08-22 01:55:41 +03:00
Giel van Schijndel
e4dde849ae
Move CInv to protocol.[ch]pp
...
This commit does *not* and should not modify *any* code, it only moves
it from net.h and splits it across protocol.cpp and protocol.hpp.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-08-19 07:24:38 +02:00
Giel van Schijndel
33e28c9948
Move CAddress to protocol.[ch]pp
...
This commit does *not* and should not modify *any* code, it only moves
it from net.h and splits it across protocol.cpp and protocol.hpp.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-08-19 07:24:38 +02:00
Giel van Schijndel
507fd9d15b
Start moving protocol-specific code to protocol.[ch]pp
...
Move CMessageHeader from net.h to protocol.[ch]pp, with the
implementation in the .cpp compilation unit (compiling once is enough).
This commit does *not* and should not modify *any* code, it only moves
it from net.h and splits it across protocol.cpp and protocol.hpp.
Indentation changes aside the closest thing to a modification of code is
the addition of the 'TODO' comment (the execution of which requires code
modifications and thus doesn't belong in this commit).
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-08-19 07:24:38 +02:00
Giel van Schijndel
82dc6426b4
Move func 'REF' from util.h to serialize.h
...
util.h doesn't use REF, serialize.h does, creating a dependency of
serialize.h on util.h, but util.h already depends on serialize.h. To
resolve this circular dependency the function 'REF' has now been moved
closer to one of its two points of use.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-08-19 07:24:38 +02:00
Giel van Schijndel
e49b83bb12
Cleanup makefiles such that diffs to them are smaller
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-08-19 07:24:37 +02:00
Giel van Schijndel
99860de3c9
Make some global variables less-global (static)
...
Explicitly make these global variables less-global to reduce the maximum
scope of this global state.
In my experience global variables tend to be a major source of bugs. As
such the less accessible they are the less likely they are to be the
source of a bug.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-08-19 07:24:37 +02:00
Gavin Andresen
865ed8a1e5
Compile with DEBUG_LOCKORDER to detect inconsistent lock orderings that can cause deadlocks
2011-08-17 10:22:28 -04:00
Michal Zima
dac48972d5
Updated czech translation
2011-08-17 11:45:13 +02:00
Wladimir J. van der Laan
872b1f3e4c
update README for issue #15
2011-08-16 17:37:01 +02:00
Wladimir J. van der Laan
317c733572
add russian translation by msva
2011-08-16 17:30:58 +02:00
Gavin Andresen
c7286112ef
Remove unused ScanMessageStart function
2011-08-16 11:20:56 -04:00
Jeff Garzik
b2fd0ca1cb
src/makefile.unix: remove -DFOURWAYSSE2
...
Spotted by Venkatesh Srinivas <me@endeavour.zapto.org >
2011-08-16 10:10:39 -04:00
Wladimir J. van der Laan
8c4738d5a7
fix issue #13
2011-08-16 11:18:27 +02:00
Wladimir J. van der Laan
b90c9ecb13
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-08-16 10:28:24 +02:00
Fabian H jr.
d0d9486f44
Updated checkpoints, maybe Tx fee should be reduced to 0.0001 from 0.0005 and maximum minimum tx should be 0.0010.
2011-08-15 21:33:00 -03:00
Gavin Andresen
eb72eae304
Don't std::advance past beginning of transactions array. Fixes #465
2011-08-12 15:39:12 -04:00
Matt Corallo
59ed5cb398
Add specific wallet encryption details to doc/README
2011-08-11 19:41:21 +02:00
Matt Corallo
8acb491eef
Fix incorrect RPC error messages
2011-08-11 19:41:21 +02:00
Matt Corallo
2f8f51d1e4
Missed a 'password' should be 'passphrase'.
2011-08-11 19:41:21 +02:00
Gavin Andresen
498a2c9b16
Merge pull request #458 from TheBlueMatt/copyright
...
Unify copyright notices.
2011-08-11 10:34:29 -07:00
Wladimir J. van der Laan
0a76546ae9
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-08-11 10:17:21 +02:00
Gavin Andresen
c648b589be
Merge pull request #459 from jgarzik/char-msgstart
...
Use 'unsigned char' rather than 'char' for pchMessageStart.
2011-08-10 20:01:37 -07:00
Gavin Andresen
72173ffaca
Merge pull request #460 from jgarzik/make-tuple
...
Qualify make_tuple with boost:: namespace.
2011-08-10 20:01:14 -07:00
Venkatesh Srinivas
25133bd74b
Use 'unsigned char' rather than 'char' for pchMessageStart.
...
Regarding https://bitcointalk.org/index.php?topic=28022.0
main.cpp has: "char pchMessageStart[4] = { 0xf9, 0xbe, 0xb4, 0xd9 };"
Per discussion on the thread linked, leaving the signedness of
pchMessageStart is unsafe for values > 0x80. This patch specifies
'unsigned char' in main.cpp and net.h.
Signed-off-by: Jeff Garzik <jgarzik@pobox.com >
2011-08-10 22:42:43 -04:00
Venkatesh Srinivas
7c3002bf27
Qualify make_tuple with boost:: namespace.
...
db.cpp has a number of uses of make_tuple and has 'using namespace
std' and 'using namespace boost'. Without qualifying make_tuple,
std::make_tuple is preferred, which is incorrect. This patch qualifies
make_tuple.
Signed-off-by: Jeff Garzik <jgarzik@exmulti.com >
2011-08-10 22:40:10 -04:00
Venkatesh Srinivas
ec93a0e219
Test for SO_NOSIGPIPE rather than assuming all BSDs support it.
...
Signed-off-by: Jeff Garzik <jgarzik@exmulti.com >
2011-08-10 22:36:20 -04:00
Gavin Andresen
9f0ac16942
Do-nothing MapPort() ifndef USE_UPNP. fixes #450
2011-08-09 12:38:17 -04:00
Matt Corallo
b2120e223a
Unify copyright notices.
...
To a variation on:
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2011 The Bitcoin developers
2011-08-09 13:32:52 +02:00
Matt Corallo
2c3691d53d
Cleanup test suite output to be more useful.
2011-08-08 14:31:08 -04:00
Matt Corallo
3c8cecda1f
Add file for transaction tests.
2011-08-08 14:31:08 -04:00
Vegard Nossum
a8330e0049
Add a file for script tests
2011-08-08 14:31:08 -04:00
Vegard Nossum
5f6a654d3e
Add prototype for EvalScript() to script.h
...
This is needed for the script unit tests.
2011-08-08 14:31:08 -04:00
Vegard Nossum
e707d29dd6
Fix testing setup
...
There were some problems with the existing testing setup:
- Makefile rules for test-file compilation used CFLAGS instead of
CXXFLAGS in makefile.unix
2011-08-08 14:31:08 -04:00
Matt Corallo
02962ba848
Add missing include to serialize.h
2011-08-08 14:31:08 -04:00
Vegard Nossum
8a62fec3ee
Add missing includes to net.h
2011-08-08 14:31:08 -04:00
Vegard Nossum
437173f430
Add missing include to script.h
2011-08-08 14:31:08 -04:00
Vegard Nossum
fcedd45c3c
Add missing includes to key.h
2011-08-08 14:31:07 -04:00
Gavin Andresen
4e5d88ce26
Merge pull request #443 from TheBlueMatt/dupin
...
Check for duplicate txins in CheckTransaction.
2011-08-08 11:16:40 -07:00
Wladimir J. van der Laan
b0849613bf
QtUI code cleanup / comment improvements
2011-08-08 17:38:17 +02:00
Wladimir J. van der Laan
fb390d3505
add TODOs in parseBitcoinURL
2011-08-07 17:07:04 +02:00
Wladimir J. van der Laan
f839f96578
update readme
2011-08-07 16:21:09 +02:00
Wladimir J. van der Laan
c359ac9128
allow empty/missing amounts in URL
2011-08-07 16:17:02 +02:00
Wladimir J. van der Laan
856aacf388
don't include <QDebug>
2011-08-07 16:09:49 +02:00
Wladimir J. van der Laan
db7f023417
Accept "bitcoin:" URL drops from browsers
2011-08-07 16:04:48 +02:00
Wladimir J. van der Laan
330c190958
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-08-06 18:45:15 +02:00
Wladimir J. van der Laan
e74e8a184a
reorganize transaction model data function, and transaction tooltip
2011-08-06 18:40:45 +02:00
Wladimir J. van der Laan
d4e3cb4c03
improve sync spinner
2011-08-05 20:32:26 +02:00
Wladimir J. van der Laan
00f4f8d54c
speling fix
2011-08-05 15:37:49 +02:00
Wladimir J. van der Laan
126185aaa7
improve tooltip over transactions
2011-08-05 15:35:52 +02:00
Wladimir J. van der Laan
ffccb56914
select new address immediately after creation
2011-08-04 21:36:14 +02:00
Jeff Garzik
bd1e54bc0b
Merge branch 'tmp2'
2011-08-04 15:22:05 -04:00
Jeff Garzik
eb20f3c8f5
Merge pull request #448 from sipa/cbitcoinaddress
...
avoid strAddress + validity checks
2011-08-04 11:47:15 -07:00
Jeff Garzik
95699e1730
Merge pull request #446 from WakiMiko/upnp-desc
...
Identify as "Bitcoin + version number" when mapping UPnP port
2011-08-04 11:40:44 -07:00
Jeff Garzik
32de8cd062
Merge pull request #451 from TheBlueMatt/tornolisten
...
Don't listen if on TOR (resolves #441 ).
2011-08-04 11:40:06 -07:00
Wladimir J. van der Laan
2351a3fc9f
minimize amount of text in status bar; show only icons, if the user wants explanation they can view the tooltip
2011-08-04 19:04:42 +02:00
Wladimir J. van der Laan
1b39201966
when clicking a transaction on the overview page, send the user to the transactions page
2011-08-04 04:41:01 +02:00
Wladimir J. van der Laan
186f3e2f0c
Clarity: change definition of "confirmed" to "counts towards balance"
2011-08-04 04:40:01 +02:00
Matt Corallo
01a509fa26
Don't listen if on TOR ( resolves #441 ).
2011-08-03 22:16:29 +02:00
Wladimir J. van der Laan
2ccd47596b
fix drawing on gtk
2011-08-03 21:28:11 +02:00
Wladimir J. van der Laan
82303fc3ca
unconfirmed amount = grey
2011-08-03 21:04:15 +02:00
Matt Corallo
918150048a
Make it clear that setting proxy requires restart to fully apply.
2011-08-03 21:02:07 +02:00
Wladimir J. van der Laan
a99ac8d3f4
show last few transactions on overview page
2011-08-03 20:52:18 +02:00
Wladimir J. van der Laan
2566b30c38
make amount field the same width as decimals field
2011-08-03 14:06:13 +02:00
Pieter Wuille
4d2ef6e5b6
avoid strAddress + validity checks
...
Avoid references to addresses using strings, and use CBitcoinAddress
as much as possible. Also added some validity checks on addresses
entered using RPC.
2011-08-03 13:01:09 +02:00
Wladimir J. van der Laan
6e903b0b32
add attribution for wallet image
2011-08-02 22:08:59 +02:00
Wladimir J. van der Laan
5762295ec3
update readme and splash screen text
2011-08-02 22:03:41 +02:00
Wladimir J. van der Laan
10d680cff4
add splash screen
2011-08-02 21:48:59 +02:00
Pieter Wuille
ce364b2d7a
Merge pull request #444 from Jeroenz0r/patch-2
...
Translation from "Open Bitcoin" to "Verstuur Bitcoins"
2011-08-01 13:41:43 -07:00
Johannes Henninger
1565698169
Identify as "Bitcoin + version number" when mapping UPnP port
...
Makes Bitcoin identify itself as "Bitcoin + version number" instead of
the nondescript "libminiupnpc" when forwarding a port via UPnP.
2011-08-01 16:34:59 +02:00
Gavin Andresen
9326234109
Merge pull request #437 from codler/patch-2
...
Comment "deprecated"
2011-07-31 16:56:56 -07:00
Jeroenz0r
364685e195
Translation from "Open Bitcoin" to "Verstuur Bitcoins"
2011-08-01 02:03:19 +03:00
Wladimir J. van der Laan
d8f5c59a59
show n/a for mined transactions (and send to self) instead of empty field
2011-07-31 17:43:46 +02:00
Wladimir J. van der Laan
05bcf7089e
address icons
2011-07-31 17:05:34 +02:00
Matt Corallo
33208fb557
Check for duplicate txins in CheckTransaction.
2011-07-31 14:20:10 +02:00
Wladimir J. van der Laan
dedf83a19b
Properly html-escape labels
2011-07-31 12:56:46 +02:00
Wladimir J. van der Laan
a5e1325879
comment update
2011-07-30 19:28:41 +02:00
Wladimir J. van der Laan
f0ec774d9c
make sure address book model is up to date after sending coins
2011-07-30 19:21:46 +02:00
Han Lin Yap
8c2143d4d8
Comment "deprecated"
2011-07-30 19:58:22 +03:00
Wladimir J. van der Laan
04f38adf73
Remove unused variable
2011-07-30 18:48:05 +02:00
Wladimir J. van der Laan
2f5d380943
Hide addresses in transaction overview by default, they can be re-shown as a configuration option
2011-07-30 17:42:02 +02:00
Wladimir J. van der Laan
1aafe34a08
Make dot in amount field more apparent
2011-07-30 17:01:31 +02:00
Wladimir J. van der Laan
19fba3cd24
Make debug info more interesting (show SHA160 addresses for inputs)
2011-07-29 23:11:40 +02:00
Wladimir J. van der Laan
3b59297b36
Remove no longer valid comment
2011-07-29 16:16:12 +02:00
Wladimir J. van der Laan
53d65b5500
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-07-29 14:45:54 +02:00
Wladimir J. van der Laan
ee014e5b10
Full support for other units, add configuration option for default unit (used when displaying amounts)
2011-07-29 14:36:35 +02:00
Pieter Wuille
e1f13129e8
Merge pull request #436 from TheBlueMatt/master
...
Fix EncryptKeys crash introduced by a9ba471 , identified by TD.
2011-07-27 13:10:47 -07:00
Wladimir J. van der Laan
b5b1d1a66b
Merge branch 'master' of https://github.com/bitcoin/bitcoin
...
Conflicts:
src/script.cpp
2011-07-27 21:44:55 +02:00
Wladimir J. van der Laan
7df001be94
normalize SIGNAL/SLOT signatures ( http://marcmutz.wordpress.com/effective-qt/prefer-to-use-normalised-signalslot-signatures/ )
2011-07-27 20:54:10 +02:00
Wladimir J. van der Laan
384625c1a6
also accept numbers without dot/decimals for parsing, fixes transaction filter row
2011-07-27 20:52:00 +02:00
Matt Corallo
687c82558c
Fix EncryptKeys crash introduced by a9ba4710, identified by TD.
2011-07-27 18:02:39 +02:00
Jeff Garzik
a139ed74f2
CAddrDB::LoadAddresses: properly initialize CAddress
...
Fixes issue #424
2011-07-26 15:15:55 -04:00
Pieter Wuille
aa7c5e7ceb
Merge pull request #435 from sipa/fixextract
...
Bugfix: don't overuse limited ExtractAddress
2011-07-26 10:43:00 -07:00
Pieter Wuille
b63241d451
Bugfix: don't overuse limited ExtractAddress
...
ExtractAddress was called with the keystore as argument in RPC and
UI, limiting results to own keys. This caused empty "address"
fields.
2011-07-26 19:41:47 +02:00
Pieter Wuille
a0eb1d151f
Merge pull request #434 from laanwj/addkey_retval
...
make SetHash160 return a value (as specified in the function signature)
2011-07-26 08:46:48 -07:00
Wladimir J. van der Laan
dd61035645
show amounts in <b>bold</b> in confirmation dialog
2011-07-26 17:37:26 +02:00
Wladimir J. van der Laan
1e89d5d2fe
Re-apply pull request #10 , it got lost for some reason
2011-07-26 17:12:06 +02:00
Wladimir J. van der Laan
690c723e5f
make SetHash160 return a value (as specified in the function signature)
2011-07-26 16:59:31 +02:00
Wladimir J. van der Laan
5326a31249
make SetHash160 return a value (as specified in the function signature)
2011-07-26 16:54:32 +02:00
Wladimir J. van der Laan
491ad6db50
Merge remote branch 'upstream/master'
...
Conflicts:
src/bitcoinrpc.cpp
2011-07-26 16:47:23 +02:00
Wladimir J. van der Laan
c0b892fee8
update readme
2011-07-26 13:43:54 +02:00
Wladimir J. van der Laan
83c8d678aa
Reset unit to default when clearing the field, to prevent confusion
2011-07-26 13:31:59 +02:00
Wladimir J. van der Laan
f2b10f6469
refuse to format nor parse invalid units
2011-07-26 13:27:33 +02:00
Wladimir J. van der Laan
587e52855a
allow multiple units in bitcoin amount widget (for example, for sending) using a combobox
2011-07-26 13:08:34 +02:00
Wladimir J. van der Laan
ca1dbe10ed
Negative transaction color changed to red (was grey due to mistake)
2011-07-26 09:16:50 +02:00
JoelKatz
67ed7d9d49
Fix UNIX-specific thread handle leak.
2011-07-25 15:06:45 -07:00
Wladimir J. van der Laan
e780b94bd3
fix unit names (μBTC)
2011-07-25 22:28:12 +02:00
Wladimir J. van der Laan
e285ffcd05
preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount entry issue
2011-07-25 21:38:54 +02:00
Wladimir J. van der Laan
bbae0fc9ef
put color constants in guiconstants.h
2011-07-25 18:39:52 +02:00
Jeff Garzik
a9ba47101a
Merge pull request #403 from sipa/cbitcoinaddress
...
keys indexed by address + introduced CBitcoinaddress
2011-07-24 15:38:38 -07:00
celil-kj
a8c50c06e3
Clean up the project file.
2011-07-24 14:54:40 -07:00
Celil
2af40a5013
On Mac OS X do not link aginst the boost libraries in UNIX:LIBS
2011-07-24 14:45:51 -07:00
Wladimir J. van der Laan
daa1a7398f
better exit icon
2011-07-24 19:09:29 +02:00
Wladimir J. van der Laan
f5472574a7
make all tab icons blue/gray for more consistencyx
2011-07-24 18:32:21 +02:00
Wladimir J. van der Laan
591dcaf681
improve tooltip texts
2011-07-24 18:06:07 +02:00
Pieter Wuille
b6d19aefa0
Merge pull request #428 from sipa/mintxfeefix
...
Fix for small change outputs
2011-07-24 08:08:33 -07:00
Pieter Wuille
a7dd11c6da
Fix for small change outputs
...
With the separation of CENT and MIN_TX_FEE, it is now reasonable
to create change outputs between 0.01 and 0.0005, as these are
spendable according to the policy, even though they require a fee
to be paid.
Also, when enough fee was already present, everything can go into
a change output, without further increasing the fee.
2011-07-24 16:37:09 +02:00
Wladimir J. van der Laan
8a13456f3a
add windows program (.exe) icon
2011-07-24 15:53:27 +02:00
Wladimir J. van der Laan
1a925b8e60
Merge pull request #9 from celil-kj/master
...
allow decimals such as .05 for amount of bitcoins to send
2011-07-24 02:41:19 +02:00
Celil
2eac3a6dec
Allow ammount field to be empty so that one can specify .05 instead of
...
having to type the leading zero as in 0.05
2011-07-22 16:55:50 -07:00
Celil
64c991da2a
Merge branch 'master' of https://github.com/laanwj/bitcoin-qt
2011-07-22 15:44:53 -07:00
Wladimir J. van der Laan
7beada58cd
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-07-22 21:41:24 +02:00
Wladimir J. van der Laan
8b936b617f
Implement range... transaction filter
2011-07-22 18:30:25 +02:00
Wladimir J. van der Laan
73cd5e5212
fix clear() (clear red/invalid status)
2011-07-22 17:06:37 +02:00
Jeff Garzik
c2da35319d
Merge pull request #423 from TheBlueMatt/mapalreadyaskedforfix
...
Actually use mapAlreadyAskedFor.
2011-07-21 19:05:38 -07:00
Matt Corallo
643160f6e7
Actually use mapAlreadyAskedFor.
...
Previously, mapAlreadyAskedFor was read from, but never added to.
The original intent was to use mapAlreadyAskedFor to keep track
of the time an item was requested and "Each retry is 2 minutes
after the last".
This implements that intent.
2011-07-21 22:06:20 +02:00
Celil
29f9e4e400
Merge branch 'master' of https://github.com/laanwj/bitcoin-qt
2011-07-18 15:45:55 -07:00
Wladimir J. van der Laan
174b3eddc0
one remove/delete icon is enough and the red minus better matches the add icon
2011-07-18 21:02:17 +02:00
Wladimir J. van der Laan
8ea1c9a418
Merge branch 'notebook'
2011-07-18 18:50:35 +02:00
Wladimir J. van der Laan
68e327ae7b
move buttons to bottom of send coins tab, outside of scroll area
2011-07-18 18:39:49 +02:00
Wladimir J. van der Laan
24c835b0b6
windows build fix
2011-07-18 18:34:53 +02:00
Pieter Wuille
ca40e581eb
Merge pull request #1 from AbrahamJewowich/cbitcoinaddress
...
Cbitcoinaddress
2011-07-18 06:38:54 -07:00
Abraham Jewowich
03f8b54565
Fix bug with accessing vchData[0] when vchData is empty.
...
Fix typo in CBase58Data::CompareTo
2011-07-18 06:26:54 -07:00
Wladimir J. van der Laan
a75e1e3292
Fix "Last received block was generated Up to date"
2011-07-18 06:55:05 +02:00
Gavin Andresen
9e3e21efeb
Merge pull request #419 from mibe/translation-de
...
Updated German translation
2011-07-17 17:52:40 -07:00
Gavin Andresen
993d37b90b
Merge pull request #395 from mibe/issue-395
...
Error in Russian Translation
2011-07-17 17:51:08 -07:00
Wladimir J. van der Laan
1907b96d69
put sendcoins entries in scroll area, so that window does not become bigger than screen with many recipients
2011-07-17 17:42:41 +02:00
Wladimir J. van der Laan
8dcffd4d07
show rotating spinner when block download out of date, tick otherwise
2011-07-17 17:31:37 +02:00
Wladimir J. van der Laan
5df0b03c95
make initial block download reporting somewhat better by tracking version responses
2011-07-17 14:17:13 +02:00
Pieter Wuille
cb61b8dc4c
split off CBase58Data from CBitcoinAddress
...
Split off features unrelated to addresses from CBitcoinAddress to
CBase58Data, so they can be reused.
2011-07-17 12:09:17 +02:00
Pieter Wuille
2ffba736e9
Use CBitcoinAddress instead of string/uint160
...
Instead of conversion functions between pubkey/uint160/address in
base58.h, have a fully fledged class CBitcoinAddress (CAddress was
already taken) to represent addresses.
2011-07-17 12:09:14 +02:00
Pieter Wuille
03fbd79049
get rid of mapPubKeys
...
Make CKeyStore's interface work on uint160's instead of pubkeys, so
no separate global mapPubKeys is necessary anymore.
2011-07-17 12:07:59 +02:00
Michael Bemmerl
6801782096
Changed Russian translation according to comment in issue 395
2011-07-17 04:22:50 +02:00
Michael Bemmerl
e609c468d9
Added German wallet encryption messages translation.
2011-07-17 02:56:10 +02:00
Michael Bemmerl
241844eab0
Basically some grammatical fixes of the German translation.
2011-07-17 02:19:49 +02:00
Wladimir J. van der Laan
b5f918cbd6
readme update
2011-07-16 19:54:44 +02:00
Wladimir J. van der Laan
2a429030ff
update readme
2011-07-16 19:47:22 +02:00
Wladimir J. van der Laan
9b9cd3dd20
add missing icon
2011-07-16 19:35:41 +02:00
Wladimir J. van der Laan
9958e09dbc
Revert "Now that send coins / receive coins etc are tabs, remove them from menu, and reorganize menu bar"
...
This reverts commit ea37fb9187 .
2011-07-16 19:28:15 +02:00
Wladimir J. van der Laan
a5e6d72339
add sendmany support
2011-07-16 19:25:02 +02:00
Jeff Garzik
133ccbe408
Merge pull request #418 from EricJ2190/master
...
Update makefile.vc for wallet encryptions.
2011-07-15 21:11:34 -07:00
Eric Hosmer
88cab1e4a3
Added crypter to makefile.vc.
2011-07-15 23:38:46 -04:00
Celil
97f908e483
Suppress uninitialized warnings.
2011-07-15 16:10:48 -07:00
Wladimir J. van der Laan
d421117620
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-07-15 16:42:44 +02:00
Wladimir J. van der Laan
a24b23622e
move README.md out of the way for now
2011-07-15 15:42:02 +02:00
Wladimir J. van der Laan
19366be186
Merge remote-tracking branch 'satoshi/qtui'
...
Conflicts (resolved by copying files from remote branch):
.gitignore
src/cryptopp/cpu.cpp
src/cryptopp/cpu.h
src/cryptopp/cryptlib.h
src/cryptopp/iterhash.h
src/cryptopp/misc.h
src/cryptopp/secblock.h
src/cryptopp/sha.cpp
src/cryptopp/sha.h
src/cryptopp/smartptr.h
src/json/json_spirit_reader.cpp
src/json/json_spirit_value.cpp
src/json/json_spirit_writer.cpp
2011-07-15 15:12:17 +02:00
Wladimir J. van der Laan
a35ee96336
Add call to request unconfirmed balance
2011-07-15 15:09:49 +02:00
Wladimir J. van der Laan
249c6818f1
fix quoting
2011-07-15 15:06:28 +02:00
Wladimir J. van der Laan
ea37fb9187
Now that send coins / receive coins etc are tabs, remove them from menu, and reorganize menu bar
2011-07-15 14:55:21 +02:00
Wladimir J. van der Laan
f8be324ace
Merge pull request #8 from celil-kj/master
...
fix error when cancelling export
2011-07-15 01:30:54 -07:00
Jeff Garzik
5b0fc31b1c
Merge pull request #414 from spiechu/polish-translation
...
added polish wallet encryption messages
2011-07-14 20:43:22 -07:00
Celil
608810a3e7
Fix error when export is cancelled without specifying a filename.
2011-07-14 17:11:11 -07:00
Chris Howie
76aed0141c
listsinceblock now shows txns with 0 confirms, as well as allows the lastblock return property to be targeted to the block with the specified depth
2011-07-14 15:56:29 -04:00
Chris Howie
5b2f35167f
Add listsinceblock command for retrieving all wallet transactions in blocks after the specified block
2011-07-14 15:56:21 -04:00
Wladimir J. van der Laan
77b615ceba
solve warnings at startup
2011-07-14 21:21:17 +02:00
Dawid Spiechowicz
494fc9a857
added polish wallet encryption messages
2011-07-14 19:13:26 +02:00
Jeff Garzik
065d743019
Merge pull request #413 from TheBlueMatt/loadwalletret
...
Fix bad return values in LoadWallet.
2011-07-14 09:37:50 -07:00
Matt Corallo
3a10d1c493
Fix bad return values in LoadWallet.
2011-07-14 18:15:50 +02:00
Pieter Wuille
24271c542b
Merge pull request #412 from sgimenez/db-transactions
...
Single DB transactions
2011-07-14 05:29:09 -07:00
Stéphane Gimenez
d655a26c9d
Single DB transaction for addresses from DNS seeds
2011-07-14 03:50:06 +02:00
Gavin Andresen
36cd1ad5c9
Merge pull request #411 from TheBlueMatt/master
...
Fix Build in GetReservedKey() in wallet.cpp
2011-07-13 18:36:56 -07:00
Matt Corallo
a2606bad09
Fix Build in GetReservedKey() in wallet.cpp
2011-07-14 03:34:07 +02:00
Gavin Andresen
3fd18faaf6
Merge pull request #410 from TheBlueMatt/master
...
Generate Warning when using default key.
2011-07-13 18:29:55 -07:00
Patrick Varilly
8c41469140
Single DB transaction for all addresses in a message
...
Cuts disk activity at startup immensely
2011-07-14 03:29:07 +02:00
Matt Corallo
cee69980b0
Generate Warning when using default key.
2011-07-14 03:28:31 +02:00
Jeff Garzik
60d2f8662c
Merge pull request #409 from TheBlueMatt/master
...
Fix crashes when a wallet is locked and GetReservedKey() is called
2011-07-13 18:22:19 -07:00
Matt Corallo
0d7b28e52e
Fix crashes when a wallet is locked and GetReservedKey() is called
2011-07-14 03:11:40 +02:00
Jeff Garzik
9cd22ab862
Merge pull request #406 from muggenhor/warning-fixes
...
Warning fixes
2011-07-13 08:55:49 -07:00
Jeff Garzik
b8cbbc2c28
Merge pull request #405 from sipa/syncdefault
...
Bugfix: add autogenerated addresses to address book
2011-07-13 08:53:57 -07:00
Giel van Schijndel
84c3c2ebe7
fix warning: control reaches end of non-void function [-Wreturn-type]
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-07-13 14:25:45 +02:00
Giel van Schijndel
93752b8a39
fix warning: variable ‘nMinDepth’ set but not used [-Wunused-but-set-variable]
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-07-13 13:43:24 +02:00
Pieter Wuille
225e60ce34
Merge pull request #404 from TheBlueMatt/newenc
...
Fix makefile.linux-mingw
2011-07-13 04:14:16 -07:00
Matt Corallo
d5e9d0000d
Fix makefile.linux-mingw
2011-07-13 13:12:49 +02:00
Pieter Wuille
d5115a71a1
Bugfix: add autogenerated addresses to address book
2011-07-13 13:05:08 +02:00
Wladimir J. van der Laan
2a097fc5ed
Update mac build (alkor on forums)
2011-07-13 08:27:41 +02:00
Jeff Garzik
e9fd7d9fad
doc/README: word wrap into something readable
2011-07-13 01:21:49 -04:00
Jeff Garzik
24a0def8cd
Bump version to 0.3.25
...
Yes, we might release as v0.4, but let's just do a simple increment
for now.
2011-07-13 01:19:26 -04:00
Jeff Garzik
116df55e21
Update CWallet::LoadWallet for proper return type.
2011-07-13 01:07:49 -04:00
Jeff Garzik
4ea952d5c0
Merge pull request #399 from muggenhor/warning-fixes
...
Warning fixes
2011-07-12 20:22:38 -07:00
Giel van Schijndel
d0538a81bb
fix warning: unused function 'SigIllHandlerSSE2' [-Wunused-function]
...
Only declare & define SigIllHandlerSSE2 when its used.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-07-13 05:10:15 +02:00
Giel van Schijndel
858cebed7d
fix warning: unused variable 'X' [-Wunused-variable]
...
Remove several unused variables.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-07-13 05:10:15 +02:00
Giel van Schijndel
225f222c9f
fix warning: X enumeration values not handled in switch [-Wswitch-enum]
...
Add default cases to opcode switches to assert that they should never
occur.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-07-13 05:10:15 +02:00
Giel van Schijndel
d7f1d200ab
fix warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
...
Don't check for a negative parameter count, because not only will it
never happen, it doesn't make any sense either.
Invalid sockets (as returned by socket(2)) are always exactly -1 (not
just negative as negative file descriptors are technically not
prohibited by POSIX) on POSIX systems. Since we store them in SOCKET
(unsigned int), however, that really is ~0U (or MAX_UINT) which happens
to be what INVALID_SOCKET is already defined to, so an additional check
for being negative is not only unnecessary (unsigned integers aren't
*ever* negative) its redundant as well (the INVALID_SOCKET comparison is
enough).
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-07-13 05:07:44 +02:00
Giel van Schijndel
f85c097449
fix warnings: using the result of an assignment as a condition without parentheses [-Wparentheses]
...
Don't unnecessarily assign to variables within the *boolean* expression
of a conditional.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-07-13 05:07:44 +02:00
Giel van Schijndel
ecf1c79aad
fix warnings: expression result unused [-Wunused-value]
...
In the assert()s take advantage of the fact that string constants
("string") are effectively of type 'const char []', which when used in
an expression yield a non-NULL pointer.
An assertion that should always fail can thus be formulated as:
assert(!"fail);
An assertion where a text message should be added to the expression can
be written as such:
assert("message" && expression);
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-07-13 05:07:44 +02:00
Giel van Schijndel
df40181417
fix warning on 64bit systems: cast to pointer from integer of different size [-Wint-to-pointer-cast]
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-07-13 05:07:44 +02:00
Matt Corallo
0ca8324f59
Update makefile.linux-mingw to work with crypter and UPnP fix.
2011-07-12 22:44:00 -04:00
Jeff Garzik
0fa89d8e81
Merge pull request #381 from TheBlueMatt/nminversion
...
Add minversion to wallet.
2011-07-12 19:34:30 -07:00
Jeff Garzik
61e3c011f5
Merge pull request #402 from jayschwa/hirez-icon
...
High resolution Windows icon
2011-07-12 19:18:52 -07:00
Jeff Garzik
696d34069a
Merge pull request #396 from jayschwa/nsis-branding
...
Add bitcoin.org logos/branding to NSIS installer.
2011-07-12 19:18:21 -07:00
Jeff Garzik
0bad8e4237
Merge pull request #352 from TheBlueMatt/newenc
...
Wallet Private Key Encryption (on CWallet)
2011-07-12 19:10:12 -07:00
Jay Weisskopf
aaa468563b
Increase resolution of Windows icon.
...
The .ico file has changed in the following ways:
* Added 64x64 layer (max size for "Classic Mode").
* Added 256x256 layer (max size for Vista and 7).
* Removed copies with no alpha channel:
* Display depths lower than 32-bits are rare nowadays.
* 8-bit alpha channels in icons has been supported since XP.
* If the display depth is lowered, they look no better than the
downsampled versions that Windows automatically generates.
Tested various sizes on both XP and Win 7. It looks fine
(unchanged) on XP and downright sexy on Win 7.
2011-07-12 20:13:44 -05:00
Matt Corallo
7414733bea
Make an invalid addrIncoming so that old clients crash.
...
This prevents old clients from opening, and thus corrupting
or otherwise causing harm to encrypted wallets.
2011-07-13 02:11:25 +02:00
Matt Corallo
96f34cd5c4
Use DB Transactions when encrypting wallet.
...
This speeds up the encryption process significantly.
2011-07-13 02:11:25 +02:00
Pieter Wuille
0efda1a79e
Do not use obsolete CPrivKey for passing keys around
2011-07-13 02:11:25 +02:00
Matt Corallo
b6b039d84e
Add Wallet Encryption section to README
2011-07-13 02:11:25 +02:00
Matt Corallo
fbeb5fb483
Add the walletlock RPC method to lock the wallet manually.
2011-07-13 02:11:25 +02:00
Matt Corallo
81598083e7
Dynamically remove/insert the Options for encryption in the menus.
2011-07-13 02:11:25 +02:00
Matt Corallo
98545d2cdf
Push unlocked_until in getinfo.
2011-07-13 02:11:25 +02:00
Matt Corallo
ddebdd9a8f
Set the number of SHA512 rounds based on the speed of the computer.
2011-07-13 02:11:25 +02:00
Matt Corallo
4e87d341f7
Add wallet privkey encryption.
...
This commit adds support for ckeys, or enCrypted private keys, to the wallet.
All keys are stored in memory in their encrypted form and thus the passphrase
is required from the user to spend coins, or to create new addresses.
Keys are encrypted with AES-256-CBC using OpenSSL's EVP library. The key is
calculated via EVP_BytesToKey using SHA512 with (by default) 25000 rounds and
a random salt.
By default, the user's wallet remains unencrypted until they call the RPC
command encryptwallet <passphrase> or, from the GUI menu, Options->
Encrypt Wallet.
When the user is attempting to call RPC functions which require the password
to unlock the wallet, an error will be returned unless they call
walletpassphrase <passphrase> <time to keep key in memory> first.
A keypoolrefill command has been added which tops up the users keypool
(requiring the passphrase via walletpassphrase first).
keypoolsize has been added to the output of getinfo to show the user the
number of keys left before they need to specify their passphrase (and call
keypoolrefill).
Note that walletpassphrase will automatically fill keypool in a separate
thread which it spawns when the passphrase is set. This could cause some
delays in other threads waiting for locks on the wallet passphrase, including
one which could cause the passphrase to be stored longer than expected,
however it will not allow the passphrase to be used longer than expected as
ThreadCleanWalletPassphrase will attempt to get a lock on the key as soon
as the specified lock time has arrived.
When the keypool runs out (and wallet is locked) GetOrReuseKeyFromPool
returns vchDefaultKey, meaning miners may start to generate many blocks to
vchDefaultKey instead of a new key each time.
A walletpassphrasechange <oldpassphrase> <newpassphrase> has been added to
allow the user to change their password via RPC.
Whenever keying material (unencrypted private keys, the user's passphrase,
the wallet's AES key) is stored unencrypted in memory, any reasonable attempt
is made to mlock/VirtualLock that memory before storing the keying material.
This is not true in several (commented) cases where mlock/VirtualLocking the
memory is not possible.
Although encryption of private keys in memory can be very useful on desktop
systems (as some small amount of protection against stupid viruses), on an
RPC server, the password is entered fairly insecurely. Thus, the only main
advantage encryption has for RPC servers is for RPC servers that do not spend
coins, except in rare cases, eg. a webserver of a merchant which only receives
payment except for cases of manual intervention.
Thanks to jgarzik for the original patch and sipa, gmaxwell and many others
for all their input.
Conflicts:
src/wallet.cpp
2011-07-13 02:11:25 +02:00
Jay Weisskopf
aa0bcaaf2b
Remove NSIS branding from bottom divider.
2011-07-12 01:18:57 -05:00
Jay Weisskopf
230b894779
Set default compression for NSIS installer to LZMA.
...
Use of LZMA (versus the current zlib) shaves a few MB off the installer.
2011-07-11 17:44:44 -05:00
Wladimir J. van der Laan
4a843976e0
also show balloon on sent transaction, to notify when coins sent
2011-07-11 21:01:53 +02:00
Wladimir J. van der Laan
df5ccbd2b2
Show unconfirmed balance on overview page
2011-07-11 20:42:10 +02:00
Wladimir J. van der Laan
eee0d2391c
Make tooltip on refresh more clear
2011-07-11 19:35:08 +02:00
Jay Weisskopf
6c9498147f
Add logos/branding currently found on bitcoin.org into NSIS installer.
2011-07-11 02:09:07 -05:00
Doug Huff
a48c671957
Make mlock() and munlock() portable to systems that require the address to be on a page boundary.
2011-07-10 18:15:05 +02:00
Jeff Garzik
354f2dd094
Merge pull request #392 from laanwj/antimagic
...
Remove another magic number: change threshold for nLockTime to constant
2011-07-09 10:09:13 -07:00
Wladimir J. van der Laan
c87cdc9160
wxp/mingw build fixes
2011-07-09 15:58:05 +02:00
Wladimir J. van der Laan
0b814f9ea3
add better windows7/vista look by nico_w
2011-07-09 15:26:57 +02:00
Wladimir J. van der Laan
7668631d1b
remove placeholder text from ui form, code generator screws up on older qt
2011-07-09 14:00:00 +02:00
Wladimir J. van der Laan
ea8440d742
Add -fstack-protector to gcc CXX flags
2011-07-09 11:54:25 +02:00
Wladimir J. van der Laan
adad8e46c9
README update
2011-07-09 10:55:46 +02:00
Wladimir J. van der Laan
f54d59ba4a
add export functionality for address book / receiving addresses
2011-07-09 10:54:17 +02:00
Wladimir J. van der Laan
2eace48d9a
remove magic number: change threshold for nLockTime to constant
2011-07-09 10:30:23 +02:00
Wladimir J. van der Laan
fa989f42c1
remove magic number: change threshold for nLockTime to constant
2011-07-09 10:25:12 +02:00
Wladimir J. van der Laan
aa496b75c2
remove magic number: change threshold for nLockTime to constant
2011-07-09 10:11:28 +02:00
Wladimir J. van der Laan
460cd40aa5
Readme update
2011-07-08 22:45:15 +02:00
Wladimir J. van der Laan
51d7cc07f1
Add context menu on transaction list: copy label, copy address, edit label, show details
2011-07-08 22:27:36 +02:00
Wladimir J. van der Laan
35105534e7
Transaction list: less terse tooltip
2011-07-08 19:56:28 +02:00
Wladimir J. van der Laan
3ddf10e5ca
send coins dialog: make sure send button remain default button (triggered with enter)
2011-07-08 19:51:24 +02:00
Jeff Garzik
f08736405e
Compile 'sv' translation
2011-07-08 13:38:24 -04:00
Jeff Garzik
c05d011fba
Merge pull request #376 from codler/translate
...
Minor translation changes for latest build (Swedish)
2011-07-08 10:36:49 -07:00
Wladimir J. van der Laan
83b8237046
forgot synced icons
2011-07-08 19:25:35 +02:00
Wladimir J. van der Laan
d8aeb8dd2a
Reorganize "send coins" tab
2011-07-08 19:09:13 +02:00
Wladimir J. van der Laan
84c8506e90
Display a "freshness" indicator instead of nr of blocks
2011-07-08 18:05:23 +02:00
Dylan Noblesmith
c1aacf0be3
mlock() all private keys in memory
...
Inline comment and idea come from the encprivkeys branch
by Matt Corallo <matt@bluematt.me >.
2011-07-08 15:46:47 +02:00
Pieter Wuille
acd6501610
Prepare codebase for Encrypted Keys.
2011-07-08 15:46:47 +02:00
Wladimir J. van der Laan
8ffec99b07
update README
2011-07-07 21:26:46 +02:00
Wladimir J. van der Laan
610121480c
"Status" doesn't fit into narrow first column in transaction history, make the header empty
2011-07-07 21:25:17 +02:00
Wladimir J. van der Laan
ba3d0255fc
Add German translation by nico_w
2011-07-07 21:19:25 +02:00
Wladimir J. van der Laan
0002bdddfa
add [testnet] to whatever the current window title is
2011-07-07 18:38:37 +02:00
Wladimir J. van der Laan
a7e506d698
clarify todo/dones in readme
2011-07-07 18:32:47 +02:00
Wladimir J. van der Laan
94fe42a945
Selection/tab navigation fixes
2011-07-07 18:25:27 +02:00
Wladimir J. van der Laan
3479849dc4
convert to full tab-based ui
2011-07-07 17:33:15 +02:00
Wladimir J. van der Laan
5eaa1b435c
Qt handles the "..." for too long table rows. Remove this functionality from TransactionTableModel...
2011-07-07 16:57:19 +02:00
Wladimir J. van der Laan
ae3d0aba15
Sync to bitcoin git e94010b239
2011-07-07 15:22:54 +02:00
Wladimir J. van der Laan
42c405ad23
temp patch for qtui
2011-07-07 15:18:35 +02:00
Wladimir J. van der Laan
33c75fd9aa
CKeyStore::AddKey must return a boolean
2011-07-07 15:16:26 +02:00
Wladimir J. van der Laan
fbaee7a853
Export functionality for transaction list
2011-07-07 14:27:16 +02:00
Wladimir J. van der Laan
d52a0f3bca
Rename "History" tab to more logical "Transactions", move "Number of transactions" from status bar to overview page
2011-07-07 10:59:00 +02:00
Wladimir J. van der Laan
fac047480d
minor language/text updates
2011-07-07 10:43:04 +02:00
Wladimir J. van der Laan
e599246803
Improve view of generated transactions (show clock icon when still maturing)
2011-07-07 10:29:07 +02:00
Wladimir J. van der Laan
393adf7acd
Address book: Disable "copy to clipboard" and "Delete" buttons when nothing selected
2011-07-06 21:52:23 +02:00
Wladimir J. van der Laan
8bca4099c7
Remove code for no longer existing edit button in address book dialog
2011-07-06 20:52:31 +02:00
Wladimir J. van der Laan
e1f3d64c4a
Add "BTC" to all amount widgets, to make clear what the unit is
2011-07-06 20:41:13 +02:00
Wladimir J. van der Laan
64c8b69948
tab reorg phase 1: split main gui into "overview" and "history"
2011-07-05 22:09:39 +02:00
Jeff Garzik
e94010b239
Merge pull request #383 from sipa/syncdefault
...
Fix synchronization of default key
2011-07-05 11:52:13 -07:00
Wladimir J. van der Laan
825aa7d8d8
make balance selectable / copyable
2011-07-05 20:21:33 +02:00
Jeff Garzik
bb0d9ce226
Merge pull request #384 from TheBlueMatt/upnp
...
Fix UPnP building, entirely my fault.
2011-07-05 10:10:26 -07:00
Matt Corallo
7ec552676c
Add minversion to wallet.
2011-07-05 18:36:01 +02:00
Matt Corallo
09923991e5
Enable UPnP by default on bitcoin, but not on bitcoind (on gitian)
...
Also fix a minor type in gitian.yml
2011-07-05 18:21:35 +02:00
Matt Corallo
3f0950ea01
Revert "Make UPnP default on Bitcoin but not on Bitcoind."
...
This reverts commit ee1f884229 .
Stupid, stupid me...there is exactly 0 way to convince make to
execute a conditional based on a target-specific variable.
2011-07-05 18:19:34 +02:00
Pieter Wuille
e9f61c8787
Fix synchronization of default key
2011-07-05 17:42:44 +02:00
Gavin Andresen
9390431ce4
Merge pull request #379 from gavinandresen/nocommas
...
Do not use comma as thousands separator
2011-07-04 19:26:10 -07:00
Jeff Garzik
06c903b26c
Merge pull request #380 from TheBlueMatt/buildupdates
...
Added a couple minor things to match newer build process.
2011-07-04 16:34:18 -07:00
Matt Corallo
fa105b1d3a
Added a couple minor things to match newer build process.
...
This adds the relevent patches which are applied to wx,
and updates for cross compiling.
2011-07-05 00:59:00 +02:00
Wladimir J. van der Laan
b8f174a5ce
as there is no "default receiving address" in this GUI, don't autogenerate new addresses on receiving
2011-07-04 20:12:58 +02:00
Gavin Andresen
59f9c8e8c9
Do not use comma as thousands separator
...
Using the comma as thousands separator causes problems for parts of the world
where comma == decimal point. Germans sending 0,001 bitcoins are unpleasantly
surprised when that results in 1 BTC getting sent.
2011-07-04 09:41:58 -04:00
Wladimir J. van der Laan
9dfb2d2814
add windows build instructions
2011-07-04 07:45:28 +02:00
Wladimir J. van der Laan
3913c387c9
Eliminate useless padding
2011-07-03 22:29:26 +02:00
Wladimir J. van der Laan
8fe2308b34
windows build fixes
2011-07-03 22:29:26 +02:00
Gavin Andresen
d547a44332
Block-chain lock-in at 134444
2011-07-03 11:20:39 -04:00
Han Lin Yap
096a890097
Minor translation changes for latest build
2011-07-03 15:24:47 +02:00
Wladimir J. van der Laan
482e57812b
move another setPlaceHolderText to 4.7+ only code
2011-07-03 08:24:07 +02:00
Wladimir J. van der Laan
21e47f8d04
remove libboostall-dev is not needed dependency
2011-07-03 07:51:20 +02:00
Jeff Garzik
fc27eb188f
Bump OSX version to 0.3.24 (missed in previous commit)
2011-07-02 16:57:45 -04:00
Jeff Garzik
b4b536d782
Bump version to 0.3.24.
2011-07-02 16:55:11 -04:00
Jeff Garzik
a76899624a
Merge branch 'tmp2' into tmp3
2011-07-02 16:46:07 -04:00
Jeff Garzik
1a19fc17b2
Merge pull request #374 from TheBlueMatt/neterror
...
Give more detailed error messages for connection failure.
2011-07-02 12:04:09 -07:00
Wladimir J. van der Laan
ecde936aee
remove "edit" button, document double-click behaviour to edit
2011-07-02 18:30:41 +02:00
Wladimir J. van der Laan
154e25ff60
ui improvements: allow inline editing of labels/addresses in address book table, better tab order in send dialog, set focus on sending address table when coming from send coins dialog
2011-07-02 17:31:27 +02:00
Wladimir J. van der Laan
c1ffa5b1c5
make tooltip equal to placeholder
2011-07-02 15:42:12 +02:00
Wladimir J. van der Laan
669b0a5835
Check addresses in address book for validity
2011-07-02 15:11:40 +02:00
Wladimir J. van der Laan
ebff5c40a2
Send: dialog redesign (automatically look up label for entered address)
2011-07-02 13:45:59 +02:00
Matt Corallo
013df1cc3b
Give more detailed error messages for connection failure.
2011-07-02 13:25:18 +02:00
Wladimir J. van der Laan
05da981f05
update build instructions (thanks tschaboo)
2011-07-02 10:33:36 +02:00
Wladimir J. van der Laan
bb82fdb543
"Receive coins" instead of "Receiving addresses"
2011-07-02 10:13:29 +02:00
Wladimir J. van der Laan
f48b4c8897
Placeholder text can only be used for Qt 4.7+
2011-07-02 09:21:16 +02:00
Jeff Garzik
9cd1dfe898
Merge pull request #372 from TheBlueMatt/upnp
...
Make UPnP default on Bitcoin but not on Bitcoind.
2011-07-01 19:39:05 -07:00
Jeff Garzik
cfbcb1de66
Merge pull request #373 from EricJ2190/master
...
Another Visual C++ Makefile Update
2011-07-01 17:38:24 -07:00
Eric Hosmer
58d9badfe2
Add keystore.h to makefile.vs's header list.
2011-07-01 20:17:10 -04:00
Eric Hosmer
12a4af47c2
Further updated Visual C++ makefile.
2011-07-01 20:14:02 -04:00
Matt Corallo
ee1f884229
Make UPnP default on Bitcoin but not on Bitcoind.
...
This is a bit of an ugly hack, but its the only way to do it.
2011-07-02 01:46:22 +02:00
Jeff Garzik
c4286dc6ee
Merge pull request #343 from muggenhor/proper-http-server-rejection
...
rpc server: send '403 Forbidden' to rejected clients
2011-07-01 16:34:49 -07:00
Jeff Garzik
b73ab2d885
Merge pull request #368 from TheBlueMatt/dnsseed
...
Only use dnsseeds when not on testnet.
2011-07-01 16:33:28 -07:00
Jeff Garzik
056d2ad312
Merge pull request #371 from EricJ2190/master
...
Updated Visual C++ Makefile
2011-07-01 16:31:33 -07:00
Jeff Garzik
362efb24c1
Enable DNS seeding by default.
2011-07-01 17:58:03 -04:00
Jeff Garzik
7fbeca05c9
Merge pull request #369 from sipa/limitblocksend
...
Limit size of response to getblocks
2011-07-01 14:51:48 -07:00
Wladimir J. van der Laan
e5b47b4328
Remove "default address" from main GUI screen, it only confuses people
2011-07-01 21:41:14 +02:00
Wladimir J. van der Laan
05bae43c3c
Add "last month" filter
2011-07-01 20:28:11 +02:00
Eric Hosmer
f8b5028cd1
Updated Visual C++ makefile.
2011-07-01 12:58:48 -04:00
Wladimir J. van der Laan
b5384e93ed
make amount column wider, so that more decimals fit in
2011-07-01 18:55:13 +02:00
Wladimir J. van der Laan
cdff41c12e
cleanup unused constants
2011-07-01 18:31:10 +02:00
Matt Corallo
ce8f78a7bb
Only use dnsseeds and static seeds when not on testnet.
2011-07-01 17:33:19 +02:00
Wladimir J. van der Laan
ab90d6e62a
reverse address and label (suggestion by Danube)
2011-07-01 17:26:57 +02:00
Wladimir J. van der Laan
0052fe7bbc
General cleanups
2011-07-01 17:06:36 +02:00
Pieter Wuille
4973174534
Limit response to getblocks to half of output buffer size
...
Introduce SendBufferSize() and ReceiveBufferSize(), and limit
the blocks sent as response to the "getblocks" message to
half of the active send buffer size.
2011-07-01 09:39:44 +02:00
Jeff Garzik
44d16327c1
Merge pull request #367 from TheBlueMatt/dnsseed
...
Add new DNSSeed dnsseed.bluematt.me.
2011-06-30 14:51:55 -07:00
Matt Corallo
f03c31db82
Add new DNSSeed dnsseed.bluematt.me.
...
This seed will pull a random set of 20 nodes from the network which
are tested to be online instead of a static list.
2011-06-30 23:42:59 +02:00
Wladimir J. van der Laan
c60015a260
Fix detailed transaction information on doubleclick
2011-06-30 21:34:00 +02:00
Wladimir J. van der Laan
64f125f353
Address book: show unlabeled addresses as (no label)
2011-06-30 21:29:20 +02:00
Wladimir J. van der Laan
8b040f812a
fix sorting in address table dialog
2011-06-30 21:11:51 +02:00
Wladimir J. van der Laan
c16eb94945
add icons to address book dialog buttons
2011-06-30 20:20:46 +02:00
Wladimir J. van der Laan
d61b7d13e4
Add "receiving addresses" to toolbar
2011-06-30 19:43:44 +02:00
Wladimir J. van der Laan
d56c6f312c
Make it very clear when on testnet (green icon, add [testnet] to title)
2011-06-30 19:14:42 +02:00
Wladimir J. van der Laan
ef079e183b
Split off WalletModel from ClientModel, to be able to support multi-wallets in future
2011-06-30 18:05:29 +02:00
Wladimir J. van der Laan
929eb9dc6c
show an error if amount is not valid (either the amount or decimals is empty)
2011-06-30 17:32:19 +02:00
Wladimir J. van der Laan
6ed283946c
Make it more clear what the "New" button does
2011-06-30 17:22:03 +02:00
Wladimir J. van der Laan
ceb6d4e11d
Implement filter row instead of tabs, allows for more expressive filters
2011-06-29 23:09:55 +02:00
Wladimir J. van der Laan
19a5975d5a
add "BTC" to balance for clarity
2011-06-29 20:50:21 +02:00
Gavin Andresen
20f3f4ac16
Merge pull request #357 from jrmithdobbs/osx-appbundle
...
Add OSX App bundle and correct build instructions to reflect reality.
2011-06-29 07:52:14 -07:00
Gavin Andresen
786bfc3bb7
Merge pull request #361 from spiechu/polish-translation
...
added polish translation
2011-06-29 07:13:04 -07:00
Pieter Wuille
3a3eabb57a
Merge pull request #362 from ius/issue340
...
Fix connection failure debug output
2011-06-28 13:47:08 -07:00
Joerie de Gram
ecd3e728b7
Fix connection failure debug output
2011-06-28 22:34:52 +02:00
Dawid Spiechowicz
3e76df7481
added polish translation
2011-06-28 20:37:51 +02:00
Wladimir J. van der Laan
3cfe12c1b7
use 256x256 window icon, to prevent uglyness on OSes that show full-size icons for apps
2011-06-28 18:29:58 +02:00
Stéphane Gimenez
4d410cfce9
Fix AddressBook syncrhonization between a CWallet and CWalletDB
...
This problem was reported independently by laanwj in Issue #350 .
2011-06-27 23:22:30 +02:00
Gavin Andresen
8111e27905
Merge pull request #356 from gavinandresen/unitTest
...
Boost unit-testing framework. Thanks to Steve (gasteve in irc) for original code.
2011-06-27 13:30:44 -07:00
Doug Huff
d8dda9de84
Add OSX App bundle and correct build instructions to reflect reality.
2011-06-27 15:11:35 -05:00
Gavin Andresen
8baf865c94
Boost unit-testing framework.
...
make -f makefile.{unix,osx,mingw} test_bitcoin
to compile dumb, do-almost-nothing placeholder unit tests.
2011-06-27 14:12:48 -04:00
Wladimir J. van der Laan
7aff3d5852
add icons to "New..." and "Copy to clipboard" buttons
2011-06-26 23:09:41 +02:00
Wladimir J. van der Laan
34fa178243
Change transaction table:
...
- Split "Description" column into "Type" and "Address", to make sorting easier (and facilitate filtering in the future)
- Merged "credit" and "debit" columns into one "amount" column that can be black (positive) or red (negative)
2011-06-26 22:47:02 +02:00
Giel van Schijndel
e913574e02
rpc: don't send 403 when using SSL to prevent DoS
...
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-06-26 21:07:59 +02:00
Giel van Schijndel
c9e70d4c0a
rpc server: send '403 Forbidden' to rejected clients
...
In order to be a proper HTTP implementation clients that aren't allowed
to connect to the RPC server (using -rpcallowip), should receive a
proper HTTP response. So instead of closing the connection on them send
a '403 Forbidden' status.
Signed-off-by: Giel van Schijndel <me@mortis.eu >
2011-06-26 21:07:59 +02:00
Wladimir J. van der Laan
e8ef3da713
update core to d0d80170a2 (CWallet class)
2011-06-26 19:23:24 +02:00
Pieter Wuille
d0d80170a2
Merge pull request #347 from sipa/delkeyuser
...
Fix segfault when creating new wallet
2011-06-26 03:04:39 -07:00
Wladimir J. van der Laan
d99f5a470c
reduce spacing between "Add to address book as" and the text field
2011-06-26 12:01:25 +02:00
Pieter Wuille
d3800d59d5
Fix segfault when creating new wallet
...
The initialization of the default key used keyUser instead
of vchDefaultKey. keyUser is now complete removed.
2011-06-26 02:37:52 +02:00
Wladimir J. van der Laan
cae5264a4c
fix typo in dutch translation
2011-06-25 23:27:19 +02:00
Wladimir J. van der Laan
42e950aa69
update dutch translation
2011-06-25 23:20:42 +02:00
Wladimir J. van der Laan
0030c1bd6c
compile fixes by Unthinkingbit
2011-06-25 23:14:10 +02:00
Wladimir J. van der Laan
a404b1512a
Improve look/usablity of send coins dialog
2011-06-25 22:57:24 +02:00
Wladimir J. van der Laan
38deedc1b5
allow adding address to address book in send dialog
2011-06-25 19:32:36 +02:00
Wladimir J. van der Laan
c88e14fe26
Call "initial download" "synchronizing with network" instead
2011-06-25 12:39:08 +02:00
Wladimir J. van der Laan
40951d81a7
finish nl translation
2011-06-24 21:45:33 +02:00
Wladimir J. van der Laan
6665c2431b
use buttonbox for options dialog
2011-06-24 21:23:43 +02:00
Gavin Andresen
c774b16976
Merge branch 'totalblocksestimate1' of https://github.com/laanwj/bitcoin
2011-06-24 11:17:22 -04:00
Jeff Garzik
77ba3ab99c
Merge pull request #342 from jburkle/datadir_check
...
Edited init.cpp to include a check that -datadir exists
2011-06-23 21:43:30 -07:00
James Burkle
ed2c01405f
Edited init.cpp to include a check that -datadir exists
2011-06-23 23:43:26 -04:00
Wladimir J. van der Laan
daaee738fc
experiment with internationalization (nl), unbreak build (externui.h->qtui.h)
2011-06-23 22:35:55 +02:00
Wladimir J. van der Laan
47c6215c22
use #ifdef QT_UI to distinguish Qt UI instead of hardcoded #if 0
2011-06-22 20:11:35 +02:00
Wladimir J. van der Laan
5f280ff557
clarify text
2011-06-21 20:39:37 +02:00
Wladimir J. van der Laan
b9e80983a5
Allow changing default address (fixes issue #6 )
2011-06-21 20:36:03 +02:00
Wladimir J. van der Laan
f5927f5b32
highlight default address
2011-06-21 19:54:09 +02:00
Wladimir J. van der Laan
c92fc340a2
when going to decimals field using ./, select it all, so that entry starts from scratch instead of appending to previous value
2011-06-21 19:14:35 +02:00
Wladimir J. van der Laan
50d08dc1e1
fix issue #7
2011-06-21 15:33:10 +02:00
Wladimir J. van der Laan
54e903a543
Add comment to tooltip that only sending addresses can be deleted
2011-06-21 07:56:44 +02:00
Wladimir J. van der Laan
84114e341d
Fix some padding and focus issues with the new BitcoinAmountWidget
2011-06-21 07:36:49 +02:00
Wladimir J. van der Laan
f193c57a63
introduce bitcoin amount field with split amount/decimals, to protect against mistakes ( https://forum.bitcoin.org/index.php?topic=19168.0 )
2011-06-20 21:34:43 +02:00
Wladimir J. van der Laan
18b99e3f69
number of confirmations is no longer magic value
2011-06-20 21:34:31 +02:00
Pieter Wuille
1179257bfd
Merge pull request #334 from sipa/walletclass
...
Bugfixes walletclass
2011-06-20 11:10:58 -07:00
Pieter Wuille
98705aa51c
Bugfixes walletclass
...
Some problems found by ius:
* compiler complains with no return after critical section block
* CKeyStore::GetPrivKey(key) was undefined for unknown key
* missing return statement in GetChange()
2011-06-20 20:07:28 +02:00
Wladimir J. van der Laan
679592720a
Merge pull request #5 from mjmvisser/master
...
mac fixes
2011-06-20 08:17:31 -07:00
mark
3c7ebaedcd
fixes for mac build
2011-06-20 07:30:54 -04:00
Jeff Garzik
04e442070d
Merge pull request #332 from shanew/master
...
Include missing Boost header
2011-06-19 20:04:24 -07:00
Jeff Garzik
2207f5e201
Merge pull request #331 from TheBlueMatt/translatefix
...
Update translations and remove obsolete translations.
2011-06-19 20:03:08 -07:00
Shane Wegner
926e14b362
Fix missing includes needed for Boost 1.46.
2011-06-19 15:12:31 -07:00
Jeff Garzik
aa0c5e87e8
CWalletTx::GetAmounts(): pass NULL for CKeyStore*, rather than false
...
to fix warning.
2011-06-18 21:50:05 -04:00
Pieter Wuille
a6b2115963
Merge pull request #288 from sipa/walletclass
...
CWallet class
2011-06-18 17:36:25 -07:00
Wladimir J. van der Laan
0f9ee792d9
initial block download spans total blocks minus threshold
2011-06-19 00:15:28 +02:00
Wladimir J. van der Laan
eade213197
add GetTotalBlocksEstimate() function, move magic number to constant
2011-06-19 00:12:02 +02:00
Wladimir J. van der Laan
6cab66354d
On initial block chain download, show a progress bar
2011-06-18 21:25:38 +02:00
Wladimir J. van der Laan
0eeb4f5d5b
update bitcoin core from git ( eeac8727bc)
2011-06-18 18:46:01 +02:00
Wladimir J. van der Laan
245ab4d0ac
add configure and receive icon
2011-06-18 17:26:31 +02:00
Matt Corallo
4acfe655d5
Update translations and remove obsolete translations.
2011-06-18 15:56:12 +01:00
Wladimir J. van der Laan
45c4a0b354
Use explicit resource initialization, apparently needed on some platforms
2011-06-18 14:25:46 +02:00
Wladimir J. van der Laan
7df70c000a
Prevent notification balloon-spam on initial block download, const-correctness in client model
2011-06-18 13:13:48 +02:00
Wladimir J. van der Laan
0f3981bea9
remove commented code, use // for one-line comments and comments inside functions
2011-06-18 11:53:25 +02:00
Wladimir J. van der Laan
aa52972660
fix issue #3 (dark theme compat)
2011-06-17 22:44:15 +02:00
Wladimir J. van der Laan
e4347a43b9
add license for md2k7's icons
2011-06-17 20:35:22 +02:00
Wladimir J. van der Laan
553af2f702
remove unused icons
2011-06-17 18:43:08 +02:00
Wladimir J. van der Laan
e61cfaf5c1
add svg sources for icons
2011-06-17 18:25:29 +02:00
Wladimir J. van der Laan
89c94b5578
better icons for confirmations
2011-06-17 17:47:40 +02:00
Jeff Garzik
eeac8727bc
doc/release-process.txt: minor updates
2011-06-16 17:52:38 -04:00
Wladimir J. van der Laan
8c69f1fb25
show connection meter "full" only at 10+ connections
2011-06-16 09:10:05 +02:00
Wladimir J. van der Laan
aec8763a8e
add attribution for icons
2011-06-15 21:06:51 +02:00
Wladimir J. van der Laan
58557b5aff
transaction status icons
2011-06-15 21:03:17 +02:00
Wladimir J. van der Laan
cf450e1b4c
icons test
2011-06-15 20:07:21 +02:00
Pieter Wuille
64c7ee7e6b
CWallet class
...
* A new class CKeyStore manages private keys, and script.cpp depends on access to CKeyStore.
* A new class CWallet extends CKeyStore, and contains all former wallet-specific globals; CWallet depends on script.cpp, not the other way around.
* Wallet-specific functions in CTransaction/CTxIn/CTxOut (GetDebit, GetCredit, GetChange, IsMine, IsFromMe), are moved to CWallet, taking their former 'this' argument as an explicit parameter
* CWalletTx objects know which CWallet they belong to, for convenience, so they have their own direct (and caching) GetDebit/... functions.
* Some code was moved from CWalletDB to CWallet, such as handling of reserve keys.
* Main.cpp keeps a set of all 'registered' wallets, which should be informed about updates to the block chain, and does not have any notion about any 'main' wallet. Function in main.cpp that require a wallet (such as GenerateCoins), take an explicit CWallet* argument.
* The actual CWallet instance used by the application is defined in init.cpp as "CWallet* pwalletMain". rpc.cpp and ui.cpp use this variable.
* Functions in main.cpp and db.cpp that are not used by other modules are marked static.
* The code for handling the 'submitorder' message is removed, as it not really compatible with the idea that a node is independent from the wallet(s) connected to it, and obsolete anyway.
2011-06-15 11:05:55 +02:00
Pieter Wuille
e89b9f6a2a
move wallet code to separate file
...
This introduces two new source files, keystore.cpp and wallet.cpp with
corresponding headers. Code is moved from main and db, in a preparation
for a follow-up commit which introduces the classes CWallet and CKeyStore.
2011-06-15 11:05:55 +02:00
Wladimir J. van der Laan
b1ef1b24ce
add connection meter
2011-06-14 21:34:51 +02:00
Wladimir J. van der Laan
a790ec5884
Make status column narrow (icon only, details on tooltip)
2011-06-14 21:06:00 +02:00
Jeff Garzik
19ea44208f
Merge pull request #226 from jordanlewis/betterheaders
...
Optimize header dependencies; improve Makefile dependency graph
2011-06-14 02:05:57 -07:00
Jeff Garzik
c02ec54269
FormatFullVersion: build fix related to recent translation improvement
2011-06-14 04:50:51 -04:00
Jeff Garzik
6f460bace6
Merge pull request #314 from codler/translate
...
Update swedish translation
2011-06-14 01:33:04 -07:00
Jeff Garzik
40dc7e6e1d
Merge pull request #315 from codler/consistent-address
...
Consistent Bitcoin example address
2011-06-14 01:32:40 -07:00
Han Lin Yap
c60da7355e
Consistent Bitcoin example address
2011-06-14 10:17:07 +02:00
Han Lin Yap
9399225b81
Update swedish translation
2011-06-14 09:07:30 +02:00
Wladimir J. van der Laan
5363cb05f6
Add berkelydb version warning
2011-06-14 08:18:31 +02:00
Wladimir J. van der Laan
f15df6bb7a
link to -lcrypto as well
2011-06-13 21:40:07 +02:00
Wladimir J. van der Laan
6315130e60
Internationalization -- conversion of strings from bitcoin core
2011-06-13 19:29:35 +02:00
Wladimir J. van der Laan
39cf857db9
Internationalization -- initial step, make _ return a std::string to prevent memory leaks
2011-06-13 16:56:37 +02:00
Wladimir J. van der Laan
e83474f2eb
Address book: select action (edit/select) based on context
2011-06-13 12:07:32 +02:00
Wladimir J. van der Laan
249300aebe
Status column reorganization
2011-06-13 09:05:48 +02:00
Luke Dashjr
02d87b3aa3
Reset extraNonce only when prevBlock changes, so miners can continue updating the time on their work until it's stale
2011-06-12 20:17:01 -04:00
Wladimir J. van der Laan
92ab03afc8
new icons -- test
2011-06-12 19:22:06 +02:00
Wladimir J. van der Laan
d066e25744
replace icons
2011-06-12 18:53:02 +02:00
Wladimir J. van der Laan
3ac5aa4a95
add svg version of icon, so that it can be scaled to bigger sizes later
2011-06-12 14:37:14 +02:00
Wladimir J. van der Laan
ab2fe68fd8
prepare internationalization; rename project to bitcoin-qt
2011-06-12 14:32:36 +02:00
Wladimir J. van der Laan
18cf214528
update bitcoin core to git ce148944c7
2011-06-12 12:27:01 +02:00
Wladimir J. van der Laan
0424613ba2
add the bitcoin (MIT?) license
2011-06-12 11:27:15 +02:00
Wladimir J. van der Laan
c428d9e76a
remove wallet updating debug output
2011-06-12 11:22:44 +02:00
Wladimir J. van der Laan
37f793c631
use stylized icon by bitboy
2011-06-12 11:16:08 +02:00
Jeff Garzik
ce148944c7
Merge pull request #300 from sipa/connecttimeout
...
non-blocking connect (by phantomcircuit)
2011-06-11 16:17:13 -07:00
Pieter Wuille
76d660ebd3
Faster timeout when connecting
...
Use non-blocking connects, and a select() call to wait a predefined
time (5s by default, but configurable with -timeout) for either
success or failure. This allows much more connections to be tried
per time unit.
Based on a patch by phantomcircuit.
2011-06-12 00:29:05 +02:00
Han Lin Yap
ca93cc563e
Double check translation and improved a translation string
2011-06-12 00:18:34 +02:00
Wladimir J. van der Laan
0304f4a759
add build instructions to doc
2011-06-11 23:13:29 +02:00
Wladimir J. van der Laan
ba4081c1fc
move back to original directory structure
2011-06-11 22:11:58 +02:00
Jeff Garzik
e051f1b510
Merge pull request #312 from codler/patch-1
...
Remove unused variable
2011-06-11 09:58:02 -07:00
Wladimir J. van der Laan
5813089e0b
Somewhat confident now, tested on GNOME+KDE, with all types of transactions. Next step is integration into bitcoin tree.
2011-06-11 13:33:59 +02:00
Wladimir J. van der Laan
5e1feddcb6
Add tooltips, make "amount" entry consistent in Options dialog
2011-06-11 12:46:09 +02:00
Han Lin Yap
a299e551fe
Remove unused variable
2011-06-11 03:21:32 -07:00
Jeff Garzik
18e39300e6
Merge pull request #311 from codler/master
...
Added Swedish translation
2011-06-11 00:27:16 -07:00
Han Lin Yap
b734954a63
Added Swedish translation
2011-06-11 08:52:07 +02:00
Wladimir J. van der Laan
4181184acf
Merge branch 'master' of github.com:laanwj/bitcoin-qt
2011-06-10 22:39:47 +02:00
Wladimir J. van der Laan
725d460e4b
show notification balloon on incoming transaction
2011-06-10 21:59:29 +02:00
Wladimir J. van der Laan
a777f7b9b5
show transaction details on doubleclick
2011-06-10 20:49:50 +02:00
Wladimir J. van der Laan
c30075142f
address book edit: edit the right row
2011-06-10 20:06:59 +02:00
Wladimir J. van der Laan
5b0dc80bf7
use real copyright sign in about dialog
2011-06-10 16:16:43 +02:00
Wladimir J. van der Laan
66d536ed07
transaction details dialog on doubleclick
2011-06-10 15:05:51 +02:00
Jeff Garzik
6854a2ade6
Add minimal release process docs.
2011-06-10 02:14:56 -04:00
Jeff Garzik
6de1326ba4
Lower minimum relay TX fee to 0.0001 (from 0.0005) BTC.
2011-06-10 02:07:13 -04:00
Jeff Garzik
65ee333ae0
Merge pull request #304 from TheBlueMatt/cpufix
...
Fix CPU Usage bug when using -nolisten and have no connections.
2011-06-09 22:42:25 -07:00
Jeff Garzik
2661f2f7c4
Merge pull request #310 from xslidian/master
...
Updated Chinese Simp translation
2011-06-09 12:11:07 -07:00
Dean Lee
3a8182c105
Updated Chinese Simp translation
2011-06-09 16:47:17 +08:00
Gavin Andresen
60152827e3
Merge pull request #293 from tcatm/keypool-fix
...
create keypool in LoadWallet()
2011-06-07 11:38:35 -07:00
Wladimir J. van der Laan
8e86dca256
consistent bracing style
2011-06-07 18:59:01 +02:00
Matt Corallo
c6710c7a70
Fix CPU Usage bug when using -nolisten and have no connections.
2011-06-07 00:54:41 +02:00
Jeff Garzik
04bc3f0a63
Merge pull request #303 from jrmithdobbs/demystify-magic-numbers
...
Demystify a few magic numbers.
2011-06-06 11:17:39 -07:00
Doug Huff
a9d3af8821
Demystify a few magic numbers.
2011-06-06 12:49:11 -05:00
Wladimir J. van der Laan
6717457390
align "amount" input in send coins dialog to the right
2011-06-05 21:40:28 +02:00
Jeff Garzik
352b4ea5b9
Reduce minimum TX fee for new transactions, to 0.0005.
2011-06-05 14:28:14 -04:00
Wladimir J. van der Laan
822f2e3ddf
update to newest git bitcoin core
2011-06-05 20:25:56 +02:00
Wladimir J. van der Laan
b7726d924e
ask fee
2011-06-05 17:36:52 +02:00
Jeff Garzik
6f07e22210
Bump version to 0.3.23.
2011-06-05 10:39:01 -04:00
Jeff Garzik
09d1484b22
Merge pull request #264 from sipa/mintxfeefix
...
Fix for small change outputs
2011-06-05 07:32:58 -07:00
Jeff Garzik
e3d884479a
Merge pull request #291 from jrmithdobbs/ignore-vim-swp-files
...
Add common temp files to .gitignore.
2011-06-05 07:31:09 -07:00
Jeff Garzik
7a234cdae5
Merge pull request #255 from sipa/rescanupdate
...
Update transactions already in the wallet when rescanning.
2011-06-05 07:30:47 -07:00
Jeff Garzik
39105dac1b
Merge pull request #290 from jrmithdobbs/ip-filter-rfc1918-rfc3927
...
Fix rfc1918 and rfc3927 compliance for ignoring non-internet-routable hosts
2011-06-05 07:30:05 -07:00
Wladimir J. van der Laan
00b8acdf49
fix
2011-06-05 16:24:23 +02:00
Wladimir J. van der Laan
9e0576587b
Merge branch 'master' of ssh://amethyst/home/orion/projects2/bitcoin/bitcoin-qt
2011-06-05 16:11:44 +02:00
Wladimir J. van der Laan
467c31ea0a
show messages from core/net thread
2011-06-05 16:03:29 +02:00
Wladimir J. van der Laan
352083cb23
Implement Minimize to tray / Minimize on close
2011-06-05 14:19:57 +02:00
Wladimir J. van der Laan
cddc003e70
Disable map upnp option if built without USE_UPNP
2011-06-05 12:43:18 +02:00
Wladimir J. van der Laan
e29b623db3
save changed options in database
2011-06-05 11:45:42 +02:00
Wladimir J. van der Laan
4663e339b8
show actual version nr in about dialog
2011-06-05 11:15:40 +02:00
Wladimir J. van der Laan
afacb3406d
comment update
2011-06-05 11:15:40 +02:00
Wladimir J. van der Laan
a4b4cc290c
comment update
2011-06-05 11:04:14 +02:00
Wladimir J. van der Laan
75ff9d841b
update most importent TODOs in readme
2011-06-04 22:02:30 +02:00
Wladimir J. van der Laan
b9e41844c0
fix "send to" address book
2011-06-04 21:54:49 +02:00
Wladimir J. van der Laan
64bca50d54
update transaction status as new blocks come in
2011-06-04 21:41:31 +02:00
Wladimir J. van der Laan
2547f1f7e5
create new address from main gui, move address book model to client model
2011-06-03 21:18:05 +02:00
Wladimir J. van der Laan
9d9a4e874d
support incremental wallet updates
2011-06-03 20:48:03 +02:00
Nils Schneider
ca81b168d9
create keypool in LoadWallet()
2011-06-03 18:04:41 +02:00
Wladimir J. van der Laan
48208883de
Finish implementation of address book
2011-06-03 15:16:11 +02:00
Wladimir J. van der Laan
dab03e34f5
Make base58 validator explicit
2011-06-03 13:05:34 +02:00
Doug Huff
4e6303d397
Add common temp files to .gitignore.
2011-06-02 20:27:27 -05:00
Doug Huff
482cb65690
Fix rfc1918 and rfc3927 compliance for ignoring non-internet-routable hosts.
2011-06-02 14:46:41 -05:00
Wladimir J. van der Laan
44384a4602
edit address dialog: basic data/widget binding
2011-06-02 17:56:51 +02:00
Wladimir J. van der Laan
5c94371f9a
resolve dependency issues
2011-06-02 17:37:03 +02:00
Pieter Wuille
e104c79374
Bugfix for dnsseed introduced by dnslookup
2011-06-02 16:22:49 +02:00
Pieter Wuille
7c05877df2
Merge remote branch 'upstream/master'
2011-06-02 16:17:37 +02:00
Wladimir J. van der Laan
e457b02142
namespacing, user friendly base58 entry, addressbook work
2011-06-02 15:57:23 +02:00
Wladimir J. van der Laan
ef1b844e7b
monospace font for bitcoin addresses
2011-06-01 20:08:21 +02:00
Wladimir J. van der Laan
df6dfb4ab8
readme fix
2011-06-01 18:24:22 +02:00
Wladimir J. van der Laan
9357dcf68e
update readme
2011-06-01 17:42:31 +02:00
Wladimir J. van der Laan
9aef9bca3d
define PAIR_TYPE as std::pair
2011-06-01 17:15:43 +02:00
Wladimir J. van der Laan
f96681c5e4
beginning of address model
2011-06-01 17:15:43 +02:00
Wladimir J. van der Laan
c51f051257
Add addresses that we've sent to to the address book
2011-06-01 17:15:43 +02:00
Wladimir J. van der Laan
5d5990dc8f
Impl->Priv
2011-06-01 17:15:42 +02:00
Wladimir J. van der Laan
c3e0734dbc
implement options model / improve view with validators
2011-06-01 17:15:42 +02:00
Wladimir J. van der Laan
c6dd35f03d
Apply button
2011-06-01 17:15:42 +02:00
Wladimir J. van der Laan
968d55aafa
move getTransactionFee to OptionsModel
2011-06-01 09:34:12 +02:00
Wladimir J. van der Laan
92f20d53fb
implement options model, show current options in options dialog
2011-05-31 22:24:53 +02:00
Wladimir J. van der Laan
6630c1cbf5
sending support
2011-05-30 20:20:12 +02:00
Wladimir J. van der Laan
1d7e321c10
mark specific warnings to disable for the cases where bitcoin core "sins"
2011-05-29 21:39:49 +02:00
Wladimir J. van der Laan
8c937da5f2
"Receive with" i.s.o. "Receive from" address
2011-05-28 22:31:27 +02:00
Pieter Wuille
5fecb27c1e
Merge pull request #278 from TheBlueMatt/win32ssl
...
Update to openssl-1.0.0d and enable RPC-SSL on Win32
2011-05-28 13:00:33 -07:00
Wladimir J. van der Laan
63760fa1cd
auto-update transaction list
2011-05-28 20:32:19 +02:00
Pieter Wuille
12a1256c1d
bugfix: accept free transactions
2011-05-28 16:43:49 +02:00
Wladimir J. van der Laan
f6c18bc9ed
documentation, small fixes
2011-05-28 16:09:23 +02:00
Wladimir J. van der Laan
3e1ea1c025
Generated transactions are 'other', and only show up in All tab
2011-05-27 22:09:22 +02:00
Wladimir J. van der Laan
e923f8188d
extend generation descriptions
2011-05-27 22:06:30 +02:00
Wladimir J. van der Laan
0eba00447e
use real ParseMoney function to parse input to Send dialog
2011-05-27 21:43:05 +02:00
Wladimir J. van der Laan
dd8e82f797
fix balance display, display number of transactions
2011-05-27 21:24:17 +02:00
Wladimir J. van der Laan
f79efbab6f
look up addresses in address book
2011-05-27 20:36:58 +02:00
Wladimir J. van der Laan
f488e7358d
transaction color based on confirmed/not confirmed, basic transaction model impl
2011-05-27 19:48:42 +02:00
Wladimir J. van der Laan
0856c1a03e
work on transaction list model
2011-05-27 18:38:30 +02:00
Pieter Wuille
a452d9ee2d
Merge remote branch 'bluematt/dpifix'
2011-05-27 12:44:56 +02:00
Matt Corallo
af531f0449
Fix GUI build on UNIX.
2011-05-27 12:38:10 +02:00
Wladimir J. van der Laan
213f763630
bind transactionmodel
2011-05-27 08:20:23 +02:00
Matt Corallo
0649b6af90
Update to openssl-1.0.0d and enable RPC-SSL on Win32
2011-05-27 02:53:13 +02:00
Jeff Garzik
1d418728b0
Merge pull request #277 from TheBlueMatt/dpifix
...
Handle high DPI a bit more gracefully on Win32.
2011-05-26 17:24:56 -07:00
Matt Corallo
bd39b48f19
Handle high DPI a bit more gracefully on Win32. #243
...
Not ideal, icons for send and address book don't show, just the
standard bitcoin icon, and balance is still cut off, but the
number is readable.
2011-05-27 02:20:11 +02:00
Pieter Wuille
5e1e458ecb
loss of significance in difficulty (by lfm)
...
For instance any nBits compressed value from 0x1a44b800 thru
0x1a44b9ff will show as difficulty 244139.4816. This patch will
more accurately convert the nBits compressed values to the double
difficulty.
This will display any of the recent difficulty levels slightly
differently though. Early difficulties and testnet difficulties are
not large enough to trigger this bug.
None of the actual targets or compressed targets are changed, only
the conversion to the floating point difficulty is changed and afaik
it is only ever displayed, never converted back so the patch does not
effect the target calculations, binary files, databases nor the binary
protocol.
2011-05-26 23:35:00 +02:00
Matt Corallo
db69432dcd
Reset Last-Translator on de po to the proper value.
...
Sorry, Jakob, it was changed on accident by poedit.
2011-05-26 23:09:37 +02:00
xHire
7709ee622c
Czech translation
2011-05-26 23:09:37 +02:00
Pieter Wuille
a757ed886a
Merge remote branch 'bluematt/itfix2'
2011-05-26 22:44:41 +02:00
Pieter Wuille
6740ad3706
Merge remote branch 'bluematt/defix2'
2011-05-26 22:44:35 +02:00
Jakob Kramer
7609e35f10
Fixed some mistakes in the German translation.
2011-05-26 22:40:44 +02:00
Pieter Wuille
3d962315f2
Merge pull request #267 from sipa/mintxrelay
...
Separate required fee for relaying and creation
2011-05-26 13:33:51 -07:00
HostFat
db3b14c960
Fixed 2 things on the italian translation
2011-05-26 22:31:08 +02:00
Jeff Garzik
20d28e6031
Merge pull request #268 from TheBlueMatt/deletefix
...
Fixes #240 and #244 - delete delete[] mismatch.
2011-05-26 13:25:58 -07:00
Matt Corallo
77172463a3
Fixes #240 and #244 - delete delete[] mismatch.
2011-05-26 02:24:01 +02:00
Pieter Wuille
2bfda1be11
Separate required fee for relaying and creation
...
Transactions created with the new minimal fee policy would not be
relayed by the network. Therefore, we separate the minimal fee that
is necessary to relay and to create, leaving the creation one at
the old amount, for now.
2011-05-26 00:54:58 +02:00
Pieter Wuille
e426776598
Merge pull request #265 from TheBlueMatt/esfix2
...
Updated spanish translation
2011-05-25 12:31:16 -07:00
Pieter Wuille
ca253d5911
Fix for small change outputs
...
With the separation of CENT and MIN_TX_FEE, it is now reasonable
to create change outputs between 0.01 and 0.0005, as these are
spendable according to the policy, even though they require a fee
to be paid.
Also, when enough fee was already present, everything can go into
a change output, without further increasing the fee.
2011-05-25 21:30:14 +02:00
ariel
00af90ab3c
Updated spanish translation
2011-05-25 19:47:31 +02:00
Pieter Wuille
a9ea3cd76d
Updated dutch translation
2011-05-25 02:11:18 +02:00
Jeff Garzik
d21876cdb8
Merge branch 'chfix' of https://github.com/TheBlueMatt/bitcoin into tmp
2011-05-24 19:41:01 -04:00
Jeff Garzik
54c465f25d
Merge pull request #250 from TheBlueMatt/macbuildfix
...
Revert "OSX build tweaks (laszlo)"
2011-05-24 16:31:15 -07:00
dabaopku
e295947d04
Chinese Translation
2011-05-25 01:28:25 +02:00
Jeff Garzik
32a1753e61
Merge pull request #249 from TheBlueMatt/nsisfix
...
Update NSIS Installer file to support the new directory structure.
2011-05-24 16:21:45 -07:00
Jeff Garzik
1fcf6f038e
Merge pull request #251 from TheBlueMatt/itfix
...
Update Italian translation to latest git.
2011-05-24 16:21:23 -07:00
Jeff Garzik
ec39b59a03
Merge pull request #259 from TheBlueMatt/rufix
...
Update russian translation to latest git.
2011-05-24 16:20:38 -07:00
Jeff Garzik
95f748c54e
Merge pull request #260 from TheBlueMatt/eotranslation
...
Add esperanto translation.
2011-05-24 16:20:08 -07:00
Danube
08cf0629f5
Add esperanto translation.
2011-05-25 01:13:58 +02:00
m0ray
11adda400f
Update russian translation to latest git.
2011-05-24 17:15:17 +02:00
Wladimir J. van der Laan
8968bf2e36
use user roles instead of hidden columns for model sort/filter keys
2011-05-22 19:32:37 +02:00
Wladimir J. van der Laan
858ff187f5
don't start in server mode
2011-05-22 19:32:18 +02:00
Wladimir J. van der Laan
18cab09a95
core initialisation, client model binding
2011-05-22 17:19:43 +02:00
Pieter Wuille
1c528eeee9
Update transactions already in the wallet when rescanning.
...
When rescanning, if the scanned transaction is already in the wallet, it
is skipped. However, if someone sends a transaction, does not wait for
confirmation, switches wallets, waits for a block that contains his original
transaction, and switches wallets again, a rescan will leave his wallet
transaction (which has no merkle branch, so no confirmations) untouched.
2011-05-22 17:12:20 +02:00
Wladimir van der Laan
ad88e7626b
go on testnet for now
2011-05-22 14:54:13 +02:00
Federico Faggiano
e4c3232f42
Update Italian translation to latest git.
2011-05-21 16:16:33 +02:00
Matt Corallo
7ee8e5bf86
Revert "OSX build tweaks (laszlo)"
...
This reverts commit 69ae372b51 which
removes support for building the Mac version of Bitcoin with UPnP
support and UPnP disabled by default (which should be the default,
according to the community vote and as its the default on all
other platforms).
2011-05-21 14:14:34 +02:00
Matt Corallo
cbb2b59a90
Update NSIS Installer file to support the new directory structure.
2011-05-21 13:46:51 +02:00
Jeff Garzik
69a27a4ec6
irc: #bitcoin is overflowing. split up into 100 randomly-joined channels.
...
From laszlo
2011-05-20 20:54:51 -04:00
Jeff Garzik
69ae372b51
OSX build tweaks (laszlo)
2011-05-20 20:48:44 -04:00
Jeff Garzik
813a3b438f
Merge pull request #229 from TheBlueMatt/esfix
...
Update spanish translation to newest git.
2011-05-18 10:37:11 -07:00
Jeff Garzik
fbe6d5defa
Merge pull request #230 from TheBlueMatt/defix
...
Update German translation to latest git.
2011-05-18 10:36:43 -07:00
Jeff Garzik
98199faa0b
Merge pull request #234 from TheBlueMatt/ltfix
...
Update Lithuanian Translation to latest git.
2011-05-18 10:36:22 -07:00
Jeff Garzik
010ca705df
Merge pull request #235 from TheBlueMatt/gitianfix
...
Update Gitian Build Descriptor to match new directory layout.
2011-05-18 10:35:52 -07:00
Matt Corallo
6c5064b5c3
Update Gitian Build Descriptor to match new directory layout.
2011-05-18 16:04:38 +02:00
Anonymous
97c9d444ae
Update Lithuanian Translation to latest git.
2011-05-18 15:52:35 +02:00
Jordan Lewis
31f2931281
Only include certain boost headers if necessary.
2011-05-17 18:58:47 -05:00
Jordan Lewis
6b783965c4
Remove some globally unused headers from headers.h
2011-05-17 18:58:47 -05:00
Pieter Wuille
b201c1f600
Bugfix for dnslookup: irc.cpp still used old CAddress constructor
2011-05-17 17:54:06 +02:00
Blitzboom
769e457d94
Update German translation to latest git.
2011-05-17 14:02:10 +02:00
Carlos Pizarro
b3ff4878f8
Update spanish translation to newest git.
2011-05-17 12:27:53 +02:00
Jeff Garzik
0c97aa9e14
Merge branch 'master' of git://github.com/bitcoin/bitcoin
2011-05-17 01:38:15 -04:00
Jeff Garzik
270e944e30
doc/README: bump version to 0.3.22
2011-05-17 01:36:31 -04:00
Jeff Garzik
112262cb24
Merge pull request #221 from gavinandresen/portoption
...
-port option to listen on arbitrary port
2011-05-16 22:29:28 -07:00
Jeff Garzik
6d62d2fb56
Merge pull request #222 from TheBlueMatt/lt
...
Add Lithuanian translation.
2011-05-16 22:24:59 -07:00
Wladimir J. van der Laan
29bbcab6b4
update build system for macosx
2011-05-16 08:14:04 +02:00
Jordan Lewis
fdd7d04744
Only include strlcpy.h when we have to
2011-05-15 22:23:42 -05:00
Jordan Lewis
edd309e537
Only include init.h when we have to
2011-05-15 22:23:37 -05:00
Jordan Lewis
40c2614ef4
Only include net.h when we have to
2011-05-15 22:19:17 -05:00
Jordan Lewis
ed0c143242
Only included rpc.h when necessary
2011-05-15 22:19:16 -05:00
Jordan Lewis
1512d5ce64
Only include db.h when we have to.
2011-05-15 22:19:16 -05:00
Jordan Lewis
f23f9a03c8
Only include irc.h when needed
2011-05-15 22:19:16 -05:00
Wladimir J. van der Laan
b90626021b
add readme file
2011-05-15 20:17:19 +02:00
Wladimir J. van der Laan
fb7e2901b7
remove debug stuff for implemented methods
2011-05-15 19:39:21 +02:00
Wladimir J. van der Laan
992ff49b43
make send coins dialog more user friendly (better checking)
2011-05-15 19:31:20 +02:00
Gavin Andresen
f441949515
Build error mingw, missing std::
2011-05-15 13:13:50 -04:00
Gavin Andresen
00bcfe0b7e
-port option to listen on arbitrary port
2011-05-15 12:36:21 -04:00
Wladimir J. van der Laan
85663f2c18
update to bitcoin-git
2011-05-15 16:50:28 +02:00
Wladimir J. van der Laan
223b6f1ba4
make bitcoin include files more modular
2011-05-15 12:04:20 +02:00
Wladimir J. van der Laan
6a8062a30d
todo update
2011-05-15 08:32:30 +02:00
Wladimir J. van der Laan
69d605f410
integration of core bitcoin
2011-05-14 20:10:21 +02:00
Pieter Wuille
c22feee634
Merge pull request #224 from TheBlueMatt/mingwbuildfix
...
Fix MinGW build due to bad pointers to ui.rc pixmaps stuff.
2011-05-14 10:09:05 -07:00
Matt Corallo
bcb971f930
Fix MinGW build due to bad pointers to ui.rc pixmaps stuff.
2011-05-14 18:51:52 +02:00
Pieter Wuille
f53faffb91
Merge pull request #223 from sipa/dnslookup
...
bugfix in dnslookup code: didn't compile in mingw
2011-05-14 09:48:42 -07:00
Pieter Wuille
545a679aed
bugfix in dnslookup code: didn't compile in mingw
2011-05-14 18:13:58 +02:00
Wladimir J. van der Laan
2097c09a9b
integrate a few extra .h files
2011-05-14 17:25:05 +02:00
Wladimir J. van der Laan
c24d047b9c
core is a more appropriate name for the bitcoin library
2011-05-14 11:25:37 +02:00
Wladimir J. van der Laan
6644d98d9e
integration phase
2011-05-14 11:18:39 +02:00
Wladimir J. van der Laan
1f2e0df865
begin integration with bitcoin upstream
2011-05-14 10:31:46 +02:00
mewantsbitcoins
95f5b36772
Add Lithuanian translation.
2011-05-14 01:07:22 +02:00
Wladimir J. van der Laan
4d1bb15e31
more improvements
2011-05-13 22:00:27 +02:00
Wladimir J. van der Laan
b8e302eb53
improve address book, add less conspicious toolbar icon
2011-05-13 15:58:27 +02:00
Wladimir J. van der Laan
871f9979c6
make address settable from outside
2011-05-13 08:30:20 +02:00
Jeff Garzik
efe06e1efd
Merge pull request #215 from gavinandresen/negativemove
...
Allow move RPC to take account balances negative
2011-05-12 14:46:13 -07:00
Jeff Garzik
73eb306cfd
Merge branch 'fUseUPnPfix' of https://github.com/TheBlueMatt/bitcoin into tmp
2011-05-12 17:36:42 -04:00
Jeff Garzik
9398bf946c
Merge pull request #192 from sipa/dnslookup
...
Support for name lookups in -connect and -addnode
2011-05-12 14:31:25 -07:00
Daniel Holbert
5d1d69453a
Add #ifdef USE_UPNP around usage of fUseUPnP to fix build failure.
2011-05-12 23:30:27 +02:00
Wladimir J. van der Laan
1a6d504a38
make balance/blocks/connections/transactions settable through slots
2011-05-12 20:28:07 +02:00
Wladimir J. van der Laan
3f323a61fe
clipboard handling
2011-05-12 20:16:42 +02:00
Wladimir J. van der Laan
d5da2f7b37
rename UI controls
2011-05-12 18:27:20 +02:00
Wladimir J. van der Laan
3a7abc2c77
update
2011-05-12 17:55:24 +02:00
Wladimir J. van der Laan
0fd01780e9
lowercase
2011-05-12 14:49:42 +02:00
Wladimir J. van der Laan
df577886e4
rename to qt standard
2011-05-12 14:44:52 +02:00
Wladimir J. van der Laan
8812ce7b27
add options dialog, spawn dialogs at the right place
2011-05-12 09:40:40 +02:00
Jeff Garzik
4b2e21e7ee
Merge pull request #218 from jgarzik/fee-update
...
Update TX fee to 0.0005 BTC
2011-05-11 18:16:36 -07:00
Luke Dashjr
aa4a9c5250
Reset extraNonce only every 15 seconds, just in case some miner is updating time himself and stuff
2011-05-11 17:13:04 -04:00
Luke Dashjr
3a8029f033
Update nTime after nExtraNonce to avoid potential race
...
(extraNonce being reset due to just-occurred time change after nTime is set)
2011-05-11 16:50:18 -04:00
Jeff Garzik
2a2487514a
Decrease minimum TX fee to 0.0005 BTC.
2011-05-11 16:50:09 -04:00
Jeff Garzik
a630da6400
Replace CENT with new constant MIN_TX_FEE, where appropriate.
...
MIN_TX_FEE==CENT remains true (until next commit).
2011-05-11 16:48:51 -04:00
Pieter Wuille
a6a5bb7c20
Support for name lookups in -connect and -addnode
...
* A new option -dns is introduced that enables name lookups in
-connect and -addnode, which is not enabled by default,
as it may be considered a security issue.
* A Lookup function is added that supports retrieving one or
more addresses based on a host name
* CAddress constructors (optionally) support name lookups.
* The different places in the source code that did name lookups
are refactored to use NameLookup or CAddress instead (dns seeding,
irc server lookup, getexternalip, ...).
* Removed ToStringLog() from CAddress, and switched to ToString(),
since it was empty.
2011-05-10 23:49:30 +02:00
Wladimir J. van der Laan
af94377667
implement filtering, action listeners
2011-05-10 19:03:10 +02:00
Wladimir J. van der Laan
0522725754
ignore generated resource file
2011-05-10 13:33:48 +02:00
Wladimir J. van der Laan
de11d82856
update model
2011-05-10 13:32:56 +02:00
Jeff Garzik
04a667b076
Merge pull request #150 from jgarzik/settxfee
...
Add 'settxfee' RPC, to change TX fee setting at runtime
2011-05-09 11:54:16 -07:00
Gavin Andresen
832fb114a7
Allow move RPC to take account balances negative
...
Use case: Customer owes you bitcoins, so you create a payment address
associated with an account with a negative balance (the amount they owe).
When customer pays, that account balance will go to zero.
2011-05-09 14:45:52 -04:00
Wladimir J. van der Laan
94ccfa8c5d
new resource location
2011-05-09 20:45:22 +02:00
Wladimir J. van der Laan
053980bb19
moved files
2011-05-09 20:45:09 +02:00
Wladimir J. van der Laan
13740b7ed1
Use resource system
2011-05-09 20:44:46 +02:00
Jeff Garzik
d9068ad5a1
Add settxfee RPC, to permit setting default TX fee at runtime.
2011-05-09 14:35:30 -04:00
Gavin Andresen
e8adcf88cd
Help for sendtoaddress/sendfrom was wrong: amounts are rounded to 0.00000001
2011-05-09 14:26:41 -04:00
Gavin Andresen
91b8932eb1
Merge branch 'master' of github.com:bitcoin/bitcoin
2011-05-09 14:04:24 -04:00
Gavin Andresen
59d18adc4c
listtransactions number-of-params check was wrong.
2011-05-09 14:03:54 -04:00
Jeff Garzik
b17be7e14b
Manual merge of jaromil's source tree reorg commit.
...
Conflicts:
src/sha256.cpp
2011-05-09 14:00:14 -04:00
Gavin Andresen
c0430f42b8
Fix broken build (invalid use of qualified name std::advance)
2011-05-09 13:31:10 -04:00
Gavin Andresen
6244e44999
Merge pull request #160 from CAFxX/listtransactions-from
...
add parameter "from" to listtransactions (range queries)
2011-05-09 09:42:29 -07:00
Gavin Andresen
752e598a16
Merge pull request #205 from forrestv/caseinsensitive_rpc_headers
...
Case-Insensitive JSON-RPC HTTP Headers
2011-05-09 09:37:31 -07:00
Forrest Voight
e6ad2c8792
Initial commit of changes to make JSON-RPC HTTP headers case-insensitive, as per RFC 2616
2011-05-08 20:33:46 -04:00
Wladimir J. van der Laan
1355cfe131
add all (unpopulated) dialogs
2011-05-08 22:23:31 +02:00
Wladimir J. van der Laan
4d27c96033
update
2011-05-08 16:30:10 +02:00
Wladimir J. van der Laan
f79405b5e1
restore orig send image
2011-05-07 22:18:24 +02:00
Wladimir J. van der Laan
aaa1c3c400
initial commit
2011-05-07 22:13:39 +02:00
Carlo Alberto Ferraris
ec86134a0d
Allow using the [from] parameter also from command-line
2011-05-07 18:34:32 +02:00
Jeff Garzik
2fb1124b0f
Merge branch 'remove-4way' of github.com:jgarzik/bitcoin into tmp
...
Conflicts:
makefile.unix
2011-05-06 08:04:50 -04:00
Jeff Garzik
4408034bcd
Merge pull request #197 from TheBlueMatt/errorfix
...
Fix GUI crash
2011-05-06 04:33:44 -07:00
Matt Corallo
2f62b1299f
When an error is returned, the client crashes as EndModal is called twice.
...
This fixes that and simply returns instead. At least GTK won't complain.
2011-05-06 13:32:20 +02:00
Jeff Garzik
62b427ec55
Merge pull request #196 from amiryal/master
...
Improve UPNP build instructions
2011-05-06 04:24:32 -07:00
Amir Yalon
894031bbd9
Clarify the meaning of USE_UPNP in build-unix.txt
2011-05-06 10:55:38 +03:00
Gavin Andresen
5c4aeb779f
Merge pull request #194 from johnmaguire2013/tray
...
Removed tooltip balance until it's fixed.
2011-05-05 08:17:14 -07:00
Gavin Andresen
5f56b28629
Merge pull request #193 from TheBlueMatt/nogenoption
...
Remove the option to generate coins from the Options Dialog.
2011-05-05 07:50:57 -07:00
John Maguire
d299c28ecc
removed tooltip balance until it can be made to change without opening the UI
2011-05-05 10:49:20 -04:00
Matt Corallo
3451c5a9b3
Remove the option to generate coins from the Options Dialog.
2011-05-05 15:00:49 +02:00
Gavin Andresen
e5577d5541
Fix broken build (remove declarations of GUI generate methods)
2011-05-03 15:02:41 -04:00
Gavin Andresen
b99c23af40
Merge pull request #142 from jgarzik/remove-gui-gen.
...
Remove GUI 'generate coins' option.
2011-05-03 08:27:45 -07:00
Gavin Andresen
519365cfa5
Merge pull request #173 from gavinandresen/testnet_isstandard.
...
Accept non-standard transactions on testnet.
2011-05-03 08:24:57 -07:00
Gavin Andresen
8737e1ee20
Merge pull request #190 from johnmaguire2013/tray.
...
Added balance to tooltip and send coin option to tray menu
2011-05-03 08:16:13 -07:00
Pieter Wuille
fbfbf94deb
Merge pull request #178 from wizeman/link-pthread.
...
Link with libpthread on Linux, required by libboost_thread.
2011-05-01 09:33:40 -07:00
John Maguire
d67cfd146a
fixed some translations which was... weird
2011-05-01 10:20:30 -04:00
John Maguire
bd3bd83dda
added balance to tooltips
2011-05-01 10:20:29 -04:00
John Maguire
3b7925eb7d
added "Send Bitcoins" option in the tray menu
2011-05-01 10:20:28 -04:00
Gavin Andresen
76160f784a
Merge pull request #179 from wizeman/segfault-lockfile.
...
Fix segfault when we're unable to create the lock file.
2011-05-01 06:41:49 -07:00
Gavin Andresen
2296647e01
Merge pull request #181 from sipa/fixcheckconf.
...
Bugfix in recursive check in IsConfirmed()
2011-05-01 06:41:20 -07:00
Gavin Andresen
249aff45c2
Merge pull request #186 from TheBlueMatt/nopng.
...
Remove unnecessary line which creates a dependency on wx's png library.
2011-05-01 06:39:31 -07:00
Gavin Andresen
06d9156b8d
Merge pull request #187 from devrandom/master.
...
New gitian descriptor for 0.3.21
2011-05-01 06:38:56 -07:00
Gavin Andresen
ddbc4647fa
Bump version number to 0.3.22
...
Doing this now because I always forget to do it later.
(I'm hoping the next release will actually be 0.4.0)
2011-04-28 14:01:57 -04:00
devrandom
dec289e821
gitian: strip binaries
2011-04-28 11:01:28 -07:00
devrandom
26e0de41c3
gitian descriptor with miniupnpc
2011-04-27 16:26:14 -07:00
Matt Corallo
2d9b9fecd5
Remove unnecessary line which creates a dependency on wx's png library.
...
This should allow the bitcoin binaries to run on ever so slightly more installs,
specifically those who use a different libpng library (many distros use 1.4 which is imcompatible with 1.2.
2011-04-25 17:00:12 +02:00
Pieter Wuille
be2fa90b94
Bugfix in recursive check in IsConfirmed()
...
When one single dependency of an unconfirmed transaction is already verified, this does not mean the parent is confirmed. We can skip checking its own dependencies though.
2011-04-23 15:33:52 +02:00
Jaromil
84c3fb07b0
directory re-organization (keeps the old build system)
...
there is no internal modification of any file in this commit
files are moved into directories according to established standards in
sourcecode distribution; these directories contain:
src - Files that are used in constructing the executable binaries,
but are not installed.
doc - Files in HTML and text format that document usage, quirks of
the implementation, and contributor checklists.
locale - Files that contain human language translation of strings
used in the program
contrib - Files contributed from distributions or other third party
implementing scripts and auxiliary programs
2011-04-23 12:10:25 +02:00
Ricardo M. Correia
a925c32cca
Fix segfault when we're unable to create the lock file.
2011-04-23 01:40:23 +02:00
Ricardo M. Correia
1a5364bd19
Link with libpthread on Linux, required by libboost_thread.
...
Fixes link failure when using the 'gold' linker.
2011-04-23 01:39:20 +02:00
Gavin Andresen
64ad448adc
Better wording for transaction fee notification messages
2011-04-20 18:08:01 -04:00
Gavin Andresen
ca5884873e
More 0.3.21 release prep
...
Bump version number in Windows installer file
Update READMEs.
2011-04-20 14:45:43 -04:00
Gavin Andresen
344888addd
Update date in license.txt
2011-04-20 12:03:31 -04:00
Pieter Wuille
8857aeb223
Monitor incoming transactions for spends by (a copy of) your own wallet
2011-04-20 11:39:15 -04:00
Gavin Andresen
5ec05f0a28
Accept non-standard transactions on testnet.
2011-04-20 11:20:33 -04:00
Gavin Andresen
72e962cf55
getbalance '*' was ignoring minconf param.
2011-04-18 20:57:13 -04:00
Pieter Wuille
6a76c60e6c
Automatically rescan after restoring wallet.dat
...
Information about the best known chain is added to wallet.dat. If this
information does not match the data in blkindex.dat, a rescan is automatically
performed, starting from the the last known block. When upgrading from a wallet
which does not have this information, no rescan is done automatically.
2011-04-18 17:37:47 -04:00
Jeff Garzik
e93e5349cb
Remove GUI's "Generate Coins" option from the menu.
...
CPU mining remains available via command line option [until/unless
the community decides to remove that completely].
2011-04-18 15:10:27 -04:00
Gavin Andresen
657cfe721b
Merge branch 'upnpfix' of https://github.com/TheBlueMatt/bitcoin
2011-04-18 14:53:13 -04:00
Dan Helfman
f285d4f4f3
Fix for #156 : UPnP segfault when no valid UPnP IGDs are found.
2011-04-16 21:58:42 +02:00
Gavin Andresen
bf3a0902ef
Merge branch 'master' of https://github.com/gjs278/bitcoin
2011-04-15 12:09:50 -04:00
Gavin Andresen
9a189be740
Merge branch 'localefix'
2011-04-15 12:03:50 -04:00
Gavin Andresen
9ff411f7f7
Set time locale to POSIX in rfc1123Time so weekday/months in http responses are correct.
2011-04-15 12:01:34 -04:00
Gavin Andresen
a381eb8ddb
Merge branch 'http-version' of https://github.com/jgarzik/bitcoin
2011-04-15 11:41:39 -04:00
Jeff Garzik
17616eac17
Send/return full bitcoin version string in Server and User-Agent HTTP headers
2011-04-15 03:58:42 -04:00
Jeff Garzik
a584320357
Ensure version number->string conversion is consistent
2011-04-15 03:58:28 -04:00
Carlo Alberto Ferraris
5aef2c0d55
add parameter from to listtransactions this allows querying for ranges, i.e. transactions [from, from+count)
2011-04-15 08:56:54 +02:00
Matt Corallo
973800b52f
Exit when no UPnP router found and fUseUPnP gets set to 0.
2011-04-15 00:37:50 +02:00
Dan Loewenherz
d7f0287235
build: add note for Snow Leopard users and fix typos in linking instructions
2011-04-13 13:38:24 -07:00
Gavin Andresen
b37f09aa2e
New checkpoint at block 118,000
2011-04-13 14:30:22 -04:00
gjs278
66fb32d267
pidfile support for daemon
2011-04-12 19:15:19 -05:00
Gavin Andresen
485dda9774
Merge branch 'listimmature' of /Users/gavin/src/gavin_btc
2011-04-12 17:31:31 -04:00
Gavin Andresen
d89d456655
Merge branch 'spentpertxout' of https://github.com/sipa/bitcoin
2011-04-12 17:27:15 -04:00
Pieter Wuille
c59b6f704c
Bugfix for spentpertxout: slow startup
...
When starting the client, ReacceptWalletTransaction didn't skip spent transactions in its loop, and processed all old spent transactions again.
2011-04-12 21:01:11 +02:00
Gavin Andresen
79706a8e48
Merge branch 'upnp' of https://github.com/TheBlueMatt/bitcoin
2011-04-12 14:22:12 -04:00
Gavin Andresen
2e8b33824f
Merge branch 'spentpertxout' of https://github.com/sipa/bitcoin
2011-04-12 13:31:44 -04:00
Pieter Wuille
aca3f961db
select transaction outputs separately
...
Update to SelectCoins and CreateTransaction to select source transaction outputs separately instead of per whole transaction.
2011-04-12 19:29:36 +02:00
Pieter Wuille
335e878be8
Spent per txout
...
Change some internal data structures to keep track of spentness of each wallet transaction output separately, to support partially-spent transactions:
* an update to the data structures (vfSpent in CWalletTx instead of fSpent)
* a backward-compatible update to the wallet disk format. Old clients reading back an updated wallet will ignore partially spent transactions when creating new ones, and may report a wrong balance, though.
* some helper functions (CWalletTx: IsSpent, MarkSpent, MarkDirty to reset cached values, GetAvailableCredit which only counts unredeemed outputs)
2011-04-12 19:29:36 +02:00
tcatm
d12ea887bc
disable -daemon on windows; bitcoind forks only with -daemon set
...
[added setsid() call to ui.cpp, to regain consistency with init.cpp -jgarzik]
2011-04-08 23:59:32 -04:00
Jeff Garzik
d98beea894
rfc1123Time: increase buffer size for time string
...
Make sure we can accomodate all possibilities.
2011-04-08 22:50:14 -04:00
Gavin Andresen
198fd7b0bd
Report immature coinbase transactions in listtransactions
...
Report coin generation transactions as 'category':'immature' until they have 120 confirmations (when they are reported as 'category':'generate', as before).
If the block they are in is not part of the main chain (you lost a 'block race'), then they are reported as 'category':'orphan' (with 0 confirmations).
2011-04-05 21:18:26 -04:00
Eric Swanson
0a4cb86976
Fixed issue 76 -- RPC error where addresses from addressbook's sending tab appear in listaccounts
2011-04-05 20:00:01 -04:00
Gavin Andresen
57b7fe4e6f
Merge branch 'deadlock-fixes' of https://github.com/jgarzik/bitcoin
2011-04-05 19:34:06 -04:00
Jeff Garzik
6f074b71bb
RPC sendmany must acquire cs_main lock
2011-04-05 15:15:20 -04:00
Jeff Garzik
f5f1878ba1
Fix deadlocks in setaccount, sendfrom RPC calls
...
SendMoney*() now requires caller to acquire cs_main.
GetAccountAddress() now requires caller to acquire cs_main, cs_mapWallet.
Ordering is intended to match these two callchains[1]:
1. CRITICAL_BLOCK(cs_main)
ProcessMessage(pfrom, strCommand, vMsg)
AddToWalletIfMine()
AddToWallet(wtx)
CRITICAL_BLOCK(cs_mapWallet)
2. CRITICAL_BLOCK(cs_main)
ProcessMessage(pfrom, strCommand, vMsg)
AddToWalletIfMine()
AddToWallet(wtx)
CRITICAL_BLOCK(cs_mapWallet)
walletdb.WriteName(PubKeyToAddress(vchDefaultKey), "")
CRITICAL_BLOCK(cs_mapAddressBook)
Spotted by ArtForz. Additional deadlock fixes by Gavin.
[1] http://www.bitcoin.org/smf/index.php?topic=4904.msg71897#msg71897
2011-04-04 22:24:35 -04:00
Jeff Garzik
b26141e2c5
Remove 4way SSE2 scanhash implementation.
2011-04-03 14:21:52 -04:00
Jeff Garzik
a2b6c1930d
Update DNS seed list
2011-04-01 11:33:35 -04:00
Matt Corallo
8bb5edc1c9
Allow UPnP mapping when USE_UPNP is defined and miniupnpc is installed at build time(statically linked).
...
Thanks joepie91 for the translation of the new copyright notices into Dutch.
Thanks sipa for the translation of the new copyright notices into French.
Thanks megu for the translation of the new copyright notices into Spanish.
Thanks justmoon/Blitzboom for the translation of the new copyright notices into German.
Thanks Joozero for the translation of the new copyright notices into Italian.
Remaining translations were provided by Google Translate.
2011-03-30 20:45:56 +02:00
tcatm
454bc86479
allow coredumps by not catching SIGSEGV
2011-03-25 13:23:43 +01:00
Jeff Garzik
3a47bf7265
Merge branch 'master' of git://github.com/bitcoin/bitcoin
2011-03-23 18:28:50 -04:00
Jeff Garzik
8203ec4b11
[locale] Regenerate es, nl binary message catalogs
2011-03-23 18:27:09 -04:00
Jeff Garzik
0b8e4738f9
Merge branch 'master' of https://github.com/smola/bitcoin into tmp
2011-03-23 18:21:22 -04:00
Jeff Garzik
d38e683a6f
Merge branch 'dutchloc' of https://github.com/sipa/bitcoin into tmp
2011-03-23 18:21:10 -04:00
tcatm
c3f140033c
catch SIGINT, SIGHUP and SIGSEGV and shutdown cleanly
2011-03-23 18:27:30 +01:00
tcatm
1c09a4adb2
daemon-mode: add sleep() loop to prevent defunct child process, call setsid() in child
2011-03-21 12:11:05 +01:00
Sven Slootweg
a07dca7cd2
Updated dutch translation
2011-03-19 00:58:16 +01:00
Gavin Andresen
b7ebc662eb
Update copyright in About box from 2010 to 2011
2011-03-17 15:09:41 +01:00
Santiago M. Mola
f30dabb2ac
Update Spanish translation.
2011-03-16 20:56:03 +01:00
Jeff Garzik
e2e5f5cd9d
Fix -logtimestamps to only print time prefix once per output line
...
Incorporate BlueMatt's fix to only timestamp upon new line, and
move -logtimestamp checking outside OutputDebugPrintF() to better
future-proof it.
2011-03-16 15:42:04 -04:00
Gavin Andresen
27b7f3b43a
Merge branch 'shy'
2011-03-14 09:15:06 -04:00
Gavin Andresen
4b88647966
Merge branch 'dns-seed' of https://github.com/jgarzik/bitcoin
2011-03-13 17:15:59 -04:00
Gavin Andresen
d43fd8a038
Merge branch 'log-timestamp' of https://github.com/TheBlueMatt/bitcoin
2011-03-13 17:15:57 -04:00
Gavin Andresen
2abd56f428
Merge branch 'limitfree' of /Users/gavin/src/integration_btc
2011-03-13 17:15:44 -04:00
Gavin Andresen
1bf9b3b06f
Merge branch 'daemon-mode' of https://github.com/tcatm/bitcoin
2011-03-13 17:15:34 -04:00
Gavin Andresen
dfd059173d
Merge branch 'subcent-change' of https://github.com/tcatm/bitcoin
2011-03-13 17:15:28 -04:00
Gavin Andresen
b931ed8563
sendmany RPC command, to send to multiple recipients in one transaction.
2011-03-13 17:11:49 -04:00
Gavin Andresen
88abf70386
Make sure rate-limiting code is thread-safe
2011-03-13 14:38:07 -04:00
Gavin Andresen
5de8b54c51
Continuously rate-limit free transactions.
...
Changed algorithm to use continuous exponential function instead of discrete 10-minute window.
Changed -limitfreerelay to be kilobytes-per-minute instead of boolean.
2011-03-13 13:38:09 -04:00
tcatm
f4f2987273
remove from/message field from uiproject
2011-03-13 18:35:39 +01:00
Jeff Garzik
8f58d0dbc8
Merge branch 'smalltxfix' of https://github.com/gavinandresen/bitcoin-git into tmp
2011-03-10 14:32:19 -05:00
Jeff Garzik
12e091842f
Merge branch 'master' of https://github.com/devrandom/bitcoin into tmp
2011-03-10 12:58:49 -05:00
Gavin Andresen
81d3b1c825
Update copyright in About box from 2010 to 2011
2011-03-10 10:50:46 -05:00
Gavin Andresen
32fb5dfef7
Bump version number to 0.3.21 (lest we forget)
2011-03-10 10:50:46 -05:00
Matt Corallo
ca221e6c21
Only log timestamps if -logtimestamps is set.
2011-03-09 21:48:11 +01:00
Matt Corallo
fe460d47b0
Add timestamp prefix to each line in the debug log (this time with human-readable times)
2011-03-09 19:53:40 +01:00
Jeff Garzik
448b4516ff
dnsseed: fix printf
2011-03-08 22:55:29 -05:00
Jeff Garzik
f684aec4f3
DNS seeding
2011-03-08 22:40:50 -05:00
Gavin Andresen
cbc920d474
shy patch from Hal
2011-03-05 17:13:07 -05:00
tcatm
b104df742d
Merge branch 'TheBlueMatt-setaccountfix' into integration
2011-03-05 17:26:14 +01:00
tcatm
8e5aaada2e
Merge branch 'setaccountfix' of https://github.com/TheBlueMatt/bitcoin into TheBlueMatt-setaccountfix
2011-03-05 17:24:34 +01:00
Matt Corallo
c1f74f152b
throw JSONRPCError(-5, "Invalid bitcoin address") instead.
2011-03-05 16:45:56 +01:00
Matt Corallo
279ab5e62f
setaccount should return if an invalid address is provided.
...
This prevents setaccount from creating new accounts which do not have any addresses.
2011-03-05 15:32:32 +01:00
tcatm
e1205e4d15
-help: do not show -server and -daemon in bitcoind
2011-03-03 22:34:13 +01:00
tcatm
ea7cd31751
force fDaemon in bitcoind
2011-03-03 22:31:44 +01:00
tcatm
a79409afa9
fix whitespace
2011-03-03 22:27:20 +01:00
tcatm
dda48ccd0f
fix -daemon switch
2011-03-03 22:26:00 +01:00
Gavin Andresen
f36b494aeb
Make send/receive limits bigger (10MB each)
2011-03-03 16:25:05 -05:00
Gavin Andresen
395c1f44bd
Fix minimum transaction fee calculation mismatch between CreateTransaction and CreateBlock
2011-03-02 16:27:24 -05:00
Gavin Andresen
411493b1f7
Merge branch 'rounding'
2011-03-02 15:03:49 -05:00
Luke Dashjr
a14bf1946d
Bugfix: avoid sub-cent change (lost in fees) whenever possible
2011-03-01 02:10:07 +01:00
Gavin Andresen
8a9cad44a5
Avoid sprintf decimal-point localization
2011-02-28 21:34:36 +00:00
tcatm
6665aca024
fix missing newline in help
2011-02-28 04:53:22 +01:00
tcatm
c993ac6932
Merge branch 'rounding' of https://github.com/gavinandresen/bitcoin-git into gavinandresen-rounding
2011-02-26 04:37:13 +01:00
Matt Giuca
a357424a25
Added .gitignore, which prevents 'bitcoin' and 'bitcoind' from showing up in git.
2011-02-26 11:50:23 +11:00
tcatm
5078a54b52
Merge branch 'mgiuca-wx-config' into integration
2011-02-26 00:59:55 +01:00
Matt Giuca
84711b18bc
build-unix.txt: Updated (now OK to use wxWidgets > 2.9.0).
2011-02-26 09:17:49 +11:00
Matt Giuca
84778a5b46
makefile.unix: Fixed errors building bitcoind without wxWidgets installed.
...
WXINCLUDEPATHS and WXLIBS now assigned with '=' instead of ':='.
This means they are only evaluated on-demand, and they will never be
requested by 'make bitcoind', so it won't try to call wx-config.
2011-02-26 09:12:42 +11:00
Matt Giuca
3415b15a56
makefile.unix: WXINCLUDEPATHS now only used for building GUI object files.
...
Moved it out of CXXFLAGS and into the command-line for the GUI objects.
It will no longer be invoked for non-GUI and crypto object files.
2011-02-26 09:10:10 +11:00
Matt Giuca
8314b7f5e6
makefile.unix: Removed redundant use of wx-config in DEFS (it was being included twice).
...
Also changed wx-config --cppflags to --cxxflags. I am not sure what the
difference is supposed to be, but --cppflags does not include -pthread.
2011-02-26 08:58:15 +11:00
Matt Giuca
32e94947dc
Merge https://github.com/ojab/bitcoin into wx-config
2011-02-26 08:45:38 +11:00
Gavin Andresen
b0ad55a08a
ParseMoney: allow full precision
2011-02-23 16:26:15 -05:00
Gavin Andresen
87504abb07
FormatMoney: show full-precision values
2011-02-23 16:01:17 -05:00
Gavin Andresen
789259d2e7
Do not round input amounts; allow RPC full precision.
2011-02-23 14:41:19 -05:00
Gavin Andresen
83b9f42796
Use ValueFromAmount consistently
2011-02-23 14:24:16 -05:00
Gavin Andresen
ccd7fe8de5
Bump version to 0.3.20.02
2011-02-23 14:12:20 -05:00
tcatm
2175c9dae1
Set SO_REUSEADDR on JSON port
2011-02-23 01:08:27 +01:00
tcatm
10e135af70
Merge branch 'master' of https://github.com/sandos/bitcoin into sandos-master
2011-02-23 01:07:43 +01:00
tcatm
4d9b223ac2
remove From/Message fields from SendDialog
2011-02-23 00:48:30 +01:00
tcatm
6696beed45
Merge branch 'master' of https://github.com/tcatm/bitcoin into tcatm-master
2011-02-22 03:00:09 +01:00
Gavin Andresen
d787e00a3b
Changed setup for mingw toolchain
2011-02-18 10:39:24 -05:00
Gavin Andresen
e6e87891a9
Windows mingw32 makefile and build notes (thanks m0mchil)
2011-02-18 09:49:00 -05:00
Gavin Andresen
930a07c3f5
Bump version to 0.3.20.01
2011-02-17 19:22:08 -05:00
devrandom
0d0bd331ae
move gitian descriptor file
2011-02-17 01:53:52 -08:00
Gavin Andresen
5a3e82f9f5
Set maxconnections default to 125
2011-02-16 14:43:04 -05:00
Gavin Andresen
9cbae55a6e
Denial-of-service flood control
...
Drop connections that are either sending messages too fast to handle or are processing messages so slowly data starts to back up.
Adds two new options:
-maxreceivebuffer Default: 2000 (2000*1000 bytes)
-maxsendbuffer Default: 256 (256*1000 bytes)
2011-02-16 13:18:11 -05:00
Gavin Andresen
cf7c1874fe
Update windows build process for 0.3.20 release
2011-02-14 17:26:24 +00:00
Gavin Andresen
47908a8907
Visual C++ compatibility fixes
2011-02-10 19:24:22 -05:00
sandos
8fd402bfcf
Set SO_REUSEADDR for JSON-RPC port
2011-02-10 09:25:42 +01:00
Daniel Folkinshteyn
d2e2cb0d27
Added 320 fresh seednodes to replace the old ones.
...
Thanks to MagicalTux for providing the data for node uptime
Thanks to sgornick for scapy script to test node connectivity
Closes https://github.com/bitcoin/bitcoin/issues#issue/22
2011-02-07 14:06:17 +01:00
David FRANCOIS
98ba262a48
Reset testnet with a new genesis block
2011-02-03 14:21:21 +01:00
devrandom
768b41017c
add gitian build descriptor
2011-02-01 09:27:14 -08:00
Gavin Andresen
bd7d9140f9
new checkpoint at block 105,000
2011-01-31 11:26:02 -05:00
tcatm
b1ca5eb58a
do not create 'Your Address' account
2011-01-31 17:13:02 +01:00
ojab
f0b7952caa
1. Change hardcoded g++ to $(CXX)
...
2. Change CFLAGS to CXXFLAGS
3. Add binaries to clean target
4. Generate wxWidgets includes/ldflags/etc from wx-config
2011-01-31 15:07:55 +03:00
Gavin Andresen
b1a657a00d
Explicitly state that make -f makfile.unix is the way to build
2011-01-25 09:29:13 -05:00
Chris Moore
d9711a5798
Don't scan the time offsets vector repeatedly once we've displayed the warning that the user's clock may be wrong.
2011-01-24 16:25:41 -08:00
Chris Moore
10abe4f26e
Repeatedly resetting the timestamp for seed nodes in the database was slow. Only update the database if it's a real change.
2011-01-24 14:47:36 -08:00
Gavin Andresen
84e7ad922b
Bump version number to 0.3.20
2011-01-24 11:13:25 -05:00
Chris Moore
4698dd9a02
Fix -maxconnections. It used to account for the 8 outbound connections twice when calculating the number of slots left for incoming connections.
2011-01-23 00:08:09 -08:00
Gavin Andresen
c90ea2bd6d
cpuid instruction clobbers eax/ebx/ecx/edx
2011-01-22 16:04:07 -05:00
Chris Moore
fdec7fe203
Merge branch show-version-in-help-2 of https://github.com/dooglus/bitcoin
2011-01-21 12:14:20 -08:00
Chris Moore
18cb92ab18
Merge branch 'display-version-in-help' of https://github.com/mhanne/bitcoin
2011-01-21 12:09:32 -08:00
Chris Moore
86c0af514b
Merge branch 'rpcssl-help' of github.com:dooglus/bitcoin into dooglus-rpcssl-help
2011-01-21 11:59:56 -08:00
Chris Moore
2aadc8bb5b
The -rpcssl command line option is a boolean, like -server, -daemon, -testnet, etc. Specifying -rpcssl=1 is the same as just -rpcssl, as for any other boolean flag, so let's show it the same in the help text.
2011-01-21 10:14:33 -08:00
Gavin Andresen
ae42d69d72
Updated development process description
2011-01-21 10:52:48 -05:00
Chris Moore
5284e1b60e
Add const bool VERSION_IS_BETA to serialize.h and use it when formatting the version string. Show the version string in --help text too.
2011-01-21 02:37:34 -08:00
Gavin Andresen
05563e9ef2
Add -rescan option to --help output
2011-01-20 16:29:07 -05:00
Gavin Andresen
458cf9070b
Merge branch 'printtoconsole' of https://github.com/dooglus/bitcoin into integration
2011-01-20 16:22:33 -05:00
Gavin Andresen
245e1b4fdb
Merge branch '4wayswitch' of https://github.com/dooglus/bitcoin into integration
2011-01-20 16:21:59 -05:00
Gavin Andresen
87c1947d49
Merge branch 'showdefaultsinhelp' of https://github.com/dooglus/bitcoin into integration
2011-01-20 16:20:11 -05:00
Chris
8b8d59eefb
Don't use GetBoolArg() and mapArgs; use one or the other.
2011-01-20 12:26:33 -08:00
Gavin Andresen
dbe79d3451
Fix bus error in DebugPrint if -datadir given non-existent directory.
2011-01-20 14:57:46 -05:00
Chris
10152506fe
The --help text wasn't showing the default values for three of the options, as follows:
...
-rpcport (default: 8332)
-rpcconnect (default: 127.0.0.1)
-keypool (default: 100)
Edited the --help text to include the defaults.
2011-01-20 11:49:29 -08:00
Chris
aaac71d38f
Add new command line argument "-printtoconsole" to send debugging output to the console instead of to debug.log. The code for this was already in place, but there was no way other than editing the source and rebuilding to turn it on.
2011-01-20 11:45:01 -08:00
Gavin Andresen
415535e47b
Merge branch 'fix-statusbar-color' of https://github.com/mhanne/bitcoin into FIXES
2011-01-20 14:20:52 -05:00
Gavin Andresen
3475caf8f5
Merge branch 'issue34' of https://github.com/dooglus/bitcoin into FIXES
2011-01-20 14:18:51 -05:00
Gavin Andresen
f1307515b7
print -rescan timing info in debug.log
2011-01-20 14:12:10 -05:00
Chris
ab931be45b
Fix issue 34: correct spelling of -rpcsslcertificatechainfile in --help text.
2011-01-20 10:49:44 -08:00
Gavin Andresen
d9574c2f14
Reconcile getbalance and listaccounts 0 in the shared-wallet case
...
If you copied your wallet and used it on two different machines, the balance reported by getbalance and the sum(listaccounts) could disagree, because you might receive payments for an address that is in your wallet but not your address book. Now all such transactions are credited to the default empty-string account.
2011-01-20 13:10:01 -05:00
Gavin Andresen
1d23c74361
ReacceptWalletTransactions bugfix
...
Fix two bugs that can happen if you copy your wallet to another machine
and perform transactions on both.
First, ReacceptWalletTransactions would notice if the other wallet spent coins, and
would correctly mark the receiving transaction spent. However, it did not add the spending
transaction to the wallet. Now it does.
Second, account balances could get out of sync with 'getbalance' because coins received
by the other copy of the wallet were not necessarily detected. Now ReacceptWalletTransactions
will scan the entire blockchain for transactions that should be in the wallet if it runs
across a 'spent in the other wallet' transaction.
Finally, there was a small bug in the accounts getbalance code-- generated coins with between
100 and 119 confirmations were not being counted in the balance of account "".
2011-01-19 16:50:20 -05:00
Marius Hanne
0654e1c4ef
include version information in help output
2011-01-19 22:49:12 +01:00
Marius Hanne
ed4e8830d7
don't set statusbar background color
...
people with dark system theme otherwise have white text on light-grey bg
2011-01-19 01:27:58 +01:00
Gavin Andresen
c9f70b381d
Merge branch 'integration' into FIXES
2011-01-18 14:46:46 -05:00
Gavin Andresen
b4671902f2
Merge branch 'listaccountsbug' of https://github.com/gavinandresen/bitcoin-git into integration
2011-01-18 14:35:50 -05:00
Gavin Andresen
76e97c4002
Merge branch 'gettransaction' of https://github.com/gavinandresen/bitcoin-git into integration
2011-01-18 14:35:03 -05:00
Gavin Andresen
1aefe491fb
Merge branch 'setaccountbug' of https://github.com/gavinandresen/bitcoin-git into integration
2011-01-18 14:33:18 -05:00
David FRANCOIS
04a9217dcf
Add the -keypool option description to help output
2011-01-14 20:55:36 +01:00
Gavin Andresen
fa446a563e
Fix setaccount/getaccountaddress interaction bug
...
See https://github.com/bitcoin/bitcoin/issues#issue/29
2011-01-13 20:04:56 -05:00
Gavin Andresen
2eb09b66ef
Fix so listaccounts with minconf works.
2011-01-10 13:54:39 -05:00
Gavin Andresen
80be6e69a9
Add account/address details to gettransaction output
2011-01-07 14:10:08 -05:00
Gavin Andresen
009d5fb41f
Merge branch 'listaddresses' into integration
2011-01-06 08:56:10 -05:00
Gavin Andresen
f86655fddd
Add time to category:move transactions.
2011-01-05 09:52:52 -05:00
Gavin Andresen
0ded557af6
Merge branch 'listaddresses' of https://github.com/gavinandresen/bitcoin-git
2011-01-03 14:45:49 -05:00
Witchspace
72b9861635
don't advertise on IRC if we don't allow external connections
2010-12-24 10:25:21 +01:00
Witchspace
5f88e8887a
add -nolisten command line option
2010-12-22 14:08:00 +01:00
Gavin Andresen
ddb68acebe
Add address to listtransactions output
2010-12-21 13:39:10 -05:00
Gavin Andresen
2d96276e24
EndModal fix for Mac from piotrp
2010-12-20 12:51:26 -05:00
Gavin Andresen
86c2bdfd5d
EndModal fix for Mac from piotrp
2010-12-20 10:36:48 -05:00
Gavin Andresen
cba3a1741a
Straw-man for dev process
2010-12-19 10:39:36 -05:00
Gavin Andresen
5568d82c26
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-17 16:23:47 -05:00
gavinandresen
1c0bf23ba2
Missed a int64_t cast when I added transaction time output
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@205 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-17 20:16:27 +00:00
Gavin Andresen
8250760617
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-16 13:24:47 -05:00
gavinandresen
59948a6e1c
listtransactions was reporting address instead of account for 'receive'
...
setgenerate true 0 is now the same as setgenerate false
And return transaction time
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@204 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-16 18:17:26 +00:00
Gavin Andresen
55c43da5d8
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-16 11:36:47 -05:00
gavinandresen
809ee79592
New RPC command: listaccounts. New RPC setting -rpctimeout. And listtransactions '*'
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@203 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-16 01:06:03 +00:00
s_nakamoto
629e37dde1
get external ip from irc
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@202 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-15 22:43:51 +00:00
Gavin Andresen
bc530fe89f
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-13 14:28:59 -05:00
s_nakamoto
fc73ad644f
-- version 0.3.19 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@201 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-13 16:26:14 +00:00
Gavin Andresen
9c17a685bd
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-12 16:03:42 -05:00
s_nakamoto
986b5e257e
correction
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@200 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-12 18:38:02 +00:00
s_nakamoto
97ee01ad89
added some DoS limits, removed safe mode
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@199 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-12 18:20:36 +00:00
Gavin Andresen
d12e53ea09
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-08 20:06:44 -05:00
s_nakamoto
8220180133
-- version 0.3.18 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@198 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-08 23:23:48 +00:00
gavinandresen
a206a23980
IsStandard() check for CScripts: only relay/include in blocks CScripts we can understand.
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@197 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-07 13:43:31 +00:00
Gavin Andresen
0a87c91692
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-06 18:58:31 -05:00
s_nakamoto
865c3a2383
fix wallet.dat compatibility problem if you downgrade from 0.3.17 and then upgrade again
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@196 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-06 15:59:28 +00:00
s_nakamoto
f03304a9c7
preps for future client-only mode,
...
jgarzik's initial download speedup
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@195 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-05 09:29:30 +00:00
gavinandresen
bdde31d787
All boolean options/flags now work the same way.
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@194 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-03 19:38:09 +00:00
Gavin Andresen
0575c0a667
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-01 09:20:49 -05:00
gavinandresen
bfd471f53e
JSON methods: listtransactions, gettransaction, move, sendfrom and getbalance <account>
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@193 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-30 18:58:11 +00:00
Gavin Andresen
6f8ba620c2
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-28 10:56:51 -05:00
s_nakamoto
84d7c981dc
added boost tuples to serialize.h
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@192 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-27 23:12:41 +00:00
s_nakamoto
24324d83e8
-- version 0.3.17 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@191 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-25 20:41:57 +00:00
s_nakamoto
b7ccd48dd8
still working on account-based commands getbalance, move and sendfrom, they're only for testing for now
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@190 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-25 16:40:25 +00:00
Gavin Andresen
94073ecf7b
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-23 15:01:34 -05:00
s_nakamoto
776d0f3459
new getwork
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@189 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-23 19:16:36 +00:00
Gavin Andresen
262430f705
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-22 11:34:13 -05:00
gavinandresen
e4ff4e6898
Depracate "label" API, replacing with account
...
New RPC methods: move, sendfrom
Change to getbalance (now takes optional [account] argument)
Renamed methods with "label" in their names.
sendtoaddress returns hexadecimal transaction ID instead of "sent".
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@188 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-22 15:53:20 +00:00
Gavin Andresen
593f74b9cb
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-22 00:06:42 -05:00
s_nakamoto
298a771494
added transaction fee setting in UI options menu,
...
cut free transaction area from 50KB to 26KB
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@187 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-21 22:46:19 +00:00
Gavin Andresen
2d8b65e837
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-21 15:48:48 -05:00
s_nakamoto
51d9b435cd
small bugfix
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@186 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-20 02:12:03 +00:00
s_nakamoto
f35e21e2e4
require some minimal priority for free transactions to slow down transaction spam
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@185 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-19 23:37:05 +00:00
s_nakamoto
683bcb9154
efficiently sort transaction dependencies in one pass
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@184 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-19 20:22:46 +00:00
Gavin Andresen
11c570cfb4
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-17 20:51:36 -05:00
gavinandresen
c4679ad0f1
OutputDebugStringF fix for Mac FileVault problem, take 3
...
(cannot use a CRITICAL_BLOCK because of undefined order calling static destructors;
instead, keep debug.log open, and tell people to use copytruncate when doing
log rotation)
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@183 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-18 00:11:33 +00:00
gavinandresen
2f7a9997c8
Make OutputDebugStringF thread-safe again (thanks ArtForz for catching)
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@182 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-16 17:41:44 +00:00
Gavin Andresen
8595d31ee8
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-16 09:04:24 -05:00
gavinandresen
026c5f7617
Re-open debug.log every ten minutes instead of every printf; fixes performance problem with Mac FileVault.
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@181 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-16 02:32:36 +00:00
gavinandresen
222e3de4be
Update websites used for GetMyExternalIP
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@180 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-15 21:37:33 +00:00
s_nakamoto
910bd45756
-- version 0.3.15 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@179 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-14 00:06:10 +00:00
Gavin Andresen
a0cd439788
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-10 11:45:51 -05:00
gavinandresen
838e8c9166
Add paytxfee to getinfo output
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@178 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-10 16:43:31 +00:00
Gavin Andresen
695aa2d5a2
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-09 17:10:43 -05:00
s_nakamoto
e2a186af10
SelectCoins first pass tries not to use coins with less than 6 confirmations
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@177 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-09 19:47:07 +00:00
Gavin Andresen
5d4b0c9026
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-08 18:05:34 -05:00
s_nakamoto
461764cbbe
-paytxfee is now per KB,
...
BitcoinMiner prioritise transactions by how old their dependencies are
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@176 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-08 22:06:07 +00:00
Gavin Andresen
de374ba6b1
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-03 20:24:50 -04:00
gavinandresen
3b8848fa4e
Fix IsInitialBlockDownload if running on testnet
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@175 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-04 00:23:00 +00:00
gavinandresen
3cac997e19
Prevent double-sends from quick double-button-clicks
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@174 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-03 23:40:43 +00:00
Gavin Andresen
be7eecafd2
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-10-23 21:32:19 -04:00
s_nakamoto
c891967b6f
bugfixes from Dean Gores,
...
addr system changes,
make sure no gen before block 74000
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@173 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-23 17:43:53 +00:00
Gavin Andresen
2ea321d85a
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-10-22 11:23:12 -04:00
gavinandresen
c285051c08
testnet and keypoololdest added to RPC getinfo output. And RPC now sends proper HTTP Date headers.
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@172 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-22 15:15:20 +00:00
s_nakamoto
2ce73dbe85
-- version 0.3.14 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@171 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-21 16:47:16 +00:00
Gavin Andresen
07c46dac87
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-10-20 12:35:35 -04:00
s_nakamoto
d9c6b09ac4
Gavin Andresen: multiple instance check, -testnet use port 18333
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@170 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-20 16:12:23 +00:00
gavinandresen
2ea5fa0710
validateaddress RPC command
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@169 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-20 15:58:16 +00:00
Gavin Andresen
bcd88403e2
Update README now that main svn has -testnet built in
2010-10-19 16:43:50 -04:00
Gavin Andresen
d1e4a866ad
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-10-19 14:17:18 -04:00
s_nakamoto
5cbf75324d
Gavin's TEST network as -testnet switch, misc fixes
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@168 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-19 17:16:51 +00:00
Gavin Andresen
2bda554be4
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-10-14 16:46:16 -04:00
gavinandresen
2fad3d34b7
makefile.unix tweak from Xunie so bitcoind links on Ubuntu 10.04 x86_64
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@167 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-14 13:33:03 +00:00
Gavin Andresen
cc8005b4e7
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-10-11 15:15:09 -04:00
gavinandresen
77cd030ac3
Fixed description of -rpcuser/-rpcpassword options.
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@166 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-11 18:32:33 +00:00
gavinandresen
ed54768f5f
-rpcssl=1 option, allowing secure HTTPS JSON-RPC connections on OSX/Unix.
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@165 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-11 18:23:41 +00:00
s_nakamoto
83082f04a4
dkaparis: boost::bind build fix for c++0x
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@164 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-11 15:12:17 +00:00
Gavin Andresen
687c5ef794
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-10-09 17:59:38 -04:00
s_nakamoto
103849419a
key pool for safer wallet backup
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@163 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-09 19:33:35 +00:00
Gavin Andresen
7d5d89856d
Merge remote branch 'remotes/svn/trunk' into svn
2010-10-06 21:20:16 -04:00
s_nakamoto
0a27bd065e
updated Russian translation
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@162 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-06 15:43:04 +00:00
Gavin Andresen
1b5e57e935
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-10-05 23:27:30 -04:00
s_nakamoto
b22c884231
recursive function to determine if own unconfirmed transaction can be spent
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@161 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-06 02:19:47 +00:00
Gavin Andresen
a2ae4a8a0f
Merge remote branch 'remotes/svn/trunk' into svn
2010-10-05 14:14:17 -04:00
s_nakamoto
dc8adc3b48
Russian translation by eurekafag
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@160 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-10-04 01:40:50 +00:00
Gavin Andresen
5ccee900a0
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-10-01 11:25:09 -04:00
s_nakamoto
178152f604
fixed linux build,
...
dkaparis: _WIN32_WINNT 0x500
-- version 0.3.13 release
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@159 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-30 23:54:15 +00:00
Gavin Andresen
369010406e
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-09-30 14:28:23 -04:00
s_nakamoto
a790fa46f4
don't count or spend payments until they have 1 confirmation,
...
misc cleanup,
changed internal version number from 312 to 31300
-- version 0.3.13
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@158 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-30 16:23:07 +00:00
Gavin Andresen
6ce5af574f
Merge commit 'svn/trunk' into svn
2010-09-23 18:15:51 +00:00
Gavin Andresen
81b2d877fb
Update README.md
2010-09-23 18:06:50 +00:00
Gavin Andresen
3764c12b1f
Merge remote branch 'svn/trunk' into svn
2010-09-23 13:14:52 -04:00
s_nakamoto
9b8eb4d690
changed free transactions per block threshold
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@157 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-23 16:01:44 +00:00
s_nakamoto
8d13ca1f11
changed free transactions per block threshold
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@157 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-23 16:01:44 +00:00
Gavin Andresen
645cc8cf49
Add branch README.md
2010-09-23 14:56:43 +00:00
Gavin Andresen
1c21b7943d
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-09-19 19:29:03 -04:00
s_nakamoto
172f006020
only accept transactions sent by IP address if -allowreceivebyip is specified
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@156 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-19 21:20:34 +00:00
s_nakamoto
6aeb45187b
only accept transactions sent by IP address if -allowreceivebyip is specified
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@156 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-19 21:20:34 +00:00
Gavin Andresen
a43a7dfa58
Merge remote branch 'remotes/svn/trunk' into svn
2010-09-15 22:31:09 -04:00
s_nakamoto
efae3da41d
config option -rpcallowip= to accept json-rpc connections from another machine
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@155 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-15 22:10:13 +00:00
s_nakamoto
fe37c35018
config option -rpcallowip= to accept json-rpc connections from another machine
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@155 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-15 22:10:13 +00:00
Gavin Andresen
4b36f34d6d
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-09-15 10:47:41 -04:00
s_nakamoto
3df62878c3
reorganize BitcoinMiner to make it easier to add different SHA256 routines
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@154 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-13 22:14:24 +00:00
s_nakamoto
71cc095cb2
reorganize BitcoinMiner to make it easier to add different SHA256 routines
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@154 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-13 22:14:24 +00:00
Gavin Andresen
43e4a2a289
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-09-13 10:46:31 -04:00
s_nakamoto
fdbf76d4f4
dropped DB_PRIVATE from dbenv.open
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@153 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-12 17:30:15 +00:00
s_nakamoto
c8ad9b8375
dropped DB_PRIVATE from dbenv.open
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@153 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-12 17:30:15 +00:00
Gavin Andresen
41016bfc46
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-09-10 19:18:27 -04:00
s_nakamoto
c39b06866e
fix build on non-intel architectures, thanks teknohog
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@152 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-10 18:07:48 +00:00
s_nakamoto
2323664a37
fix build on non-intel architectures, thanks teknohog
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@152 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-10 18:07:48 +00:00
s_nakamoto
4968232490
fix problem sending the last cent with sub-cent fractional change
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@151 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-10 16:58:59 +00:00
s_nakamoto
00728c24e7
fix problem sending the last cent with sub-cent fractional change
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@151 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-10 16:58:59 +00:00
Gavin Andresen
90e165aa0c
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-09-09 14:26:53 -04:00
s_nakamoto
7629d36a53
try to auto-detect whether to use 128-bit 4-way SSE2
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@150 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-09 01:00:40 +00:00
s_nakamoto
8555125a1a
try to auto-detect whether to use 128-bit 4-way SSE2
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@150 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-09 01:00:40 +00:00
s_nakamoto
3f64753779
Gavin Andresen: clean shutdown on SIGTERM
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@149 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-08 19:24:32 +00:00
s_nakamoto
14002c8eba
Gavin Andresen: clean shutdown on SIGTERM
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@149 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-08 19:24:32 +00:00
Gavin Andresen
a2120986ff
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-09-06 21:51:27 -04:00
s_nakamoto
f1e1fb4bde
cleanup,
...
catch some recoverable exceptions and continue
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@148 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-07 01:12:53 +00:00
s_nakamoto
8c9479c6bb
cleanup,
...
catch some recoverable exceptions and continue
-- version 0.3.12 release
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@148 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-07 01:12:53 +00:00
Gavin Andresen
6690680538
Merge remote branch 'remotes/svn/trunk' into svn
2010-09-06 19:05:27 -04:00
s_nakamoto
d743f03552
Gavin Andresen: json-rpc return standard error objects with error code numbers,
...
json-rpc command line client return exit code,
added rpc backupwallet command
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@147 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-09-06 21:03:04 +00:00
Gavin Andresen
2742fdfda2
Merge remote branch 'remotes/svn/trunk' into svn
2010-09-02 13:42:31 -04:00
s_nakamoto
0a61b0df12
propset svn:eol-style native
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@146 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-29 16:58:15 +00:00
Satoshi Nakamoto
343328c6b8
added -testsafemode switch
...
-- version 0.3.11 release
2010-08-28 00:55:50 +00:00
Satoshi Nakamoto
d3631907d6
change switch name to -disablesafemode
2010-08-28 00:55:19 +00:00
Satoshi Nakamoto
87cfcfd374
more rpc methods allowed in safe mode
2010-08-28 00:54:37 +00:00
Satoshi Nakamoto
522dfe3422
alert system
...
-- version 0.3.11
2010-08-28 00:51:52 +00:00
Satoshi Nakamoto
c545563d46
warning message if clock is too far off
2010-08-28 00:50:40 +00:00
Satoshi Nakamoto
7a37c906a1
block index checking on load, extra redundant checks, misc refactoring
2010-08-28 00:49:30 +00:00
s_nakamoto
5b721607b1
added -testsafemode switch
...
-- version 0.3.11 release
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@145 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-25 17:53:09 +00:00
s_nakamoto
2ef9cfa5b8
change switch name to -disablesafemode
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@144 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-25 16:33:38 +00:00
s_nakamoto
7d7797b141
more rpc methods allowed in safe mode
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@143 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-25 14:18:56 +00:00
s_nakamoto
401926283a
alert system
...
-- version 0.3.11
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@142 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-25 00:05:37 +00:00
s_nakamoto
2201a0808e
warning message if clock is too far off
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@141 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-20 16:55:14 +00:00
s_nakamoto
05454818dc
block index checking on load, extra redundant checks, misc refactoring
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@140 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-19 22:43:19 +00:00
Satoshi Nakamoto
43deefa435
do an extra CheckBlock in ConnectBlock
2010-08-16 20:55:54 +00:00
Satoshi Nakamoto
21ca2d833b
erase the bad chain after disconnecting it
2010-08-16 20:54:47 +00:00
Satoshi Nakamoto
bb3fd02930
blocks-1,
...
verify block chain on load, so wouldn't have needed to delete blk*.dat, it would have done a reorg automatically
2010-08-16 20:53:49 +00:00
Satoshi Nakamoto
c923cdbd5b
wrap sha256.cpp in FOURWAYSSE2 #ifdef
2010-08-16 20:52:36 +00:00
Satoshi Nakamoto
019b456605
added -march=amdfam10 to sha256.cpp in makefile.unix
2010-08-16 20:51:46 +00:00
Satoshi Nakamoto
7d489192fd
makefile.unix to build with option to enable tcatm's 4-way SSE2 SHA-256 with -4way switch on Linux
2010-08-16 20:50:37 +00:00
s_nakamoto
44a0de1861
do an extra CheckBlock in ConnectBlock
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@139 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-16 18:46:02 +00:00
s_nakamoto
a01d5876fa
erase the bad chain after disconnecting it
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@138 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-16 17:51:10 +00:00
s_nakamoto
15399da9fe
blocks-1,
...
verify block chain on load, so wouldn't have needed to delete blk*.dat, it would have done a reorg automatically
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@137 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-16 17:05:50 +00:00
s_nakamoto
6da916d4ac
wrap sha256.cpp in FOURWAYSSE2 #ifdef
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@136 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-16 13:37:00 +00:00
s_nakamoto
e540144b2e
added -march=amdfam10 to sha256.cpp in makefile.unix
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@135 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-16 13:11:32 +00:00
Satoshi Nakamoto
76793dc969
fix for block 74638 overflow output transaction
2010-08-15 23:09:29 +00:00
Satoshi Nakamoto
6ac7f9f144
misc changes
2010-08-15 23:06:05 +00:00
s_nakamoto
08fee75201
makefile.unix to build with option to enable tcatm's 4-way SSE2 SHA-256 with -4way switch on Linux
...
-- version 0.3.10 release
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@134 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-15 22:46:58 +00:00
s_nakamoto
85de7d7c0c
scanback check to prevent adding to the 74638 overflow chain
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@133 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-15 22:21:03 +00:00
s_nakamoto
d4c6b90ca3
fix for block 74638 overflow output transaction
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@132 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-15 21:35:24 +00:00
s_nakamoto
4bd188c438
misc changes
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@131 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-15 21:05:16 +00:00
Gavin Andresen
2d12315c94
Quick fix: bad block 74,652
2010-08-15 20:28:01 +00:00
Satoshi Nakamoto
7f71fd13ae
fix -datadir=./subdir relative path,
...
autostart off by default except on windows,
fix occasional "vector iterator not dereferencable" assertion with msvc,
fix readlink compile warning on linux build,
use sys/param.h and BSD define instead of __BSD__,
-paytxfee switch
2010-08-13 02:23:46 +00:00
s_nakamoto
01cd2fdaf3
fix -datadir=./subdir relative path,
...
autostart off by default except on windows,
fix occasional "vector iterator not dereferencable" assertion with msvc,
fix readlink compile warning on linux build,
use sys/param.h and BSD define instead of __BSD__,
-paytxfee switch
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@130 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-12 21:13:43 +00:00
Satoshi Nakamoto
819adfff6f
fix build, thanks jgarzik
2010-08-12 13:28:22 +00:00
Satoshi Nakamoto
f5d2bc8a36
disable SSE2 on 32-bit
2010-08-12 13:26:20 +00:00
Satoshi Nakamoto
9db7bf5f52
gethashespersec and added version and hashespersec to getinfo
2010-08-12 13:23:02 +00:00
Satoshi Nakamoto
410b618d18
json-spirit print reals with 8 decimal places,
...
bitcoind help <command> instead of bitcoind <command> -?
2010-08-12 13:20:57 +00:00
s_nakamoto
4287732797
fix build, thanks jgarzik
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@129 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-11 01:38:24 +00:00
s_nakamoto
0cff7a8aa7
disable SSE2 on 32-bit
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@128 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-10 23:43:37 +00:00
s_nakamoto
fb83d28768
gethashespersec and added version and hashespersec to getinfo
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@127 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-10 22:55:23 +00:00
s_nakamoto
342e1b7338
json-spirit print reals with 8 decimal places,
...
bitcoind help <command> instead of bitcoind <command> -?
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@126 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-10 19:21:17 +00:00
Satoshi Nakamoto
c2fa70ddfd
always make 8 outbound connections even if have inbound,
...
limit one outbound connection per a.b.?.? range,
switch -maxconnections=#
2010-08-10 16:03:01 +00:00
Satoshi Nakamoto
8a38d5663a
enable SSE2 in all builds to fix crypto++ SHA-256 on 64-bit
2010-08-10 16:01:23 +00:00
Satoshi Nakamoto
dd9e71843b
correct typo for mac compile, update makefile to use llvm
2010-08-10 15:57:38 +00:00
s_nakamoto
94cfec07fd
always make 8 outbound connections even if have inbound,
...
limit one outbound connection per a.b.?.? range,
switch -maxconnections=#
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@125 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-09 20:00:17 +00:00
s_nakamoto
e6b7ab5749
enable SSE2 in all builds to fix crypto++ SHA-256 on 64-bit
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@124 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-09 19:54:40 +00:00
laszloh
0c50722270
correct typo for mac compile, update makefile to use llvm
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@123 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-04 04:15:38 +00:00
Satoshi Nakamoto
b34e8c3c36
new safety feature displays a warning message and locks down RPC if it detects a problem that may require an upgrade
...
-- version 0.3.8
2010-08-04 01:51:34 +00:00
s_nakamoto
2c06be915d
new safety feature displays a warning message and locks down RPC if it detects a problem that may require an upgrade
...
-- version 0.3.8
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@122 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-08-03 18:25:05 +00:00
Satoshi Nakamoto
73aa262647
fixed segfault in bignum.h, additional security limits, refactoring
...
-- version 0.3.7
2010-07-31 20:12:05 +00:00
s_nakamoto
6ff5f718b6
fixed segfault in bignum.h,
...
additional security limits,
refactoring
-- version 0.3.7
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@121 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-31 19:15:48 +00:00
--author=Satoshi Nakamoto
e1cb7ce017
simplified makefile.unix, updated build-unix.txt instructions to include boost 1.37
2010-07-31 14:14:41 +00:00
s_nakamoto
01bed1828b
simplified makefile.unix, updated build-unix.txt instructions to include boost 1.37
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@120 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-30 23:22:55 +00:00
--author=Satoshi Nakamoto
a75560d828
reverted makefile.unix wx-config -- version 0.3.6
2010-07-30 17:36:06 +00:00
--author=Satoshi Nakamoto
ec82517c89
Fredrik Roubert: simplified makefile.unix with wx-config, misc
2010-07-30 17:35:17 +00:00
--author=Satoshi Nakamoto
31ffe954b6
fixed makefile.osx
2010-07-30 17:31:39 +00:00
--author=Satoshi Nakamoto
872d60f6e4
fixed makefile.vc
2010-07-30 17:31:05 +00:00
s_nakamoto
757f0769d8
reverted makefile.unix wx-config -- version 0.3.6
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@119 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-29 20:27:12 +00:00
s_nakamoto
17b2740289
Fredrik Roubert: simplified makefile.unix with wx-config,
...
misc
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@118 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-29 15:34:48 +00:00
s_nakamoto
f6f8237a74
fixed makefile.osx
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@117 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-28 21:17:35 +00:00
s_nakamoto
0bd084011a
fixed makefile.vc
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@116 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-28 21:11:09 +00:00
--author=Satoshi Nakamoto
2689f4d02b
better IsInitialBlockDownload
2010-07-27 20:46:41 +00:00
--author=Satoshi Nakamoto
3dd20ff2f8
added a subset of Crypto++ 5.6.0 with 48% faster ASM SHA-256, combined speedup 2.5x faster vs 0.3.3, thanks BlackEye for figuring out the alignment problem
2010-07-27 20:43:55 +00:00
s_nakamoto
f79751c299
better IsInitialBlockDownload
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@115 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-27 19:43:04 +00:00
s_nakamoto
813505cc13
added a subset of Crypto++ 5.6.0 with 48% faster ASM SHA-256, combined speedup 2.5x faster vs 0.3.3, thanks BlackEye for figuring out the alignment problem
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@114 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-27 18:14:32 +00:00
--author=Satoshi Nakamoto
9f35575ca3
tcatm's cached SHA256 state idea, about 70% faster generating
2010-07-27 14:21:02 +00:00
s_nakamoto
520f367319
tcatm's cached SHA256 state idea, about 70% faster generating
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@113 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-27 01:14:33 +00:00
Satoshi Nakamoto
b6dc3b517b
bitcoind now compiles without wxWidgets or wxBase
2010-07-26 17:44:51 +00:00
Gavin Andresen
f0c11b1917
Gavin: BIO_FLAGS_BASE64_NO_NL
2010-07-26 17:41:47 +00:00
Satoshi Nakamoto
40cd036941
Gavin Andresen's JSON-RPC HTTP authentication,
...
faster initial block download
-- version 0.3.3
2010-07-26 17:40:05 +00:00
s_nakamoto
793200e5e9
bitcoind now compiles without wxWidgets or wxBase
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@112 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-26 17:15:18 +00:00
s_nakamoto
6966768a55
Gavin: BIO_FLAGS_BASE64_NO_NL
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@111 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-25 21:49:21 +00:00
s_nakamoto
7d46f9250c
Lachesis: remove newlines every 64 characters in EncodeBase64
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@110 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-25 21:29:07 +00:00
s_nakamoto
3b7cd5d89a
Gavin Andresen's JSON-RPC HTTP authentication,
...
faster initial block download
-- version 0.3.3
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@109 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-25 16:45:21 +00:00
Gavin Andresen
fe98cf8dc5
Configuration file, HTTP Basic authentication
2010-07-23 13:58:39 +00:00
Gavin Andresen
e96cd730d1
json-rpc password, minor UI tweaks, removed some outdated txt files
2010-07-19 01:18:46 +00:00
Gavin Andresen
4110f33cde
security safeguards,
...
limited addr messages
-- version 0.3.2
2010-07-19 01:12:24 +00:00
Gavin Andresen
8e79c64750
version 0.3.1 release
2010-07-19 01:10:37 +00:00
Gavin Andresen
05708fc63e
Spanish translation by milkiway,
...
French translation by aidos
2010-07-19 01:08:47 +00:00
Gavin Andresen
9d2174b6f5
version 0.3.1 rc1
2010-07-19 01:02:04 +00:00
s_nakamoto
e8bff10f07
minor UI tweaks, removed some outdated txt files,
...
(and json-rpc password -rpcpw= switch, which we're going to revert)
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@108 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-18 20:47:29 +00:00
s_nakamoto
ae922a36a4
security safeguards,
...
limited addr messages
-- version 0.3.2
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@107 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-17 23:51:16 +00:00
s_nakamoto
673a6d15d9
version 0.3.1 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@106 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-16 23:12:58 +00:00
s_nakamoto
0bbc812f48
Spanish translation by milkiway,
...
French translation by aidos
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@105 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-15 19:11:51 +00:00
s_nakamoto
d01eaf0421
version 0.3.1 rc1
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@104 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-15 16:46:46 +00:00
s_nakamoto
a30b56ebe7
fix openssl linkage problems,
...
disable minimize to tray on Linux because it has too many problems including a CPU peg bug
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@103 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-15 00:18:45 +00:00
Gavin Andresen
8bd66202c3
Fix CRLF
2010-07-14 15:54:31 +00:00
s_nakamoto
6e5d67e827
switched from wxStandardPaths to GetDefaultDataDir, fixes bug reported by m0mchil when username contains non-lower-ASCII characters
...
-- version 0.3.1
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@102 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-09 15:29:48 +00:00
s_nakamoto
f32339e700
switched from wxStandardPaths to GetDefaultDataDir, fixes bug reported by m0mchil when username contains non-lower-ASCII characters
...
-- version 0.3.1
2010-07-09 15:29:48 +00:00
s_nakamoto
20c6bfad1e
Gavin Andresen: implementation of autostart on system startup option on Linux
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@101 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-09 02:11:50 +00:00
s_nakamoto
c8063ff034
Gavin Andresen: implementation of autostart on system startup option on Linux
2010-07-09 02:11:50 +00:00
s_nakamoto
50d49d9c2e
Portuguese translation by Tiago Faria
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@100 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-08 18:07:14 +00:00
s_nakamoto
cefe611ce5
Portuguese translation by Tiago Faria
2010-07-08 18:07:14 +00:00
s_nakamoto
d882773789
Laszlo's fix to make generate threads idle priority on Linux,
...
replaced some wxBase dependencies: wxMutex, wxFileExists, wxStandardPaths, wxGetLocalTimeMillis
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@99 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-08 16:14:56 +00:00
s_nakamoto
a280b4e661
Laszlo's fix to make generate threads idle priority on Linux,
...
replaced some wxBase dependencies: wxMutex, wxFileExists, wxStandardPaths, wxGetLocalTimeMillis
2010-07-08 16:14:56 +00:00
s_nakamoto
d77eac25b2
version 0.3 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@97 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-04 06:15:06 +00:00
s_nakamoto
603c7ccea8
version 0.3 release
2010-07-04 06:15:06 +00:00
s_nakamoto
f077bc0f48
reduced max outbound connections from 15 to 8 --version 0.3 rc4
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@96 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-07-02 23:43:29 +00:00
s_nakamoto
64f9370691
reduced max outbound connections from 15 to 8 --version 0.3 rc4
2010-07-02 23:43:29 +00:00
s_nakamoto
06c4716396
version 0.3 rc2
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@95 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-26 15:47:45 +00:00
s_nakamoto
e2bf701454
version 0.3 rc2
2010-06-26 15:47:45 +00:00
s_nakamoto
8700fae12a
build-unix.txt: updated a few version numbers
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@94 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-26 00:23:16 +00:00
s_nakamoto
c929529f9f
build-unix.txt: updated a few version numbers
2010-06-26 00:23:16 +00:00
s_nakamoto
340120853f
updated build-unix.txt instructions: sudo apt-get install libboost-all-dev
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@93 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-24 16:07:51 +00:00
s_nakamoto
6cc56d8e83
updated build-unix.txt instructions: sudo apt-get install libboost-all-dev
2010-06-24 16:07:51 +00:00
s_nakamoto
3c3fc50c79
added instructions to build-unix.txt for building wxBase, which is needed to compile bitcoind
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@92 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-23 22:51:31 +00:00
s_nakamoto
2adc9062d8
added instructions to build-unix.txt for building wxBase, which is needed to compile bitcoind
2010-06-23 22:51:31 +00:00
s_nakamoto
6344edc36f
version 0.3 rc1
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@91 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-22 17:59:00 +00:00
s_nakamoto
6970bd96d1
version 0.3 rc1
2010-06-22 17:59:00 +00:00
s_nakamoto
445520bf38
added new files to setup.nsi, updated version numbers
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@90 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-22 16:28:15 +00:00
s_nakamoto
d63b0adabd
added new files to setup.nsi, updated version numbers
2010-06-22 16:28:15 +00:00
s_nakamoto
8efd8f7f47
re-enable hiding taskbar button on minimize on linux, though it doesn't work cleanly
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@89 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-22 03:45:37 +00:00
s_nakamoto
bed3ad104e
re-enable hiding taskbar button on minimize on linux, though it doesn't work cleanly
2010-06-22 03:45:37 +00:00
s_nakamoto
36bb88e1b9
fix system tray icon on windows
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@88 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-21 18:41:34 +00:00
s_nakamoto
dbe23aadae
fix system tray icon on windows
2010-06-21 18:41:34 +00:00
s_nakamoto
161c38ba60
80x80 xpm icon for ubuntu, alignment tweaked to scale nicely to 20x20 and 16x16
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@87 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-21 17:11:26 +00:00
s_nakamoto
a66d097cbe
80x80 xpm icon for ubuntu, alignment tweaked to scale nicely to 20x20 and 16x16
2010-06-21 17:11:26 +00:00
s_nakamoto
68b973a913
fixed colors on ubuntu lucid,
...
enabled -O2 in makefile.unix,
boost removed -mt from their library names in 1.40,
updated bitcoin icon,
hashmeter,
generated and hashmeter log entries
-- version 0.2.13
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@86 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-21 01:33:44 +00:00
s_nakamoto
3ca507a6eb
fixed colors on ubuntu lucid,
...
enabled -O2 in makefile.unix,
boost removed -mt from their library names in 1.40,
updated bitcoin icon,
hashmeter,
generated and hashmeter log entries
-- version 0.2.13
2010-06-21 01:33:44 +00:00
s_nakamoto
24ba1b64e9
use seed nodes as fallback if IRC fails or with TOR
...
-- version 0.2.12
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@85 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-18 03:14:24 +00:00
s_nakamoto
c58e10565e
use seed nodes as fallback if IRC fails or with TOR
...
-- version 0.2.12
2010-06-18 03:14:24 +00:00
s_nakamoto
6a4a35549b
German translation by DataWraith
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@84 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-16 16:35:34 +00:00
s_nakamoto
904ff7d07b
German translation by DataWraith
2010-06-16 16:35:34 +00:00
s_nakamoto
e5681bb121
more addr message error checking
...
-- version 0.2.11
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@83 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-15 18:26:32 +00:00
s_nakamoto
d0ac235c8f
more addr message error checking
...
-- version 0.2.11
2010-06-15 18:26:32 +00:00
s_nakamoto
bed005b639
revert makefile.unix from -02 back to -00 to fix compile on linux, -02 doesn't really help on linux anyway
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@82 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-14 22:34:33 +00:00
s_nakamoto
78c7bb8e26
revert makefile.unix from -02 back to -00 to fix compile on linux, -02 doesn't really help on linux anyway
2010-06-14 22:34:33 +00:00
s_nakamoto
f93d5f9ffe
automatically change displayed address whenever it receives anything,
...
added help and -? for daemon command line rpc commands,
only relay addr messages to 5 random nodes to save bandwidth,
started setting wtx.fFromMe flag,
trickle out tx inventory messages to protect privacy
-- version 0.2.10
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@81 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-10 23:10:30 +00:00
s_nakamoto
3b318ed095
automatically change displayed address whenever it receives anything,
...
added help and -? for daemon command line rpc commands,
only relay addr messages to 5 random nodes to save bandwidth,
started setting wtx.fFromMe flag,
trickle out tx inventory messages to protect privacy
-- version 0.2.10
2010-06-10 23:10:30 +00:00
s_nakamoto
2ca1758832
Dutch translation by Xunie (93% complete)
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@80 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-06-02 22:10:06 +00:00
s_nakamoto
d9dac6772f
Dutch translation by Xunie (93% complete)
2010-06-02 22:10:06 +00:00
s_nakamoto
1da44d2e96
Italian translation by Joozero
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@79 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-05-27 14:11:03 +00:00
s_nakamoto
5fe8bc0b4d
Italian translation by Joozero
2010-05-27 14:11:03 +00:00
s_nakamoto
42605ce8bc
better prevention of inventory relaying during initial download,
...
message checksum between nodes with 0.2.9 or higher,
optimization level up from -O0 to -O2,
rpc functions: setlabel, getlabel, getaddressesbylabel, getreceivedbyaddress, getreceivedbylabel, listreceivedbyaddress, listreceivedbylabel
-- version 0.2.9
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@78 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-05-26 00:05:26 +00:00
s_nakamoto
7a47324c78
better prevention of inventory relaying during initial download,
...
message checksum between nodes with 0.2.9 or higher,
optimization level up from -O0 to -O2,
rpc functions: setlabel, getlabel, getaddressesbylabel, getreceivedbyaddress, getreceivedbylabel, listreceivedbyaddress, listreceivedbylabel
-- version 0.2.9
2010-05-26 00:05:26 +00:00
s_nakamoto
124baa4ccb
build-osx.txt build instructions and makefile.osx from Laszlo
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@77 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-05-25 23:58:27 +00:00
s_nakamoto
9c1e9f0b6a
build-osx.txt build instructions and makefile.osx from Laszlo
2010-05-25 23:58:27 +00:00
s_nakamoto
2d98de1b3a
Mac OS build fixes by laszlo
...
-- version 0.2.8
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@76 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-05-19 00:26:56 +00:00
s_nakamoto
240f3fbe2f
Mac OS build fixes by laszlo
...
-- version 0.2.8
2010-05-19 00:26:56 +00:00
s_nakamoto
966cca4bd4
misc
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@75 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-03-05 02:55:09 +00:00
s_nakamoto
288424ad63
misc
2010-03-05 02:55:09 +00:00
s_nakamoto
2cffa7ce31
fixed runaway memory alloc bug on 64-bit in ParseString found by sirius-m
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@74 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-03-05 01:13:27 +00:00
s_nakamoto
91e615bfec
fixed runaway memory alloc bug on 64-bit in ParseString found by sirius-m
2010-03-05 01:13:27 +00:00
s_nakamoto
d7d80a74d5
fix unsafe string handling in wxGetTranslation
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@73 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-28 15:00:32 +00:00
s_nakamoto
9a33582204
fix unsafe string handling in wxGetTranslation
2010-02-28 15:00:32 +00:00
s_nakamoto
6557910ccf
wx/utils.h and wx/clipbrd.h not needed on bitcoind wxbase build
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@72 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-26 16:09:43 +00:00
s_nakamoto
8a46ed83cc
wx/utils.h and wx/clipbrd.h not needed on bitcoind wxbase build
2010-02-26 16:09:43 +00:00
s_nakamoto
c2430126d7
GUI-less build target bitcoind that links to wxBase and shouldn't need GTK,
...
split init and shutdown from ui.cpp into init.cpp,
support wxUSE_GUI=0
-- version 0.2.7
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@71 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-25 21:55:27 +00:00
s_nakamoto
5eede9d4d9
GUI-less build target bitcoind that links to wxBase and shouldn't need GTK,
...
split init and shutdown from ui.cpp into init.cpp,
support wxUSE_GUI=0
-- version 0.2.7
2010-02-25 21:55:27 +00:00
s_nakamoto
cb420a1dfc
run as daemon without GUI,
...
hooked wxApp::Initialize to ignore gtk-init-check failure if no GUI,
fork to daemonize,
rpc getinfo, getconnectioncount, getbalance, getgenerate, setgenerate,
-- version 0.2.6
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@70 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-23 22:01:39 +00:00
s_nakamoto
30158c77e9
run as daemon without GUI,
...
hooked wxApp::Initialize to ignore gtk-init-check failure if no GUI,
fork to daemonize,
rpc getinfo, getconnectioncount, getbalance, getgenerate, setgenerate,
-- version 0.2.6
2010-02-23 22:01:39 +00:00
s_nakamoto
0184604aaf
transaction filter tabs instead of view->show generated
...
-- version 0.2.5
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@69 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-21 21:42:01 +00:00
s_nakamoto
ee618d7540
transaction filter tabs instead of view->show generated
...
-- version 0.2.5
2010-02-21 21:42:01 +00:00
s_nakamoto
75199de534
Address Book with tabs instead of separate Your Address book,
...
with live update of default address in main window,
New... button on main window for creating new receiving address,
made receiving address labels more visible,
ask user before paying transaction fee,
when sending to bitcoin address also use a bitcoin address for the change,
added some event.Skip() to fix UI glitches
-- version 0.2.4
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@68 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-20 21:59:59 +00:00
s_nakamoto
6ff4388ffa
Address Book with tabs instead of separate Your Address book,
...
with live update of default address in main window,
New... button on main window for creating new receiving address,
made receiving address labels more visible,
ask user before paying transaction fee,
when sending to bitcoin address also use a bitcoin address for the change,
added some event.Skip() to fix UI glitches
-- version 0.2.4
2010-02-20 21:59:59 +00:00
s_nakamoto
c6ab3cf6d9
safer wxGetTranslation wrapper
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@67 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-17 23:55:43 +00:00
s_nakamoto
794298063d
safer wxGetTranslation wrapper
2010-02-17 23:55:43 +00:00
s_nakamoto
e480659765
all builds are now with wxWidgets-2.9.0, we are now using UTF-8,
...
added support for language translation file locale/<lang>/LC_MESSAGES/bitcoin.mo
-- version 0.2.2
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@66 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-17 17:22:01 +00:00
s_nakamoto
bcd2714038
all builds are now with wxWidgets-2.9.0, we are now using UTF-8,
...
added support for language translation file locale/<lang>/LC_MESSAGES/bitcoin.mo
-- version 0.2.2
2010-02-17 17:22:01 +00:00
s_nakamoto
2b63e68bbf
fix mingw makefile to use correct wxWidgets include,
...
this is the last version of makefile and makefile.vc for wxWidgets-2.8
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@65 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-15 20:36:55 +00:00
s_nakamoto
f3cd4206b8
fix mingw makefile to use correct wxWidgets include,
...
this is the last version of makefile and makefile.vc for wxWidgets-2.8
2010-02-15 20:36:55 +00:00
s_nakamoto
5253d1ab77
strip out unfinished product, review and market stuff,
...
enable _() instead of wxT() in uiproject.fbp so it uses wxGetTranslation for the wxFormBuilder generated part of the UI
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@64 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-15 04:03:07 +00:00
s_nakamoto
cc4b78d59f
strip out unfinished product, review and market stuff,
...
enable _() instead of wxT() in uiproject.fbp so it uses wxGetTranslation for the wxFormBuilder generated part of the UI
2010-02-15 04:03:07 +00:00
s_nakamoto
64a474a49b
renamed a few rpc methods
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@63 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-14 22:27:13 +00:00
s_nakamoto
297a50a063
renamed a few rpc methods
2010-02-14 22:27:13 +00:00
s_nakamoto
c4319e678f
Workaround for bug on wxWidgets 2.9.0 Ubuntu 9.10 64-bit where first character of the hidden columns were displayed so status column had three numbers overprinted. Fixed by adding a leading space to the hidden columns. 64-bit compile with wxWidgets 2.9.0 seems to be fully working normally now.
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@62 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-14 00:08:27 +00:00
s_nakamoto
7271c7ff35
Workaround for bug on wxWidgets 2.9.0 Ubuntu 9.10 64-bit where first character of the hidden columns were displayed so status column had three numbers overprinted. Fixed by adding a leading space to the hidden columns. 64-bit compile with wxWidgets 2.9.0 seems to be fully working normally now.
2010-02-14 00:08:27 +00:00
s_nakamoto
c85dfb148a
updated build-unix.txt
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@61 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-13 02:09:07 +00:00
s_nakamoto
19765903dc
updated build-unix.txt
2010-02-13 02:09:07 +00:00
s_nakamoto
98500d70a8
command line and JSON-RPC first draft, requires Boost 1.35 or higher for boost::asio,
...
added SetBitcoinAddress and GetBitcoinAddress methods on CScript,
critsect interlocks around mapAddressBook,
added some random delays in tx broadcast to improve privacy,
now compiles with MSVC 8.0
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@60 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-12 20:38:44 +00:00
s_nakamoto
22f721dbf2
command line and JSON-RPC first draft, requires Boost 1.35 or higher for boost::asio,
...
added SetBitcoinAddress and GetBitcoinAddress methods on CScript,
critsect interlocks around mapAddressBook,
added some random delays in tx broadcast to improve privacy,
now compiles with MSVC 8.0
2010-02-12 20:38:44 +00:00
s_nakamoto
fa9dbd6b62
better error message in check_type(), tell the types by name instead of by number
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@59 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-10 19:46:04 +00:00
s_nakamoto
73278c0a16
better error message in check_type(), tell the types by name instead of by number
2010-02-10 19:46:04 +00:00
s_nakamoto
75990a46a7
JSON Spirit library from http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx , MIT license
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@58 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-10 19:41:22 +00:00
s_nakamoto
40d324f102
JSON Spirit library from http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx , MIT license
2010-02-10 19:41:22 +00:00
s_nakamoto
c41226d847
revert revision 56, going in different direction with boost::asio and JSON-RPC
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@57 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-10 19:33:04 +00:00
s_nakamoto
1c5d5e58c6
revert revision 56, going in different direction with boost::asio and JSON-RPC
2010-02-10 19:33:04 +00:00
sirius-m
082e725b33
Added some basic IPC functionality using wxServer, wxClient and wxConnection.
...
Added the -blockamount command line option for an example of usage.
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@56 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-04 15:31:46 +00:00
sirius-m
a43c00c569
Added some basic IPC functionality using wxServer, wxClient and wxConnection.
...
Added the -blockamount command line option for an example of usage.
2010-02-04 15:31:46 +00:00
s_nakamoto
53d508072b
update fSpent flag on wallet transactions if they're seen spent in case copy of wallet.dat was used elsewhere or restored from backup,
...
better error dialog box if try to spend already spent coins,
got rid of unused notebook with only one tab on main dialog,
nicer looking About dialog,
resize About dialog better on linux
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@55 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-02-03 22:58:40 +00:00
s_nakamoto
2939cab06d
update fSpent flag on wallet transactions if they're seen spent in case copy of wallet.dat was used elsewhere or restored from backup,
...
better error dialog box if try to spend already spent coins,
got rid of unused notebook with only one tab on main dialog,
nicer looking About dialog,
resize About dialog better on linux
2010-02-03 22:58:40 +00:00
s_nakamoto
8be979d9ae
now compiles on 64-bit Ubuntu Karmic with wxWidgets-2.9.0,
...
fixes for wxWidgets-2.9.0,
added superfluous GetEventHandler()'s,
there's still a bug on wx2.9.0 that the status number is mashed up for some reason otherwise seems to run fine
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@54 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-01-28 21:49:20 +00:00
s_nakamoto
9e56521b4b
now compiles on 64-bit Ubuntu Karmic with wxWidgets-2.9.0,
...
fixes for wxWidgets-2.9.0,
added superfluous GetEventHandler()'s,
there's still a bug on wx2.9.0 that the status number is mashed up for some reason otherwise seems to run fine
2010-01-28 21:49:20 +00:00
s_nakamoto
cb0f89646f
simplify AddAddress,
...
readcompactsize limit,
fixed a 64-bit compile error in serialize.h,
change status "# blocks" to "# confirmations" and widen the column.
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@53 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-01-28 00:31:00 +00:00
s_nakamoto
80264be428
simplify AddAddress,
...
readcompactsize limit,
fixed a 64-bit compile error in serialize.h,
change status "# blocks" to "# confirmations" and widen the column.
2010-01-28 00:31:00 +00:00
s_nakamoto
9a36562347
command line switch -noui
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@52 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2009-12-17 23:16:27 +00:00
s_nakamoto
95d839f15c
command line switch -noui
2009-12-17 23:16:27 +00:00
s_nakamoto
312c2c42b6
a few header changes for freebsd from madhatter
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@51 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2009-12-17 18:15:50 +00:00
s_nakamoto
9228c53cf5
a few header changes for freebsd from madhatter
2009-12-17 18:15:50 +00:00
s_nakamoto
2da02dd774
filter out duplicate getblocks and don't relay inv messages during initial block download -- 0.2 rc2
2009-12-14 02:12:01 +00:00
s_nakamoto
2ed2b9a3e4
misc
2009-12-13 02:34:45 +00:00
s_nakamoto
bd336ba272
restrict file permissions on linux to the user only
2009-12-13 02:13:43 +00:00
s_nakamoto
25b12b8839
misc exit code, updated setup.nsi
2009-12-13 00:13:16 +00:00
s_nakamoto
433fb54b25
misc
2009-12-11 17:19:51 +00:00
s_nakamoto
0bbbee96b7
retry IRC if name in use,
...
resize to fit ubuntu's giant default font,
scroll debug.log,
pause gen during initial block download
2009-12-11 16:49:21 +00:00
s_nakamoto
ba0909e96a
misc
2009-12-06 00:38:11 +00:00
s_nakamoto
658b5b414a
fix transaction fee bug in CreateTransaction, higher size cutoff for free transactions in GetMinFee
2009-12-06 00:29:09 +00:00
s_nakamoto
70918a6645
minor fix to batched initial download in case requester has more than 500 block non-main branch
2009-11-24 21:04:50 +00:00
s_nakamoto
e4db374421
bugfix Db::open/close and zombie sockets bugs fix double-close of socket handle,
...
keep databases open,
close db cursors,
initial block download in batches of 500 blocks,
fix misc warnings,
subver linux-test8
2009-11-18 19:19:41 +00:00
s_nakamoto
01fe1d2137
misc compile error
2009-11-14 18:04:08 +00:00
s_nakamoto
31e6ea7f5d
monitor ThreadSocketHandler and terminate and restart if hung, convert _beginthread to CreateThread wrapper, disconnect inactive connections, ping, break up long messages to speed up initial download, better priorities for initiating connections, track how many nodes have requested our blocks and transactions, status #/offline and warning message on unsent blocks, minimize on close as separate option -- linux-test5
2009-11-13 01:23:08 +00:00
s_nakamoto
e9c2b5c84d
Get local host IP on Linux, Shutdown() a little cleaner -- linux-0.1.6-test1 waypoint
2009-11-08 04:24:52 +00:00
s_nakamoto
158ea66c6c
ui tweaks, multiple xpm icon sizes
2009-11-07 18:51:41 +00:00
s_nakamoto
1a01afab23
UI tweaks, use BindListenPort to detect instance already running, setsockopt(SO_REUSEADDR) so can bind during TIME_WAIT after exit and restart
2009-11-07 05:05:03 +00:00
s_nakamoto
85c33b9602
UIThreadCall, ThreadSafeMessageBox
2009-11-06 18:53:26 +00:00
s_nakamoto
93cfb02acb
got rid of CheckForShutdown, replaced some thread-unsafe wxWidgets calls, Linux fixes, socket send MSG_NOSIGNAL, bind INADDR_ANY, works reliably on Linux now except if wxMessageBox is used in a thread other than the GUI thread
2009-11-06 05:50:05 +00:00
s_nakamoto
fba4088941
unix build merged in, bitmap resources from xpm instead of rc, better addr relay, better selection of addrs by time last seen for faster connect
2009-11-05 04:41:36 +00:00
s_nakamoto
f7d3cc0e58
renamed build.txt to build-msw.txt
2009-11-04 04:58:46 +00:00
s_nakamoto
e66ec79b18
move debug.log and db.log to data dir, portable GetDataDir, optimize GetBalance, fix repaint bogdown, -addnode and -? switches
2009-11-01 01:16:51 +00:00
sirius-m
99142385da
added wx/stdpaths.h
2009-10-31 09:52:24 +00:00
sirius-m
e874738d3d
Linux alternatives for the Windows headers and PerformanceCounter. Some typedefs and #defines for the Linux build. Fixed GetDataDir.
2009-10-31 09:11:43 +00:00
s_nakamoto
8938414f0c
make CheckDiskSpace portable
2009-10-30 00:57:05 +00:00
sirius-m
ae3ae3df76
setup script removes startup shortcut and runs with highest exec level
2009-10-30 00:45:35 +00:00
s_nakamoto
7be46ce487
better wallet.dat flush, consolidated QueryPerformanceCounter, PRI64d printf portability
2009-10-29 20:10:46 +00:00
s_nakamoto
fc0e97a70e
CCriticalSection using wxWidgets instead of Windows OS calls
2009-10-29 05:55:56 +00:00
s_nakamoto
cc0b4c3b62
addr relaying fixes, proxy option and privacy patches, detect connect to self, non-final tx locktime changes, fix hide unconfirmed generated
2009-10-29 02:52:48 +00:00
s_nakamoto
6ccefea62a
fix display of new generated coins, fix assertion in bitcoinminer
2009-10-25 04:35:01 +00:00
sirius-m
44e1254d1c
Removed autorun regkey creation
2009-10-24 16:50:39 +00:00
s_nakamoto
5210998688
flush wallet.dat, multi-proc, reorg options, revert to startup folder shortcut
2009-10-21 01:08:05 +00:00
sirius-m
c199b8499d
Fixed the installer script and made the autostart registry based.
2009-10-04 11:38:29 +00:00
sirius-m
f13dff6977
Added NSIS installer generation script
2009-10-03 17:02:59 +00:00
sirius-m
f01a4ca4e2
Startup folder shortcut opens the program minimized. Restoring a minimized-to-tray window works correctly.
2009-10-03 11:52:21 +00:00
sirius-m
75aa0fbf70
startup shortcut works
2009-10-02 10:14:05 +00:00
sirius-m
d1b70ffa03
tray icon + ask before closing
2009-09-24 04:09:56 +00:00
sirius-m
e00d4805d7
No dll's here
2009-09-16 13:26:04 +00:00
sirius-m
edffb50b98
Added changelog.txt
2009-08-30 03:50:53 +00:00
sirius-m
4405b78d60
First commit
2009-08-30 03:46:39 +00:00