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

5 years agoMerge pull request #379 from svost/c++11
CryptoManiac [Tue, 21 Aug 2018 19:57:08 +0000]
Merge pull request #379 from svost/c++11

Rollup to svost current state.

6 years agoFix CBitcoinAddress::GetKeyID logic 365/head 379/head
svost [Fri, 4 Aug 2017 07:50:02 +0000]
Fix CBitcoinAddress::GetKeyID logic

7 years agoFix wrong index in sendfrom function
svost [Fri, 14 Apr 2017 06:18:35 +0000]
Fix wrong index in sendfrom function

7 years agoFix version info
svost [Mon, 27 Feb 2017 09:33:47 +0000]
Fix version info

7 years agoRemove aes.h as include
svost [Mon, 13 Feb 2017 14:01:00 +0000]
Remove aes.h as include

7 years agoUpdate namespaces
svost [Mon, 13 Feb 2017 07:12:29 +0000]
Update namespaces

7 years agoMove 'nTransactionFee' to wallet.cpp
svost [Fri, 10 Feb 2017 10:30:45 +0000]
Move 'nTransactionFee' to wallet.cpp

7 years agoHeader cleanup: not used.
svost [Fri, 10 Feb 2017 06:40:52 +0000]
Header cleanup: not used.

7 years agoFix boost logic (taked from bitcoin 1ed6d49)
svost [Fri, 10 Feb 2017 06:23:34 +0000]
Fix boost logic (taked from bitcoin 1ed6d49)

7 years agoRemove boost namespace from init.cpp
svost [Fri, 10 Feb 2017 05:28:16 +0000]
Remove boost namespace from init.cpp

7 years agoQuick MSVC buid fix after 37364b2
svost [Thu, 9 Feb 2017 19:24:36 +0000]
Quick MSVC buid fix after  37364b2

7 years agoRemove netbase.h from util header: create timedata files.
svost [Thu, 9 Feb 2017 14:29:27 +0000]
Remove netbase.h from util header: create timedata files.

7 years agoRemove uint256.h from util header
svost [Thu, 9 Feb 2017 05:45:07 +0000]
Remove uint256.h from util header

7 years agoAdd missed lock
svost [Wed, 8 Feb 2017 09:24:34 +0000]
Add missed lock

7 years agoRename fNoListen to fListen
svost [Tue, 7 Feb 2017 18:27:45 +0000]
Rename fNoListen to fListen

7 years agorpc: add getnetworkinfo
svost [Mon, 6 Feb 2017 18:45:24 +0000]
rpc: add getnetworkinfo

7 years agoAdd autocomplete to novacoin-qt's console window
svost [Mon, 6 Feb 2017 09:03:42 +0000]
Add autocomplete to novacoin-qt's console window
Origin: https://github.com/bitcoin/bitcoin/pull/7613

7 years agoPrevent socket leak in ThreadSocketHandler
svost [Sun, 5 Feb 2017 16:27:38 +0000]
Prevent socket leak in ThreadSocketHandler
Origin: https://github.com/bitcoin/bitcoin/commit/d20791b0e524bb1834ec7776acf0dec84c24861b#diff-9a82240fe7dfe86564178691cc57f2f1

7 years agoupdateView: add check against nullptr
svost [Sat, 4 Feb 2017 19:15:36 +0000]
updateView: add check against nullptr

7 years agoremove CPubKey::VerifyCompact( ) which is never used
svost [Fri, 3 Feb 2017 05:17:31 +0000]
remove CPubKey::VerifyCompact( ) which is never used

7 years agoremove GetMedianTime( ) which is never used
svost [Fri, 3 Feb 2017 05:15:28 +0000]
remove GetMedianTime( ) which is never used

7 years agoCNode::IsBanned add constant reference
svost [Thu, 2 Feb 2017 19:40:51 +0000]
CNode::IsBanned add constant reference

7 years agoremove LogException( ) which is never used
Kamil Domanski [Tue, 13 May 2014 19:00:16 +0000]
remove LogException( ) which is never used

7 years agoremove CTransaction::IsNewerThan which is never used
svost [Thu, 2 Feb 2017 14:26:52 +0000]
remove CTransaction::IsNewerThan which is never used

7 years agoremove CWallet::AddReserveKey which is never used
Kamil Domanski [Tue, 13 May 2014 18:48:34 +0000]
remove CWallet::AddReserveKey which is never used

7 years agoReplace non-threadsafe strerror
svost [Thu, 2 Feb 2017 13:17:25 +0000]
Replace non-threadsafe strerror
origin from https://github.com/bitcoin/bitcoin/commit/a60838d09aed4d976e9343e8329d61afff204435#diff-4942713bcd2752bb531bf76c9a0ba38e

7 years agoAlways build with IPV6 support
svost [Thu, 2 Feb 2017 10:29:44 +0000]
Always build with IPV6 support

7 years agoqt: Fix random segfault when closing "Choose data directory" dialog
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 agoRemove 'estimated total blocks' field from gui
svost [Thu, 2 Feb 2017 06:22:26 +0000]
Remove 'estimated total blocks' field from gui

7 years agoQuick fix after 8ba3ee4
svost [Thu, 2 Feb 2017 06:20:39 +0000]
Quick fix after 8ba3ee4

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