novacoin.git
8 years agoRemove namespaces from header files 278/head
svost [Tue, 16 Feb 2016 13:30:55 +0000]
Remove namespaces from header files

8 years agoMerge pull request #276 from svost/patch
CryptoManiac [Mon, 15 Feb 2016 01:06:40 +0000]
Merge pull request #276 from svost/patch

Minor fix

8 years agoHeader guard added 276/head
svost [Sun, 14 Feb 2016 21:35:17 +0000]
Header guard added

8 years agoMerge pull request #275 from svost/patch
CryptoManiac [Sun, 14 Feb 2016 19:17:22 +0000]
Merge pull request #275 from svost/patch

fDetachDB missed in constructor

8 years agoExamples and missed file.
0xDEADFACE [Sun, 14 Feb 2016 18:13:06 +0000]
Examples and missed file.

8 years agoPerformance: replace iterator++ with ++iterator 275/head
svost [Sun, 14 Feb 2016 18:10:09 +0000]
Performance: replace iterator++ with ++iterator

Оставлю как якорь, подобных мест в коде много, по возможности можно будет переписать.

8 years agoRPC: encryptdata & decryptdata methods
0xDEADFACE [Sun, 14 Feb 2016 17:23:32 +0000]
RPC: encryptdata & decryptdata methods

8 years agoFix compilation error.
CryptoManiac [Sun, 14 Feb 2016 17:04:24 +0000]
Fix compilation error.

8 years agofDetachDB missed in constructor
svost [Sun, 14 Feb 2016 16:24:17 +0000]
fDetachDB missed in constructor

8 years agoMerge branch 'master' of ssh://github.com/novacoin-project/novacoin
0xDEADFACE [Sun, 14 Feb 2016 03:23:21 +0000]
Merge branch 'master' of ssh://github.com/novacoin-project/novacoin

8 years agoRPC: Add new methods suitable for malleable key pairs management;
0xDEADFACE [Sun, 14 Feb 2016 03:20:49 +0000]
RPC: Add new methods suitable for malleable key pairs management;
Save generated key pairs in the wallet.dat.

Due to lack of time for a proper debugging the generation of malleable keys has been disabled on the main network. Of course it will be enabled in the near future.

8 years agoMerge pull request #274 from svost/patch
0xDEADFACE [Sat, 13 Feb 2016 22:53:43 +0000]
Merge pull request #274 from svost/patch

Fix V595 PVS Studio - the pointer was utilized before it was verified…

8 years agoMerge pull request #273 from svost/includes
0xDEADFACE [Sat, 13 Feb 2016 22:52:49 +0000]
Merge pull request #273 from svost/includes

Reorganize includes a bit.

8 years agoMerge pull request #272 from svost/V668
0xDEADFACE [Sat, 13 Feb 2016 22:52:28 +0000]
Merge pull request #272 from svost/V668

Fix V668 PVS Studio - deal with pointer and NULL

8 years agoListMalleablePubKeys method
0xDEADFACE [Sat, 13 Feb 2016 21:25:37 +0000]
ListMalleablePubKeys method

8 years agoSame as @92e04fc 274/head
svost [Sat, 13 Feb 2016 21:08:31 +0000]
Same as @92e04fc

8 years agoRemove asserts.
0xDEADFACE [Sat, 13 Feb 2016 13:51:15 +0000]
Remove asserts.

8 years agoExperimental support for TX_PUBKEY_DROP spending.
0xDEADFACE [Fri, 12 Feb 2016 23:43:57 +0000]
Experimental support for TX_PUBKEY_DROP spending.

8 years agoFix V595 PVS Studio - the pointer was utilized before it was verified against nullptr.
svost [Fri, 12 Feb 2016 20:27:43 +0000]
Fix V595 PVS Studio - the pointer was utilized before it was verified against nullptr.

8 years agoReorganize includes a bit. 273/head
svost [Fri, 12 Feb 2016 19:10:40 +0000]
Reorganize includes a bit.

8 years agoAdd TX_PUBKEY_DROP transaction type.
0xDEADFACE [Fri, 12 Feb 2016 15:24:19 +0000]
Add TX_PUBKEY_DROP transaction type.

8 years agoEncryption isn't needed here.
0xDEADFACE [Fri, 12 Feb 2016 14:51:52 +0000]
Encryption isn't needed here.

8 years agoAllow up to 1024 bytes of arbitrary data.
0xDEADFACE [Fri, 12 Feb 2016 14:51:08 +0000]
Allow up to 1024 bytes of arbitrary data.

8 years agoFix V668 PVS Studio - deal with pointer and NULL 272/head
svost [Fri, 12 Feb 2016 11:17:16 +0000]
Fix V668 PVS Studio - deal with pointer and NULL

8 years agoMalleable keys: Crypted R parameter support.
0xDEADFACE [Thu, 11 Feb 2016 22:22:54 +0000]
Malleable keys: Crypted R parameter support.

8 years agoAdd hex representation of public key pair.
0xDEADFACE [Thu, 11 Feb 2016 18:19:35 +0000]
Add hex representation of public key pair.

8 years agoRPC: Optimize OP_RETURN outputs creation and parsing
0xDEADFACE [Thu, 11 Feb 2016 17:55:51 +0000]
RPC: Optimize OP_RETURN outputs creation and parsing

8 years agoAsymmetric encryption stubs.
CryptoManiac [Thu, 11 Feb 2016 10:10:04 +0000]
Asymmetric encryption stubs.

8 years agoFix compilation errors.
CryptoManiac [Thu, 11 Feb 2016 09:43:56 +0000]
Fix compilation errors.

GCC doesn't like 0LL here.

8 years agoAdd malleable keys support.
0xDEADFACE [Thu, 11 Feb 2016 00:06:38 +0000]
Add malleable keys support.

This feature may be useful for coin mixers and some other applications. Please see doc/MalleableKeys.txt for examples.

8 years agoMerge pull request #271 from svost/patch
0xDEADFACE [Tue, 9 Feb 2016 10:46:44 +0000]
Merge pull request #271 from svost/patch

Patch

8 years agoFix some V813 PVS Studio - argument as a constant reference 271/head
svost [Sun, 7 Feb 2016 17:30:52 +0000]
Fix some V813 PVS Studio - argument as a constant reference

8 years agoVoid - return mismatch
svost [Sat, 6 Feb 2016 09:57:58 +0000]
Void - return mismatch

8 years agoProtocol.cpp - use member initializer lists
svost [Thu, 4 Feb 2016 21:31:46 +0000]
Protocol.cpp - use member initializer lists

8 years agoCopyright update
svost [Thu, 4 Feb 2016 21:26:20 +0000]
Copyright update

8 years agoMerge pull request #270 from svost/useless-cast
0xDEADFACE [Wed, 3 Feb 2016 07:46:18 +0000]
Merge pull request #270 from svost/useless-cast

Get rid of some useless-cast

8 years agoMerge pull request #269 from Laser9un/master
0xDEADFACE [Wed, 3 Feb 2016 07:45:41 +0000]
Merge pull request #269 from Laser9un/master

Remove extra line

8 years agoMerge pull request #268 from svost/CloseSocket
0xDEADFACE [Wed, 3 Feb 2016 07:45:26 +0000]
Merge pull request #268 from svost/CloseSocket

Add CloseSocket (bitcoin@43f510d37d680ca4347878d2fb6f8b97b54e7611)

8 years agoGet rid of some useless-cast 270/head
svost [Sun, 31 Jan 2016 16:24:33 +0000]
Get rid of some useless-cast

8 years agoRemoved extra line 269/head
Laser9un [Fri, 29 Jan 2016 18:38:20 +0000]
Removed extra line

Line #23 was repeated in #55, which led to problems with compilation.

8 years agoMerge pull request #267 from svost/headers
0xDEADFACE [Wed, 27 Jan 2016 16:58:23 +0000]
Merge pull request #267 from svost/headers

Reorganize includes a bit.

8 years agoMerge pull request #266 from FuzzyHobbit/patch-1
0xDEADFACE [Wed, 27 Jan 2016 16:57:38 +0000]
Merge pull request #266 from FuzzyHobbit/patch-1

Fix key parsing for salvage

8 years agoReorganize includes a bit. 267/head
svost [Sun, 24 Jan 2016 17:21:44 +0000]
Reorganize includes a bit.
net.h via main.h
protocol.h via addrman.h

8 years agoFix key parsing for salvage 266/head
FuzzyHobbit [Fri, 22 Jan 2016 18:44:04 +0000]
Fix key parsing for salvage

8 years agoMerge pull request #265 from fsb4000/cherry-pick
0xDEADFACE [Tue, 19 Jan 2016 07:32:09 +0000]
Merge pull request #265 from fsb4000/cherry-pick

replace 3 separate calls to WSAGetLastError() with 1

8 years agoMerge pull request #264 from fsb4000/mxe
0xDEADFACE [Tue, 19 Jan 2016 07:31:51 +0000]
Merge pull request #264 from fsb4000/mxe

адаптация инструкции к текущей версии mxe

8 years agoMerge pull request #263 from svost/const
0xDEADFACE [Tue, 19 Jan 2016 07:31:29 +0000]
Merge pull request #263 from svost/const

We have constants (commit e1fc548)

8 years agoMerge pull request #262 from Foxcool/master
0xDEADFACE [Tue, 19 Jan 2016 07:30:52 +0000]
Merge pull request #262 from Foxcool/master

Add dockerfile for building nvc client

8 years agoMerge pull request #260 from svost/patch
0xDEADFACE [Tue, 19 Jan 2016 07:30:26 +0000]
Merge pull request #260 from svost/patch

Code cleanup (icc warning #271 trailing comma is nonstandard)

8 years agoMerge pull request #259 from svost/icc
0xDEADFACE [Tue, 19 Jan 2016 07:29:25 +0000]
Merge pull request #259 from svost/icc

Version: compiler name suffix update

8 years agoадаптация инструкции к текущей версии mxe 264/head
fsb4000 [Sat, 16 Jan 2016 15:05:35 +0000]
адаптация инструкции к текущей версии mxe

8 years agoWe have constants (commit e1fc548) 263/head
svost [Sat, 16 Jan 2016 13:52:49 +0000]
We have constants (commit e1fc548)

8 years agoreplace 3 separate calls to WSAGetLastError() with 1 265/head
Philip Kaufmann [Sun, 22 Jun 2014 18:17:15 +0000]
replace 3 separate calls to WSAGetLastError() with 1

8 years agoAdd dockerfile for building nvc client 262/head
Alexander Babenko [Wed, 13 Jan 2016 13:27:33 +0000]
Add dockerfile for building nvc client

8 years agoCode cleanup (icc warning #271 trailing comma is nonstandard) 260/head
svost [Thu, 7 Jan 2016 12:14:53 +0000]
Code cleanup (icc warning #271 trailing comma is nonstandard)

8 years agoVersion: compiler name suffix update 259/head
svost [Tue, 5 Jan 2016 21:21:34 +0000]
Version: compiler name suffix update

8 years agoAdd CloseSocket (bitcoin@43f510d37d680ca4347878d2fb6f8b97b54e7611) 268/head
svost [Mon, 4 Jan 2016 12:32:31 +0000]
Add CloseSocket (bitcoin@43f510d37d680ca4347878d2fb6f8b97b54e7611)

8 years agoNew validation rule is coming into force since 20 December 2015.
CryptoManiac [Thu, 10 Dec 2015 09:59:31 +0000]
New validation rule is coming into force since 20 December 2015.

8 years agoOSX 10.11
CryptoManiac [Thu, 10 Dec 2015 09:33:25 +0000]
OSX 10.11

8 years agoMerge pull request #258 from john-connor/master
CryptoManiac [Thu, 10 Dec 2015 06:42:42 +0000]
Merge pull request #258 from john-connor/master

zero cost mempool memory exhaustion exploit

8 years agoUpdate main.cpp 258/head
John Connor [Wed, 9 Dec 2015 06:02:32 +0000]
Update main.cpp

8 years agoReplace checkpoint.
CryptoManiac [Tue, 8 Dec 2015 21:05:56 +0000]
Replace checkpoint.

8 years agoRemove -mssse3 from cflags
CryptoManiac [Mon, 7 Dec 2015 22:46:01 +0000]
Remove -mssse3 from cflags

8 years agoMessage fix
CryptoManiac [Mon, 7 Dec 2015 22:44:09 +0000]
Message fix

8 years agoRevert scaninput optimizations for compatibility reasons.
CryptoManiac [Mon, 7 Dec 2015 22:36:00 +0000]
Revert scaninput optimizations for compatibility reasons.

8 years agoBump version to 0.5.5 nvc-v0.5.5
CryptoManiac [Sun, 6 Dec 2015 23:49:54 +0000]
Bump version to 0.5.5

8 years agoAdd checkpoint + Reject blocks from the distant future
CryptoManiac [Sun, 6 Dec 2015 23:41:59 +0000]
Add checkpoint + Reject blocks from the distant future

8 years agoMSVC compatibility with USE_ASM definition
svost [Sun, 25 Oct 2015 09:31:51 +0000]
MSVC compatibility with USE_ASM definition
also double inclusion removed in libcommon.vcxproj.filters

8 years agomove WSAStartup to init 255/head
Wladimir J. van der Laan [Sun, 28 Apr 2013 06:51:49 +0000]
move WSAStartup to init

WSAStartup should be called before using any other socket
functions. BindListenPort is not called if not listening.

Closes #2585.

8 years agoMerge pull request #254 from svost/patch
CryptoManiac [Wed, 21 Oct 2015 13:40:26 +0000]
Merge pull request #254 from svost/patch

MSVC solution update

8 years agoSilence compiler warnings on Windows related to MinGWs inttypes.h
CryptoManiac [Mon, 19 Oct 2015 22:23:53 +0000]
Silence compiler warnings on Windows related to MinGWs inttypes.h

8 years agoEpic typo fix
0xDEADFACE [Mon, 19 Oct 2015 22:05:21 +0000]
Epic typo fix

8 years agoFix stake miner interval checking.
0xDEADFACE [Mon, 19 Oct 2015 20:33:44 +0000]
Fix stake miner interval checking.

8 years agoSplit kernel scanning function.
0xDEADFACE [Mon, 19 Oct 2015 20:11:07 +0000]
Split kernel scanning function.

8 years agoMSVC solution update 254/head
svost [Mon, 19 Oct 2015 15:26:39 +0000]
MSVC solution update

8 years agoMINGW64: Add TARGET_PLATFORM option
0xDEADFACE [Sun, 18 Oct 2015 20:18:00 +0000]
MINGW64: Add TARGET_PLATFORM option

8 years agoMerge branch 'svost-patch'
0xDEADFACE [Sun, 18 Oct 2015 19:51:20 +0000]
Merge branch 'svost-patch'

8 years agoMerge branch 'patch' of https://github.com/svost/novacoin into svost-patch
0xDEADFACE [Sun, 18 Oct 2015 19:50:58 +0000]
Merge branch 'patch' of https://github.com/svost/novacoin into svost-patch

Conflicts:
novacoin-qt.pro

8 years agoBUGFIX: detection of i586 and x86_64
0xDEADFACE [Sun, 18 Oct 2015 19:40:03 +0000]
BUGFIX: detection of i586 and x86_64

8 years agoUse 4Way hashing in proof-of-stake miner, if available.
0xDEADFACE [Sun, 18 Oct 2015 19:29:53 +0000]
Use 4Way hashing in proof-of-stake miner, if available.

8 years agoMakefile fixes.
CryptoManiac [Sun, 18 Oct 2015 16:23:51 +0000]
Makefile fixes.

Add base58 module.

8 years agoReorganize includes a bit.
CryptoManiac [Sun, 18 Oct 2015 16:21:33 +0000]
Reorganize includes a bit.

Base58 functions have nothing in common with walletdb.

8 years agoScaninput RPC: Handle integer value correctly, it's not necesary to pass array value...
CryptoManiac [Sun, 18 Oct 2015 14:23:40 +0000]
Scaninput RPC: Handle integer value correctly, it's not necesary to pass array value for a single input.

8 years agoDon't use c++0x.
CryptoManiac [Sat, 17 Oct 2015 19:42:53 +0000]
Don't use c++0x.

8 years agoOSX: Add SDK path
CryptoManiac [Sat, 17 Oct 2015 19:32:45 +0000]
OSX: Add SDK path

8 years agoOSX: typo fix
CryptoManiac [Sat, 17 Oct 2015 16:43:57 +0000]
OSX: typo fix

8 years agoOSX build: Adjustment of BDB and OpenSSL path
CryptoManiac [Sat, 17 Oct 2015 16:37:20 +0000]
OSX build: Adjustment of BDB and OpenSSL path

8 years agoUse bdb 6.1 by default.
Admin [Sat, 17 Oct 2015 16:19:46 +0000]
Use bdb 6.1 by default.

8 years agoReplacement (uint type)-1 by type.max 253/head
svost [Fri, 16 Oct 2015 21:12:49 +0000]
Replacement (uint type)-1 by type.max

8 years agoTypo fixed
svost [Fri, 16 Oct 2015 20:14:15 +0000]
Typo fixed

8 years agoFix: member variable fCompressedPubKey is not initialized in the constructor.
svost [Fri, 16 Oct 2015 20:05:12 +0000]
Fix: member variable fCompressedPubKey is not initialized in the constructor.
Also to check:
CCrypter chKey chIV
CAccountingEntry nEntryNo
CDBEnv fDetachDB
CBatchScanner deleted foundValue

8 years agoUse uname -m instead of lscpu for better compatibility.
0xDEADFACE [Fri, 16 Oct 2015 00:45:57 +0000]
Use uname -m instead of lscpu for better compatibility.

8 years agoQt project: Better x86 and freebsd compatibility.
0xDEADFACE [Fri, 16 Oct 2015 00:18:34 +0000]
Qt project: Better x86 and freebsd compatibility.

8 years agoRename ScanMidstateWorker to KernelWorker, move kernel scanning to separate module.
CryptoManiac [Fri, 16 Oct 2015 00:02:44 +0000]
Rename ScanMidstateWorker to KernelWorker, move kernel scanning to separate module.

8 years agoRPC scaninput: Add 8way implementation, but disable it for now.
CryptoManiac [Wed, 14 Oct 2015 22:07:39 +0000]
RPC scaninput: Add 8way implementation, but disable it for now.

8 years agoMerge pull request #252 from svost/code-fix
CryptoManiac [Wed, 14 Oct 2015 20:24:03 +0000]
Merge pull request #252 from svost/code-fix

Small code fixes:

8 years agoSmall code fixes: 252/head
svost [Wed, 14 Oct 2015 19:52:22 +0000]
Small code fixes:
-usless cast (ptime)
-hashBlock pass by reference
-%u for unsigned int
-fRet: simplified assignment

8 years agoMerge pull request #251 from svost/from-bitcoin
CryptoManiac [Wed, 14 Oct 2015 17:03:24 +0000]
Merge pull request #251 from svost/from-bitcoin

Ignore getaddr messages on Outbound connections.

8 years agoIgnore getaddr messages on Outbound connections. 251/head
Ivan Pustogarov [Sun, 7 Dec 2014 16:30:57 +0000]
Ignore getaddr messages on Outbound connections.

The only time when a client sends a "getaddr" message is when he
esatblishes an Outbound connection (see ProcessMessage() in
src/main.cpp).  Another bitcoin client is expected to receive a
"getaddr" message only on Inbound connection. Ignoring "gettaddr"
requests on Outbound connections can resolve potential privacy issues
(and as was said such request normally do not happen anyway).

Rebased-From: dca799e1db6e319fdd47e0bfdb038eab0efabb85
Github-Pull: #5442

8 years agoRemove sha256d implementation.
CryptoManiac [Tue, 13 Oct 2015 19:16:51 +0000]
Remove sha256d implementation.