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

8 years agoMember variable 'CKey::fCompressedPubKey' is not assigned a value in 'CKey::operator=' 239/head
svost [Sun, 27 Sep 2015 08:04:24 +0000]
Member variable 'CKey::fCompressedPubKey' is not assigned a value in 'CKey::operator='

8 years agoUpdate coins supply information.
CryptoManiac [Sat, 26 Sep 2015 22:13:00 +0000]
Update coins supply information.

8 years agoNTP client memory leak fix.
CryptoManiac [Sat, 26 Sep 2015 19:30:34 +0000]
NTP client memory leak fix.

8 years agoBump version to 0.5.4 nvc-v0.5.4
CryptoManiac [Sat, 26 Sep 2015 17:33:54 +0000]
Bump version to 0.5.4

8 years agoAdd new Tor seed node.
CryptoManiac [Sat, 26 Sep 2015 17:29:19 +0000]
Add new Tor seed node.

8 years agoMerge pull request #238 from svost/c4267
CryptoManiac [Fri, 25 Sep 2015 21:51:34 +0000]
Merge pull request #238 from svost/c4267

Fix msvc c4267 warning

8 years agoFix msvc c4267 warning 238/head
svost [Fri, 25 Sep 2015 20:13:31 +0000]
Fix msvc c4267 warning

8 years agoMerge pull request #237 from svost/c4127
CryptoManiac [Thu, 24 Sep 2015 18:51:52 +0000]
Merge pull request #237 from svost/c4127

Fix msvc c4127 warning

8 years agoFix msvc c4127 warning 237/head
svost [Thu, 24 Sep 2015 18:07:46 +0000]
Fix msvc c4127 warning

8 years agoMerge pull request #236 from svost/libcommon-w2
CryptoManiac [Thu, 24 Sep 2015 08:59:40 +0000]
Merge pull request #236 from svost/libcommon-w2

Fix msvc libcommon level 2 warnings

8 years agoMore NTP servers.
CryptoManiac [Wed, 23 Sep 2015 23:14:28 +0000]
More NTP servers.

8 years agoRemove StakeMiner function, mine blocks directly in the thread function.
CryptoManiac [Wed, 23 Sep 2015 22:00:16 +0000]
Remove StakeMiner function, mine blocks directly in the thread function.

8 years agoMove stake mining function wrapper definition to miner.cpp. Also, init NTP thread...
CryptoManiac [Wed, 23 Sep 2015 01:15:29 +0000]
Move stake mining function  wrapper definition to miner.cpp. Also, init NTP thread from StartNode().

8 years agoKeep old GetAdjustedTime() behavior if no NTP data is available;
CryptoManiac [Tue, 22 Sep 2015 23:15:38 +0000]
Keep old GetAdjustedTime() behavior if no NTP data is available;
Give a warning if no p2p time data is available and NTP is not in agreement with system clock.

8 years agoMore than one samples seems enough.
CryptoManiac [Tue, 22 Sep 2015 19:40:44 +0000]
More than one samples seems enough.

8 years agoRevert "const"
CryptoManiac [Tue, 22 Sep 2015 19:36:15 +0000]
Revert "const"

This reverts commit 337a66b52c0296b218bdd0f2e24a84a0d451fb11.

8 years agoEOL
CryptoManiac [Tue, 22 Sep 2015 19:25:48 +0000]
EOL

8 years agoDebug messages.
CryptoManiac [Tue, 22 Sep 2015 18:43:04 +0000]
Debug messages.

8 years agoconst
CryptoManiac [Tue, 22 Sep 2015 18:32:08 +0000]
const

8 years agoDon't start NTP thread if there is NTP server active at localhost.
CryptoManiac [Tue, 22 Sep 2015 13:48:56 +0000]
Don't start NTP thread if there is NTP server active at localhost.

8 years agoAdditional randomization of NTP requests. Also add timestamping information to output...
CryptoManiac [Tue, 22 Sep 2015 00:41:24 +0000]
Additional randomization of NTP requests. Also add timestamping information to output of getinfo RPC call.

8 years agoAdd __STDC_LIMIT_MACROS for INT64_MAX
CryptoManiac [Mon, 21 Sep 2015 23:00:27 +0000]
Add  __STDC_LIMIT_MACROS for INT64_MAX

8 years agoAutomatically choose between NTP, median peer time and system clock.
CryptoManiac [Mon, 21 Sep 2015 21:50:45 +0000]
Automatically choose between NTP, median peer time and system clock.

8 years agoMore NTP servers.
CryptoManiac [Mon, 21 Sep 2015 13:53:45 +0000]
More NTP servers.

8 years agoRemove NtpGetTime() and use NtpTime(CNetAddr&) instead.
CryptoManiac [Sun, 20 Sep 2015 21:04:07 +0000]
Remove NtpGetTime() and use NtpTime(CNetAddr&) instead.

8 years agoAdd Hurricane Electric and SixXs servers.
CryptoManiac [Sun, 20 Sep 2015 20:30:40 +0000]
Add Hurricane Electric and SixXs servers.

8 years agoFix msvc c4200 warning 236/head
svost [Sun, 20 Sep 2015 19:33:52 +0000]
Fix msvc c4200 warning

8 years agoSuppress msvc c4244 warning
svost [Sun, 20 Sep 2015 19:29:52 +0000]
Suppress msvc c4244 warning

8 years agoAdd 5 new ntp servers.
CryptoManiac [Sun, 20 Sep 2015 19:16:20 +0000]
Add 5 new ntp servers.

8 years ago;)
CryptoManiac [Sun, 20 Sep 2015 17:28:13 +0000]
;)

8 years agoMerge branch 'master' of ssh://github.com/novacoin-project/novacoin
CryptoManiac [Sun, 20 Sep 2015 17:22:14 +0000]
Merge branch 'master' of ssh://github.com/novacoin-project/novacoin

8 years agoGet periodical time samples through NTP
CryptoManiac [Sun, 20 Sep 2015 17:21:40 +0000]
Get periodical time samples through NTP

8 years agoMerge pull request #234 from svost/bitcoin-syncscore
CryptoManiac [Sun, 20 Sep 2015 13:08:26 +0000]
Merge pull request #234 from svost/bitcoin-syncscore

Use pnode->nLastRecv as sync score directly

8 years ago10 seconds timeout for NTP requests.
CryptoManiac [Sun, 20 Sep 2015 13:06:08 +0000]
10 seconds timeout for NTP requests.

8 years agoAdd Caltech time servers.
CryptoManiac [Sun, 20 Sep 2015 12:41:12 +0000]
Add Caltech time servers.

8 years agoAdd time samples from NTP while starting up.
CryptoManiac [Sun, 20 Sep 2015 12:29:15 +0000]
Add time samples from NTP while starting up.

8 years agoComments correction.
CryptoManiac [Sun, 20 Sep 2015 11:53:57 +0000]
Comments correction.

8 years agoUse pnode->nLastRecv as sync score directly 234/head
Huang Le [Fri, 30 May 2014 15:44:44 +0000]
Use pnode->nLastRecv as sync score directly

NodeSyncScore() should find the node which we recv data most recently, so put a negative sign to pnode->nLastRecv is indeed wrong.

Also change the return value type to int64_t.

Signed-off-by: Huang Le <4tarhl@gmail.com>

8 years agoAdd some public NTP servers.
CryptoManiac [Sun, 20 Sep 2015 00:46:47 +0000]
Add some public NTP servers.