novacoin.git
8 years agoFix coverity CID 74990 343/head
svost [Wed, 4 May 2016 12:51:06 +0000]
Fix coverity CID 74990

8 years agoWip: more compact serialize.h 342/head
svost [Wed, 4 May 2016 10:59:24 +0000]
Wip: more compact serialize.h

8 years agoMerge pull request #341 from svost/c++11
CryptoManiac [Wed, 4 May 2016 08:15:00 +0000]
Merge pull request #341 from svost/c++11

Minor fix: c++11 branch

8 years agoTypo fix related to a33d7eb 341/head
svost [Wed, 4 May 2016 05:35:59 +0000]
Typo fix related to a33d7eb

8 years agoMerge pull request #340 from svost/c++11
CryptoManiac [Tue, 3 May 2016 20:31:48 +0000]
Merge pull request #340 from svost/c++11

Minor fix

8 years agoClose socket:return false 340/head
svost [Tue, 3 May 2016 18:49:38 +0000]
Close socket:return false

8 years agoCheck setsockopt for error
svost [Tue, 3 May 2016 16:33:33 +0000]
Check setsockopt for error

8 years agoHandle parse errors.
CryptoManiac [Tue, 3 May 2016 15:18:51 +0000]
Handle parse errors.

8 years agoNTP : add missing initializers.
CryptoManiac [Tue, 3 May 2016 15:10:53 +0000]
NTP : add missing initializers.

8 years agoNTP: add initializers
CryptoManiac [Tue, 3 May 2016 00:41:51 +0000]
NTP: add initializers

8 years agoRemove dead code.
CryptoManiac [Mon, 2 May 2016 22:15:05 +0000]
Remove dead code.

8 years agoCAccountingEntry : Add initializers, remove SetNull method.
CryptoManiac [Mon, 2 May 2016 22:07:07 +0000]
CAccountingEntry : Add initializers, remove SetNull method.

8 years agoImprove incapsulation. Yep, finally.
CryptoManiac [Mon, 2 May 2016 21:56:53 +0000]
Improve incapsulation. Yep, finally.

8 years agoMerge pull request #339 from svost/patch-1
CryptoManiac [Mon, 2 May 2016 19:19:17 +0000]
Merge pull request #339 from svost/patch-1

Minor fix

8 years agoGetVariant() : additional validations for point encoding and decoding
CryptoManiac [Mon, 2 May 2016 19:17:00 +0000]
GetVariant() : additional validations for point encoding and decoding

8 years agoSet all fields to zero 339/head
svost [Mon, 2 May 2016 19:06:24 +0000]
Set all fields to zero

8 years agoCScriptCheck : Add initializers
CryptoManiac [Mon, 2 May 2016 18:33:29 +0000]
CScriptCheck : Add initializers

8 years agoKernelWorker : Add initializers
CryptoManiac [Mon, 2 May 2016 18:29:05 +0000]
KernelWorker : Add initializers

8 years agoCDB::CDB() : Add initializer for fReadOnly member.
CryptoManiac [Mon, 2 May 2016 18:22:03 +0000]
CDB::CDB() : Add initializer for fReadOnly member.

8 years agoRemove dead code, we aren't going to support transaction replacement feature any...
CryptoManiac [Mon, 2 May 2016 18:14:30 +0000]
Remove dead code, we aren't going to support transaction replacement feature any time soon.

8 years agoDon't free cryptogram in the store_cipher_body to avoid possible double free memory...
CryptoManiac [Mon, 2 May 2016 18:08:55 +0000]
Don't free cryptogram in the store_cipher_body to avoid possible double free memory corruption.

The cryptogram pointer is already freed in the end of ecies_encrypt function.

8 years agoFix control flow issue.
CryptoManiac [Mon, 2 May 2016 17:58:08 +0000]
Fix control flow issue.

Since the loop increment ++mi was unreachable, the loop body never executed more than once.

8 years agoMove Qt credits to about dialog.
CryptoManiac [Sun, 1 May 2016 18:29:42 +0000]
Move Qt credits to about dialog.

8 years agoMerge pull request #338 from svost/c++11
CryptoManiac [Sun, 1 May 2016 18:01:30 +0000]
Merge pull request #338 from svost/c++11

Minor fix

8 years agoAll of them uint256 338/head
svost [Sun, 1 May 2016 17:37:20 +0000]
All of them uint256

8 years agoNever used
svost [Sun, 1 May 2016 17:10:20 +0000]
Never used

8 years agoPass as constant reference
svost [Sun, 1 May 2016 16:59:56 +0000]
Pass as constant reference

8 years agoMerge pull request #337 from svost/c++11
CryptoManiac [Sun, 1 May 2016 13:15:58 +0000]
Merge pull request #337 from svost/c++11

Minor fix

8 years agoPass as constant reference 337/head
svost [Sun, 1 May 2016 09:12:22 +0000]
Pass as constant reference

8 years agoMerge pull request #336 from svost/c++11
CryptoManiac [Sat, 30 Apr 2016 20:38:36 +0000]
Merge pull request #336 from svost/c++11

Minor fix

8 years agoCode cleanup 336/head
svost [Sat, 30 Apr 2016 20:05:25 +0000]
Code cleanup

8 years agoPrevent compiler from optimizing this flag out
CryptoManiac [Sat, 30 Apr 2016 19:23:30 +0000]
Prevent compiler from optimizing this flag out

8 years agoMerge pull request #335 from svost/c++11
CryptoManiac [Fri, 29 Apr 2016 19:53:45 +0000]
Merge pull request #335 from svost/c++11

Refresh doxygen config

8 years agoRefresh doxygen config 335/head
svost [Fri, 29 Apr 2016 19:22:03 +0000]
Refresh doxygen config

8 years agoMerge pull request #334 from svost/c++11
CryptoManiac [Fri, 29 Apr 2016 06:32:56 +0000]
Merge pull request #334 from svost/c++11

Minor fix: c++11 branch

8 years agoWip: more compact serialize.h 334/head
svost [Fri, 29 Apr 2016 05:28:32 +0000]
Wip: more compact serialize.h

8 years agoMerge pull request #333 from svost/c++11
CryptoManiac [Tue, 26 Apr 2016 11:54:31 +0000]
Merge pull request #333 from svost/c++11

Minor fix: c++11 branch

8 years agoMore less ifdef: success build with gcc, clang, icpc 333/head
svost [Tue, 26 Apr 2016 08:46:43 +0000]
More less ifdef: success build with gcc, clang, icpc

8 years agoRemove unused function.
CryptoManiac [Mon, 25 Apr 2016 20:14:05 +0000]
Remove unused function.

8 years agoFixed size types are making our life simpler.
CryptoManiac [Mon, 25 Apr 2016 20:05:28 +0000]
Fixed size types are making our life simpler.

8 years agoMerge pull request #332 from svost/c++11
CryptoManiac [Mon, 25 Apr 2016 19:36:04 +0000]
Merge pull request #332 from svost/c++11

Minor fix: c++11 branch

8 years agoWip: more compact serialize.h 332/head
svost [Mon, 25 Apr 2016 14:23:01 +0000]
Wip: more compact serialize.h

8 years agoMerge pull request #331 from svost/c++11
CryptoManiac [Mon, 25 Apr 2016 09:07:19 +0000]
Merge pull request #331 from svost/c++11

Minor fix: c++11 branch

8 years agoUpdate after 2198dc0 331/head
svost [Mon, 25 Apr 2016 05:51:14 +0000]
Update after 2198dc0

8 years agoMerge pull request #330 from svost/c++11
CryptoManiac [Sun, 24 Apr 2016 15:57:11 +0000]
Merge pull request #330 from svost/c++11

Minor restyle whith std=c++11

8 years agoAlways const, remove it 330/head
svost [Sat, 23 Apr 2016 21:38:04 +0000]
Always const, remove it

8 years agoMove WriteCompactSize and ReadCompactSize to serialize.cpp
CryptoManiac [Sat, 23 Apr 2016 21:32:11 +0000]
Move WriteCompactSize and ReadCompactSize to serialize.cpp

8 years agoMerge pull request #329 from svost/c++11
CryptoManiac [Sat, 23 Apr 2016 20:50:48 +0000]
Merge pull request #329 from svost/c++11

Minor restyle whith std=c++11

8 years agoWip: make wallet.h little compact 329/head
svost [Fri, 22 Apr 2016 11:09:33 +0000]
Wip: make wallet.h little compact

8 years agoMake script.h little compact
svost [Fri, 22 Apr 2016 09:20:20 +0000]
Make script.h little compact

8 years agoMake crypter.h little compact
svost [Thu, 21 Apr 2016 19:50:27 +0000]
Make crypter.h little compact

8 years agoMSVC success build w/o it
svost [Thu, 21 Apr 2016 19:13:44 +0000]
MSVC success build w/o it

8 years agoMerge pull request #328 from svost/c++11
CryptoManiac [Thu, 21 Apr 2016 16:37:13 +0000]
Merge pull request #328 from svost/c++11

Minor fix: c++11 branch

8 years agoMake walletdb.h little compact 328/head
svost [Thu, 21 Apr 2016 14:04:14 +0000]
Make walletdb.h little compact

8 years agoMerge pull request #327 from svost/c++11
CryptoManiac [Thu, 21 Apr 2016 08:39:09 +0000]
Merge pull request #327 from svost/c++11

Minor fix: c++11 branch

8 years agoMake net.h little compact 327/head
svost [Thu, 21 Apr 2016 08:25:06 +0000]
Make net.h little compact

8 years agoMerge pull request #326 from svost/c++11
CryptoManiac [Thu, 21 Apr 2016 07:56:46 +0000]
Merge pull request #326 from svost/c++11

Minor restyle whith std=c++11

8 years agoMake db.h little compact 326/head
svost [Wed, 20 Apr 2016 21:34:13 +0000]
Make db.h little compact

8 years agoIt's so strange to see here
svost [Wed, 20 Apr 2016 19:40:06 +0000]
It's so strange to see here

8 years agoMake checkpoints.h little compact
svost [Wed, 20 Apr 2016 19:34:25 +0000]
Make checkpoints.h little compact

8 years agoRevert namespace std: MSVC build issues
svost [Wed, 20 Apr 2016 19:06:07 +0000]
Revert namespace std: MSVC build issues

8 years agoMerge pull request #325 from svost/c++11
CryptoManiac [Wed, 20 Apr 2016 14:28:40 +0000]
Merge pull request #325 from svost/c++11

Minor fix: c++11 branch

8 years agoSame as d11602b 325/head
svost [Wed, 20 Apr 2016 14:22:03 +0000]
Same as d11602b

8 years agoRemove DEBUG_ADDRMAN
CryptoManiac [Sat, 16 Apr 2016 20:25:27 +0000]
Remove DEBUG_ADDRMAN

8 years agoMerge pull request #324 from svost/c++11
CryptoManiac [Wed, 20 Apr 2016 11:31:46 +0000]
Merge pull request #324 from svost/c++11

Minor fix: c++11 branch

8 years agoMake addrman.h little compact 324/head
svost [Wed, 20 Apr 2016 09:10:25 +0000]
Make addrman.h little compact

8 years agoMerge pull request #323 from svost/c++11
CryptoManiac [Wed, 20 Apr 2016 07:39:56 +0000]
Merge pull request #323 from svost/c++11

Minor fix: c++11 branch

8 years agoAll of them comes from compat.h via netbase.h 323/head
svost [Tue, 19 Apr 2016 18:26:29 +0000]
All of them comes from compat.h via netbase.h

8 years agoJust use std::to_string
svost [Tue, 19 Apr 2016 13:14:13 +0000]
Just use std::to_string

8 years agoMerge pull request #322 from svost/c++11
0xDEADFACE [Tue, 19 Apr 2016 09:00:53 +0000]
Merge pull request #322 from svost/c++11

Minor fix: c++11 branch

8 years agoHash.h: use native uint256.begin() and uint256.size() 322/head
svost [Tue, 19 Apr 2016 07:40:40 +0000]
Hash.h: use native uint256.begin() and uint256.size()

8 years agoMerge pull request #321 from svost/c++11
0xDEADFACE [Tue, 19 Apr 2016 07:31:25 +0000]
Merge pull request #321 from svost/c++11

Minor fix: c++11 branch

8 years agoJust a memo: deal with -Wcast-qual check. 321/head
svost [Mon, 18 Apr 2016 07:23:06 +0000]
Just a memo: deal with -Wcast-qual check.
int EVP_BytesToKey(const EVP_CIPHER *type,const EVP_MD *md,
                   const unsigned char *salt,
                   const unsigned char *data, int datal, int count,
                   unsigned char *key,unsigned char *iv);

8 years agoMerge pull request #320 from svost/c++11
CryptoManiac [Sun, 17 Apr 2016 21:57:29 +0000]
Merge pull request #320 from svost/c++11

Minor fix

8 years agoGet rid of ifdef WIN32 320/head
svost [Sun, 17 Apr 2016 21:22:36 +0000]
Get rid of ifdef WIN32

8 years agoMerge pull request #319 from svost/c++11
CryptoManiac [Sun, 17 Apr 2016 18:36:33 +0000]
Merge pull request #319 from svost/c++11

Minor restyle whith std=c++11

8 years agoSocklen_t defined in compat.h 319/head
svost [Sun, 17 Apr 2016 17:26:17 +0000]
Socklen_t defined in compat.h

8 years agoGet rid of memset in stun.cpp
svost [Sun, 17 Apr 2016 11:45:29 +0000]
Get rid of memset in stun.cpp

8 years agoGet rid of boost::array
svost [Sun, 17 Apr 2016 11:06:45 +0000]
Get rid of boost::array

8 years agoProper randomization of stun requests.
CryptoManiac [Sat, 16 Apr 2016 02:28:47 +0000]
Proper randomization of stun requests.

8 years agoFillRand()
CryptoManiac [Sat, 16 Apr 2016 02:26:20 +0000]
FillRand()

8 years agoMerge pull request #318 from svost/c++11
CryptoManiac [Sat, 16 Apr 2016 15:10:28 +0000]
Merge pull request #318 from svost/c++11

Minor restyle whith std=c++11

8 years agoFix after afe57947 318/head
svost [Sat, 16 Apr 2016 08:56:44 +0000]
Fix after afe57947

8 years agoMerge pull request #317 from svost/c++11
CryptoManiac [Fri, 15 Apr 2016 22:39:12 +0000]
Merge pull request #317 from svost/c++11

Minor fix: c++11 branch

8 years agoRemove unused local var 317/head
svost [Fri, 15 Apr 2016 20:56:18 +0000]
Remove unused local var

8 years agoMSVC project update after 08e6908
svost [Fri, 15 Apr 2016 20:02:02 +0000]
MSVC project update after 08e6908

8 years agoFix namespace collision (bind != ::bind)
svost [Fri, 15 Apr 2016 08:46:07 +0000]
Fix namespace collision (bind != ::bind)

8 years agoMerge pull request #316 from svost/c++11
CryptoManiac [Thu, 14 Apr 2016 23:28:48 +0000]
Merge pull request #316 from svost/c++11

Minor fix: c++11 branch

8 years agoWork around "ret > 0" situation 316/head
svost [Thu, 14 Apr 2016 10:07:52 +0000]
Work around "ret > 0" situation

8 years agoHash.h cleanup
svost [Thu, 14 Apr 2016 08:09:45 +0000]
Hash.h cleanup

8 years agoHexBits restyle
svost [Thu, 14 Apr 2016 07:36:25 +0000]
HexBits restyle

8 years agoGet rid of C style macros
CryptoManiac [Thu, 14 Apr 2016 00:16:49 +0000]
Get rid of C style macros

8 years agoCleanup namespaces
svost [Wed, 13 Apr 2016 08:40:56 +0000]
Cleanup namespaces

8 years agoReplace pchMessageStart with nNetworkID
CryptoManiac [Wed, 13 Apr 2016 21:05:30 +0000]
Replace pchMessageStart with nNetworkID

8 years agoMerge pull request #314 from svost/c++11
CryptoManiac [Tue, 12 Apr 2016 22:23:11 +0000]
Merge pull request #314 from svost/c++11

Minor fix: c++11 branch

8 years agoMinor restyle
CryptoManiac [Tue, 12 Apr 2016 18:47:37 +0000]
Minor restyle

8 years agoAdd const qualifier for base_uint::size()
CryptoManiac [Tue, 12 Apr 2016 18:22:31 +0000]
Add const qualifier for base_uint::size()

8 years agoCPubKey::Verify() : Fix memory leak.
CryptoManiac [Tue, 12 Apr 2016 18:07:12 +0000]
CPubKey::Verify() : Fix memory leak.

8 years agoTODO: get rid of memcpy,memset,memcmp 314/head
svost [Tue, 12 Apr 2016 13:08:00 +0000]
TODO: get rid of memcpy,memset,memcmp

8 years agoCleanup namespaces
svost [Tue, 12 Apr 2016 08:35:40 +0000]
Cleanup namespaces