novacoin.git
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

8 years agoRemove useless casts
svost [Tue, 12 Apr 2016 06:02:09 +0000]
Remove useless casts

8 years agoMerge pull request #313 from svost/c++11
CryptoManiac [Mon, 11 Apr 2016 21:02:53 +0000]
Merge pull request #313 from svost/c++11

Minor restyle whith std=c++11

8 years agoUse type-safe enum for opcodes.
CryptoManiac [Mon, 11 Apr 2016 21:02:17 +0000]
Use type-safe enum for opcodes.

8 years agoIt's c++11: pure use of strtoll 313/head
svost [Mon, 11 Apr 2016 20:43:18 +0000]
It's c++11: pure use of strtoll

8 years agoMerge branch 'c++11' of github.com:novacoin-project/novacoin into c++11
CryptoManiac [Mon, 11 Apr 2016 20:12:20 +0000]
Merge branch 'c++11' of github.com:novacoin-project/novacoin into c++11

8 years agoSilence signed comparison warning in MinGW.
CryptoManiac [Mon, 11 Apr 2016 20:11:21 +0000]
Silence signed comparison warning in MinGW.

8 years agoMerge pull request #312 from svost/c++11
CryptoManiac [Mon, 11 Apr 2016 19:47:03 +0000]
Merge pull request #312 from svost/c++11

Minor restyle whith std=c++11

8 years agoRemove legacy workarounds.
CryptoManiac [Mon, 11 Apr 2016 19:46:01 +0000]
Remove legacy workarounds.

8 years agoDo not indent within a namespace 312/head
svost [Mon, 11 Apr 2016 19:27:23 +0000]
Do not indent within a namespace

8 years agoRemove MakeMockTXDB()
CryptoManiac [Mon, 11 Apr 2016 18:52:09 +0000]
Remove MakeMockTXDB()

8 years agoMinor restyling & disable STUN logging by default.
CryptoManiac [Mon, 11 Apr 2016 18:37:44 +0000]
Minor restyling & disable STUN logging by default.

8 years agoFix memory leak.
CryptoManiac [Fri, 8 Apr 2016 17:40:22 +0000]
Fix memory leak.

8 years agoUse filesystem::remove instead of filesystem::remove_all.
CryptoManiac [Fri, 8 Apr 2016 17:23:55 +0000]
Use filesystem::remove instead of filesystem::remove_all.

8 years agoAutomatically remove block index if its initialization has been failed.
CryptoManiac [Fri, 8 Apr 2016 17:15:48 +0000]
Automatically remove block index if its initialization has been failed.

8 years agoMerge pull request #311 from svost/c++11
CryptoManiac [Sun, 10 Apr 2016 22:28:08 +0000]
Merge pull request #311 from svost/c++11

Minor fix

8 years agoRevert commit 65c601e3aa895b0dd357513ef02314b86fc66173 for now.
CryptoManiac [Sun, 10 Apr 2016 22:27:05 +0000]
Revert commit 65c601e3aa895b0dd357513ef02314b86fc66173 for now.

8 years agoDNSNode: fix source name 311/head
svost [Sun, 10 Apr 2016 20:25:12 +0000]
DNSNode: fix source name

8 years agonet.cpp: don't import boost namespace.
CryptoManiac [Sun, 10 Apr 2016 20:45:24 +0000]
net.cpp: don't import boost namespace.

8 years agoUpdate seed nodes.
CryptoManiac [Sun, 10 Apr 2016 20:28:39 +0000]
Update seed nodes.

8 years agoMerge pull request #309 from svost/c++11
CryptoManiac [Sun, 10 Apr 2016 20:06:13 +0000]
Merge pull request #309 from svost/c++11

Minor restyle whith std=c++11

8 years agoJob done: cut off ARRAYLEN macro 309/head
svost [Sun, 10 Apr 2016 20:04:05 +0000]
Job done: cut off ARRAYLEN macro

8 years agoWip: get rid of ARRAYLEN macro
svost [Sun, 10 Apr 2016 19:53:28 +0000]
Wip: get rid of ARRAYLEN macro

8 years agoMerge pull request #308 from svost/c++11
CryptoManiac [Sun, 10 Apr 2016 19:47:51 +0000]
Merge pull request #308 from svost/c++11

Minor restyle whith std=c++11

8 years agoAll of them uint256: let's use begin() and end() 308/head
svost [Sun, 10 Apr 2016 19:31:53 +0000]
All of them uint256: let's use begin() and end()

8 years agoPass strName parameter by reference.
CryptoManiac [Sun, 10 Apr 2016 19:26:02 +0000]
Pass strName parameter by reference.

8 years agoMerge pull request #307 from svost/c++11
CryptoManiac [Sun, 10 Apr 2016 19:21:20 +0000]
Merge pull request #307 from svost/c++11

Minor restyle whith std=c++11

8 years agoSwith all port-related to uint16_t 307/head
svost [Sun, 10 Apr 2016 16:06:50 +0000]
Swith all port-related to uint16_t

8 years agoWip: get rid of ARRAYLEN macro
svost [Sun, 10 Apr 2016 15:31:19 +0000]
Wip: get rid of ARRAYLEN macro

8 years agoGet rid of c_str()
svost [Sun, 10 Apr 2016 15:20:50 +0000]
Get rid of c_str()

8 years agoFix typo in -Wno-unused-local-typedef[s], add -Wno-missing-field-initializers.
CryptoManiac [Sun, 10 Apr 2016 13:05:12 +0000]
Fix typo in -Wno-unused-local-typedef[s], add -Wno-missing-field-initializers.

8 years agoRewrite ParseHex using istringstream;
CryptoManiac [Sun, 10 Apr 2016 13:03:15 +0000]
Rewrite ParseHex using istringstream;
Turn phexdigit into IsHex's local variable.

8 years agoabs64 isn't needed anymore, since abs has the overload for int64_t.
CryptoManiac [Sun, 10 Apr 2016 12:30:21 +0000]
abs64 isn't needed anymore, since abs has the overload for int64_t.

8 years agoThis isn't needed anymore because we don't use the foreach macro.
CryptoManiac [Sun, 10 Apr 2016 12:21:55 +0000]
This isn't needed anymore because we don't use the foreach macro.

8 years agoWe've imported std namespace here, so no need for all these std::blahblahblah;
CryptoManiac [Sun, 10 Apr 2016 12:19:49 +0000]
We've imported std namespace here, so no need for all these std::blahblahblah;
Fix signed comparison.

8 years agoUse fixed size types for alerts;
CryptoManiac [Sun, 10 Apr 2016 11:51:37 +0000]
Use fixed size types for alerts;
resolve some formatting warnings.

8 years agoFix signed/unsigned comparison warnings
CryptoManiac [Sun, 10 Apr 2016 00:57:22 +0000]
Fix signed/unsigned comparison warnings

8 years agoSyntax error
CryptoManiac [Sun, 10 Apr 2016 00:19:00 +0000]
Syntax error

8 years agoMerge branch 'c++11' of github.com:novacoin-project/novacoin into c++11
CryptoManiac [Sat, 9 Apr 2016 22:07:39 +0000]
Merge branch 'c++11' of github.com:novacoin-project/novacoin into c++11

8 years agoWe're not ready for std::thread yet.
CryptoManiac [Sat, 9 Apr 2016 22:06:50 +0000]
We're not ready for std::thread yet.

8 years agoMerge pull request #306 from svost/c++11
CryptoManiac [Sat, 9 Apr 2016 20:52:40 +0000]
Merge pull request #306 from svost/c++11

Minor restyle whith std=c++11

8 years agoLoadExternalBlockFile() : Bulk block proccessing;
CryptoManiac [Sat, 9 Apr 2016 20:50:08 +0000]
LoadExternalBlockFile() : Bulk block proccessing;
GetBlockHash() : Don't check current date;
CTxDB : Check only 192 recent blocks instead of 2500.

8 years agoAdd const for functions 306/head
svost [Sat, 9 Apr 2016 20:14:26 +0000]
Add const for functions

8 years agoWip: get rid of ARRAYLEN macro
svost [Fri, 8 Apr 2016 20:52:30 +0000]
Wip: get rid of ARRAYLEN macro

8 years agoRemove BEGIN/END
CryptoManiac [Fri, 8 Apr 2016 20:05:06 +0000]
Remove BEGIN/END

8 years agoMerged 30b2025 (fixed conflict).
svost [Thu, 7 Apr 2016 07:33:19 +0000]
Merged 30b2025 (fixed conflict).

8 years agoWe're using milliseconds.
CryptoManiac [Fri, 8 Apr 2016 18:44:26 +0000]
We're using milliseconds.

8 years agouint256: SetCompact() and GetCompact implementations
CryptoManiac [Fri, 8 Apr 2016 18:15:36 +0000]
uint256: SetCompact() and GetCompact implementations

8 years agoMerge pull request #305 from svost/c++11
CryptoManiac [Fri, 8 Apr 2016 13:35:55 +0000]
Merge pull request #305 from svost/c++11

Minor fix: c++11 branch

8 years agoBOOST_FOREACH: final cut 305/head
svost [Fri, 8 Apr 2016 13:26:38 +0000]
BOOST_FOREACH: final cut

8 years agoMerged 89d4073 (fixed conflict).
svost [Wed, 6 Apr 2016 10:15:58 +0000]
Merged 89d4073 (fixed conflict).

8 years agoMerge pull request #304 from svost/c++11
CryptoManiac [Fri, 8 Apr 2016 09:06:10 +0000]
Merge pull request #304 from svost/c++11

Minor fix: c++11 branch

8 years agoSome replacement with std::chrono,thread 304/head
svost [Fri, 8 Apr 2016 07:10:42 +0000]
Some replacement with std::chrono,thread

8 years agoUse auto for local variables.
CryptoManiac [Fri, 8 Apr 2016 06:29:27 +0000]
Use auto for local variables.

8 years agoUse brace initializer instead of make_pair.
CryptoManiac [Thu, 7 Apr 2016 17:48:18 +0000]
Use brace initializer instead of make_pair.

8 years agousing namespace std;
CryptoManiac [Thu, 7 Apr 2016 17:14:28 +0000]
using namespace std;

8 years agoMerge pull request #303 from svost/c++11
CryptoManiac [Thu, 7 Apr 2016 17:09:59 +0000]
Merge pull request #303 from svost/c++11

Minor fix: c++11 branch

8 years agoRemove unused namespaces, use auto for local variables.
CryptoManiac [Thu, 7 Apr 2016 17:08:37 +0000]
Remove unused namespaces, use auto for local variables.

8 years agoReplace boost type_traits with std type_traits 303/head
svost [Thu, 7 Apr 2016 14:07:29 +0000]
Replace boost type_traits with std type_traits

8 years agoReplace boost::tuple with std::tuple
svost [Thu, 7 Apr 2016 13:17:13 +0000]
Replace boost::tuple with std::tuple

8 years agoGet rid of boost::algorithm::starts(ends)_with
svost [Thu, 7 Apr 2016 11:20:16 +0000]
Get rid of boost::algorithm::starts(ends)_with

8 years agoAuto_ptr deprecated
svost [Thu, 7 Apr 2016 05:57:22 +0000]
Auto_ptr deprecated

8 years agoNo need for boost::assign, map_list_of/list_of, etc.
CryptoManiac [Wed, 6 Apr 2016 22:18:34 +0000]
No need for boost::assign, map_list_of/list_of, etc.

8 years agoMerge branch 'c++11' of https://github.com/svost/novacoin into svost-c++11
CryptoManiac [Wed, 6 Apr 2016 20:44:33 +0000]
Merge branch 'c++11' of https://github.com/svost/novacoin into svost-c++11

8 years agoRemove some boost dependencies, add some sugar
CryptoManiac [Wed, 6 Apr 2016 20:28:13 +0000]
Remove some boost dependencies, add some sugar

8 years agoWip: switch map definition to initializer list 301/head
svost [Wed, 6 Apr 2016 12:38:18 +0000]
Wip: switch map definition to initializer list

8 years agoSwitch map definition to initializer list
svost [Wed, 6 Apr 2016 12:01:22 +0000]
Switch map definition to initializer list

8 years agoUse auto keyword for local varialbes.
CryptoManiac [Tue, 5 Apr 2016 21:08:37 +0000]
Use auto keyword for local varialbes.

8 years agoFix
CryptoManiac [Tue, 5 Apr 2016 20:42:19 +0000]
Fix

8 years agoMerge pull request #299 from svost/patch
CryptoManiac [Tue, 5 Apr 2016 20:12:12 +0000]
Merge pull request #299 from svost/patch

Minor restyle whith std=c++11

8 years agoSwitch vector definition to initializer list 299/head
svost [Tue, 5 Apr 2016 19:59:49 +0000]
Switch vector definition to initializer list

8 years agoGod bless the auto
CryptoManiac [Tue, 5 Apr 2016 19:27:23 +0000]
God bless the auto

8 years agofor(...::iterator... => for(auto...
CryptoManiac [Tue, 5 Apr 2016 19:15:23 +0000]
for(...::iterator... => for(auto...