novacoin.git
4 years agoFix getbalance() bug c++11
CryptoManiac [Fri, 17 Apr 2020 22:05:46 +0000]
Fix getbalance() bug

7 years agoMerge pull request #364 from svost/c++11 origin/c++11
CryptoManiac [Mon, 30 Jan 2017 20:01:04 +0000]
Merge pull request #364 from svost/c++11

Minor updates to c++11 branch

7 years agoqt: Fix random segfault when closing "Choose data directory" dialog 364/head
Wladimir J. van der Laan [Thu, 18 Aug 2016 14:58:04 +0000]
qt: Fix random segfault when closing "Choose data directory" dialog

The `pickDataDirectory()` function was calling `exit(0)` to quit
the application when the user closes the dialog without choosing
a data directory.

This is a bad idea because a background thread is created (to
check free space on the drive of the currently selected datadir).
The thread is not stopped and unwound properly, resulting in a potential
race condition somewhere deep in Qt.

So replace the `exit()` by a boolean return value, and let the
stack unwind normally.

7 years agoQuick fix after 8ba3ee4
svost [Mon, 30 Jan 2017 16:01:44 +0000]
Quick fix after 8ba3ee4

7 years agoRemove 'estimated total blocks' field from gui
svost [Mon, 30 Jan 2017 14:27:56 +0000]
Remove 'estimated total blocks' field from gui

7 years agoMerge pull request #363 from svost/c++11
CryptoManiac [Mon, 30 Jan 2017 10:42:29 +0000]
Merge pull request #363 from svost/c++11

Build fixes

7 years agoRemove socks4 support 363/head
svost [Mon, 30 Jan 2017 09:27:12 +0000]
Remove socks4 support

7 years agoDon't return an address for invalid pubkeys
svost [Mon, 30 Jan 2017 07:36:27 +0000]
Don't return an address for invalid pubkeys

7 years agoUpdate CScriptID class
svost [Sat, 28 Jan 2017 10:26:28 +0000]
Update CScriptID class

7 years agorpcmining.cpp remove CBigNum from code
svost [Fri, 27 Jan 2017 07:06:33 +0000]
rpcmining.cpp remove CBigNum from code

7 years agoCleanup rpcmining.cpp
svost [Thu, 26 Jan 2017 11:38:06 +0000]
Cleanup rpcmining.cpp

7 years agoUpdate timestamps.h
svost [Wed, 25 Jan 2017 14:25:54 +0000]
Update timestamps.h

7 years agoMinor fix for USE_QRCODE flag
svost [Wed, 25 Jan 2017 11:02:20 +0000]
Minor fix for USE_QRCODE flag
Remove next message on startup from console
$ ./novacoin-qt
QMetaObject::connectSlotsByName: No matching signal for on_showQRCode_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_showQRCode_clicked()

7 years agoNot used in code
svost [Wed, 25 Jan 2017 07:46:56 +0000]
Not used in code

7 years agoMake keystore.h bit compact
svost [Mon, 23 Jan 2017 06:33:37 +0000]
Make keystore.h bit compact

7 years agoReplace with c+11 feature
svost [Mon, 16 Jan 2017 11:34:04 +0000]
Replace with c+11 feature

7 years agoBuild fixes
svost [Sun, 15 Jan 2017 20:03:15 +0000]
Build fixes

7 years agoMerge pull request #362 from svost/c++11
CryptoManiac [Sat, 3 Dec 2016 21:59:20 +0000]
Merge pull request #362 from svost/c++11

Clear history when using clear button in RPC console

7 years agoSee https://github.com/bitcoin/bitcoin/pull/1767 362/head
svost [Sat, 3 Dec 2016 18:18:34 +0000]
See https://github.com/bitcoin/bitcoin/pull/1767

7 years agoMerge pull request #358 from svost/c++11
CryptoManiac [Fri, 4 Nov 2016 19:38:42 +0000]
Merge pull request #358 from svost/c++11

Minor restyle at c++11 branch

7 years agoRemove useless inline 358/head
svost [Mon, 17 Oct 2016 09:51:43 +0000]
Remove useless inline

7 years agoRewrite FormatMoney function
svost [Thu, 13 Oct 2016 12:34:00 +0000]
Rewrite FormatMoney function

7 years agoNo more boost format function in code
svost [Wed, 12 Oct 2016 11:53:02 +0000]
No more boost format function in code

7 years agoRemove boost format function
svost [Wed, 12 Oct 2016 09:16:35 +0000]
Remove boost format function

7 years agoRemove boost join function
svost [Wed, 12 Oct 2016 07:06:52 +0000]
Remove boost join function

7 years agoRemove boost replace_all function
svost [Tue, 11 Oct 2016 13:08:16 +0000]
Remove boost replace_all function

7 years agoMerge pull request #357 from svost/c++11
CryptoManiac [Thu, 6 Oct 2016 20:18:04 +0000]
Merge pull request #357 from svost/c++11

Minor restyle at c++11 branch

7 years agoCleanup forward declaration in main.h 357/head
svost [Thu, 6 Oct 2016 13:08:47 +0000]
Cleanup forward declaration in main.h

7 years agoReorganize includes a bit
svost [Thu, 6 Oct 2016 09:05:08 +0000]
Reorganize includes a bit

7 years agoMerge pull request #356 from svost/c++11
CryptoManiac [Wed, 5 Oct 2016 13:43:55 +0000]
Merge pull request #356 from svost/c++11

Minor restyle at c++11 branch

7 years agoRework some header files 356/head
svost [Wed, 5 Oct 2016 07:20:33 +0000]
Rework some header files

7 years agoMove definition to cpp file
svost [Tue, 4 Oct 2016 14:32:37 +0000]
Move definition to cpp file

7 years agoMerge pull request #355 from svost/c++11
CryptoManiac [Mon, 3 Oct 2016 20:02:46 +0000]
Merge pull request #355 from svost/c++11

Minor restyle at c++11 branch

7 years agoMake wallet.h bit compact 355/head
svost [Mon, 3 Oct 2016 19:55:29 +0000]
Make wallet.h bit compact

7 years agoRemove namespace from net.h
svost [Mon, 3 Oct 2016 14:43:30 +0000]
Remove namespace from net.h

7 years agoDeal with namespace
svost [Mon, 3 Oct 2016 14:31:32 +0000]
Deal with namespace

7 years agoRemove namespace from header files
svost [Mon, 3 Oct 2016 13:32:17 +0000]
Remove namespace from header files

7 years agoWip: deal with namespace in h and cpp files
svost [Mon, 3 Oct 2016 13:17:08 +0000]
Wip: deal with namespace in h and cpp files

7 years agoMerge pull request #354 from svost/c++11
CryptoManiac [Mon, 3 Oct 2016 06:23:07 +0000]
Merge pull request #354 from svost/c++11

Minor fix for c++11 branch

7 years agoHeaders fix 354/head
svost [Mon, 3 Oct 2016 05:30:22 +0000]
Headers fix
quick fix for https://github.com/novacoin-project/novacoin/commit/df22c96b92f6fd786d7a08ea8333f22cd943c644
fix for -DUSE_ASM=0 branch

7 years agoMerge pull request #353 from svost/c++11
CryptoManiac [Mon, 3 Oct 2016 00:03:24 +0000]
Merge pull request #353 from svost/c++11

Minor restyle whith std=c++11

7 years agoSwitch checkqueue to std::mutex 353/head
svost [Sun, 2 Oct 2016 20:12:41 +0000]
Switch checkqueue to std::mutex

7 years agoSwitch to builtin tolower
svost [Sun, 2 Oct 2016 18:07:56 +0000]
Switch to builtin tolower

7 years agoMerge pull request #352 from svost/c++11
CryptoManiac [Fri, 30 Sep 2016 07:47:04 +0000]
Merge pull request #352 from svost/c++11

Minor fix

7 years agoJust use <limits> 352/head
svost [Fri, 30 Sep 2016 07:44:39 +0000]
Just use <limits>

7 years agoPos mining wake up. Partial revert
svost [Fri, 30 Sep 2016 06:33:41 +0000]
Pos mining wake up. Partial revert
https://github.com/novacoin-project/novacoin/commit/08e69083634e1c18164e98888f6a65e05757511d#diff-e25a265a6c6826233947a77f534ef48e

7 years agoFix listaddressgroupings comand
svost [Fri, 23 Sep 2016 10:33:27 +0000]
Fix listaddressgroupings comand

7 years agoMerge pull request #350 from svost/c++11
CryptoManiac [Wed, 28 Sep 2016 06:30:11 +0000]
Merge pull request #350 from svost/c++11

Todo: complitely remove stack macro

7 years agoReplace boost/date_time with c++11 in util.h 350/head
svost [Thu, 15 Sep 2016 11:17:26 +0000]
Replace boost/date_time with c++11 in util.h

7 years agoDrop sprintf dependency
svost [Tue, 13 Sep 2016 08:05:37 +0000]
Drop sprintf dependency

7 years agoOne type for all nIn vars
svost [Sun, 11 Sep 2016 14:04:38 +0000]
One type for all nIn vars

7 years agoBit cleaner code in scripts files
svost [Sun, 11 Sep 2016 11:26:58 +0000]
Bit cleaner code in scripts files

7 years agoTodo: complitely remove stack macro
svost [Sat, 10 Sep 2016 16:54:59 +0000]
Todo: complitely remove stack macro

7 years agoMerge pull request #348 from svost/c++11
CryptoManiac [Fri, 13 May 2016 08:17:35 +0000]
Merge pull request #348 from svost/c++11

Minor fix

7 years agoFrom bitcoin https://github.com/bitcoin/bitcoin/pull/7907 348/head
svost [Tue, 10 May 2016 12:42:08 +0000]
From bitcoin https://github.com/bitcoin/bitcoin/pull/7907

7 years agoRefresh protocol.cpp
svost [Mon, 9 May 2016 19:47:14 +0000]
Refresh protocol.cpp

7 years agoMerge pull request #347 from svost/c++11
CryptoManiac [Mon, 9 May 2016 04:31:29 +0000]
Merge pull request #347 from svost/c++11

Minor fix

7 years agoClose file if fseek failed 347/head
svost [Sun, 8 May 2016 20:54:46 +0000]
Close file if fseek failed

7 years agoFix coverity CID 102353
svost [Sun, 8 May 2016 18:26:52 +0000]
Fix coverity CID 102353

7 years agoUse CBigNum for temporary variables to prevent overflow. Which is unlikely to happen...
CryptoManiac [Sat, 7 May 2016 21:26:54 +0000]
Use CBigNum for temporary variables to prevent overflow. Which is unlikely to happen, though.

7 years agoPartially revert 641bbc230eb599a688a11d9c4260a6bcd629bb9f
CryptoManiac [Sat, 7 May 2016 20:44:21 +0000]
Partially revert 641bbc230eb599a688a11d9c4260a6bcd629bb9f

7 years agoUse MoneyRange(txout.nValue) to get rid of excessive checking.
CryptoManiac [Sat, 7 May 2016 20:11:46 +0000]
Use MoneyRange(txout.nValue) to get rid of excessive checking.

7 years agoThis check is excessive since we don't support walletless mode for now.
CryptoManiac [Sat, 7 May 2016 19:54:12 +0000]
This check is excessive since we don't support walletless mode for now.

7 years agoFix sign comparison warning & replace unsigned int with uint32_t for nIn.
CryptoManiac [Sat, 7 May 2016 19:17:37 +0000]
Fix sign comparison warning & replace unsigned int with uint32_t for nIn.

7 years agoMerge pull request #346 from svost/c++11
CryptoManiac [Sat, 7 May 2016 18:57:37 +0000]
Merge pull request #346 from svost/c++11

Minor fix

7 years agoFix coverity CWE676: get rid of rand() function 346/head
svost [Sat, 7 May 2016 18:37:55 +0000]
Fix coverity CWE676: get rid of rand() function

7 years agoMerge pull request #345 from svost/c++11
CryptoManiac [Fri, 6 May 2016 22:28:52 +0000]
Merge pull request #345 from svost/c++11

Minor fix: c++11 branch

7 years agoMove variables to a new location 345/head
svost [Fri, 6 May 2016 18:45:06 +0000]
Move variables to a new location

7 years agoBit more universal code
svost [Fri, 6 May 2016 18:16:08 +0000]
Bit more universal code

7 years agoError var declared in CKey::DecryptData as non-null char array
svost [Fri, 6 May 2016 13:00:48 +0000]
Error var declared in CKey::DecryptData as non-null char array

7 years agoIt's c++
svost [Fri, 6 May 2016 11:27:50 +0000]
It's c++

7 years agoWork around coverity CID 102373
svost [Fri, 6 May 2016 06:55:53 +0000]
Work around coverity CID 102373

7 years agoMerge pull request #344 from svost/c++11
CryptoManiac [Thu, 5 May 2016 12:50:00 +0000]
Merge pull request #344 from svost/c++11

Minor fix: c++11 branch

7 years agoFix coverity CID 102345 344/head
svost [Thu, 5 May 2016 08:42:40 +0000]
Fix coverity CID 102345

7 years agoMerge pull request #343 from svost/c++11
CryptoManiac [Wed, 4 May 2016 15:43:56 +0000]
Merge pull request #343 from svost/c++11

Minor fix: c++11 branch

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

7 years agoMerge pull request #342 from svost/c++11
CryptoManiac [Wed, 4 May 2016 12:08:59 +0000]
Merge pull request #342 from svost/c++11

Minor fix: c++11 branch

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

7 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

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

7 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

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

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

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

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

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

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

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

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

7 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

7 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

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

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

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

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

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

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

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

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

7 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