7873 Commits

Author SHA1 Message Date
Adrian Gallagher
40ce41c006 Litecoin: Fix build boost compilation error with C++11 2016-10-25 17:48:19 -07:00
Adrian Gallagher
e59c294d02 Revert "build: fix newer boost build with c++11"
This reverts commit b513bc41337c9c983acdc199ce9b42382c23b658.
2016-10-25 17:28:16 -07:00
Charlie Lee
865c17dd35 Merge pull request #241 from ijcoe6ru/master-0.10
build: fix newer boost build with c++11
2016-09-16 13:34:54 +09:00
ijcoe6ru
b513bc4133
build: fix newer boost build with c++11
This commit does the same as
bitcoin/bitcoin@a2b04ddfe6.
2016-06-27 09:18:09 +00:00
thrasher
623f20b53e Merge pull request #238 from Gitju/master-0.10
s/Litcoin/Litecoin/
2016-06-23 10:42:15 +10:00
Gitju
bee2743c37 s/Litcoin/Litecoin/ 2016-06-22 09:37:29 +02:00
thrasher
2a00b185ee Merge pull request #236 from thrasher-/master-0.10
Litecoin: Added Debian package files.
2016-05-08 23:41:16 +10:00
Adrian
4c54b2a107 Litecoin: Added Debian package files. 2016-05-08 23:38:03 +10:00
Adrian Gallagher
fc830d2e84 Merge pull request #234 from losh11/master-0.10
Added IPv6 compatible DNSseed.
2016-02-18 16:39:24 +11:00
Loshan T
590630a817 Added IPv6 compatible DNSseed. 2016-02-17 19:26:34 +00:00
Adrian Gallagher
d1691e5991 Litecoin: Bump Gitian date and copyright year. 2016-01-02 09:55:24 +11:00
Adrian Gallagher
2050512183 Merge pull request #229 from losh11/master-0.10
Added LitecoinNode Bootstrap.dat direct-links
2015-12-23 15:27:47 +11:00
Loshan T
53957d5491 Added LitecoinNode Bootstrap links 2015-12-21 21:53:53 +00:00
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