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

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

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

8 years agoRemove UPNP support & do some cleanup.
CryptoManiac [Tue, 13 Oct 2015 17:51:00 +0000]
Remove UPNP support & do some cleanup.

Actually, UPnP is not so useful nowadays. Being combined with recent security issues this seems suitable reason for removal of UPnP support. Maybe we should consider implementation of port mapping support through developing a separate utility for that purpose.

http://talosintel.com/reports/TALOS-2015-0035/

8 years agoMakefile separators
CryptoManiac [Tue, 13 Oct 2015 17:15:45 +0000]
Makefile separators

8 years agomakefile fixes
CryptoManiac [Tue, 13 Oct 2015 12:11:34 +0000]
makefile fixes

copy&paste == evil

8 years agoArm module: Always compile NEON support
CryptoManiac [Tue, 13 Oct 2015 08:41:05 +0000]
Arm module: Always compile NEON support

8 years agoARM module building.
CryptoManiac [Tue, 13 Oct 2015 07:40:26 +0000]
ARM module building.

8 years agoFix sha256 context initialization
CryptoManiac [Mon, 12 Oct 2015 22:39:44 +0000]
Fix sha256 context initialization

8 years agoQuotes for txid
CryptoManiac [Mon, 12 Oct 2015 22:25:21 +0000]
Quotes for txid

8 years agoRPC scaninput: preserve generic implementation for i386 machines.
CryptoManiac [Mon, 12 Oct 2015 22:21:19 +0000]
RPC scaninput: preserve generic implementation for i386 machines.

8 years agoRPC scaninput: Replace generic implementation with one-way assembler implementation...
CryptoManiac [Mon, 12 Oct 2015 21:55:51 +0000]
RPC scaninput: Replace generic implementation with one-way assembler implementation if USE_ASM flag is set

8 years agoRPC: add quotes to examples.
CryptoManiac [Mon, 12 Oct 2015 20:37:55 +0000]
RPC: add quotes to examples.

8 years agoRemove copy_swap module, fix sha256 endianess and target checking issues
CryptoManiac [Mon, 12 Oct 2015 18:23:18 +0000]
Remove copy_swap module, fix sha256 endianess and target checking issues

8 years agoDon't include immintrin.h if not necessary.
CryptoManiac [Mon, 12 Oct 2015 15:57:04 +0000]
Don't include immintrin.h if not necessary.

8 years agoCosmetic changes
CryptoManiac [Sun, 11 Oct 2015 20:12:43 +0000]
Cosmetic changes

8 years agoFix midnight coding issues.
CryptoManiac [Sun, 11 Oct 2015 17:12:36 +0000]
Fix midnight coding issues.

8 years agoRemove debugging output
CryptoManiac [Sun, 11 Oct 2015 17:02:04 +0000]
Remove debugging output

8 years agoAdd SSSE3 imnplementation ofg block copy function, gives us ~30% kernel scanning...
CryptoManiac [Sun, 11 Oct 2015 16:57:44 +0000]
Add SSSE3 imnplementation ofg block copy function, gives us ~30% kernel scanning performance benefit in comparison with generic implementation.

Also fix mingw makefiles.

8 years agoIncrement nTimeTx correctly
CryptoManiac [Sun, 11 Oct 2015 03:07:46 +0000]
Increment nTimeTx correctly

8 years agoCall generic implementation only when needed.
CryptoManiac [Sun, 11 Oct 2015 02:53:02 +0000]
Call generic implementation only when needed.

8 years agoRPC scaninput: replace Intel implementation of sha256 with the one from cpuminer.
CryptoManiac [Sun, 11 Oct 2015 01:31:45 +0000]
RPC scaninput: replace Intel implementation of sha256 with the one from cpuminer.

Intel implementatio is still better in terms of performance, but loses in terms of compatibility. I think we have to think about using it in the near future.

8 years agoUSE_YASM turns on sse sse4 implementation by default
CryptoManiac [Sat, 10 Oct 2015 08:42:40 +0000]
USE_YASM turns on sse sse4 implementation by default

8 years agoAdd SSE4 implementation of sha256.
CryptoManiac [Fri, 9 Oct 2015 02:52:35 +0000]
Add SSE4 implementation of sha256.

Just addition, this function isn't used yet.

8 years agoNo need to specify builtin function directly, because gcc will use it by default.
CryptoManiac [Fri, 9 Oct 2015 00:46:19 +0000]
No need to specify builtin function directly, because gcc will use it by default.

8 years agoAVX implementation of sha256.
CryptoManiac [Thu, 8 Oct 2015 23:56:10 +0000]
AVX implementation of sha256.

This is experimental feature, currently works for Linux only.

8 years agoMerge pull request #249 from svost/time-const
CryptoManiac [Wed, 7 Oct 2015 18:42:11 +0000]
Merge pull request #249 from svost/time-const

We have constants (commit e1fc548)

8 years agoWe have constants (commit e1fc548) 249/head
svost [Wed, 7 Oct 2015 14:36:05 +0000]
We have constants (commit e1fc548)

8 years agoMerge pull request #247 from svost/CWallet.SetNull
CryptoManiac [Sun, 4 Oct 2015 21:27:58 +0000]
Merge pull request #247 from svost/CWallet.SetNull

CWallet: added SetNull()

8 years agoMerge pull request #248 from svost/ntp
CryptoManiac [Sun, 4 Oct 2015 21:27:45 +0000]
Merge pull request #248 from svost/ntp

Various ntp files fixes:

8 years agoRPC scaninput: new parameters format
CryptoManiac [Sun, 4 Oct 2015 21:20:00 +0000]
RPC scaninput: new parameters format

8 years agoUpdate ntp.cpp 248/head
svost [Sun, 4 Oct 2015 18:49:22 +0000]
Update ntp.cpp

8 years agoUpdate ntp.h
svost [Sun, 4 Oct 2015 18:45:26 +0000]
Update ntp.h

8 years agoVarious Makefile fixes:
CryptoManiac [Sun, 4 Oct 2015 17:52:07 +0000]
Various Makefile fixes:

Handle USE_O3 parameter correctly while building headless client;
Use -O2 optimization level by default in BSD makefile;
Fix OS X headless client compilation issues.

8 years agoRPC scaninput: change format of error message
CryptoManiac [Sun, 4 Oct 2015 17:36:08 +0000]
RPC scaninput: change format of error message

8 years agoRPC scaninput: Don't scan spent inputs.
CryptoManiac [Sun, 4 Oct 2015 17:25:55 +0000]
RPC scaninput: Don't scan spent inputs.

8 years agoRPC scaninput: Reduce default time window to 90 days, fix nOut checking issue.
CryptoManiac [Sun, 4 Oct 2015 17:03:02 +0000]
RPC scaninput: Reduce default time window to 90 days, fix nOut checking issue.

8 years agoCWallet: added SetNull() 247/head
svost [Sat, 3 Oct 2015 22:37:57 +0000]
CWallet: added SetNull()

8 years agoDefine nOneDay and nOneHour constants.
CryptoManiac [Sat, 3 Oct 2015 19:31:25 +0000]
Define nOneDay and nOneHour constants.

8 years agoRemove definition of GetKernelMidstate;
CryptoManiac [Sat, 3 Oct 2015 18:53:18 +0000]
Remove definition of GetKernelMidstate;
Use kernel pointer to initialize input scanning worker.

8 years agoRemove GetKernelMidstate, rename ScanMidstateForward and ScanMidstateBackward to...
CryptoManiac [Sat, 3 Oct 2015 17:00:56 +0000]
Remove GetKernelMidstate, rename ScanMidstateForward and ScanMidstateBackward to ScanKernelForward and ScanContextBackward.

8 years agoScanMidstateForward: Set thread priority to THREAD_PRIORITY_LOWEST
CryptoManiac [Sat, 3 Oct 2015 16:23:23 +0000]
ScanMidstateForward: Set thread priority to THREAD_PRIORITY_LOWEST

8 years agoMerge pull request #246 from svost/setofc4267
CryptoManiac [Fri, 2 Oct 2015 14:18:25 +0000]
Merge pull request #246 from svost/setofc4267

Fix warning: comparison between signed and unsigned integer expressions

8 years agoFix warning: comparison between signed and unsigned integer expressions 246/head
svost [Fri, 2 Oct 2015 12:48:03 +0000]
Fix warning: comparison between signed and unsigned integer expressions

8 years agoForgot to correct interval calculation :(
CryptoManiac [Fri, 2 Oct 2015 08:26:57 +0000]
Forgot to correct interval calculation :(

8 years agoAllocate workers dynamically.
CryptoManiac [Fri, 2 Oct 2015 08:25:15 +0000]
Allocate workers dynamically.

8 years agoRemove debugging code.
CryptoManiac [Fri, 2 Oct 2015 08:13:48 +0000]
Remove debugging code.

8 years agoMultithreaded input scanning.
CryptoManiac [Fri, 2 Oct 2015 01:28:16 +0000]
Multithreaded input scanning.

8 years agoFix integer overflow bug
CryptoManiac [Thu, 1 Oct 2015 22:41:29 +0000]
Fix integer overflow bug

8 years agoMerge branch 'master' of github.com:novacoin-project/novacoin
CryptoManiac [Thu, 1 Oct 2015 21:33:54 +0000]
Merge branch 'master' of github.com:novacoin-project/novacoin

8 years agouint256/uint160: add Get32() method
CryptoManiac [Thu, 1 Oct 2015 21:33:17 +0000]
uint256/uint160: add Get32() method

8 years agoMerge pull request #245 from svost/setofc4267
CryptoManiac [Thu, 1 Oct 2015 20:15:30 +0000]
Merge pull request #245 from svost/setofc4267

Get rid of some msvc c4267 warnings

8 years agoMerge branch 'master' of github.com:novacoin-project/novacoin
CryptoManiac [Thu, 1 Oct 2015 19:25:44 +0000]
Merge branch 'master' of github.com:novacoin-project/novacoin

8 years agoQRCode support is always enabled now;
CryptoManiac [Thu, 1 Oct 2015 19:23:43 +0000]
QRCode support is always enabled now;
Scrypt code is moved to crypto/scrypt subdirectory.

8 years agoTypo fix
CryptoManiac [Thu, 1 Oct 2015 18:37:49 +0000]
Typo fix

8 years agoMerge pull request #244 from svost/frombitcoin
CryptoManiac [Thu, 1 Oct 2015 12:37:43 +0000]
Merge pull request #244 from svost/frombitcoin

 Allow -onlynet=onion to be used

8 years agoGet rid of some msvc c4267 warnings 245/head
svost [Thu, 1 Oct 2015 12:17:50 +0000]
Get rid of some msvc c4267 warnings

8 years ago Allow -onlynet=onion to be used 244/head
svost [Thu, 1 Oct 2015 11:21:31 +0000]
 Allow -onlynet=onion to be used

Just an alias for onlynet=tor, but matches the new name
of the proxy option -onion= better.

8 years agoMerge pull request #243 from svost/getarguint
CryptoManiac [Wed, 30 Sep 2015 14:02:13 +0000]
Merge pull request #243 from svost/getarguint

Added GetArgUInt function

8 years agoAdded GetArgUInt function 243/head
svost [Wed, 30 Sep 2015 10:15:52 +0000]
Added GetArgUInt function

8 years agoMerge pull request #242 from svost/getargint
CryptoManiac [Wed, 30 Sep 2015 09:00:24 +0000]
Merge pull request #242 from svost/getargint

Added GetArgInt function

8 years agoAdded GetArgInt function 242/head
svost [Tue, 29 Sep 2015 14:27:06 +0000]
Added GetArgInt function

8 years agoMerge pull request #241 from svost/msvc-solution
CryptoManiac [Tue, 29 Sep 2015 11:20:15 +0000]
Merge pull request #241 from svost/msvc-solution

MSVC solution update: suppressed warning c4100 (unreferenced formal parameter)

8 years agoMSVC solution update: suppressed warning c4100 unreferenced formal parameter 241/head
svost [Tue, 29 Sep 2015 10:19:53 +0000]
MSVC solution update: suppressed warning c4100 unreferenced formal parameter

8 years agoUpdate json_spirit_writer_template.h
0xDEADFACE [Sun, 27 Sep 2015 21:38:06 +0000]
Update json_spirit_writer_template.h

8 years agoMerge pull request #239 from svost/ckey-operator-fix
CryptoManiac [Sun, 27 Sep 2015 16:15:02 +0000]
Merge pull request #239 from svost/ckey-operator-fix

Member variable 'CKey::fCompressedPubKey' is not assigned a value in 'CKey::operator='