Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-26 | listsinceblock: rpc param blockid -> blockhash | freewil | |
This is more consistent with the rest of the labeling seen by the user when accessing the rpc commands. | |||
2012-04-23 | Merge pull request #1140 from jgarzik/sign-compare | Jeff Garzik | |
Address many more sign comparison warnings | |||
2012-04-23 | Change signed->unsigned at 3 code sites | Jeff Garzik | |
This resolves signed/unsigned comparison warnings. | |||
2012-04-23 | CBlock::WriteToDisk() properly checks ftell(3) for error return | Jeff Garzik | |
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 | Add casts for unavoidable signed/unsigned comparisons | Jeff Garzik | |
At these code sites, it is preferable to cast rather than change a variable's type. | |||
2012-04-23 | Test ScriptSigArgsExpected() for error, before accumulating return value | Jeff Garzik | |
2012-04-23 | SigOp and orphan-tx constants and counts are always unsigned. | Jeff Garzik | |
Fixes several sign-comparison warnings. | |||
2012-04-22 | Merge pull request #1133 from sipa/abspath | Pieter Wuille | |
Make GetDataDir return absolute paths | |||
2012-04-22 | Prefer 'unsigned int' for loop index variables tested against ::size() | Jeff Garzik | |
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 | Make GetDataDir return absolute paths | Pieter Wuille | |
2012-04-21 | Merge pull request #1124 from sipa/rpcobj3 | Pieter Wuille | |
extension of #1103: encapsulate mapCommands in CRPCTable | |||
2012-04-21 | Merge pull request #1131 from laanwj/2012_04_hexstr | Pieter Wuille | |
Integrate @JoelKatz's optimized ToHex (#562) into current HexStr function | |||
2012-04-21 | Merge pull request #1129 from laanwj/2012_04_opcodes | Pieter Wuille | |
Add explicit numeric constant value for all opcodes | |||
2012-04-21 | Merge pull request #1121 from gavinandresen/scripttest | Gavin Andresen | |
Data-driven script evaluation unit tests (rebased to fix compiler warning). | |||
2012-04-21 | Data-drive script evaluation unit tests. | Gavin Andresen | |
2012-04-21 | Merge pull request #1126 from drizztbsd/master | Pieter Wuille | |
Fix build with gcc 4.7 | |||
2012-04-21 | Integrate @JoelKatz's optimized ToHex (#562) into current HexStr function | Wladimir J. van der Laan | |
2012-04-21 | Remove no-longer used UI hints in bitcoin core | Wladimir J. van der Laan | |
The Qt UI has its own associated structures for temporary transaction state / cache. | |||
2012-04-21 | change type of various bare chars to bool that are only used as bool (and ↵ | Wladimir J. van der Laan | |
never serialized) | |||
2012-04-21 | Add explicit numeric constant value for all opcodes | Wladimir J. van der Laan | |
- 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 | Expose CRPCTable via bitcoinrpc.h for testing | Pieter Wuille | |
2012-04-21 | Encapsulate mapCommands in class CRPCTable | Pieter Wuille | |
2012-04-21 | Encapsulate RPC command dispatch in an array of CRPCCommand's | Jeff Garzik | |
2012-04-20 | Merge pull request #1122 from dlitz/unsigned-char-fix | Wladimir J. van der Laan | |
Unsigned char fix & fix undefined phexdigits[255] | |||
2012-04-20 | Add missing includes. (Fix bulding under GCC 4.7) | Timothy Redaelli | |
2012-04-19 | Merge pull request #959 from rebroad/LoadBlockIndexKillable | Pieter Wuille | |
Added ability to respond to signals during Block Loading stage. | |||
2012-04-18 | Added ability to respond to signals during Block Loading stage. | R E Broadley | |
2012-04-18 | Fix bugs on 'unsigned char' platforms. | Dwayne C. Litzenberger | |
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 | Fix phexdigits[255] is undefined. | Dwayne C. Litzenberger | |
2012-04-17 | Merge pull request #1118 from sipa/addbreaks | Wladimir J. van der Laan | |
Add missing breaks in optionmodel's switch case | |||
2012-04-17 | Add missing breaks in optionmodel's switch case | Pieter Wuille | |
2012-04-17 | Merge pull request #1114 from sipa/lesssync | Pieter Wuille | |
Reduce sync frequency for blkindex.dat | |||
2012-04-17 | Fix tests after recent refactors | Pieter Wuille | |
2012-04-17 | Merge remote-tracking branch 'jgarzik/mempool' | Pieter Wuille | |
2012-04-17 | Merge pull request #1117 from sipa/deadlockfix | Pieter Wuille | |
Fix potential deadlock | |||
2012-04-17 | Merge pull request #1112 from sipa/saneserial | Pieter Wuille | |
Further reduce header dependencies | |||
2012-04-17 | Further reduce header dependencies | Pieter Wuille | |
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 | Move proto version to version.h. Reduce header deps a bit more. | Jeff Garzik | |
2012-04-17 | Move CWalletDB code to new walletdb module. | Jeff Garzik | |
In addition to standard code separation, this change opens the door to fixing several include inter-dependencies. | |||
2012-04-17 | Remove headers.h | Pieter Wuille | |
2012-04-17 | Merge pull request #1106 from jgarzik/sign-compare | Gavin Andresen | |
Fix many sign-comparison warnings found in bitcoin codebase | |||
2012-04-17 | Merge pull request #1115 from laanwj/2012_04_cleanupmisc | Gavin Andresen | |
Delete unused, unreachable and commented code, add missing initializer | |||
2012-04-17 | Fix potential deadlock | Pieter Wuille | |
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 | main.cpp: replace tabs with spaces | Jeff Garzik | |
Sometimes they sneak in through the 'vi' door | |||
2012-04-17 | AlreadyHave(): only hold lock during mapTransactions access | Jeff Garzik | |
2012-04-17 | Remove unused and unreachable code | Wladimir J. van der Laan | |
2012-04-17 | Add forgotten initializer | Wladimir J. van der Laan | |
2012-04-17 | Reduce sync frequency for blkindex.dat | Pieter Wuille | |
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 | Merge pull request #1094 from jgarzik/already-have-locking | Jeff Garzik | |
Locking fix for AlreadyHave() | |||
2012-04-17 | Bump PROTOCOL_VERSION to 60001, thereby enabling BIP31 | Jeff Garzik | |