7860 Commits

Author SHA1 Message Date
Adrian Gallagher
7f9af3f9bc Merge pull request #227 from thrasher-/master-0.10
Litecoin Core v0.10.4
2015-12-21 12:56:35 +11:00
Adrian Gallagher
eb69899e73 Litecoin: Update Litecoin release notes for v0.10.4.0 2015-12-18 16:22:39 +11:00
Adrian Gallagher
ba77fd9f9b Litecoin: Update Qt translations. 2015-12-03 12:58:23 +11:00
Flavien Charlon
508b43955c 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.
2015-12-02 21:40:59 +11:00
Wladimir J. van der Laan
47db8118d7 Bump version to 0.10.4, add release notes 2015-12-02 21:40:33 +11:00
Daniel Cousens
4f51b7ddd8 *: alias -h for --help 2015-12-02 21:40:09 +11:00
Matt Corallo
18e82148dd Change URLs to https in debian/control 2015-12-02 21:39:23 +11:00
Matt Corallo
fa39d1bd92 Update debian/changelog and slight tweak to debian/control 2015-12-02 21:39:14 +11:00
Mitchell Cash
49ee9d57fe Correct spelling mistakes in doc folder
- OSX —> OS X
- XCode —> Xcode
- github —> GitHub
- homebrew —> Homebrew
- gitian —> Gitian
- Other miscellaneous obvious spelling fixes and whitespace removal
2015-12-02 21:38:58 +11:00
Eric Lombrozo
9fc33c2abb Clarification of unit test build instructions. 2015-12-02 21:35:38 +11:00
Matt Corallo
ce23ae8a44 Update bluematt-key, the old one is long-since revoked 2015-12-02 21:35:29 +11:00
Wladimir J. van der Laan
3c5b5b54e5 build: disable -Wself-assign
Prevent these warnings in clang 3.6:

    ./serialize.h:96:9: warning: explicitly assigning value of variable of type 'uint64_t' (aka 'unsigned long') to itself [-Wself-assign]
        obj = (obj);
        ~~~ ^  ~~~
2015-12-02 21:35:19 +11:00
Luke Dashjr
3979267180 Bugfix: Allow mining on top of old tip blocks for testnet (fixes testnet-in-a-box use case) 2015-12-02 21:33:14 +11:00
Zak Wilcox
6e3871b096 Drop "with minimal dependencies" from description
Five boost libs plus libcrypto are needed; I don't think that quite passes for minimal.
2015-12-02 18:40:11 +11:00
Zak Wilcox
c800a2e744 Split bitcoin-tx into its own package
Reverts the change putting it in the bitcoind deb.
2015-12-02 18:40:00 +11:00
Zak Wilcox
87681a312b Include bitcoin-tx binary on Debian/Ubuntu
Currently left out of Matt's PPA.  Debian's package for unstable already has it.
2015-12-02 18:39:53 +11:00
MarcoFalke
89727808a3 [Qt] Raise debug window when requested
* Raise the debug window when hidden behind other windows
* Switch to the debug window when on another virtual desktop
* Show the debug window when minimized

This change is a conceptual copy of 5ffaaba and 382e9e2
2015-12-02 18:39:43 +11:00
Alex Morcos
f7e19810d2 Fix locking in GetTransaction.
GetTransaction needs to lock cs_main until ReadBlockFromDisk completes, the data inside CBlockIndex's can change since pruning.  This lock was held by all calls to GetTransaction except rest_tx.
2015-12-02 18:39:33 +11:00
Diego Viola
1ad4b0cf32 Fix spelling of Qt 2015-12-02 18:39:23 +11:00
Pieter Wuille
3e79703025 Squashed 'src/leveldb/' changes from 7d41e6f..20ca81f
20ca81f Merge pull request #9
7aa105e leveldb: Win32WritableFile without memory mapping

git-subtree-dir: src/leveldb
git-subtree-split: 20ca81f08fb7fa108923a091668e447dcf5c6b9d
2015-12-02 18:38:44 +11:00
Wladimir J. van der Laan
163fe03b87 qt: Final translations update on 0.10 branch
Translations for 0.12 have been opened, translations for 0.10 have been
closed.
2015-12-02 18:38:23 +11:00
Adrian Gallagher
c77a6f7bcc Merge pull request #226 from btcdrak/op_return80
Increase OP_ RETURN relay to 80 bytes
2015-11-30 00:09:12 +11:00
Adrian Gallagher
61f3a92c1e Merge pull request #225 from btcdrak/checklocktimeverfiy
BIP65: CHECKLOCKTIMEVERIFY
2015-11-30 00:09:04 +11:00
BtcDrak
658c70b693 Increase OP_ RETURN relay to 80 bytes 2015-11-29 00:13:22 +00:00
BtcDrak
535e29c888 Add documentation for BIP65 to release notes 2015-11-29 00:06:28 +00:00
BtcDrak
d8b5695ec6 Add BIP65 tests to rpc-tests.sh 2015-11-28 23:53:54 +00:00
Esteban Ordano
b85dcd03f3 CLTV: Add more tests to improve coverage
Four cases included:

* The CLTV operand type mismatches the tx locktime. In the script it is
  1 (interpreted as block height), but in the tx is 500000000
  (interpreted as date)
* The stack is empty when executing OP_CLTV
* The tx is final by having only one input with MAX_INT sequence number
* The operand for CLTV is negative (after OP_0 OP_1 OP_SUB)

Rebased-From: cb54d17355864fa08826d6511a0d7692b21ef2c9
2015-11-28 23:50:54 +00:00
Peter Todd
e799ce0701 Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork
bip65-cltv.py is based on the earlier BIP66 soft-fork RPC test
implemented by Pieter Wuille's 819bcf9b9902319176cdb1d476cacfee9b3727ec

bip65-cltv-p2p.py is based on the earlier BIP66 P2P test by Suhas
Daftuar's d76412b068d95454732aa3def95decf35251759a

Rebased-From: 308257856099e82e91881ba97f741d840184727c
2015-11-28 23:50:50 +00:00
Peter Todd
3d468adb7c Add CHECKLOCKTIMEVERIFY (BIP65) soft-fork logic
Based on the earlier BIP66 soft-fork logic implemented by Pieter
Wuille's 5a47811da5158df763aa2fca09ce646ee0c51e7b

Rebased-From: 287f54fc90c29301faede8d4ac2ea24a91441917
2015-11-28 23:50:46 +00:00
Peter Todd
07b6e9428c Enable CHECKLOCKTIMEVERIFY as a standard script verify flag
Transactions that fail CLTV verification will be rejected from the
mempool, making it easy to test the feature. However blocks containing
"invalid" CLTV-using transactions will still be accepted; this is *not*
the soft-fork required to actually enable CLTV for production use.

Rebased-From: ffd75adce01a78b3461b3ff05bcc2b530a9ce994
2015-11-28 23:50:38 +00:00
Peter Todd
bbcf66536f Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65)
<nLockTime> CHECKLOCKTIMEVERIFY -> <nLockTime>

Fails if tx.nLockTime < nLockTime, allowing the funds in a txout to be
locked until some block height or block time in the future is reached.

Only the logic and unittests are implemented; this commit does not have
any actual soft-fork logic in it.

Thanks to Pieter Wuille for rebase.

Credit goes to Gregory Maxwell for the suggestion of comparing the
argument against the transaction nLockTime rather than the current
time/blockheight directly.

Rebased-From: bc60b2b4b401f0adff5b8b9678903ff8feb5867b
2015-11-28 23:50:33 +00:00
Peter Todd
f1bba85b5b Move LOCKTIME_THRESHOLD to src/script/script.h
Will now be needed by CHECKLOCKTIMEVERIFY code.

Rebased-From: 48e9c57cf06352f890eac4285ae022d8746cf3fd
2015-11-28 23:50:29 +00:00
Peter Todd
46a66cf870 Make CScriptNum() take nMaxNumSize as an argument
While the existing numeric opcodes are all limited to 4-byte bignum
arguments, new opcodes will need different limits.

Rebased-From: 99088d60d8a7747c6d1a7fd5d8cd388be1b3e138
2015-11-28 23:50:22 +00:00
Adrian Gallagher
d02d31c478 Litecoin Core v0.10.3.0 2015-10-24 14:06:16 +11:00
Adrian Gallagher
7f1e03202d Litecoin: v0.10.3.0 release notes 2015-10-24 14:04:49 +11:00
Adrian Gallagher
7526479ac5 Merge pull request #220 from thrasher-/master-0.10
Litecoin Core v0.10.3.0 preparation
2015-10-24 12:41:45 +11:00
Gregory Maxwell
71e70ffd83 Set TCP_NODELAY on P2P sockets.
Nagle appears to be a significant contributor to latency now that the static
 sleeps are gone.  Most of our messages are relatively large compared to
 IP + TCP so I do not expect this to create enormous overhead.

This may also reduce traffic burstyness somewhat.

Conflicts:
	src/net.cpp

Rebased-From: a4e28b3d1e5c95eb0c87f144851cd65048c3e0bc
Github-Pull: #6867
2015-10-24 12:40:20 +11:00
Micha
910b02ad8a Bring historical release notes up to date
[skip ci]
2015-10-24 12:38:21 +11:00
Wladimir J. van der Laan
c2986f9f94 build: make sure OpenSSL heeds noexecstack
This passes `-Wa,--noexecstack` to the assembler when building
platform-specific assembly files, to signal that a non-executable stack
can be used. This is the same approach as used by Debian
(see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430583)

Rebased-From: bfcdc21a5da25ec1aa4aecc4cd8960dfa1c11781
Github-Pull: #6852
2015-10-24 12:38:06 +11:00
Wladimir J. van der Laan
ebc729fa1d doc: Update release notes for 0.10.3rc2 2015-10-24 12:37:54 +11:00
Cory Fields
80bf9fa67b depends: bump cctools to a custom version with less deps
This one no longer requires native libuuid or libcrypto
2015-10-21 20:43:19 +11:00
Cory Fields
44c51baf89 build: osx builders no longer need 32bit compiler support
Conflicts:
	.travis.yml
2015-10-21 20:43:16 +11:00
Cory Fields
bd1c6c2b0a depends: major upgrade to darwin toolchain
tl;dr: Update to the newer stable toolchain and SDK for OSX without giving up
any backwards compatibility. We can move to clang 3.5 as a next step which
allows use to use libc++ and the 10.10 sdk, but we'll need to find a build that
works in gitian/travis first.

Switch to a new, better maintained fork of cctools:
https://github.com/tpoechtrager/cctools-port

I've forked this and will be working on it some as well:
https://github.com/theuni/cctools-port

This brings in:
cctools v862
ld64: v241.9

It also fixes 64bit builds, so there's no longer any need to use a 32bit clang.
Since clang is no longer tied to an old/crusty 32bit build, clang has been
upgraded to 3.3. Unfortunately, there's a bug in 3.4 that breaks builds. 3.5
works fine, but there are no binary builds compatible with precise, which is
currently used for gitian and travis. We could always build our own if
necessary.

After updating to stable clang/linker/cctools, it's possible to use a more
recent SDK. The current SDK (10.7) through the most recent 10.10 have all been
built/tested successfully, both with and without 10.6 compatibility. However,
10.10 requires clang 3.5.

SDKs >= 10.9 use libc++ rather than libstdc++. This is verified working as well.
2015-10-21 20:43:14 +11:00
Cory Fields
9a623175f1 depends: osx: fix qt5 build against 10.10 sdk 2015-10-21 20:43:11 +11:00
Cory Fields
f2d2dffad9 osx: bump build sdk to 10.9
Conflicts:
	.travis.yml
2015-10-21 20:43:09 +11:00
Adrian Gallagher
4edf63fbe9 Litecoin: Update NSBundle identifier for OSX notifications 2015-10-21 20:43:06 +11:00
Adrian Gallagher
6c09388121 Litecoin: Bump Gitian build time to a more recent date. 2015-10-21 20:43:03 +11:00
Pavel Janík
d48da05049 Do not store more than 200 timedata samples.
Github-Pull: #6797
Rebased-From: 8be371db340b03dc03142c1bb3390fdfc84f56b4
2015-10-21 20:43:01 +11:00
Wladimir J. van der Laan
ab3a8ad7c1 net: Disable upnp by default
Common sentiment is that the miniupnpc codebase likely contains further
vulnerabilities.

I'd prefer to get rid of the dependency completely, but a compromise for
now is to at least disable it by default.

Rebased-From: 21d27ebad5721bc61c62bc72dc3ab3197f9da268
Github-Pull: #6795
2015-10-21 20:42:58 +11:00
Adrian Gallagher
09da4b1cd6 Litecoin: Cosmetic translation string changes. 2015-10-21 20:42:55 +11:00