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
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
Gavin Andresen
3504801778
Declare integer constant LL
2011-10-03 13:10:31 -04: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
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
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
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
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
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
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
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
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
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
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
0961c2fc0d
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-09-23 13:42:04 +02:00
Wladimir J. van der Laan
b8afa21fad
show balance in sendcoins screen (issue #24 )
2011-09-22 19:05:04 +02: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