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
cjdelisle
3f94dfa25f
Add some hardening to protect against unknown/future exploits.
13 years ago
Wladimir J. van der Laan
83312d7c6c
remove transparency effect and windows-specific code for now, it's not working as supposed
13 years ago
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
13 years ago
Wladimir J. van der Laan
d33cc2b5e3
clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' blocks as initial value for number of peer blocks
13 years ago
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.
13 years ago
Wladimir J. van der Laan
f077d1ad62
fix the build (moved code use 'this' instead of 'window')
13 years ago
Janne Pulkkinen
94723e27ad
Pull request #21 : windows fixes/cleanup by Matoking
13 years ago
Gavin Andresen
9406696578
Fix AddAddress cs_mapaddresses/db transaction deadlock
13 years ago
Luke Dashjr
83f4cd156e
Bugfix: Use timestamp in coinbase rather than "bits", needed to ensure coinbase txn is unique even if address is the same
13 years ago
Luke Dashjr
49c8e53ee2
Save coinbase, not just extraNonce
13 years ago