novacoin.git
9 years agoMerge branch 'master' of github.com:novacoin-project/novacoin v0.4.4.6-nvc-update8
MASM fan [Fri, 29 Aug 2014 18:51:00 +0000]
Merge branch 'master' of github.com:novacoin-project/novacoin

9 years agoMerge pull request #31 from CryptoManiac/master
CryptoManiac [Fri, 29 Aug 2014 18:50:43 +0000]
Merge pull request #31 from CryptoManiac/master

Contrib: update defrag script

9 years agoContrib: update defrag script 31/head
CryptoManiac [Fri, 29 Aug 2014 18:40:53 +0000]
Contrib: update defrag script

9 years agoMerge pull request #30 from CryptoManiac/master
0xDEADFACE [Fri, 29 Aug 2014 13:31:33 +0000]
Merge pull request #30 from CryptoManiac/master

Coin operation updates

9 years agoGetstakeweight: load coins metadata if there are no items loaded 30/head
CryptoManiac [Thu, 28 Aug 2014 23:06:12 +0000]
Getstakeweight: load coins metadata if there are no items loaded

9 years agoRPC: modify mergecoins
CryptoManiac [Thu, 28 Aug 2014 22:29:53 +0000]
RPC: modify mergecoins

* Parameter set changes (implement minimum coin credit and use output credit as a maximum value of coin credit);
* Handle of maximum and minimum coin credit while selecting available inputs.

9 years agoCoins metadata load fixes
CryptoManiac [Wed, 20 Aug 2014 20:42:55 +0000]
Coins metadata load fixes

* Don't load coin and meta if we unable to calculate suitable stake modifier for this coin;
* Move definition of MapMeta to CWallet class;
* Use MapMeta for stake weight calculation.

9 years agoCoins selection fix
CryptoManiac [Tue, 19 Aug 2014 22:16:24 +0000]
Coins selection fix

9 years agoImplement stake kernel mining as a separate function
CryptoManiac [Tue, 19 Aug 2014 18:41:31 +0000]
Implement stake kernel mining as a separate function

This change allows us to reduce amount of intermediatte operations, such as header hashing or modifier calculation. As the result, we've got ~20x drop of CPU load and 60x boost of kernel scanning speed.

9 years agoMerge branch 'master' of github.com:novacoin-project/novacoin
MASM fan [Sun, 17 Aug 2014 05:29:32 +0000]
Merge branch 'master' of github.com:novacoin-project/novacoin

9 years agoMerge pull request #29 from CryptoManiac/master
0xDEADFACE [Sun, 17 Aug 2014 05:28:14 +0000]
Merge pull request #29 from CryptoManiac/master

RPC: mergecoins fix

9 years agoRPC: fix stake weight calculation 29/head
CryptoManiac [Sun, 17 Aug 2014 00:53:16 +0000]
RPC: fix stake weight calculation

9 years agoRPC: mergecoins fix
CryptoManiac [Sat, 16 Aug 2014 23:06:37 +0000]
RPC: mergecoins fix

* Move maturity verification to SelectCoinsSimple();
* Verify transaction sum correctly;
* Replace an intermediate transaction signing with estimation of transaction size for performance purposes.

9 years agoMerge pull request #28 from CryptoManiac/master
CryptoManiac [Fri, 15 Aug 2014 23:17:07 +0000]
Merge pull request #28 from CryptoManiac/master

Merge wallettools changes

9 years agoAdd defragmentation script example 28/head
CryptoManiac [Fri, 15 Aug 2014 23:06:04 +0000]
Add defragmentation script example

9 years agoMerge remote-tracking branch 'remotes/origin_project/master'
CryptoManiac [Fri, 15 Aug 2014 22:49:01 +0000]
Merge remote-tracking branch 'remotes/origin_project/master'

9 years agoSet port number to 8344
CryptoManiac [Fri, 15 Aug 2014 22:25:09 +0000]
Set port number to 8344

9 years agoAdd octet stream operations
CryptoManiac [Sat, 12 Jul 2014 14:22:17 +0000]
Add octet stream operations

9 years agoFix immature balance caching issues v0.4.4.6-nvc-update7
CryptoManiac [Sat, 2 Aug 2014 18:34:04 +0000]
Fix immature balance caching issues

9 years agoMerge remote-tracking branch 'remotes/origin_project/master'
CryptoManiac [Sun, 3 Aug 2014 18:37:41 +0000]
Merge remote-tracking branch 'remotes/origin_project/master'

9 years agoFix daemon makefiles syntax
MASM fan [Sat, 2 Aug 2014 23:29:03 +0000]
Fix daemon makefiles syntax

9 years agoSplit off translations code into separate .pro file
MASM fan [Sat, 2 Aug 2014 22:01:33 +0000]
Split off translations code into separate .pro file

This is required to resolve issues with detection of configuration flags.

9 years agoRPC: Add mergecoins function
MASM fan [Sat, 2 Aug 2014 18:37:00 +0000]
RPC: Add mergecoins function

This method allows you to merge inputs according to specified criteria

9 years agoFix immature balance caching issues 27/head
CryptoManiac [Sat, 2 Aug 2014 18:34:04 +0000]
Fix immature balance caching issues

9 years agoAdd createmultisig RPC
MASM fan [Thu, 31 Jul 2014 20:01:30 +0000]
Add createmultisig RPC

Same as addmultisigaddress, but returns JSON object instead of addition of address into the wallet.

9 years agoMerge pull request #26 from CryptoManiac/master
0xDEADFACE [Tue, 29 Jul 2014 18:01:10 +0000]
Merge pull request #26 from CryptoManiac/master

Restore BDB index wrapper, add sync node concept

9 years agoAdd bytessent, bytesrecv and syncnode to getpeerinfo 26/head
CryptoManiac [Mon, 28 Jul 2014 19:06:46 +0000]
Add bytessent, bytesrecv and syncnode to getpeerinfo

9 years agoMake sure we always have a node to do IBD from
CryptoManiac [Mon, 28 Jul 2014 18:57:22 +0000]
Make sure we always have a node to do IBD from

This introduces the concept of the 'sync node', which is the one we
asked for missing blocks. In case the sync node goes away, a new one
will be selected.

9 years agoRestore BDB block index wrapper and enable it by default.
CryptoManiac [Mon, 28 Jul 2014 18:29:55 +0000]
Restore BDB block index wrapper and enable it by default.

9 years agoMerge pull request #25 from CryptoManiac/master
CryptoManiac [Sat, 26 Jul 2014 21:55:59 +0000]
Merge pull request #25 from CryptoManiac/master

Immature balance fixes

9 years agoFix calculation of immature balance. 25/head
CryptoManiac [Sat, 26 Jul 2014 21:53:13 +0000]
Fix calculation of immature balance.

9 years agoRemove old maturity handling code
CryptoManiac [Sat, 26 Jul 2014 17:55:43 +0000]
Remove old maturity handling code

9 years agoMerge pull request #24 from CryptoManiac/master v0.4.4.6-nvc-update6
0xDEADFACE [Sat, 26 Jul 2014 13:26:59 +0000]
Merge pull request #24 from CryptoManiac/master

0.4.4.6u5 changes & unspendable coin fixes

9 years agoImplement IsMine filter 24/head
CryptoManiac [Sat, 26 Jul 2014 13:05:19 +0000]
Implement IsMine filter

9 years agoBump protocol version 23/head
CryptoManiac [Fri, 25 Jul 2014 18:02:18 +0000]
Bump protocol version

9 years agoMerge branch 'master' of github.com:CryptoManiac/novacoin
CryptoManiac [Fri, 25 Jul 2014 17:54:57 +0000]
Merge branch 'master' of github.com:CryptoManiac/novacoin

9 years agoBugfix: Unspendable inputs handling
CryptoManiac [Fri, 25 Jul 2014 17:51:11 +0000]
Bugfix: Unspendable inputs handling

* Use script matching instead of destination matching to prevent possible compatibility issues;
* Split GetBalance, GetAvailableCredit and GetCredit to regular and watch-only counterparts.

9 years agoUse STRICT_FLAGS for signatures validation 21/head
CryptoManiac [Tue, 22 Jul 2014 19:37:38 +0000]
Use STRICT_FLAGS for signatures validation

since 20 Sep 2014.

9 years agoAdd SIG_SWITCH_TIME at Sat, 20 Sep 2014
CryptoManiac [Tue, 22 Jul 2014 19:33:49 +0000]
Add SIG_SWITCH_TIME at Sat, 20 Sep 2014

9 years agoRename fields
CryptoManiac [Sun, 20 Jul 2014 01:29:20 +0000]
Rename fields

9 years agoRPC: Add parsed and raw checkpoint message data in gectcheckpoint output.
CryptoManiac [Sun, 20 Jul 2014 00:03:50 +0000]
RPC: Add parsed and raw checkpoint message data in gectcheckpoint output.

9 years agoRPC: return raw transactions instead of parsed representation.
CryptoManiac [Sat, 19 Jul 2014 18:54:06 +0000]
RPC: return raw transactions instead of parsed representation.

This change allows us to dramatically reduce electrum-server RPC overhead, but breaks compatibility. If you are using script which depends on this functionality then add decoderawtransaction to get a parsed tx representation.

9 years agoPrevent import keys for watch-only addresses and vice versa.
CryptoManiac [Sat, 19 Jul 2014 15:11:01 +0000]
Prevent import keys for watch-only addresses and vice versa.

9 years agoHandle unspendable inputs correctly.
CryptoManiac [Sat, 19 Jul 2014 14:35:29 +0000]
Handle unspendable inputs correctly.

* Add unspendable coins amount to overview page and getinfo RPC output;
* Replace current balance with amount of spendable coins on send coins page.

9 years agoMerge support for watch-only addresses
CryptoManiac [Sat, 19 Jul 2014 01:05:51 +0000]
Merge support for watch-only addresses

Based on a patch by Eric Lombrozo.

9 years agoFix order comparison.
CryptoManiac [Sat, 19 Jul 2014 00:01:05 +0000]
Fix order comparison.

9 years agoFix coin control change field behavior.
CryptoManiac [Sat, 19 Jul 2014 00:00:00 +0000]
Fix coin control change field behavior.

Always check change address field value before creating new transaction.

9 years agoAdd redeemScript to listunspent output and signrawtransaction input
CryptoManiac [Fri, 18 Jul 2014 23:26:15 +0000]
Add redeemScript to listunspent output and signrawtransaction input

signrawtransaction was unable to sign p2sh inputs when given a list of private keys to use.

https://bitcointalk.org/index.php?topic=143221.msg7811880#msg7811880

9 years agoExtended signature format checkings.
CryptoManiac [Fri, 18 Jul 2014 22:17:52 +0000]
Extended signature format checkings.

9 years agoUse low S to break signatures malleability issue
CryptoManiac [Fri, 18 Jul 2014 18:20:07 +0000]
Use low S to break signatures malleability issue

9 years agoUse low S values instead of even values.
CryptoManiac [Fri, 18 Jul 2014 16:20:18 +0000]
Use low S values instead of even values.

9 years agoFix segmentation fault during shutdown.
CryptoManiac [Fri, 18 Jul 2014 15:48:33 +0000]
Fix segmentation fault during shutdown.

9 years agoTurn the signature cache lock into a shared mutex
CryptoManiac [Wed, 16 Jul 2014 21:27:31 +0000]
Turn the signature cache lock into a shared mutex

9 years agoMulti-threaded signatures checking support, rename threads.
CryptoManiac [Wed, 16 Jul 2014 01:02:26 +0000]
Multi-threaded signatures checking support, rename threads.

9 years agoReplace VerifyScript with CScriptCheck
CryptoManiac [Tue, 15 Jul 2014 23:26:55 +0000]
Replace VerifyScript with CScriptCheck

CScriptCheck is a closure representing a script check.

9 years agoUse nBestHeight instead of index height.
CryptoManiac [Tue, 15 Jul 2014 23:16:53 +0000]
Use nBestHeight instead of index height.

9 years agoScript verification fixes
CryptoManiac [Tue, 15 Jul 2014 23:11:36 +0000]
Script verification fixes

9 years agoMove VerifySignature to main
CryptoManiac [Tue, 15 Jul 2014 22:36:10 +0000]
Move VerifySignature to main

9 years agoImplement additional script verification flags
CryptoManiac [Tue, 15 Jul 2014 22:11:14 +0000]
Implement additional script verification flags

9 years agoRemove enforcecanonical option, it's always active from now.
CryptoManiac [Tue, 15 Jul 2014 18:05:52 +0000]
Remove enforcecanonical option, it's always active from now.

9 years agoGenerate only signatures with even S values
CryptoManiac [Tue, 15 Jul 2014 17:53:35 +0000]
Generate only signatures with even S values

It's helpful against a minor malleability issue found by Sergio Lerner, check this thread for additional information

https://bitcointalk.org/index.php?topic=8392.msg1245898#msg1245898

9 years agoMerge remote-tracking branch 'remotes/origin_project/master'
CryptoManiac [Sun, 13 Jul 2014 23:32:58 +0000]
Merge remote-tracking branch 'remotes/origin_project/master'

9 years agoMerge branch 'master' of github.com:novacoin-project/novacoin
CryptoManiac [Sun, 13 Jul 2014 23:29:32 +0000]
Merge branch 'master' of github.com:novacoin-project/novacoin

9 years agoAdd OP_SMALLDATA handling to GetOpName
CryptoManiac [Sun, 13 Jul 2014 23:28:37 +0000]
Add OP_SMALLDATA handling to GetOpName

9 years agoFix hash.h dependency
CryptoManiac [Sat, 12 Jul 2014 14:30:08 +0000]
Fix hash.h dependency

9 years agoSplit off hash.h from util.h
CryptoManiac [Wed, 19 Feb 2014 19:29:08 +0000]
Split off hash.h from util.h

9 years agoUse OpenSSL 1.0.1h
MASM fan [Fri, 11 Jul 2014 06:17:20 +0000]
Use OpenSSL 1.0.1h

9 years agoBump version v0.4.4.6-nvc-update4
CryptoManiac [Thu, 10 Jul 2014 22:19:02 +0000]
Bump version

9 years agoMerge pull request #20 from CryptoManiac/master
CryptoManiac [Thu, 10 Jul 2014 22:13:42 +0000]
Merge pull request #20 from CryptoManiac/master

Merge recent additions from unstable branch

9 years agoformat the network weight value as integer 20/head
CryptoManiac [Thu, 10 Jul 2014 22:11:15 +0000]
format the network weight value as integer

9 years agoUI fixes
alex [Sun, 19 Jan 2014 05:26:25 +0000]
UI fixes

* QT: sort transactions by date;
* RPC: repairwallet removes orphan related records from the wallet;
* Change currency symbol on coincontrol form, fix some typos.

9 years agoMake sure that new stake modifier meets fixed generation interval.
CryptoManiac [Thu, 10 Jul 2014 21:22:02 +0000]
Make sure that new stake modifier meets fixed generation interval.

Mandatory protocol update, becomes active since 20 Oct 2014.

9 years agoRelay OP_RETURN data TxOut as standard transaction type
CryptoManiac [Thu, 10 Jul 2014 19:03:49 +0000]
Relay OP_RETURN data TxOut as standard transaction type

9 years agoTranslations update
CryptoManiac [Sat, 21 Jun 2014 20:15:11 +0000]
Translations update

9 years agoCoinControl: add paste from address book and clipboard buttons for custom change...
CryptoManiac [Sat, 21 Jun 2014 13:34:08 +0000]
CoinControl: add paste from address book and clipboard buttons for custom change address, standard validation of custom change address.

9 years agoConvert UI files to UNIX EOL format.
CryptoManiac [Sat, 21 Jun 2014 12:08:37 +0000]
Convert UI files to UNIX EOL format.

9 years agoTypo fix
CryptoManiac [Sat, 21 Jun 2014 10:33:38 +0000]
Typo fix

9 years agoUnlock menu fix
CryptoManiac [Fri, 20 Jun 2014 21:55:29 +0000]
Unlock menu fix

9 years agoUpdate translations
CryptoManiac [Fri, 20 Jun 2014 21:39:36 +0000]
Update translations

9 years agoTranslations update
CryptoManiac [Fri, 20 Jun 2014 19:08:46 +0000]
Translations update

9 years agoCreate wallet security menu
CryptoManiac [Fri, 20 Jun 2014 18:55:53 +0000]
Create wallet security menu

9 years agoUpdate stake miner GUI
CryptoManiac [Fri, 20 Jun 2014 16:55:12 +0000]
Update stake miner GUI

* Remove suspend notification string from status bar;
* Force icon update after unlocking.

Conflicts:

src/main.cpp
src/miner.cpp

9 years agoTranslations update
CryptoManiac [Fri, 20 Jun 2014 16:33:35 +0000]
Translations update

9 years agoAdd miner icons
CryptoManiac [Thu, 19 Jun 2014 23:08:28 +0000]
Add miner icons

9 years agoStake miner status icon
CryptoManiac [Thu, 19 Jun 2014 23:06:06 +0000]
Stake miner status icon

9 years agoTransactions verification update
CryptoManiac [Thu, 10 Jul 2014 18:22:22 +0000]
Transactions verification update

CheckBlock(): allow coinbase timestamp drift, add nonce checking for proof-of-stake.

9 years agoTranslations update
CryptoManiac [Mon, 16 Jun 2014 07:30:54 +0000]
Translations update

9 years agoImplement DumpWallet and ImportWallet calls from menu.
CryptoManiac [Mon, 16 Jun 2014 01:10:47 +0000]
Implement DumpWallet and ImportWallet calls from menu.

9 years agoMove importwallet and dumpwallet implementations to walletdb.cpp;
CryptoManiac [Mon, 16 Jun 2014 00:07:48 +0000]
Move importwallet and dumpwallet implementations to walletdb.cpp;
Move timestamps encoding and decoding functions to util.cpp.

9 years agoAdd input weight to coin control interface
CryptoManiac [Sun, 15 Jun 2014 20:37:39 +0000]
Add input weight to coin control interface

9 years agoTranslation fixes
CryptoManiac [Thu, 10 Jul 2014 17:40:23 +0000]
Translation fixes

9 years agoNew transaction fees scheme
CryptoManiac [Thu, 10 Jul 2014 17:21:11 +0000]
New transaction fees scheme

* Enable free user transactions since 1 July 2014;
* Force CENT as nMinTxFee and nMinRelayTxFee until 1 July 2014;
* minimum fees adjustments.

9 years agoAdd new checkpoints.
CryptoManiac [Sat, 31 May 2014 21:10:40 +0000]
Add new checkpoints.

Conflicts:

src/checkpoints.cpp
src/kernel.cpp

10 years agoBugfix: Supress "address" key in transaction details, when the destination isn't... 10/head
Luke Dashjr [Sat, 22 Sep 2012 03:22:34 +0000]
Bugfix: Supress "address" key in transaction details, when the destination isn't recognized

Previously, it would pass corrupt/random through base58.

Conflicts:

src/rpcwallet.cpp

10 years agoBugfix: Avoid trying to parse outputs that aren't relevant to CWalletTx::GetAmounts
Luke Dashjr [Sat, 22 Sep 2012 03:20:14 +0000]
Bugfix: Avoid trying to parse outputs that aren't relevant to CWalletTx::GetAmounts

This fixes a warning when an output we aren't concerned with can't be parsed.

10 years agoBitcoin-Qt: fix known addressbook bugs
Philip Kaufmann [Tue, 8 Jan 2013 07:17:58 +0000]
Bitcoin-Qt: fix known addressbook bugs

- add qSort() for cachedAddressTable, as qLowerBound() and qUpperBound()
  require the list to be in ascending order (see
  http://harmattan-dev.nokia.com/docs/library/html/qt4/qtalgorithms.html#qLowerBound)
- add a new check in AddressTableModel::setData() to just return, when no
  changes were made to a label or an address (prevents entry duplication
  issue)
- remove "rec->label = value.toString();" from
  AddressTableModel::setData() as the label gets updated by
  AddressTablePriv::updateEntry() anyway (seems @sipa added this line via
  https://github.com/bitcoin/bitcoin/commit/1025440184ef100a22d07c7bb543ee45cf169d64#L6R225)
- add another new check in AddressTableModel::setData() to just return, if
  a duplicate address was found (prevents address overwrite)
- add a new check to EditAddressDialog::setModel() to prevent setting an
  invalid model
- re-work the switch-case statement in AddressTableModel::accept() to
  always break (as return get's called anyway) and order the list to match
  the enum definition
- make accept() in editaddressdialog.h a public slot, which it should be
- misc small coding style changes

10 years agoAbout dialog update. 7/head
CryptoManiac [Sat, 22 Feb 2014 18:24:17 +0000]
About dialog update.

10 years agoAdd new dns seed node. v0.4.4.6-nvc-update2
MASM fan [Fri, 21 Feb 2014 07:57:51 +0000]
Add new dns seed node.

10 years agoDisconnect buggy clients automatically.
Alex [Mon, 27 Jan 2014 01:36:28 +0000]
Disconnect buggy clients automatically.

10 years agoMerge pull request #5 from CryptoManiac/master
0xDEADFACE [Mon, 17 Feb 2014 18:18:58 +0000]
Merge pull request #5 from CryptoManiac/master

CheckTransaction() strengthening