]> Git Repo - VerusCoin.git/log
VerusCoin.git
9 years agoMerge pull request #5965
Wladimir J. van der Laan [Wed, 8 Apr 2015 07:48:41 +0000 (09:48 +0200)]
Merge pull request #5965

5ff94c6 Add git-subtree-check.sh script (Pieter Wuille)

9 years agoMerge pull request #5969
Wladimir J. van der Laan [Wed, 8 Apr 2015 07:40:44 +0000 (09:40 +0200)]
Merge pull request #5969

f14e687 Chainparams: Decouple CAlert from CChainParams (Jorge Timón)

9 years agoMerge pull request #5959
Wladimir J. van der Laan [Wed, 8 Apr 2015 06:57:19 +0000 (08:57 +0200)]
Merge pull request #5959

ede379f Add additional block index consistency checks (Suhas Daftuar)

9 years agoMerge pull request #5973
Wladimir J. van der Laan [Wed, 8 Apr 2015 06:48:16 +0000 (08:48 +0200)]
Merge pull request #5973

6c35664 [Qt] Clarify: smartfee button name "Minimize" (MarcoFalke)

9 years agoMerge pull request #5948
Pieter Wuille [Tue, 7 Apr 2015 22:10:44 +0000 (15:10 -0700)]
Merge pull request #5948

1cc0e96 Trivial optimization: use GetAncestor to compute new target (Pieter Wuille)

9 years ago[Qt] Clarify: smartfee button name "Minimize"
MarcoFalke [Sun, 5 Apr 2015 12:22:52 +0000 (14:22 +0200)]
[Qt] Clarify: smartfee button name "Minimize"

Make clear this button hides the options instead of minimizing the transaction fee.

9 years agoMerge pull request #5945
Wladimir J. van der Laan [Mon, 6 Apr 2015 07:46:08 +0000 (09:46 +0200)]
Merge pull request #5945

ad9e86d Keep mempool consistent during block-reorgs (Gavin Andresen)

9 years agoChainparams: Decouple CAlert from CChainParams
Jorge Timón [Fri, 3 Apr 2015 15:42:06 +0000 (17:42 +0200)]
Chainparams: Decouple CAlert from CChainParams

9 years agoDocs: Use new Bitcoin.org download URLs
David A. Harding [Fri, 3 Apr 2015 05:51:31 +0000 (07:51 +0200)]
Docs: Use new Bitcoin.org download URLs

9 years agoAdd git-subtree-check.sh script
Pieter Wuille [Fri, 3 Apr 2015 00:15:29 +0000 (17:15 -0700)]
Add git-subtree-check.sh script

9 years agoAdd additional block index consistency checks
Suhas Daftuar [Wed, 1 Apr 2015 17:12:50 +0000 (13:12 -0400)]
Add additional block index consistency checks

This adds more tests to CheckBlockIndex:
- HAVE_DATA is true iff nTx > 0
- BLOCK_VALID_TRANSACTIONS is true iff nTx > 0
- BLOCK_VALID_TRANSACTIONS is true for a block and all parents iff
  nChainTx > 0

9 years agodoc: add historical release notes for 0.10.0
Wladimir J. van der Laan [Wed, 1 Apr 2015 16:43:49 +0000 (18:43 +0200)]
doc: add historical release notes for 0.10.0

9 years agoMerge pull request #5900
Wladimir J. van der Laan [Wed, 1 Apr 2015 15:20:28 +0000 (17:20 +0200)]
Merge pull request #5900

3fcfbc8 Add a consistency check for the block chain data structures (Pieter Wuille)

9 years agoMerge pull request #5941
Wladimir J. van der Laan [Wed, 1 Apr 2015 14:15:38 +0000 (16:15 +0200)]
Merge pull request #5941

1d21ba2 Scale up addrman (Pieter Wuille)
c6a63ce Always use a 50% chance to choose between tried and new entries (Pieter Wuille)
f68ba3f Do not bias outgoing connections towards fresh addresses (Pieter Wuille)
a8ff7c6 Simplify hashing code (Pieter Wuille)
e6b343d Make addrman's bucket placement deterministic. (Pieter Wuille)
b23add5 Switch addrman key from vector to uint256 (Pieter Wuille)

9 years agoMerge pull request #5950
Wladimir J. van der Laan [Wed, 1 Apr 2015 10:21:05 +0000 (12:21 +0200)]
Merge pull request #5950

3a3ecc0 Initialization: setup environment before starting QT tests (dexX7)
fc3979a Initialization: setup environment before starting tests (dexX7)
ba0fa0d Initialization: set fallback locale as environment variable (dexX7)

9 years agoMerge pull request #5833
Wladimir J. van der Laan [Wed, 1 Apr 2015 09:54:12 +0000 (11:54 +0200)]
Merge pull request #5833

721cb55 GUI: Display label rather than address on popups (Luke Dashjr)
e96028c GUI: Clarify terminology; use "Label" heading for labels row, and "Node/Service" rather than [IP] "Address" (Luke Dashjr)

9 years agoMerge pull request #5935
Wladimir J. van der Laan [Wed, 1 Apr 2015 09:34:32 +0000 (11:34 +0200)]
Merge pull request #5935

9d086c0 Update bitcoin.conf (CohibAA)

9 years agoMerge pull request #5940
Wladimir J. van der Laan [Mon, 30 Mar 2015 12:17:31 +0000 (14:17 +0200)]
Merge pull request #5940

0f5954c Regression test for ResendWalletTransactions (Gavin Andresen)

9 years agoMerge pull request #5954
Wladimir J. van der Laan [Mon, 30 Mar 2015 11:37:34 +0000 (13:37 +0200)]
Merge pull request #5954

63e4c9c Fix clang compile warnings intriduced in #5681 (Michael Ford)

9 years agoMerge pull request #5898
Wladimir J. van der Laan [Mon, 30 Mar 2015 08:23:54 +0000 (10:23 +0200)]
Merge pull request #5898

c816833 [Qt] fix rpc console font size to flexible metrics (Jonas Schnelli)

9 years agoFix clang compile warnings intriduced in #5681
Michael Ford [Sun, 29 Mar 2015 11:45:05 +0000 (19:45 +0800)]
Fix clang compile warnings intriduced in #5681

9 years agoInitialization: setup environment before starting QT tests
dexX7 [Fri, 27 Mar 2015 00:33:34 +0000 (01:33 +0100)]
Initialization: setup environment before starting QT tests

The environment is prepared by the main thread to guard against invalid locale settings.

9 years agoInitialization: setup environment before starting tests
dexX7 [Wed, 25 Mar 2015 11:09:17 +0000 (12:09 +0100)]
Initialization: setup environment before starting tests

The environment is prepared by the main thread to guard against invalid locale settings and to prevent deinitialization issues of Boost path, which can result in app crashes.

9 years agoAdd a consistency check for the block chain data structures
Pieter Wuille [Fri, 13 Mar 2015 16:25:34 +0000 (09:25 -0700)]
Add a consistency check for the block chain data structures

This adds a -checkblockindex (defaulting to true for regtest), which occasionally
does a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive, and
mapBlocksUnlinked.

9 years ago[Qt] fix rpc console font size to flexible metrics
Jonas Schnelli [Sat, 14 Mar 2015 11:39:44 +0000 (12:39 +0100)]
[Qt] fix rpc console font size to flexible metrics

should fix #5897

9 years agoInitialization: set fallback locale as environment variable
dexX7 [Fri, 27 Mar 2015 00:07:49 +0000 (01:07 +0100)]
Initialization: set fallback locale as environment variable

The scope of `std::locale::global` appears to be smaller than `setenv("LC_ALL", ...)` and insufficient to fix messed up locale settings for the whole application.

9 years agoTrivial optimization: use GetAncestor to compute new target
Pieter Wuille [Thu, 26 Mar 2015 18:06:27 +0000 (11:06 -0700)]
Trivial optimization: use GetAncestor to compute new target

9 years agoKeep mempool consistent during block-reorgs
Gavin Andresen [Wed, 25 Mar 2015 17:13:09 +0000 (13:13 -0400)]
Keep mempool consistent during block-reorgs

This fixes a subtle bug involving block re-orgs and non-standard transactions.

Start with a block containing a non-standard transaction, and
one or more transactions spending it in the memory pool.

Then re-org away from that block to another chain that does
not contain the non-standard transaction.

Result before this fix: the dependent transactions get stuck
in the mempool without their parent, putting the mempool
in an inconsistent state.

Tested with a new unit test.

9 years agoMerge pull request #5876
Wladimir J. van der Laan [Thu, 26 Mar 2015 08:15:36 +0000 (09:15 +0100)]
Merge pull request #5876

5983a4e Add a NODE_GETUTXO service bit and document NODE_NETWORK. Stop translating the NODE_* names as they are technical and cannot be translated. (Mike Hearn)

9 years agoMerge pull request #5942
Wladimir J. van der Laan [Thu, 26 Mar 2015 07:32:53 +0000 (08:32 +0100)]
Merge pull request #5942

fc72020 don't trickle for whitelisted nodes (Ruben de Vries)

9 years agoMerge pull request #5812
Wladimir J. van der Laan [Thu, 26 Mar 2015 06:39:00 +0000 (07:39 +0100)]
Merge pull request #5812

d698ef6 Consensus: Refactor: Decouple pow.o from chainparams.o (Jorge Timón)
bd00611 Consensus: Refactor: Introduce Consensus::Params class (Jorge Timón)

9 years agoConsensus: Refactor: Decouple pow.o from chainparams.o
Jorge Timón [Sun, 15 Feb 2015 01:21:42 +0000 (02:21 +0100)]
Consensus: Refactor: Decouple pow.o from chainparams.o

9 years agoConsensus: Refactor: Introduce Consensus::Params class
Jorge Timón [Wed, 11 Feb 2015 10:58:11 +0000 (11:58 +0100)]
Consensus: Refactor: Introduce Consensus::Params class

9 years agoFix --disable-wallet build after merge of #5681
Wladimir J. van der Laan [Tue, 24 Mar 2015 21:14:44 +0000 (22:14 +0100)]
Fix --disable-wallet build after merge of #5681

9 years agoRegression test for ResendWalletTransactions
Gavin Andresen [Mon, 23 Mar 2015 17:47:18 +0000 (13:47 -0400)]
Regression test for ResendWalletTransactions

Adds a regression test for the wallet's ResendWalletTransactions function, which uses a new, hidden RPC command "resendwallettransactions."

I refactored main's Broadcast signal so it is passed the best-block time, which let me remove a global variable shared between main.cpp and the wallet (nTimeBestReceived).

I also manually tested the "rebroadcast unconfirmed every half hour or so" functionality by:

1. Running bitcoind -connect=0.0.0.0:8333
2. Creating a couple of send-to-self transactions
3. Connect to a peer using -addnode
4. Waited a while, monitoring debug.log, until I see:
```2015-03-23 18:48:10 ResendWalletTransactions: rebroadcast 2 unconfirmed transactions```

One last change: don't bother putting ResendWalletTransactions messages in debug.log unless unconfirmed transactions were actually rebroadcast.

9 years agoMerge pull request #5681
Wladimir J. van der Laan [Tue, 24 Mar 2015 17:06:54 +0000 (18:06 +0100)]
Merge pull request #5681

8a893c9 Includes: Do not include main.h from any other header (Jorge Timón)
eca0b1e Includes: MOVEONLY: move more method definitions out of wallet.h (Jorge Timón)
26c16d9 Includes: Refactor: Move CValidationInterface and CMainSignals out of main (Jorge Timón)

9 years agoIncludes: Do not include main.h from any other header
Jorge Timón [Thu, 5 Feb 2015 00:21:11 +0000 (01:21 +0100)]
Includes: Do not include main.h from any other header

9 years agoIncludes: MOVEONLY: move more method definitions out of wallet.h
Jorge Timón [Wed, 4 Feb 2015 22:19:29 +0000 (23:19 +0100)]
Includes: MOVEONLY: move more method definitions out of wallet.h

9 years agoIncludes: Refactor: Move CValidationInterface and CMainSignals out of main
Jorge Timón [Thu, 5 Feb 2015 00:11:44 +0000 (01:11 +0100)]
Includes: Refactor: Move CValidationInterface and CMainSignals out of main

9 years agodon't trickle for whitelisted nodes
Ruben de Vries [Tue, 24 Mar 2015 13:29:13 +0000 (14:29 +0100)]
don't trickle for whitelisted nodes

9 years agoMerge pull request #5890
Wladimir J. van der Laan [Tue, 24 Mar 2015 13:45:00 +0000 (14:45 +0100)]
Merge pull request #5890

cd3d67c Fix InvalidateBlock to add chainActive.Tip to setBlockIndexCandidates (Alex Morcos)

9 years agoMerge pull request #5208
Pieter Wuille [Tue, 24 Mar 2015 12:54:36 +0000 (05:54 -0700)]
Merge pull request #5208

18051c7 Abstract out Ctransaction-specific signing into TransactionSignatureCreator (Pieter Wuille)

9 years agoMerge pull request #5429
Pieter Wuille [Tue, 24 Mar 2015 12:41:20 +0000 (05:41 -0700)]
Merge pull request #5429

5abe2cf Reorder travis builds for faster response (Pieter Wuille)

9 years agoMerge pull request #5933
Pieter Wuille [Tue, 24 Mar 2015 12:31:55 +0000 (05:31 -0700)]
Merge pull request #5933

341e238 use constant references for strings in functions in wallet/*.* (Philip Kaufmann)

9 years agoMerge pull request #5938
Wladimir J. van der Laan [Tue, 24 Mar 2015 07:43:20 +0000 (08:43 +0100)]
Merge pull request #5938

a354a59 wallet: move crypter to wallet (Cory Fields)

9 years agoMerge pull request #5877
Wladimir J. van der Laan [Tue, 24 Mar 2015 07:33:41 +0000 (08:33 +0100)]
Merge pull request #5877

317e66c Initialization: set Boost path locale in main thread (dexX7)

9 years agoScale up addrman
Pieter Wuille [Thu, 19 Mar 2015 17:01:57 +0000 (10:01 -0700)]
Scale up addrman

This change was suggested as Countermeasure 6 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

9 years agoAlways use a 50% chance to choose between tried and new entries
Pieter Wuille [Thu, 19 Mar 2015 16:51:59 +0000 (09:51 -0700)]
Always use a 50% chance to choose between tried and new entries

This change was suggested as Countermeasure 2 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

9 years agoDo not bias outgoing connections towards fresh addresses
Pieter Wuille [Thu, 19 Mar 2015 16:44:26 +0000 (09:44 -0700)]
Do not bias outgoing connections towards fresh addresses

This change was suggested as Countermeasure 2 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

9 years agoSimplify hashing code
Pieter Wuille [Thu, 19 Mar 2015 15:50:04 +0000 (08:50 -0700)]
Simplify hashing code

9 years agoMake addrman's bucket placement deterministic.
Pieter Wuille [Wed, 18 Mar 2015 16:31:49 +0000 (09:31 -0700)]
Make addrman's bucket placement deterministic.

Give each address a single fixed location in the new and tried tables,
which become simple fixed-size arrays instead of sets and vectors.

This prevents attackers from having an advantages by inserting an
address multiple times.

This change was suggested as Countermeasure 1 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

It is also more efficient.

9 years agoSwitch addrman key from vector to uint256
Pieter Wuille [Sun, 8 Mar 2015 13:30:05 +0000 (06:30 -0700)]
Switch addrman key from vector to uint256

9 years agowallet: move crypter to wallet
Cory Fields [Sun, 22 Mar 2015 19:18:55 +0000 (15:18 -0400)]
wallet: move crypter to wallet

9 years agoUpdate bitcoin.conf
CohibAA [Sun, 22 Mar 2015 02:05:17 +0000 (20:05 -0600)]
Update bitcoin.conf

9 years agoAdd a NODE_GETUTXO service bit and document NODE_NETWORK.
Mike Hearn [Tue, 10 Mar 2015 18:33:46 +0000 (11:33 -0700)]
Add a NODE_GETUTXO service bit and document NODE_NETWORK.
Stop translating the NODE_* names as they are technical and cannot be translated.

9 years agouse constant references for strings in functions in wallet/*.*
Philip Kaufmann [Sat, 21 Mar 2015 17:40:51 +0000 (18:40 +0100)]
use constant references for strings in functions in wallet/*.*

9 years agoAbstract out Ctransaction-specific signing into TransactionSignatureCreator
Pieter Wuille [Tue, 4 Nov 2014 18:06:20 +0000 (10:06 -0800)]
Abstract out Ctransaction-specific signing into TransactionSignatureCreator

9 years agoMerge #5758: refactor: move BDB (bitdb / db.h) interaction from init.cpp to wallet.cpp
Wladimir J. van der Laan [Fri, 20 Mar 2015 15:29:26 +0000 (16:29 +0100)]
Merge #5758: refactor: move BDB (bitdb / db.h) interaction from init.cpp to wallet.cpp

2bb1c87 refactor: move bdb (bitdb) interaction from init.cpp to wallet.cpp (Jonas Schnelli)

9 years agorefactor: move bdb (bitdb) interaction from init.cpp to wallet.cpp
Jonas Schnelli [Wed, 4 Feb 2015 20:19:27 +0000 (21:19 +0100)]
refactor: move bdb (bitdb) interaction from init.cpp to wallet.cpp

this will remove db.h from init.cpp

9 years agoMerge pull request #5745
Wladimir J. van der Laan [Fri, 20 Mar 2015 15:05:37 +0000 (16:05 +0100)]
Merge pull request #5745

50c72f2 [Move Only] Move wallet related things to src/wallet/ (Jonas Schnelli)

9 years agoMerge #5810: MOVEONLY-ISH: allocators: split allocators and pagelocker
Wladimir J. van der Laan [Fri, 20 Mar 2015 11:30:27 +0000 (12:30 +0100)]
Merge #5810: MOVEONLY-ISH: allocators: split allocators and pagelocker

d7d187e allocators: split allocators and pagelocker (Cory Fields)

9 years agoallocators: split allocators and pagelocker
Cory Fields [Thu, 22 Jan 2015 20:02:44 +0000 (15:02 -0500)]
allocators: split allocators and pagelocker

Pagelocker is only needed for secure (usually wallet) operations, so don't make
the zero-after-free allocator depend on it.

9 years agoMerge pull request #5149
Wladimir J. van der Laan [Fri, 20 Mar 2015 11:04:23 +0000 (12:04 +0100)]
Merge pull request #5149

adaa568 Add script to verify all merge commits are signed (Matt Corallo)

9 years agoMerge pull request #5360
Wladimir J. van der Laan [Wed, 18 Mar 2015 13:35:14 +0000 (14:35 +0100)]
Merge pull request #5360

71acb86 print the caught error instead of raising an error (Heath)

9 years agoMerge pull request #5860
Wladimir J. van der Laan [Tue, 17 Mar 2015 15:23:00 +0000 (16:23 +0100)]
Merge pull request #5860

9c27379 Reduce fingerprinting through timestamps in 'addr' messages. (Pieter Wuille)

9 years agoReduce fingerprinting through timestamps in 'addr' messages.
Pieter Wuille [Thu, 5 Mar 2015 12:01:22 +0000 (04:01 -0800)]
Reduce fingerprinting through timestamps in 'addr' messages.

Suggested by Jonas Nick.

9 years agoMerge pull request #5915
Wladimir J. van der Laan [Tue, 17 Mar 2015 07:00:50 +0000 (08:00 +0100)]
Merge pull request #5915

bb44d9e depends: fix a static qt5 crash when using certain versions of libxcb (Cory Fields)

9 years agodepends: fix a static qt5 crash when using certain versions of libxcb
Cory Fields [Tue, 17 Mar 2015 01:01:20 +0000 (21:01 -0400)]
depends: fix a static qt5 crash when using certain versions of libxcb

See here for background: https://bugreports.qt.io/browse/QTBUG-34748

libxcb temporarily had an abi breakage which caused crashes when qt was
compiled against a non-compatible version. Building qt with -qt-xcb should have
shielded us from this issue, except that incompatible headers were used when
building qt's wrapper.

Make sure those headers aren't picked up by qt's build.

Details:

qt's build adds a wrapper around the xcb libs when -qt-xcb is used. This is
done to avoid having to link to a handful of different libs, which may not be
api/abi stable. This build depends on include-order, so that its files are
found before the real libxcb headers.

Our build (for other reasons related to qt's complicated build-system) injects
our prefix into CXXFLAGS. Because libxcb is found in this path, that reverses
the include-order, negating the purpose of the wrapper.

To fix, libxcb's includes are simply moved to a subdir. pkg-config ensures that
they're still found properly when needed.

To make things even more interesting, this behavior in qt's .pro files is broken:
INCLUDEPATH += $$QMAKE_CFLAGS_XCB

The INCLUDEPATH variable is processed by qmake which automatically prefixes each
entry with "-I". The QMAKE_CFLAGS_XCB variable comes from pkg-config and
already contains -I, making the path look like "-I-I/path/to/xcb/headers".

To work around that, CFLAGS/CXXFLAGS are used here rather than INCLUDEPATH.

9 years agoMerge pull request #5880
Wladimir J. van der Laan [Mon, 16 Mar 2015 12:54:07 +0000 (13:54 +0100)]
Merge pull request #5880

8b60808 [QT] some mac specifiy cleanup (memory handling, unnecessary code) (Jonas Schnelli)
89e70e9 [QT] fix OSX dock icon window reopening (Jonas Schnelli)

9 years agoMerge pull request #5847
Wladimir J. van der Laan [Mon, 16 Mar 2015 11:32:07 +0000 (12:32 +0100)]
Merge pull request #5847

723664b startup script for centos, with documentation. (joshr)

9 years agoMerge pull request #5831
Wladimir J. van der Laan [Mon, 16 Mar 2015 11:22:52 +0000 (12:22 +0100)]
Merge pull request #5831

1d9b378 qa/rpc-tests/wallet: Tests for sendmany (Luke Dashjr)
40a7573 rpcwallet/sendmany: Just take an array of addresses to subtract fees from, rather than an Object with all values being identical (Luke Dashjr)
292623a Subtract fee from amount (Cozz Lovan)
90a43c1 [Qt] Code-movement-only: Format confirmation message in sendcoinsdialog (Cozz Lovan)

9 years agoMerge pull request #5849
Wladimir J. van der Laan [Mon, 16 Mar 2015 11:21:24 +0000 (12:21 +0100)]
Merge pull request #5849

3c6d594 contrib/init/bitcoind.openrc: Compatibility with previous OpenRC init script variables (Luke Dashjr)

9 years agoFix InvalidateBlock to add chainActive.Tip to setBlockIndexCandidates
Alex Morcos [Thu, 12 Mar 2015 20:03:23 +0000 (16:03 -0400)]
Fix InvalidateBlock to add chainActive.Tip to setBlockIndexCandidates

9 years ago[QT] some mac specifiy cleanup (memory handling, unnecessary code)
Jonas Schnelli [Fri, 13 Mar 2015 14:40:53 +0000 (15:40 +0100)]
[QT] some mac specifiy cleanup (memory handling, unnecessary code)

9 years agoReorder travis builds for faster response
Pieter Wuille [Fri, 5 Dec 2014 09:45:29 +0000 (10:45 +0100)]
Reorder travis builds for faster response

9 years agoqa/rpc-tests/wallet: Tests for sendmany
Luke Dashjr [Thu, 5 Mar 2015 13:59:19 +0000 (13:59 +0000)]
qa/rpc-tests/wallet: Tests for sendmany

9 years agorpcwallet/sendmany: Just take an array of addresses to subtract fees from, rather...
Luke Dashjr [Thu, 5 Mar 2015 13:30:15 +0000 (13:30 +0000)]
rpcwallet/sendmany: Just take an array of addresses to subtract fees from, rather than an Object with all values being identical

9 years agoSubtract fee from amount
Cozz Lovan [Wed, 23 Jul 2014 12:34:36 +0000 (14:34 +0200)]
Subtract fee from amount

Fixes #2724 and #1570.

Adds the
automatically-subtract-the-fee-from-the-amount-and-send-whats-left
feature to the GUI and RPC (sendtoaddress,sendmany).

9 years agoMerge pull request #5884
Wladimir J. van der Laan [Thu, 12 Mar 2015 17:02:35 +0000 (18:02 +0100)]
Merge pull request #5884

e96c518 BUGFIX: Stack around the variable 'rv' was corrupted (fsb4000)

9 years agoMerge pull request #5879
Wladimir J. van der Laan [Thu, 12 Mar 2015 16:49:48 +0000 (17:49 +0100)]
Merge pull request #5879

88f6c8c add RPC test for InvalidateBlock (Alex Morcos)
a9af415 fix InvalidateBlock to repopulate setBlockIndexCandidates (Alex Morcos)

9 years agoBUGFIX: Stack around the variable 'rv' was corrupted
fsb4000 [Thu, 12 Mar 2015 14:13:49 +0000 (20:13 +0600)]
BUGFIX: Stack around the variable 'rv' was corrupted

9 years agoadd RPC test for InvalidateBlock
Alex Morcos [Wed, 11 Mar 2015 15:58:40 +0000 (11:58 -0400)]
add RPC test for InvalidateBlock

9 years agofix InvalidateBlock to repopulate setBlockIndexCandidates
Alex Morcos [Wed, 11 Mar 2015 15:56:44 +0000 (11:56 -0400)]
fix InvalidateBlock to repopulate setBlockIndexCandidates

9 years ago[Move Only] Move wallet related things to src/wallet/
Jonas Schnelli [Tue, 3 Feb 2015 20:09:47 +0000 (21:09 +0100)]
[Move Only] Move wallet related things to src/wallet/

could once be renamed from /src/wallet to /src/legacywallet.

9 years agoMerge pull request #5859
Wladimir J. van der Laan [Thu, 12 Mar 2015 10:13:57 +0000 (11:13 +0100)]
Merge pull request #5859

9519a9a Add correct bool combiner for net signals (Pieter Wuille)

9 years agoMerge pull request #5883
Wladimir J. van der Laan [Thu, 12 Mar 2015 09:54:13 +0000 (10:54 +0100)]
Merge pull request #5883

92fd887 tests: add a BasicTestingSetup and apply to all tests (Wladimir J. van der Laan)

9 years agotests: add a BasicTestingSetup and apply to all tests
Wladimir J. van der Laan [Thu, 12 Mar 2015 08:34:42 +0000 (09:34 +0100)]
tests: add a BasicTestingSetup and apply to all tests

Make sure that chainparams and logging is properly initialized. Doing
this for every test may be overkill, but this initialization is so
simple that that does not matter.

This should fix the travis issues.

9 years ago[QT] fix OSX dock icon window reopening
Jonas Schnelli [Wed, 11 Mar 2015 23:08:22 +0000 (00:08 +0100)]
[QT] fix OSX dock icon window reopening

fixes #5878

9 years agoMerge pull request #5871
Wladimir J. van der Laan [Wed, 11 Mar 2015 14:06:58 +0000 (15:06 +0100)]
Merge pull request #5871

3aa0130 test: remove fSkipProofOfWork (Wladimir J. van der Laan)
59bd89f test: Remove UNITTEST params (Wladimir J. van der Laan)

9 years agoInitialization: set Boost path locale in main thread
dexX7 [Wed, 11 Mar 2015 12:34:20 +0000 (13:34 +0100)]
Initialization: set Boost path locale in main thread

The path locale is lazy initialized and to avoid deinitialization errors
in multithreading environments, it is set explicitly by the main thread.

9 years agoMerge pull request #5749
Wladimir J. van der Laan [Wed, 11 Mar 2015 09:12:20 +0000 (10:12 +0100)]
Merge pull request #5749

f754707 Fix - bitcoin-qt usage message (Luca Venturini)
1fdb9fa Help messages correctly formatted (79 chars) (Luca Venturini)

9 years agoMerge pull request #5864
Wladimir J. van der Laan [Wed, 11 Mar 2015 07:33:45 +0000 (08:33 +0100)]
Merge pull request #5864

bb6acff fix possible block db breakage during re-index (Cory Fields)

9 years agoFix - bitcoin-qt usage message
Luca Venturini [Mon, 9 Mar 2015 07:29:59 +0000 (00:29 -0700)]
Fix - bitcoin-qt usage message

. Closes the bug from commit e179eb3d9bfec7e67908242c71c87b716a41c97c
("bitcoin-qt -help" did not show any message)
. Move all the options in init.cpp (there were already some
options related to bitcoin-qt)

9 years agoHelp messages correctly formatted (79 chars)
Luca Venturini [Wed, 4 Feb 2015 08:11:49 +0000 (00:11 -0800)]
Help messages correctly formatted (79 chars)

Help messages are formatted programmatically with FormatParagraph
in order not to break existing strings in Transifex.

The new format works even if the translation of the strings
modifies the lenght of the message.

Sqashed 6 commits in a single one.
Help messages correctly formatted for SVGA text mode (132 chars)

Help messages are formatted programmatically with FormatParagraph
in order not to break existing strings in Transifex.

The new format should work even if the translation of the strings
modifies the lenght of the message.

Fix - syntax error

Correct formatting for 79 chars

Correctly based on C++ functions

Removed spare spaces from option strings

Fix - syntax error

9 years agofix possible block db breakage during re-index
Cory Fields [Sat, 7 Mar 2015 01:26:09 +0000 (20:26 -0500)]
fix possible block db breakage during re-index

When re-indexing, there are a few cases where garbage data may be skipped in
the block files. In these cases, the indices are correctly written to the index
db, however the pointer to the next position for writing in the current block
file is calculated by adding the sizes of the valid blocks found.

As a result, when the re-index is finished, the index db is correct for all
existing blocks, but the next block will be written to an incorrect offset,
likely overwriting existing blocks.

Rather than using the sum of all valid blocks to determine the next write
position, use the end of the last block written to the file. Don't assume that
the current block is the last one in the file, since they may be read
out-of-order.

9 years agotest: remove fSkipProofOfWork
Wladimir J. van der Laan [Mon, 9 Mar 2015 15:09:54 +0000 (16:09 +0100)]
test: remove fSkipProofOfWork

Not used, and REGTEST already allows creating blocks at
the lowerst possible difficulty.

9 years agotest: Remove UNITTEST params
Wladimir J. van der Laan [Mon, 9 Mar 2015 15:04:43 +0000 (16:04 +0100)]
test: Remove UNITTEST params

UNITTEST parameter are not used by any current tests, and the model
(modifyable parameters) is inconvenient when unit-testing. As
they are stored in a global structure eevery test
would have to (re)set up its own parameters.

For consistency it is also better to test with MAIN parameters.

9 years agotests: change main and wallet tests to BOOST_FIXTURE_TEST_SUITE
Wladimir J. van der Laan [Mon, 9 Mar 2015 14:04:12 +0000 (15:04 +0100)]
tests: change main and wallet tests to BOOST_FIXTURE_TEST_SUITE

Avoid this travis error:

    test_bitcoin: chainparams.cpp:330: const CChainParams& Params():
    Assertion `pCurrentParams' failed.
    unknown location(0): fatal error in "subsidy_limit_test": signal:
    SIGABRT (application abort requested)
    test/allocator_tests.cpp(116): last checkpoint

9 years agoMerge pull request #5852
Wladimir J. van der Laan [Mon, 9 Mar 2015 11:43:21 +0000 (12:43 +0100)]
Merge pull request #5852

51598b2 Reinitialize state in between individual unit tests. (Pieter Wuille)

9 years agoMerge pull request #5442
Wladimir J. van der Laan [Mon, 9 Mar 2015 11:24:47 +0000 (12:24 +0100)]
Merge pull request #5442

dca799e Ignore getaddr messages on Outbound connections. (Ivan Pustogarov)

This page took 0.070566 seconds and 4 git commands to generate.