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.
13 years ago
Luke Dashjr
903a255836
Bugfix: "bits" should be a hex-string, not a number (that just doesn't make sense)
13 years ago
Victor Leschuk
b95e6376d0
Fix for 64bit build
13 years ago
David Joel Schwartz
ae81b82fb8
Use C's const char* for status strings rather than C++'s std::string, which is slower
13 years ago
Gavin Andresen
9e5322d23a
Fix miner_test unit test bug
13 years ago
Gavin Andresen
4ffbdcc0f5
Auto-build dependencies
13 years ago
Gavin Andresen
e9e7bb968b
Update mac Makefile and build instructions to use MacPorts
13 years ago
Luke Dashjr
3552497ae5
Send "Connection: close" HTTP header with JSON-RPC requests (client)
13 years ago
David Joel Schwartz
514b18722a
Remove 2 second sleep from CheckWork
13 years ago
Luke Dashjr
65ba3e2f50
Bugfix: report error creating ThreadSocketHandler thread just like the rest
13 years ago
Luke Dashjr
a4e6ae101a
Only GetAdjustedTime once for the retry loop
13 years ago
Gavin Andresen
3504801778
Declare integer constant LL
13 years ago
Nils Schneider
74567f7ef1
remove code that reads addr.txt in LoadAddreses()
13 years ago
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.
13 years ago
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
13 years ago
Wladimir J. van der Laan
608dacf689
only install translator when not empty
13 years ago
Nils Schneider
452506fc41
simpler ByteReverse
13 years ago
Nils Schneider
6ccff2cbde
remove cryptopp dependency, add simple unittest for SHA256Transform()
13 years ago
Wladimir J. van der Laan
20091df725
Add assertion size>0 to MedianFilter
13 years ago
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
13 years ago
Nils Schneider
f8acc29fca
deprecate midstate and hash1 in getwork
13 years ago
Nils Schneider
eec44dad17
remove deprecated RPCs
13 years ago
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
13 years ago
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.
13 years ago
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.
13 years ago
Pieter Wuille
d9867551fc
base64-based sign/verify
13 years ago
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.
13 years ago
Khalahan
cc2567e32f
Sign and verify message with bitcoin address and public key
...
Add padding to input (fixed string + address) before hashing
13 years ago
Pieter Wuille
e93bf37e86
Test case for base64 encode/decode
13 years ago
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.
13 years ago
JoelKatz
4e67a6216b
Faster Base64 decoder.
13 years ago
Janne Pulkkinen
a1ef0d19b1
Removing the if statement entirely - not needed.
13 years ago
Gavin Andresen
a8c108bca1
Remove DoS penalty for SigOpCount or immature transactions
13 years ago
Janne Pulkkinen
609acbf43d
Send Coins page not cleared when changing tabs. Clear all button for clearing the entries
13 years ago
Gavin Andresen
81cadd74d2
Fix build: put back rules to build cryptopp files
13 years ago
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.
13 years ago
Gavin Andresen
b14bd4df58
Skip verifying transaction signatures during initial block-chain download
13 years ago
Gavin Andresen
6b8a5ab622
Bump version to 0.4.1
13 years ago
Wladimir J. van der Laan
010c4fc0b5
Change define to determine use of DBUS to USE_DBUS, to prevent overlap with Qt-defined QT_DBUS
13 years ago
Wladimir J. van der Laan
b8afa21fad
show balance in sendcoins screen (issue #24 )
13 years ago
Gavin Andresen
806704c237
More denial-of-service misbehavior detection: version/addr/inv/getdata messages
13 years ago
Gavin Andresen
3e52aaf212
Transaction/Block denial-of-service detection/response
13 years ago
Gavin Andresen
15f3ad4dbd
Framework for banning mis-behaving peers
13 years ago
Gavin Andresen
54d02f158d
SetMockTime() for cleaner unit testing
13 years ago
Wladimir J. van der Laan
9b490f71b0
put Q_OBJECT everywhere it should be (removes warnings when running lupdate)
13 years ago
Pieter Wuille
88367a5fb8
SocketHandler thread can be detached
13 years ago
Wladimir J. van der Laan
e122e42354
assure that base bitcoind and bitcoin still build
13 years ago
Nils Schneider
e674680ddd
missed printf in AbortMessage(); merged printfs in EndMessage
13 years ago
Nils Schneider
59090133c0
log low-level network messages only when fDebug is set
13 years ago
flower
c1e667222a
make German translation up-to-date
13 years ago