Cory Fields
f8120f7e0f
build: Find the proper xcb/pcre dependencies
2014-08-06 19:29:18 -04:00
Wladimir J. van der Laan
8833acc4c9
Merge pull request #4498
...
2887bff
Update coding style and add .clang-format (Pieter Wuille)
2014-08-06 17:17:32 +02:00
Wladimir J. van der Laan
e05d72055a
qt: bitcoin_en update after 8d0d512
2014-08-06 16:12:37 +02:00
Wladimir J. van der Laan
607758db93
Merge pull request #4631
...
a409467
more Bitcoin -> Bitcoin Core string changes (Philip Kaufmann)
2014-08-06 16:10:19 +02:00
Wladimir J. van der Laan
5f1b76aaf0
Merge pull request #4615
...
283a3b8
small ordering cleanup of init help message (Philip Kaufmann)
2014-08-06 16:00:39 +02:00
Wladimir J. van der Laan
9db9257ac4
Merge pull request #4629
...
ead6737
[Qt] format ping times in peers tab as ms (Philip Kaufmann)
2014-08-06 15:48:01 +02:00
Wladimir J. van der Laan
733177ebd3
Remove size limit in RPC client, keep it in server
...
The size limit makes a lot of sense for the server, as it never has to
accept very large data.
The client, however, can request arbitrary amounts of data with
`listtransactions` on a large wallet.
Fixes #4604 .
2014-08-06 13:03:58 +02:00
Wladimir J. van der Laan
e17151ad2a
Avoid a copy in RPC output
...
Split up HTTPReply into HTTPReply and HTTPReplyHeader, so that
the message data can be streamed directly.
Also removes a c_str(), which would have prevented binary
output with NUL characters in it.
2014-08-06 13:01:49 +02:00
ntrgn
9ce0774aba
build: Fix windows configure when using --with-qt-libdir
...
fixes #4630
Github-Pull: #4633
2014-08-05 15:01:33 +02:00
Philip Kaufmann
a409467e14
more Bitcoin -> Bitcoin Core string changes
2014-08-04 21:09:38 +02:00
Philip Kaufmann
ead6737b87
[Qt] format ping times in peers tab as ms
...
- also align ping times to the right
2014-08-04 19:23:57 +02:00
Wladimir J. van der Laan
8d0d512bde
Merge pull request #4606
...
bd0aa10
Replace the temporary file hack currently used to change Bitcoin-Qt's dock icon (OS X) with a buffer-based solution. (Doug)
2014-08-04 17:16:12 +02:00
Jeff Garzik
70b9d36a2c
Log "version" message IP addresses in client connect summary
...
The only other method of logging remote addresses is via
-logips=1 -debug=net
which increases the logged activity by 100x or more.
Github-Pull: #4608
Amended-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-08-04 16:59:28 +02:00
Wladimir J. van der Laan
2497209b77
Merge pull request #4598
...
e59441f
Process fee estimate file into temporary vector first to let sanity checking complete. (Alex Morcos)
961ae93
Fix minor bug which only affected log messages. (Alex Morcos)
17f1567
Fixed a bug with index bounds checking (Alex Morcos)
2014-08-04 16:45:29 +02:00
Wladimir J. van der Laan
488a616439
qt: Demote ReportInvalidCertificate message to qDebug
...
Too spammy.
2014-08-04 16:41:42 +02:00
Philip Kaufmann
a5b2d9c82e
[Qt] tweak new peers tab in console window
...
- remove starting height as table header and replace with ping time
- remove columnResizingFixer
- add local address (if available) in detailed node view (on top of the
right view below the remote address)
- remove some .c_str() by using QString::fromStdString()
- rename Address to Address/Hostname
- rename secs to just s for ping time
- use MODEL_UPDATE_DELAY from guiconstants.h for the peer refresh time
- make PeerTableModel::columnCount() return no hard-coded value
- remove and cleanup dup private: section in RPCConsole header
- add new defaults for column sizes
- remove behaviour which keeps disconnected peers selected and also remove
code which keeps track of last selected peer stats
- add sync height to detail view
- add some additional NULL pointer checks for clientModel in
rpcconsole.cpp
2014-08-04 15:46:18 +02:00
Wladimir J. van der Laan
d97a58f883
Merge pull request #4582
...
a60120e
Add built-in seeds for .onion (Wladimir J. van der Laan)
2014-08-04 12:15:10 +02:00
pryds
2b410c2fe1
Typo, and a few "Bitcoin" -> "Bitcoin Core"
...
Github-Pull: #4619
2014-08-04 10:30:59 +02:00
Daniel Kraft
b33bd7a3be
Implement "getchaintips" RPC command to monitor blockchain forks.
...
Port over https://github.com/chronokings/huntercoin/pull/19 from
Huntercoin: This implements a new RPC command "getchaintips" that can be
used to find all currently active chain heads. This is similar to the
-printblocktree startup option, but it can be used without restarting
just via the RPC interface on a running daemon.
2014-08-03 18:12:19 +02:00
Wladimir J. van der Laan
a60120e951
Add built-in seeds for .onion
...
This makes it possible for a node with `-onlynet=tor` to bootstrap
itself.
It also adds the base infrastructure for adding IPv6 seed nodes.
Also represent IPv4 fixed seed addresses in 16-byte format.
2014-08-03 17:26:27 +02:00
Wladimir J. van der Laan
6278bd57c6
Merge pull request #4602
...
6fd59ee
script.h: set_vch() should shift a >32 bit value (Jeff Garzik)
2014-08-03 17:09:23 +02:00
Wladimir J. van der Laan
b4c61f878c
Merge pull request #4610
...
bdba2dd
qt: Remove an obscure option no-one cares about (Wladimir J. van der Laan)
2014-08-03 17:08:57 +02:00
Jeff Garzik
1045452fa5
Merge branch 'whyextern' of git://github.com/jtimon/bitcoin into merge-whyextern
2014-08-01 22:45:58 -04:00
jtimon
f5745fa52a
Declare SignatureHash() in script.h
2014-08-01 17:45:09 +02:00
Jeff Garzik
de89257fc5
Merge branch 'merge-rawtx2' into merge-rawtx3
2014-08-01 06:18:58 -04:00
Philip Kaufmann
2b600992e8
add license header to core_io.h, core_read/_write.cpp
2014-08-01 08:39:06 +02:00
Philip Kaufmann
1b73d36b2c
fix compilation error in core_io.h
...
- error: 'vector' in namespace 'std' does not name a type
- add <vector> include in core_io.h
- remove <vector> includes from core_read.cpp and core_write.cpp
2014-08-01 08:38:23 +02:00
Philip Kaufmann
283a3b88b6
small ordering cleanup of init help message
2014-08-01 08:04:46 +02:00
Wladimir J. van der Laan
9fcb410195
qt: Remove '0 BTC' placeholder from translation
2014-08-01 07:51:24 +02:00
Wladimir J. van der Laan
c0e9548b63
qt: more watchonly -> watch-only
2014-07-31 17:19:05 +02:00
Wladimir J. van der Laan
bd26fee10b
qt: Update some messages after suggestions by translators
...
- *cannot* is more common, thus preferred to *can not*
- Use *Watch-only* instead of *Watchonly* as one word
2014-07-31 16:58:23 +02:00
Wladimir J. van der Laan
84c5f77deb
English translation update
...
This is needed to add version 0.10.x on Transifex so that translation
can start.
2014-07-31 15:03:03 +02:00
Wladimir J. van der Laan
b7bba43a14
Merge pull request #4560
...
d2d9dc0
script tests: add tests for CHECKMULTISIG limits (Otto Allmendinger)
89101c6
script test: test case for 5-byte bools (Otto Allmendinger)
4cac5db
script tests: value with trailing 0x00 is true (Otto Allmendinger)
833ff16
script tests: values that overflow to 0 are true (Otto Allmendinger)
0072d98
script tests: BOOLAND, BOOLOR decode to integer (Otto Allmendinger)
ed02282
additional test for OP_SIZE in script_valid.json (Otto Allmendinger)
2014-07-31 09:42:00 +02:00
Wladimir J. van der Laan
2870014f3a
Merge pull request #4568
...
9c34731
CBloomFilter::clear() method (Tom Harding)
2014-07-31 09:25:20 +02:00
Wladimir J. van der Laan
bdba2dd000
qt: Remove an obscure option no-one cares about
...
Remove the "Display addresses" setting checkbox. It doesn't do what
the tooltip says, and seems kind of pointless in any case.
Fixes #4580 .
2014-07-31 09:10:58 +02:00
Jeff Garzik
c7614f16d6
univalue: remove unused methods getArray, getObject
2014-07-30 23:25:30 -04:00
Jeff Garzik
a715a643bc
Merge branch 'rawtx' into merge-rawtx
2014-07-30 23:17:19 -04:00
Pieter Wuille
e8cb5c30b0
Merge pull request #4497
...
714a3e6
Only keep setBlockIndexValid entries that are possible improvements (Pieter Wuille)
2014-07-31 00:07:47 +02:00
Doug
bd0aa10519
Replace the temporary file hack currently used to change Bitcoin-Qt's dock icon (OS X) with a buffer-based solution.
2014-07-30 16:04:40 -04:00
Wladimir J. van der Laan
075cf49e59
Add GetNetworkName function
...
Returns the network name for an Network enum.
2014-07-30 15:41:17 +02:00
Wladimir J. van der Laan
c91a9471be
Add IsReachable(net) function
...
Allows other parts of the program to query for reachable
status of a network. Similar to IsLimited(net).
2014-07-30 15:41:17 +02:00
Wladimir J. van der Laan
60dc8e4208
Allow -onlynet=onion to be used
...
Just an alias for onlynet=tor, but matches the new name
of the proxy option -onion= better.
2014-07-30 15:38:58 +02:00
Wladimir J. van der Laan
efec4ec6c5
Merge pull request #4593
...
d70bc52
Rework block processing benchmark code (Pieter Wuille)
2014-07-30 11:06:33 +02:00
jtimon
f0c2915f66
Simplify and rename CheckWork to ProcessBlockFound
2014-07-30 02:26:21 +02:00
Alex Morcos
e59441f086
Process fee estimate file into temporary vector first to let sanity checking complete.
2014-07-29 13:58:08 -04:00
Jeff Garzik
6fd59ee897
script.h: set_vch() should shift a >32 bit value
...
Source: http://www.viva64.com/en/b/0268/
2014-07-29 11:24:26 -04:00
Jeff Garzik
cbe39a3852
Add "bitcoin-tx" command line utility and supporting modules.
...
This is a simple utility that provides command line manipulation of
a hex-encoded TX. The utility takes a hex string on the command line
as input, performs zero or more mutations, and outputs a hex string
to standard output.
This utility is also an intentional exercise of the "bitcoin library"
concept. It is designed to require minimal libraries, and works
entirely without need for any RPC or P2P communication.
See "bitcoin-tx --help" for command and options summary.
2014-07-29 11:13:27 -04:00
Jeff Garzik
3ce7e669e3
bitcoin-cli, rpcrawtransaction: harmonize "{" styling
2014-07-29 11:13:27 -04:00
Cory Fields
2a5840096f
core_read's ParseScript(): minor cleanups
...
- use .empty() rather than .size() == 0
- use a const_iterator rather than BOOST_FOREACH
- validate iterators before creating a string from them
2014-07-29 11:13:27 -04:00
Jeff Garzik
b2aeaa7939
Move ParseScript() helper, becoming accessible outside src/test/
2014-07-29 11:13:27 -04:00
Jeff Garzik
ae775b5b31
Consolidate CTransaction hex encode/decode into core_io.h, core_{read,write}.cpp
2014-07-29 11:13:27 -04:00
Jeff Garzik
2e7009d67b
Avoid querying DNS seeds, if we have open connections.
...
The goal is to increase independence and privacy.
2014-07-29 11:04:46 -04:00
Pieter Wuille
2887bffcfd
Update coding style and add .clang-format
2014-07-28 22:08:13 +02:00
Wladimir J. van der Laan
f9de17ec2f
Add warning comment to getinfo
...
Warn that people should not add new information, or change current
information returned by getinfo.
2014-07-28 19:30:58 +02:00
Alex Morcos
961ae93c85
Fix minor bug which only affected log messages.
2014-07-28 10:52:54 -04:00
Wladimir J. van der Laan
826d07101c
Merge pull request #4597
...
d817187
[Qt] remove ProxySocksVersion from OptionID (Philip Kaufmann)
2014-07-28 14:55:58 +02:00
Wladimir J. van der Laan
0449a17e41
Merge pull request #4541
...
125fba1
Add a new checkpoint at block 295,000 (Trevin Hofmann)
2014-07-28 14:54:08 +02:00
Philip Kaufmann
d817187bdb
[Qt] remove ProxySocksVersion from OptionID
...
- we only support SOCKS5, so remove it
2014-07-28 14:47:27 +02:00
Wladimir J. van der Laan
aaa7076937
Merge pull request #4531
...
ebdcc36
Add helptexts for -whitelist and rpc prioritisetransaction and switch to bitcoin instead of satoshis (Cozz Lovan)
2014-07-28 14:37:40 +02:00
Wladimir J. van der Laan
c5eabde9ea
Merge pull request #4491
...
eaedb59
net: add SetSocketNonBlocking() as OS independent wrapper (Philip Kaufmann)
2014-07-28 14:05:54 +02:00
Alex Morcos
17f15678d3
Fixed a bug with index bounds checking
2014-07-27 21:41:13 -04:00
Pieter Wuille
d70bc52ee3
Rework block processing benchmark code
...
* Replace -benchmark (and the related fBenchmark) with a regular debug option, -debug=bench.
* Increase coverage and granularity of individual block processing steps.
* Add cummulative times.
2014-07-27 00:41:03 +02:00
Philip Kaufmann
f65352a7d0
[Qt] small Qt-only include cleanup
2014-07-25 17:43:41 +02:00
Wladimir J. van der Laan
3955c3940e
Merge pull request #4584
...
0430c30
Add missing FindNode prototype to net.h (Wladimir J. van der Laan)
2014-07-25 11:06:11 +02:00
Wladimir J. van der Laan
32235a3bb9
Merge pull request #4567
...
f469f79
remove an unneded .c_str() in OpenNetworkConnection() (Philip Kaufmann)
2014-07-25 11:04:48 +02:00
Wladimir J. van der Laan
93659379bd
Add comment about never updating nTimeOffset past 199 samples
...
Refer to issue #4521 for details.
2014-07-24 19:00:24 +02:00
Wladimir J. van der Laan
0430c30af1
Add missing FindNode prototype to net.h
...
Also make the argument a const std::string & instead of pass-by-value.
2014-07-24 17:28:47 +02:00
Wladimir J. van der Laan
70d0325999
Merge pull request #4496
...
5734d4d
Only remove actualy failed blocks from setBlockIndexValid (Pieter Wuille)
2014-07-24 16:55:48 +02:00
Wladimir J. van der Laan
7eb3d6152f
Merge pull request #4575
...
ad08d0b
Bugfix: make CCoinsViewMemPool support pruned entries in underlying cache (Pieter Wuille)
2014-07-24 16:46:38 +02:00
paveljanik
ab651b2d62
Fix typos in comments (missing i's).
2014-07-24 16:08:59 +02:00
Wladimir J. van der Laan
29eaa31694
ui: Make sure sendcoinsentry signals only connected once
...
Move signal connections to constructor where possible.
2014-07-23 17:58:47 +02:00
Wladimir J. van der Laan
2a05101efd
qt: Remove unused functions from BitcoinUnits
...
Remove two functions that are now unused.
2014-07-23 17:58:46 +02:00
Wladimir J. van der Laan
91cce1732b
qt: Use fixed-point arithmetic in amount spinbox
...
Fixes various issues and cleans up code
- Fixes issue #4500 : Amount widget +/- has floating point rounding artifacts
- Amount box can now be emptied again, without clearing to 0
Also aligns the amount to the right, as in other places.
2014-07-23 17:58:46 +02:00
Pieter Wuille
ad08d0b95b
Bugfix: make CCoinsViewMemPool support pruned entries in underlying cache
2014-07-23 15:40:52 +02:00
Wladimir J. van der Laan
afa71fb3e3
Harmonize importprivkey and importaddress documentation
2014-07-22 08:58:49 +02:00
Tom Harding
9c347313f7
CBloomFilter::clear() method
2014-07-21 11:50:07 -07:00
Philip Kaufmann
f469f79ff8
remove an unneded .c_str() in OpenNetworkConnection()
2014-07-21 15:00:42 +02:00
Wladimir J. van der Laan
8f3f94a470
Revert "CBloomFilter::clear() method"
...
This reverts commit 8fbf03995d
.
2014-07-21 07:46:34 +02:00
Wladimir J. van der Laan
98e84aae7a
Revert "Relay double-spends, subject to anti-DOS"
...
This reverts commit d640a3ceab
.
2014-07-21 07:46:34 +02:00
Wladimir J. van der Laan
3015e0bca6
Revert "UI to alert of respend attempt affecting wallet."
...
This reverts commit ada5a067c7
.
Conflicts:
src/qt/guiconstants.h
src/wallet.h
2014-07-21 07:46:33 +02:00
Wladimir J. van der Laan
39d3f2cb40
Revert "Add -respendnotify option and new RPC data"
...
This reverts commit 9004798e62
.
2014-07-21 07:46:33 +02:00
Wladimir J. van der Laan
ad26dc9c31
Revert "Formatting, spelling, comment fixes."
...
This reverts commit 7a19efe040
.
2014-07-21 07:46:33 +02:00
Wladimir J. van der Laan
cd057bfd41
Revert "Check signatures before respend relay"
...
This reverts commit 88dd3598d2
.
2014-07-21 07:46:33 +02:00
Wladimir J. van der Laan
67cc8f25c2
Revert "Remove signal DoubleSpendDetected, use function"
...
This reverts commit 0da6b3fd18
.
2014-07-21 07:46:33 +02:00
Wladimir J. van der Laan
0de61e7585
qt: Move SplashFinished to after ClientModel/WalletModel creation
...
With a large wallet there was a noticable gap between hiding of the
splash and showing the main window.
2014-07-20 13:50:42 +02:00
Cozz Lovan
027dcdc792
[Qt] Fix thin space in URI
2014-07-20 04:17:02 +02:00
Wladimir J. van der Laan
ff1fe669d4
Merge pull request #3939
...
3da434a
Introduce option to disable relay/mining of bare multisig scripts in TX outputs (Jeff Garzik)
2014-07-18 23:29:50 +02:00
Whit J
b9345f7d1c
qt: Make error message for failed export a little friendlier
...
Closes #4528 .
2014-07-18 23:21:50 +02:00
Otto Allmendinger
d2d9dc063f
script tests: add tests for CHECKMULTISIG limits
2014-07-18 17:55:06 +02:00
Jeff Garzik
3da434a2ef
Introduce option to disable relay/mining of bare multisig scripts in TX outputs
...
First and foremost, this defaults to OFF.
This option lets a node consider such transactions non-standard,
meaning they will not be relayed or mined by default, but other miners
are free to mine these as usual.
2014-07-18 10:16:47 -04:00
Otto Allmendinger
89101c6e78
script test: test case for 5-byte bools
2014-07-18 15:41:45 +02:00
Wladimir J. van der Laan
40d2d69223
Merge pull request #4167
...
7149499
Add comments re BitcoinUnits::formatWithUnit/formatHtmlWithUnit (Roy Badami)
f7d70c6
Remove unused fAlign argument from BitcoinUnits::format and friends (Roy Badami)
2e4fee2
Show bitcoin quantities with full precision, even in the presence of trailing zeros (Roy Badami)
7007402
Implement SI-style (thin space) thoudands separator (Roy Badami)
2014-07-18 13:59:26 +02:00
Wladimir J. van der Laan
5bb765507b
Fix a signed/unsigned warning introduced in 1b4568c
...
vout counter must be unsigned.
2014-07-18 13:24:38 +02:00
Wladimir J. van der Laan
eaa9400781
Merge pull request #4255
...
1b4568c
Add vout to ListTransactions output (Cozz Lovan)
2014-07-18 12:57:06 +02:00
Otto Allmendinger
4cac5dbf83
script tests: value with trailing 0x00 is true
2014-07-18 12:55:46 +02:00
Wladimir J. van der Laan
773c1f297b
Merge pull request #4554
...
2d89ea9
build: fix whitespace in pkg-config variable (Cory Fields)
ab123ad
build: allow linux and osx to build against static qt5 (Cory Fields)
2014-07-18 11:39:18 +02:00
Otto Allmendinger
833ff161bc
script tests: values that overflow to 0 are true
2014-07-18 11:02:28 +02:00
Otto Allmendinger
0072d98849
script tests: BOOLAND, BOOLOR decode to integer
...
unlike other boolean checks, arguments >5 bytes invalidate the script
2014-07-18 10:53:09 +02:00
Wladimir J. van der Laan
d3cb2b8acf
Merge pull request #4551
...
c994d2e
prevent SOCKET leak in BindListenPort() (Philip Kaufmann)
2014-07-18 10:45:48 +02:00
Otto Allmendinger
ed02282bba
additional test for OP_SIZE in script_valid.json
2014-07-18 10:29:49 +02:00