Cory Fields
269efa30ed
build: add quick consensus lib tests
...
They should be hooked up in other places as well, but this is a start.
2014-11-19 22:31:10 -05:00
Cory Fields
cdd36c6c5c
build: add --with-libs so that libs are optional
2014-11-19 22:31:10 -05:00
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
ee64c53c1f
build: remove internal/protected build attribute checks
...
They're not necessary, and not always supported. We only need to know about
hidden and default.
2014-11-19 22:08:27 -05:00
Cory Fields
f36a40f7fd
build: check visibility attributes
2014-11-19 22:08:27 -05:00
Cory Fields
811a765bef
build: mingw needs libssp for hardening with dlls
2014-11-19 22:08:27 -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
bc6cb4177b
QA RPC tests: Add tests block block proposals
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
Gavin Andresen
8656dbb095
Port/fix txnmall.sh regression test
...
Ported txnmall.sh to Python, and updated to match
recent transaction malleability changes.
I also modified it so it tests both double-spending
confirmed and unconfirmed (only-in-mempool) transactions.
Renamed to txn_doublespend, since that is really what is
being tested. And told the pull-tester to run both
variations on this test.
2014-11-19 15:36:10 -05:00
Wladimir J. van der Laan
b5d1b10929
doc: add libgmp dependency for secp256k1
...
Also reorganize the document a bit.
2014-11-19 16:31:28 +01:00
Wladimir J. van der Laan
b7fe9cd04c
Merge pull request #5200
...
c1c9d5b
[Qt] Add Smartfee to GUI (Cozz Lovan)
e7876b2
[Wallet] Prevent user from paying a non-sense fee (Cozz Lovan)
ed3e5e4
[Wallet] Add global boolean whether to pay at least the custom fee (default=true) (Cozz Lovan)
0ed9675
[Wallet] Add global boolean whether to send free transactions (default=true) (Cozz Lovan)
2014-11-19 16:27:04 +01: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
Gavin Andresen
8c41853380
gmp needed to build on OSX
2014-11-19 09:55:51 -05: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
bf217e3adc
Merge pull request #5279
...
6c8c704
[docs] Add mini-"howto" using Qt Creator (osx) (Jonas Schnelli)
2014-11-19 10:53:32 +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
Wladimir J. van der Laan
3b4c7cdfc3
Merge pull request #5291
...
7ab4358
Update bash-completion for v0.10 (Christian von Roques)
2014-11-19 10:11:49 +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
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