18116 Commits

Author SHA1 Message Date
Adrian Gallagher
b230514b36
Litecoin: Fix RU Qt translations 2019-02-18 19:13:58 -08:00
Adrian Gallagher
7c5ea6fc74
Litecoin: Update man pages 2019-02-18 19:13:58 -08:00
Adrian Gallagher
1b19499fc1
Litecoin: Fix Qt intro year value 2019-02-18 19:13:58 -08:00
Adrian Gallagher
1a059094d8
Litecoin: Bump copyright year range 2019-02-18 19:13:58 -08:00
Adrian Gallagher
0cc3966679
Litecoin: Update Litecoin icons and images 2019-02-18 19:13:58 -08:00
Adrian Gallagher
ad7e9053f6
Litecoin: Fee system 2018-12-16 21:49:10 -08:00
Adrian Gallagher
dd747f840e
Litecoin: Update hardcoded seeds for mainnet and testnet 2018-12-16 21:49:10 -08:00
Adrian Gallagher
e954262233
Litecoin: Update blockchain size 2018-12-16 21:49:10 -08:00
Adrian Gallagher
152ecc424b
Litecoin: Update default assume valid, chain work and chaintx values 2018-12-16 21:49:10 -08:00
Adrian Gallagher
0af99bc29d
Litecoin: Disable RBF 2018-12-16 21:49:10 -08:00
Adrian Gallagher
ea50f66c1f
Litecoin: Qt translations 2018-12-16 21:49:10 -08:00
Adrian Gallagher
eaf0e14c78
Litecoin: Update gitian-build script 2018-12-16 21:49:10 -08:00
Xinxi Wang
0e9ec82e80
Litecoin: M prefix added for script addresses 2018-12-16 21:49:04 -08:00
Adrian Gallagher
391b10399c
Litecoin: Add scrypt support to Travis 2018-12-16 19:19:10 -08:00
Adrian Gallagher
2be6f3191a
Litecoin: Adjust travis 2018-12-16 19:19:10 -08:00
Adrian Gallagher
7a1f455a9f
Litecoin: Update man files 2018-12-16 19:19:10 -08:00
Adrian Gallagher
efaa69e6a6
Litecoin: Basic changes for v0.16 release (#482)
* Litecon: Modify thread names

Since this string is displayed externally within lists of processes and should be consistent with branding, and not cause confusion for admins, when running "top", "ps aux", "pgrep" or similar commands.

* Litecoin: Remove invalid doxygen link

* Litecoin: Add additional optional build steps for osx builds

Fixes: https://github.com/litecoin-project/litecoin/issues/463

* Litecoin: Show scrypt sse2 status in configure and fix scrypt syntax issue
2018-12-16 19:19:10 -08:00
Adrian Gallagher
0c70852943
Litecoin: Fix various tests 2018-12-16 19:19:10 -08:00
Adrian Gallagher
00a7b863ed
Litecoin: Update bech32 HRP's 2018-12-16 19:19:10 -08:00
Adrian Gallagher
1b6f6f0157
Litecoin: Update windeploy cert and timestamping server 2018-12-16 19:19:10 -08:00
Adrian Gallagher
10faeb56af
Litecoin: Update trusted keys
GPG keys for coblee, shaolinfry, thrasher and xinxi
2018-12-16 19:19:10 -08:00
Adrian Gallagher
12ecd85715
Litecoin: Update chainparams minimum chain work, default assume valid values and blockchain size 2018-12-16 19:19:10 -08:00
Adrian Gallagher
f20a8076f0
Litecoin: Update hardcoded seeds 2018-12-16 19:19:10 -08:00
Adrian Gallagher
2ae1ec4b23
Litecoin: Adjust splashscreen for testnet/regtest 2018-12-16 19:19:10 -08:00
Adrian Gallagher
30e67a7e82
Litecoin: Branding 2018-12-16 19:19:06 -08:00
Adrian Gallagher
6063f2a958
Litecoin: Protocol and default settings
0) Adjust BIP30 enforcement values

1) Reduce amount that peers can adjust our time to eliminate an attack vector. Thanks to
coblee for this fix.

2) Zeitgeist2 patch - thanks to Lolcust and ArtForz. This fixes an issue where a
51% attack can change difficulty at will. Go back the full period unless it's the
first retarget after genesis.

3) Avoid overflow in CalculateNextWorkRequired(). Thanks to pooler for the overflow fix.

4) Zeitgeist2 bool fshift bnNew.bits(). Thanks to romanornr for this path.

5) SegWit ContextualCheckBlockHeader adjustment and extra coverage.

6) Reject peer proto version below 70002. Thanks to wtogami for this patch.

7) Send final alert message to nodes warning about removal of the alert system. Thanks to coblee for this patch.

8) Adjust default settings for Litecoin.

9) Adjust STALE_CHECK_INTERVAL value
2018-12-16 16:09:30 -08:00
Adrian Gallagher
6d940531d2
Litecoin: Fix copyright year value 2018-12-16 16:09:30 -08:00
shaolinfry
bfa6cb3d4f
Litecoin: Update gitian descriptors 2018-12-16 16:09:29 -08:00
Adrian Gallagher
81e4cd3c75
Litecoin: Fix various tests 2018-12-16 16:09:29 -08:00
shaolinfry
b629fba0ad
Litecoin: Developer gpg keys 2018-12-16 16:09:28 -08:00
Martin Smith
55106d428e
Litecoin: Add Litecoin logos and icons
# Conflicts:
#	share/pixmaps/nsis-header.bmp
#	share/pixmaps/nsis-wizard.bmp
2018-12-16 16:09:28 -08:00
shaolinfry
d531cf369d
Litecoin: Add scrypt N=1024 PoW 2018-12-16 16:09:27 -08:00
shaolinfry
4202fe379d
Litecoin: Adjust chain parameters 2018-12-16 16:09:27 -08:00
shaolinfry
1e2999ba69
Litecoin: Add historical release notes 2018-12-16 16:09:26 -08:00
Adrian Gallagher
b39c4b87b1
Litecoin: Update README.md 2018-12-16 16:09:26 -08:00
Wladimir J. van der Laan
ef70f9b52b
doc: Fill in authors and changelog for 0.17.1 release notes
Tree-SHA512: dc23ae43e81ad379b48bb8dc6da21cde647a7edc778563b8b8266dfe84d9baa70bf4565915e276ea0e14aa96ce677547494da0aadeebfcc961f53430c7bb84ea
2018-12-07 00:29:45 +01:00
Wladimir J. van der Laan
c6e4a1fca5
Merge #14889: [0.17] Backport #14424 (Stop requiring imported pubkey to sign non-PKH schemes)
89a9a9d9385bbf291849874adc33a270b28fcac4 Stop requiring imported pubkey to sign non-PKH schemes (Pieter Wuille)

Pull request description:

  Github-Pull: #14424
  Rebased-From: 2f6b466aeb6d4c88ab2e0e8b2a402be0743608b5

Tree-SHA512: 1ea10dee66626f04918f197cd7c4949a836fa49c8f676f276b2328f8d79389059db7b30fc04d4c4bf8209f6a8d21f3ea49a017ddc7623eca6b7e6efc2fe0d749
2018-12-07 00:10:06 +01:00
Pieter Wuille
89a9a9d938 Stop requiring imported pubkey to sign non-PKH schemes
Github-Pull: #14424
Rebased-From: 2f6b466aeb6d4c88ab2e0e8b2a402be0743608b5
2018-12-07 10:30:22 +13:00
MarcoFalke
abae8aeff1
Merge #14880: 0.17: Backport #14453
dcb032dcdf qa: Ensure wallet unload during walletpassphrase timeout (João Barbosa)
75b5d8c4ea rpc: Fix wallet unload during walletpassphrase timeout (João Barbosa)

Pull request description:

  Backport #14453 to 0.17

Tree-SHA512: fce0adccbb07b6635bb773a71beb4a9b814bceb77bbe7bbc5bcb7d151aabb1148c791622f58c990afe202012ca1971cd466cb536fc6f37e22cdc58738720b593
2018-12-06 13:07:25 -05:00
Wladimir J. van der Laan
8b8b3a9a5f
Merge #14878: 0.17: Further backports
7a590d8390ef2158509c4fc08b84dac71f59e1fb fix converttopsbt permitsigdata arg, add basic test (Gregory Sanders)

Pull request description:

  Ooff, we missed some backports that were tagged.

  Checked:

  * In 7a590d8 (clean cherry-pick): The test changes fail without the code changes

Tree-SHA512: 9996886113dfcd8efa91f5436bc0f3507c81579861543611367bc3403868019fb1e45832c3f994f12278edb1c0c850e21f2f88e46a6981f45a11c4d61dcedaf9
2018-12-06 15:18:39 +01:00
João Barbosa
dcb032dcdf qa: Ensure wallet unload during walletpassphrase timeout
0.17 branch doesn't include #12493 which changed encryptwallet behavior. For that
reason the test is adjusted.

Github-Pull: #14453
Rebased-From: 8907df9
2018-12-06 11:45:18 +00:00
Wladimir J. van der Laan
6042dfe008
build: bump version to 0.17.1
Also update man pages.

Tree-SHA512: 826f3c9ad1e49902ee2f1710a4329388c0a9298a359971f21130bf8f390d4a7b744d010f04eb109666ceb28d0053b9fa7ec088caaa4e4cc38509526457086d40
2018-12-06 11:41:25 +01:00
João Barbosa
75b5d8c4ea rpc: Fix wallet unload during walletpassphrase timeout
Github-Pull: #14453
Rebased-From: 321decf
2018-12-05 23:14:10 +00:00
Gregory Sanders
7a590d8390 fix converttopsbt permitsigdata arg, add basic test
Github-Pull: #14356
Rebased-From: 88a79cb436b30b39d37d139da723f5a31e9d161b
2018-12-05 17:38:57 -05:00
MarcoFalke
5d12143c73
Merge #14780: PSBT backports to 0.17
7bee41452b Add test for conversion from non-witness to witness UTXO (Pieter Wuille)
ff56bb9b44 Add regression test for PSBT signing bug #14473 (Glenn Willen)
db445d4e5a Refactor PSBTInput signing to enforce invariant (Glenn Willen)
ad94165db9 Simplify arguments to SignPSBTInput (Glenn Willen)
39ece4fc28 Add bool PSBTInputSigned (Glenn Willen)
70ee1f8709 New PartiallySignedTransaction constructor from CTransction (Glenn Willen)
a9eab081d5 Remove redundant txConst parameter to FillPSBT (Glenn Willen)
cfdd6b2f6c More concise conversion of CDataStream to string (Glenn Willen)
a3fe125490 check that a separator is found for psbt inputs, outputs, and global map (Andrew Chow)

Pull request description:

  This is a backport of #14588, #14377, and #14197's test to 0.17.

Tree-SHA512: 07535ec69a878a63b549e5e463345e233f34662dff805202614cf2ffc896c6d1981363e6d06d02db2e02d815075ad8ebdc5f93f637052cff8c8cbe6c8dfa096a
2018-12-05 10:35:31 -05:00
Pieter Wuille
7bee41452b Add test for conversion from non-witness to witness UTXO
Github-Pull: #14197
Rebased-From: 862d159d635c1de219d94e030b186a745fe28eb9
2018-12-03 10:37:52 -08:00
Glenn Willen
ff56bb9b44 Add regression test for PSBT signing bug #14473
Github-Pull: #14588
Rebased-From: e13fea975d5e4ae961faba36379a1cdaf9e50c1c
2018-12-03 10:37:22 -08:00
Glenn Willen
db445d4e5a Refactor PSBTInput signing to enforce invariant
Refactor the process of PSBTInput signing to enforce the invariant that
a PSBTInput always has _either_ a witness_utxo or a non_witness_utxo,
never both.

This simplifies the logic of SignPSBTInput slightly, since it no longer
has to deal with the "both" case. When calling it, we now give it, in
order of preference: (1) whichever of the utxo fields was already
present in the PSBT we received, or (2) if neither, the
non_witness_utxo field, which is just a copy of the input transaction,
which we get from the wallet.

SignPSBTInput no longer has to remove one of the two fields; instead, it
will check if we have a witness signature, and if so, it will replace
the non_witness_utxo with the witness_utxo (which is smaller, as it is
just a copy of the output being spent.)

Add PSBTInput::IsSane checks in two more places, which checks for
both utxo fields being present; we will now give an RPC error early on
if we are supplied such a malformed PSBT to fill in.

Also add a check to FillPSBT, to avoid touching any input that is
already signed. (This is now redundant, since we should no longer
potentially harm an already-signed input, but it's harmless.)

fixes #14473

Github-Pull: #14588
2018-12-03 10:37:08 -08:00
Glenn Willen
ad94165db9 Simplify arguments to SignPSBTInput
Remove redundant arguments to SignPSBTInput -- since it needs several
bits of the PartiallySignedTransaction, pass in a reference instead of
doing it piecemeal. This saves us having to pass in both a PSBTInput and
its index, as well as having to pass in the CTransaction. Also avoid
redundantly passing the sighash_type, which is contained in the
PSBTInput already.

Github-Pull: #14588
Rebased-From: 0f5bda2bd941686620ef0eb90bd7ed973cc7ef73
2018-12-03 10:36:37 -08:00
Glenn Willen
39ece4fc28 Add bool PSBTInputSigned
Refactor out a "PSBTInputSigned" function to check if a PSBT is signed,
for use in subsequent commits.

Also improve a related comment.

GitHub-Pull: #14588
Rebased-From: 53e6fffb8f5b10f94708d33d667a67cb91c2d09d
2018-12-03 10:36:08 -08:00