Cory Fields
2cf5f16c25
build: add libbitcoinconsensus files and hook up the lib build
...
Credit BlueMatt for libbitcoinsonsensus.h/cpp
2014-11-19 22:31:10 -05:00
Cory Fields
e0077de5de
build: make a distinction between static app ldflags and static lib ldflags
...
For windows builds, exe's are always static, but libs should still conform to
--enabled-shared and --enable-static.
2014-11-19 22:08:27 -05:00
Michael Ford
72fb3d295a
Update comments in src/rpc* to be doxygen compatible
2014-11-20 10:19:39 +08:00
Luke Dashjr
60755dbf76
submitblock: Check for duplicate submissions explicitly
2014-11-20 00:15:17 +00:00
Luke Dashjr
9765a50cbd
Implement BIP 23 Block Proposal
2014-11-20 00:15:16 +00:00
Glenn Willen
77c38bb5cc
Truthier error message when rpcpassword is missing
2014-11-19 15:34:36 -08:00
Cozz Lovan
c1c9d5b415
[Qt] Add Smartfee to GUI
2014-11-19 16:04:53 +01:00
Cozz Lovan
e7876b2979
[Wallet] Prevent user from paying a non-sense fee
2014-11-19 16:04:53 +01:00
Cozz Lovan
ed3e5e468c
[Wallet] Add global boolean whether to pay at least the custom fee (default=true)
2014-11-19 16:04:53 +01:00
Cozz Lovan
0ed9675be4
[Wallet] Add global boolean whether to send free transactions (default=true)
2014-11-19 16:04:53 +01:00
Wladimir J. van der Laan
18832ff8e1
Merge pull request #5313
...
230f7a8
Remove unused ecwrapper code (Pieter Wuille)
2014-11-19 15:24:01 +01:00
Wladimir J. van der Laan
e587ecd8a6
Merge pull request #5296
...
0ceab00
[Qt, OSX] move QProgressBarMac to guiutil.h (Jonas Schnelli)
6093aa1
[Qt, OSX] QProgressBar CPU-Issue workaround (Jonas Schnelli)
2014-11-19 14:58:39 +01:00
Jonas Schnelli
0ceab00d16
[Qt, OSX] move QProgressBarMac to guiutil.h
2014-11-19 14:08:56 +01:00
Pieter Wuille
230f7a833d
Remove unused ecwrapper code
2014-11-19 12:29:41 +01:00
Wladimir J. van der Laan
271061242b
Merge pull request #5220
...
f9e40fb
revert part of 9eda1620b (Cory Fields)
4300876
build: secp256k1 as a subdir, since it's required (Cory Fields)
0dc8613
build: fixup configure to not export anything (Cory Fields)
54566de
depends: quit exporting in config.site (Cory Fields)
ff1e5ba
depends: add gmp package (Cory Fields)
cf61b54
Don't use bashisms in configure (Pieter Wuille)
dffb8f8
Use libsecp256k1 in key.cpp (Pieter Wuille)
4c97c64
Do not use EC code in global constructors (Pieter Wuille)
07a9901
Always build and link libsecp256k1 (Pieter Wuille)
d48555b
Squashed 'src/secp256k1/' content from commit ad2028f (Pieter Wuille)
7a7e109
Delete src/secp256k1 before subtree import (Pieter Wuille)
2014-11-19 12:02:29 +01:00
Wladimir J. van der Laan
5716808ca7
Merge pull request #5300
...
a7f2941
[Qt, OSX] fix usage of osx 10.8+ user notification center (Jonas Schnelli)
2014-11-19 10:51:59 +01:00
HarryWu
60d1ecd378
change nSubsidy's type from int64_t to CAmount
2014-11-19 14:01:18 +08:00
Gavin Andresen
fd3777b0b2
Merge pull request #5280
...
3c30f27
travis: disable rpc tests for windows until they're not so flaky (Cory Fields)
daf03e7
RPC tests: create initial chain with specific timestamps (Gavin Andresen)
a8b2ce5
regression test only setmocktime RPC call (Gavin Andresen)
2014-11-18 14:31:29 -05:00
Luke Dashjr
3dcbb9b6b4
Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblock
2014-11-18 19:20:10 +00:00
Luke Dashjr
132ea9b48f
miner_tests: Disable checkpoints so they don't fail the subsidy-change test
2014-11-18 19:20:10 +00:00
Luke Dashjr
df08a626e0
TestBlockValidity function for CBlock proposals (used by CreateNewBlock)
2014-11-18 19:20:10 +00:00
Luke Dashjr
4ea1be7fb8
CreateNewBlock and miner_tests: Also check generated template is valid by CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock
2014-11-18 19:20:10 +00:00
Luke Dashjr
a48f2d6ddd
Abstract context-dependent block checking from acceptance
2014-11-18 19:20:10 +00:00
Cory Fields
4300876c81
build: secp256k1 as a subdir, since it's required
2014-11-18 18:06:47 +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
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
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
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
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
Cozz Lovan
7335ca1a05
[Qt] Fix height of BitcoinAmountField
2014-11-16 01:07:09 +01:00