Wladimir J. van der Laan
216685a6df
Merge pull request #5332
...
f618577
build: fix link error on some platforms. Fixes #5235 (Cory Fields)
2014-11-21 10:03:17 +01:00
Luke Dashjr
eef747bba8
libbitcoinconsensus: Add pkg-config support
2014-11-20 21:23:34 +00:00
Suhas Daftuar
7e615f5228
Fixed mempool sync after sending a transaction
2014-11-20 15:49:07 -05:00
mrbandrews
e4ef724493
Edited rpc-tests to run python script not shell script.
2014-11-20 15:36:34 -05:00
mrbandrews
189fb526f1
Port of wallet.sh to python (wallet.py).
...
Also included are minor edits to util.py to create a clean blockchain and add a parameter to gather_inputs to specify number of confirmations.
2014-11-20 14:11:44 -05:00
Cory Fields
f618577029
build: fix link error on some platforms. Fixes #5235
...
Some users may have libtool libs (.la) installed in their linker search paths.
In this case, using -static-libtool-libs would try to link in .a's instead of
shared libs. That would be harmless unless the .a was built in a way that
would break linking, like non-fpic.
What we really want is "-static" here. Despite its name, it's actually less
aggressive than -static-libtool-libs. It causes only internal libs to be linked
statically (libbitcoinconsensus is the one were'a after).
2014-11-20 13:45:14 -05:00
Pieter Wuille
9d8604f36a
Header define style cleanups
2014-11-20 17:22:06 +01:00
Pieter Wuille
a53fd41485
Deterministic signing
2014-11-20 17:22:06 +01:00
Pieter Wuille
3060e36098
Add the RFC6979 PRNG
2014-11-20 17:22:06 +01:00
Pieter Wuille
a8f5087e53
Add HMAC-SHA256
2014-11-20 17:22:06 +01:00
Pieter Wuille
36fa4a78ac
Split up crypto/sha2
2014-11-20 17:22:02 +01:00
Luke Dashjr
b867e409e5
CreateNewBlock: Stick height in coinbase so we pass template sanity check
2014-11-20 15:32:49 +00:00
Wladimir J. van der Laan
5c4dffd188
Merge pull request #5270
...
57425a2
Check block header before accepting it. (Daniel Kraft)
2014-11-20 15:41:58 +01:00
Peter Todd
ca8158719b
Test the exact order of CHECKMULTISIG sig/pubkey evaluation
...
Possible with STRICTENC
2014-11-20 15:29:28 +01:00
Pieter Wuille
98b135f97f
Make STRICTENC invalid pubkeys fail the script rather than the opcode.
...
This turns STRICTENC turn into a softforking-safe change (even though it
is not intended as a consensus rule), and as a result guarantee that using
it for mempool validation only results in consensus-valid transactions in
the mempool.
2014-11-20 15:29:26 +01:00
Pieter Wuille
3ba5ebc065
Merge pull request #5000
...
0391423
Discourage NOPs reserved for soft-fork upgrades (Peter Todd)
2014-11-20 15:27:39 +01:00
Wladimir J. van der Laan
cf9c4887f1
Merge pull request #5324
...
72fb3d2
Update comments in src/rpc* to be doxygen compatible (Michael Ford)
2014-11-20 14:40:42 +01:00
Wladimir J. van der Laan
5c6b384502
Merge pull request #5320
...
e0a25c5
qt: Make askpassphrase dialog behave more sanely (Wladimir J. van der Laan)
2014-11-20 13:48:38 +01:00
Wladimir J. van der Laan
9842ed465b
Merge pull request #5235
...
9eb5a5f
build: pad header for osx libs (Cory Fields)
9ed8979
build: fix static dll link for mingw (Cory Fields)
19df238
build: shared lib build should work reasonably well now (Cory Fields)
269efa3
build: add quick consensus lib tests (Cory Fields)
cdd36c6
build: add --with-libs so that libs are optional (Cory Fields)
2cf5f16
build: add libbitcoinconsensus files and hook up the lib build (Cory Fields)
ee64c53
build: remove internal/protected build attribute checks (Cory Fields)
f36a40f
build: check visibility attributes (Cory Fields)
811a765
build: mingw needs libssp for hardening with dlls (Cory Fields)
e0077de
build: make a distinction between static app ldflags and static lib ldflags (Cory Fields)
2014-11-20 13:19:47 +01:00
Philip Kaufmann
aabe61cb37
[Qt] explicitly call proxy in GUI settings SOCKS5 proxy
...
- to ensure a consistent wording between core and GUI
2014-11-20 12:45:38 +01:00
Pieter Wuille
34559c7c73
Make PruneBlockIndexCandidates safer
2014-11-20 12:43:50 +01:00
Philip Kaufmann
4574248f9f
[Qt] minor ordering cleanup after new fee selection
2014-11-20 12:29:52 +01:00
Philip Kaufmann
a01fa3035f
minor style cleanup after HTTP rest interface merge
...
- no code changes
2014-11-20 12:29:19 +01:00
Wladimir J. van der Laan
e0a25c54eb
qt: Make askpassphrase dialog behave more sanely
...
Set minimum sizes appropriately, and make sure that they
are enforced. Replaces #5226 .
2014-11-20 12:28:34 +01:00
Daniel Kraft
57425a2425
Check block header before accepting it.
...
Previously, AcceptBlockHeader did not check the header (in particular
PoW). This made the client accept invalid-PoW-headers from peers in
headers-first sync.
2014-11-20 08:28:19 +01:00
Cory Fields
246659aff1
gitian: make tarballs deterministic and nuke .la files from build output
2014-11-19 22:49:41 -05:00
Cory Fields
c54d647a92
travis: let travis use shared libs for tests
2014-11-19 22:49:41 -05:00
Cory Fields
4bbbdf3244
gitian: quick docs update
2014-11-19 22:49:41 -05:00
Cory Fields
1aead42d41
gitian: descriptors overhaul
...
Descriptors now make use of the dependencies builder, so results are cached.
A very new version (>= e9741525c) of Gitian should be used in order to take
advantage of caching.
2014-11-19 22:49:41 -05:00
Cory Fields
5f93ec2028
depends: Add a package for qt4.6. Linux uses it by default.
...
We're not ready to switch to a static qt5 for Linux yet due to missing plugin
support. This adds a recipe for building a shared qt4 that we build and link
against, but don't distribute.
make USE_LINUX_STATIC_QT5=1 can be used to build static qt5 as before.
2014-11-19 22:49:41 -05:00
Cory Fields
4302fa67b1
depends: Use pic for all linux dependencies
...
This avoids textrels, and matches previous gitian behavior.
2014-11-19 22:49:41 -05:00
Cory Fields
9eb5a5fbef
build: pad header for osx libs
...
This ensures that users of the lib will be able to mangle the paths to work
in their bundles.
2014-11-19 22:31:11 -05:00
Cory Fields
9ed8979e29
build: fix static dll link for mingw
...
dll's are no longer dynamically linked to libgcc/libstdc++/libssp
2014-11-19 22:31:11 -05:00
Cory Fields
19df238a7b
build: shared lib build should work reasonably well now
2014-11-19 22:31:10 -05:00
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