Jeff Garzik
e3560029ce
Merge pull request #5301
2014-11-18 12:11:17 -05:00
Cory Fields
f9e40fb075
revert part of 9eda1620b
...
This probably would've broken native OSX builds
2014-11-18 18:06:47 +01:00
Cory Fields
4300876c81
build: secp256k1 as a subdir, since it's required
2014-11-18 18:06:47 +01:00
Cory Fields
0dc8613864
build: fixup configure to not export anything
2014-11-18 18:06:47 +01:00
Cory Fields
54566de29d
depends: quit exporting in config.site
2014-11-18 18:06:47 +01:00
Cory Fields
ff1e5ba8c7
depends: add gmp package
2014-11-18 18:06:46 +01:00
Pieter Wuille
cf61b5441b
Don't use bashisms in configure
2014-11-18 18:06:46 +01:00
Pieter Wuille
dffb8f81b8
Use libsecp256k1 in key.cpp
2014-11-18 18:06:46 +01:00
Pieter Wuille
4c97c64bf6
Do not use EC code in global constructors
2014-11-18 18:06:46 +01:00
Pieter Wuille
07a9901703
Always build and link libsecp256k1
2014-11-18 18:06:46 +01:00
Pieter Wuille
d48555b36a
Squashed 'src/secp256k1/' content from commit ad2028f
...
git-subtree-dir: src/secp256k1
git-subtree-split: ad2028f9890ca40bdd32055aa0fe5c1c9af0e485
2014-11-18 18:06:36 +01:00
Pieter Wuille
2245a95ce8
Merge commit 'd48555b36ac512161b81f9b6bca7bea16a0cd806' as 'src/secp256k1'
2014-11-18 18:06:36 +01:00
Pieter Wuille
7a7e109139
Delete src/secp256k1 before subtree import
2014-11-18 18:06:36 +01:00
Pieter Wuille
e2f30d547f
Properly lock cs_main in rest_block
2014-11-18 16:32:48 +01:00
Jeff Garzik
7715c84747
HTTP REST: minor fixes
...
1) const-ify internal helper ParseHashStr()
2) use HTTPError() helper when returning HTTP_NOT_FOUND
2014-11-18 10:27:45 -05:00
Jeff Garzik
9445b876bd
Merge pull request #2844
2014-11-18 10:17:22 -05:00
Wladimir J. van der Laan
27b2288f33
Merge pull request #5290
...
5d60b69
Coin Control: Make list mode default (Luke Dashjr)
4ff81d6
Bugfix: Clarify coin control dialog labels (Luke Dashjr)
2014-11-18 14:41:02 +01:00
Pieter Wuille
3c1e10b161
Merge pull request #5297
...
096efc5
travis: install less packages from apt-get (Cory Fields)
2014-11-18 14:21:15 +01:00
Jonas Schnelli
a7f2941068
[Qt, OSX] fix usage of osx 10.8+ user notification center
...
Currently Bitcoin-Qts support for OSX User Notification Center is broken. This pull will fix a known issue of non-official-apple-built apps having problems sending user notifications.
2014-11-18 13:50:25 +01:00
Peter Todd
03914234b3
Discourage NOPs reserved for soft-fork upgrades
...
NOP1 to NOP10 are reserved for future soft-fork upgrades. In the event
of an upgrade such NOPs have *VERIFY behavior, meaning that if their
arguments are not correct the script fails. Discouraging these NOPs by
rejecting transactions containing them from the mempool ensures that
we'll never accept transactions, nor mine blocks, with scripts that are
now invalid according to the majority of hashing power even if we're not
yet upgraded. Previously this wasn't an issue as the IsStandard() rules
didn't allow upgradable NOPs anyway, but 7f3b4e95
relaxed the
IsStandard() rules for P2SH redemptions allowing any redeemScript to be
spent.
We *do* allow upgradable NOPs in scripts so long as they are not
executed. This is harmless as there is no opportunity for the script to
be invalid post-upgrade.
2014-11-17 22:22:33 -05:00
Wladimir J. van der Laan
8adf457047
Merge pull request #5212
...
219a147
script: check ScriptError values in script tests (Cory Fields)
ab9edbd
script: create sane error return codes for script validation and remove logging (Cory Fields)
2014-11-17 21:15:09 +01:00
Cory Fields
3c30f27f34
travis: disable rpc tests for windows until they're not so flaky
2014-11-17 14:17:04 -05:00
Gavin Andresen
daf03e7c92
RPC tests: create initial chain with specific timestamps
...
Use setmocktime to create the initial block chain with
10-minute-apart-blocks starting 1 Jan 2014.
2014-11-17 14:13:32 -05:00
Wladimir J. van der Laan
20e4f654f5
Merge pull request #5237
...
2db4c8a
Fix node ranges in the test framework. (Daniel Kraft)
2014-11-17 17:20:32 +01:00
Wladimir J. van der Laan
1f0436f8cb
Merge pull request #5293
...
c63a73d
Update comments in util to be doxygen compatible (Michael Ford)
2014-11-17 17:17:46 +01:00
Wladimir J. van der Laan
dbbe00f008
Merge pull request #5289
...
5617267
Fix typo in listreceivedbyaddress and listaccounts help text (Michael Ford)
2014-11-17 17:14:38 +01:00
Wladimir J. van der Laan
47cb3606a3
Merge pull request #5292
...
7329fdd
Update comments in txmempool to be doxygen compatible (Michael Ford)
2014-11-17 16:36:45 +01:00
Gavin Andresen
a8b2ce557d
regression test only setmocktime RPC call
2014-11-17 10:33:49 -05:00
Gavin Andresen
d6479ffc6a
Merge pull request #5275
...
1837987
Optimize -regtest setgenerate block generation (Gavin Andresen)
Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
2014-11-17 10:26:12 -05:00
Jonas Schnelli
6093aa1bb0
[Qt, OSX] QProgressBar CPU-Issue workaround
...
fixes #5295
2014-11-17 15:59:33 +01:00
Wladimir J. van der Laan
09481eec88
Merge pull request #5282
...
a7af983
don't override dir() in qa rpc tests (Bryan Bishop)
2014-11-17 11:25:08 +01:00
Jonas Schnelli
409e9ef04c
[OSX, docs] update some release build informations
...
- switching release builds to 10.7
- release binary looks like 64bit only
- tested up to 10.10
- gitian builder builds against 10.7. The docs should be consistant.
- remove 32bit text because nowadays it's obvious to support 64bit only on OSX.
2014-11-17 11:15:46 +01:00
Wladimir J. van der Laan
19f2aa9487
Merge pull request #5287
...
7335ca1
[Qt] Fix height of BitcoinAmountField (Cozz Lovan)
2014-11-17 11:09:08 +01:00
Michael Ford
c63a73d18a
Update comments in util to be doxygen compatible
2014-11-17 11:04:01 +08:00
Michael Ford
7329fdd1ba
Update comments in txmempool to be doxygen compatible
...
Fix typo in Read() error message
2014-11-17 10:29:09 +08:00
Christian von Roques
7ab43583b0
Update bash-completion for v0.10
...
* Support new rpc commands.
* Several commands now take an optional boolean includeWatchonly argument.
* "help" now has section headers, ignore them when compiling list of commands.
2014-11-16 15:19:29 -04:00
Luke Dashjr
5d60b694e9
Coin Control: Make list mode default
2014-11-16 17:27:19 +00:00
Luke Dashjr
4ff81d6092
Bugfix: Clarify coin control dialog labels
2014-11-16 17:16:14 +00:00
Flavien Charlon
44e9a6b22e
Update the 'test_IsStandard' unit test
...
The maximum length for the payload of an OP_RETURN output is now
80 bytes, and unit tests must be modified to account for the change.
2014-11-16 15:43:12 +00:00
Michael Ford
5617267cd5
Fix typo in listreceivedbyaddress and listaccounts help text
2014-11-16 22:14:22 +08:00
Jonas Schnelli
6c8c704bb4
[docs] Add mini-"howto" using Qt Creator (osx)
2014-11-16 10:03:22 +01:00
Cozz Lovan
7335ca1a05
[Qt] Fix height of BitcoinAmountField
2014-11-16 01:07:09 +01:00
Cory Fields
219a1470c4
script: check ScriptError values in script tests
2014-11-14 16:25:53 -05:00
Cory Fields
ab9edbd6b6
script: create sane error return codes for script validation and remove logging
...
Attempt to codify the possible error statuses associated with script
validation. script/types.h has been created with the expectation that it will
be part of the public lib interface. The other flag enums will be moved here in
a future commit.
Logging has also been removed in order to drop the dependency on core.h. It can
be re-added to bitcoind as-needed. This makes script verification finally free
of application state and boost!
2014-11-14 16:25:53 -05:00
Gavin Andresen
18379875bf
Optimize -regtest setgenerate block generation
...
Speed up generating blocks in regression test mode, by moving
block-creating and nonce-finding directly into the setgenerate
RPC call (instead of starting up a mining thread and waiting for
it to find a block).
This makes the forknotify RPC test three times quicker, for
example (10 seconds runtime instead of 30 seconds, assuming
the initial blockchain cache is already built).
2014-11-14 13:42:15 -05:00
Bryan Bishop
a7af9839d6
don't override dir() in qa rpc tests
...
Replace "dir" with "dirname" in util.py in qa/rpc-tests/ because "dir"
is the name of a function in python.
2014-11-14 09:12:41 -06:00
Flavien Charlon
a9306587a4
Change the default maximum OP_RETURN size to 80 bytes
...
The value can be changed through the '-datacarriersize' option, this
is modifying the default value for that option.
2014-11-14 10:20:58 +00:00
Wladimir J. van der Laan
3d3ce7421e
Merge pull request #5198
...
1c0aa91
Update serialize comments to be doxygen compatible (Michael Ford)
2014-11-13 19:41:56 +01:00
Wladimir J. van der Laan
6c5c06eff7
Merge pull request #5252
...
b9a36b1
Make comments in /src/script doxygen compatible (Michael Ford)
2014-11-13 17:51:57 +01:00
Philip Kaufmann
cd4d3f1915
Win32: change buffer size for gethotsname in Discover()
...
- 256 byte is the maximum, as per
http://msdn.microsoft.com/en-us/library/windows/desktop/ms738527%28v=vs.85%29.aspx
2014-11-13 15:26:09 +01:00