Commit graph

5970 commits

Author SHA1 Message Date
Philip Kaufmann f3e02f6acf typo 2014-06-29 15:38:37 +02:00
Wladimir J. van der Laan 72bd7b81f1 Add missing cs_main lock to VerifyDB
Fixes issue #4139.
2014-06-29 15:38:37 +02:00
Wladimir J. van der Laan 77c26ba357 ui: Check for !pixmap() before trying to export QR code
Adds null pointer checks as well as prevents the Save/Copy context
menu from appearing at all if no image is shown.

Fixes issue #4140
2014-06-29 15:38:36 +02:00
Philip Kaufmann 5c18e7b501 [Qt] fix Qt slot problem in receivecoinsdialog
- fixes error from debug.log:
  QMetaObject::connectSlotsByName: No matching signal for
  on_recentRequestsView_selectionChanged(QItemSelection,QItemSelection)
- small style fixes (e.g. alphabetical ordering if includes etc.)
- fixes #3992
2014-06-29 15:38:36 +02:00
Cory Fields ec6d399176 build: fix make clean on OSX
Rebased-From: 74df0f5
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-06-29 15:38:35 +02:00
Wladimir J. van der Laan a9b31d4dec l10n AGAIN 2014-06-29 15:38:35 +02:00
Wladimir J. van der Laan 72a22c18ff Remove NumBlocksOfPeers
Generally useless information. Only updates on connect time, not after
that. Peers can easily lie and the median filter is not effective in
preventing that.

In the past it was used for progress display in the GUI but
`CheckPoints::guessVerificationProgress` provides a better way that is now used.
It was too easy to mislead it. Peers do lie about it in practice, see issue #4065.

From the RPC, `getpeerinfo` gives the peer raw values, which are more
useful.
2014-06-29 15:38:34 +02:00
Wladimir J. van der Laan de74b47737 rpc: add getblockchaininfo and getnetworkinfo
Adds two new info query commands that take over information from
hodge-podge `getinfo`.

Also some new information is added:
- `getblockchaininfo`
  - `chain`: (string) current chain (main, testnet3, regtest)
  - `verificationprogress: (numeric) estimated verification progress
  - `chainwork`
- `getnetworkinfo`
  - `localaddresses`: (array) local addresses, from mapLocalHost (fixes #1734)
2014-06-29 15:38:33 +02:00
Philip Kaufmann 4f519b0dac add DEFAULT_TRANSACTION_FEE constant in wallet
- as this is a shared Core/GUI setting, this makes it easier to keep them
  in sync (also no new includes are needed)
2014-06-29 15:38:33 +02:00
Peter Todd 49d701e7aa Let tx (in)valid tests use any SCRIPT_VERIFY flag
Previously only P2SH could be set.
2014-06-29 15:38:33 +02:00
Peter Todd 1479d05a79 Create (MANDATORY|STANDARD)_SCRIPT_VERIFY_FLAGS constants 2014-06-29 15:38:32 +02:00
Wladimir J. van der Laan 0d328561ba Remove reference to libboost with specific version 2014-06-29 15:38:32 +02:00
Fabian Raetz 3622210fb2 Don't use ded -i to stay POSIX compliant 2014-06-29 15:38:31 +02:00
Fabian Raetz aa447d7139 reorder includes to compile on OpenBSD
From getifaddr(3) manual:
"If both <net/if.h> and <ifaddrs.h> are being
included, <net/if.h> must be included before <ifaddrs.h>"

http://www.openbsd.org/cgi-bin/man.cgi?query=getifaddrs&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
2014-06-29 15:38:31 +02:00
Gavin Andresen 95aa920899 stop bitcoind/bitcoin-cli processes that might have been left running 2014-06-29 15:38:31 +02:00
Wladimir J. van der Laan 06aad6560c Use correct Qt tools in Gitian Linux build 2014-06-29 15:38:30 +02:00
Philip Kaufmann a6dea8846d Better std exception logging for CAddrDb 2014-06-29 15:38:30 +02:00
super3 889bd0fed5 Removed LevelDB changes
Syntax Highlighting
2014-06-29 15:38:29 +02:00
Wladimir J. van der Laan d2666d87d4 Remove build-time no-IPv6 setting
The year is 2014. All supported operating systems have IPv6 support,
most certainly at build time (this doesn't mean that IPv6 is configured,
of course).

If noone is exercising the functionality to disable it, that means it
doesn't get tested, and IMO it's better to get rid of it.

(it's also not used consistently in RPC/boost and Net code...)
2014-06-29 15:38:29 +02:00
Wladimir J. van der Laan 0846b01c36 l10n update 2014-06-29 15:38:29 +02:00
langerhans e3eeb47d1d Merge pull request #560 from rnicoll/1.7.2-dev-payment
Re-enable payment protocol
2014-06-29 15:37:19 +02:00
langerhans 85f1d69e0a Merge pull request #553 from leofidus/1.7-nozerofee
Don't send feeless transactions
2014-06-29 15:28:35 +02:00
Ross Nicoll 6305d9528d Merge pull request #559 from nameEO/patch-1
Update bitcoin_ko_KR.ts
2014-06-21 09:48:22 +01:00
Ross Nicoll 01c7b32219
Revised payment request handling to use genesis block hash instead of network name. 2014-06-19 22:30:41 +01:00
nameEO f123a41140 Update bitcoin_ko_KR.ts
Reflect changes of "src/qt/locale/bitcoin_en.ts" (<location line=""/> included.) and translate All. but It's not perfect.

Question: Am I doing the right way? if not, please 'closed' and give me some advice.
2014-06-19 21:20:56 +09:00
langerhans 5957d85392 Merge pull request #557 from patricklodder/1.7.2-fix-gitian-downloader
[minor] fix syntax in gitian-downloader yml files
2014-06-15 20:54:34 +02:00
langerhans abe5c4b220 Merge pull request #556 from patricklodder/1.7.2-pgp
patricklodder's pgp keys for gitian
2014-06-15 20:54:18 +02:00
Patrick Lodder ecc955f9cc fix syntax in gitian-downloader yml files 2014-06-15 14:16:46 +02:00
Patrick Lodder 6382fb2749 patricklodder's pgp keys 2014-06-15 14:14:36 +02:00
Jannis Froese d0dd93bbb7 adapt rpc tests to mandatory fees 2014-06-09 02:17:45 +02:00
Jannis Froese 23a761453d
remove unit tests for old fee mode 2014-06-09 00:51:20 +02:00
Jannis Froese 19653cea9d Revert "remove unit tests for new fee mode"
This reverts commit 78ed897c4a.
2014-06-09 00:46:52 +02:00
Jannis Froese 145bc31b83 don't send feeless transactions
(cherry picked from commit 9a2f7a86fc)
2014-06-09 00:44:35 +02:00
leofidus 15dee2a91e Merge pull request #549 from leofidus/1.7-rpctests
Fix bash-based rpc tests
2014-06-07 16:27:59 +02:00
langerhans e1f62f53da Merge pull request #543 from nameEO/patch-7
Add some translations...
2014-06-06 21:31:38 +02:00
langerhans 1f752691a1 Merge branch 'rnicoll-1.7.2-dev-batch3' into 1.7.2-dev 2014-06-06 20:55:42 +02:00
langerhans fd46ab57b2 Merge branch '1.7.2-dev-batch3' of github.com:rnicoll/dogecoin into rnicoll-1.7.2-dev-batch3
Conflicts:
	contrib/devtools/README.md
	contrib/devtools/symbol-check.py
	doc/build-unix.md
2014-06-06 20:55:33 +02:00
langerhans 944b9e52ab Merge pull request #540 from langerhans/btc-0.9.2-batch-4
BTC 0.9.2 batch 4
2014-06-06 20:49:00 +02:00
Philip Kaufmann a2d69c73ba [Qt] ensure payment request network matches client network
- replaces checks in SendCoinsDialog::handlePaymentRequest() that belong
  to PaymentServer (normal URIs are special cased, as only an isValid
  check is done on BTC addresses)
- prevents the client to handle payment requests that do not match the
  clients network and shows an error instead (mainly a problem with
  drag&drop payment requests onto the client window)
- includes some small comment changes also
2014-06-03 20:21:10 +01:00
Ross Nicoll c909e1fa51
Revert "Disable payment protocol pending further assessment and potential rework."
This reverts commit 5967654730.

Conflicts:

	src/qt/bitcoin.cpp
2014-06-03 20:18:13 +01:00
Jannis Froese c5583eed2c add bash rpc tests to travis 2014-06-02 22:21:53 +02:00
Jannis Froese c90916699a Fix bash based rpc tests 2014-06-02 21:51:05 +02:00
Jannis Froese 8826b6bdc4 Make rewards in regtest mode less random
This allows sane testing. Regtest mode is primarily intended for automated
testing, so this simplification makes sense
2014-06-02 21:51:04 +02:00
Jannis Froese 72bfa77114 fix regtest mining in internal miner
Regtest-mode is a special case for the internal miner. The setgenerate
RPC code is written with this assumption. Code taken from current Bitcoin
0.9
2014-06-02 21:51:04 +02:00
Jannis Froese 44f5b19a90 change remaining printf to LogPrintf in miner.cpp 2014-06-02 21:51:03 +02:00
langerhans 9907dafaa9 Merge pull request #546 from IeuanG/patch-3
Fixed refs to bitcoin
2014-06-01 21:21:11 +02:00
IeuanG 4a0dc9f737 Update INSTALL 2014-06-01 20:19:28 +01:00
IeuanG bdc3680153 Fixed refs to bitcoin
Changed refs from bitcoin to dogecoin
2014-06-01 20:13:40 +01:00
langerhans 6406226f82 Merge pull request #545 from IeuanG/patch-2
Fixed the refs to bitcoin
2014-06-01 20:59:57 +02:00
IeuanG da0a9b4234 Fixed the refs to bitcoin
Changed refs from bitcoin to dogecoin. Am I in the right branch this time?
2014-06-01 19:58:24 +01:00