3129 Commits

Author SHA1 Message Date
losh11
53dbe584fd
disable unfinshed test & fix missing ismweb from testfiles 2024-03-02 03:51:25 +00:00
David Burkett
a14c94f8d2 Added "getmwebutxos" and "mwebutxos" p2p messages 2024-02-25 00:11:49 +00:00
David Burkett
ae2987593c Added "mwebleafset" getdata type and CMWEBLeafsetMsg response 2024-02-25 00:11:49 +00:00
David Burkett
215edcfaa8 Added "mwebheader" getdata type and CMerkleBlockWithMWEB response 2024-02-25 00:11:49 +00:00
David Burkett
47334552aa Updating bitcoin ports to litecoin's equivalent
(cherry picked from commit f69578127bd32e1154f45dbec47213c38f7ffd55)
2023-02-21 10:52:43 -05:00
David Burkett
a8f12c2615 Rate limit the processing of rumoured addresses. Ref: https://github.com/bitcoin/bitcoin/pull/22387
(cherry picked from commit 8b256769fdb3baaa0e67f8a2b762f67b34f02144)
2023-02-21 10:52:07 -05:00
David Burkett
fce5d459f0 Adding release notes and bumping version 2022-06-01 22:57:39 -04:00
David Burkett
4871bae163 Adding functional test for MWEB functionality after upgrading non-HD wallet 2022-05-31 15:07:33 -04:00
David Burkett
eef63f7034 v0.21.2 2022-05-08 18:18:03 +01:00
David Burkett
e07a311aeb Fixing miner crashes by adding support for spending unconfirmed outputs 2022-05-08 18:18:03 +01:00
David Burkett
30aa04815c * txrecord refactor and introduction of txlist
* createtransaction rewrite (TxAssembler)
* added listwallettransactions rpc method
2022-05-08 18:18:03 +01:00
David Burkett
1b5878a81f Mempool fixes 2022-05-08 18:18:03 +01:00
David Burkett
df12de6bf0 * Lowering MWEB feerate
* Transaction display & amount calculation fixes for pegouts
* Crash fix during CreateTx
* Bump version to 0.21.2rc4
2022-05-08 18:18:03 +01:00
David Burkett
149b4e5da5 * Wallet fixes
* Fixing taproot testnet params
* Bump version to 0.21.2rc3
2022-05-08 18:18:03 +01:00
David Burkett
4beb89b249 Node fixes for 0.21.2rc3 2022-05-08 18:18:03 +01:00
David Burkett
ef12bd7c15 * Load and Unload MWEB keychain when unlocking/locking the wallet
* Check for MWEB support instead of asserting keychain is always loaded
* Fix backward compatibility tests
2022-05-08 18:18:03 +01:00
David Burkett
91a8c4e6ae * Prevent MWEB txs from being accepted to mempool before activation
* Add 'mweb' rule to getblocktemplate request
* Add 'mweb' field to getblocktemplate reply
* Build out MWEB serialization for better functional test coverage
2022-05-08 18:18:03 +01:00
David Burkett
0e1f4e1671 MWEB: Functional tests 2022-05-08 18:18:03 +01:00
David Burkett
2fbe202623 Litecoin: Add -mempoolreplacement flag and disable RBF by default 2022-01-27 20:17:51 -05:00
David Burkett
f1f22275de * Changing taproot start & timeout heights
* Minor version bits cleanup
2021-10-03 05:33:42 -04:00
David Burkett
3865f76a97 Implement BIP8 for taproot 2021-09-13 14:32:14 -04:00
David Burkett
beb0f22f26 Test fixes 2021-09-13 14:04:21 -04:00
Adrian Gallagher
61e2c39ae8
Litecoin: bech32m tests 2021-05-17 23:51:28 -07:00
Adrian Gallagher
0a994ef374
Litecoin: Functional 2021-05-17 23:03:23 -07:00
Adrian Gallagher
5f4e932069
Litecoin: Validation 2021-05-17 23:03:22 -07:00
Adrian Gallagher
478dabad29
Litecoin: Make linter happy 2021-05-17 23:03:22 -07:00
Adrian Gallagher
c6b319d9d2
Litecoin: More functional tests 2021-05-17 23:03:22 -07:00
Adrian Gallagher
60fb716792
Litecoin: Functional tests 2021-05-17 23:03:21 -07:00
Adrian Gallagher
86fe3c68b8
Litecoin: Functional tests 2021-05-17 23:03:15 -07:00
Adrian Gallagher
6ece9ae091
Litecoin: Branding 2021-05-17 22:25:55 -07:00
Adrian Gallagher
98528bf8dc
Litecoin: Multisig 2021-05-17 22:25:54 -07:00
Adrian Gallagher
d87e597b3b
Litecoin: HRPs 2021-05-17 22:25:54 -07:00
Adrian Gallagher
f522022273
Litecoin: Function tests 2021-05-17 22:25:52 -07:00
Adrian Gallagher
d1d5fa80fb
Litecoin: Tests 2021-05-17 22:25:51 -07:00
Adrian Gallagher
a1e47d9f0e
Litecoin: Fix various tests 2021-05-17 22:25:50 -07:00
Adrian Gallagher
e16dd76732
Litecoin: Multisig code testing 2021-05-17 22:25:18 -07:00
Xinxi Wang
c7c4806e7a
Litecoin: M prefix added for script addresses 2021-05-17 22:15:44 -07:00
Adrian Gallagher
0de5edb7e2
Litecoin: Disable RBF 2021-05-17 22:15:15 -07:00
Adrian Gallagher
44d25fdf26
Litecoin: Fix more functional tests 2021-05-17 22:15:14 -07:00
Adrian Gallagher
dcf565982a
Litecoin: Fix various tests 2021-05-17 22:15:14 -07:00
Adrian Gallagher
86b0e12da3
Litecoin: Branding 2021-05-17 22:15:08 -07:00
Adrian Gallagher
a66fc11fc4
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
2021-05-17 22:14:35 -07:00
Adrian Gallagher
f3e8486f00
Litecoin: Fix various tests 2021-05-17 22:14:32 -07:00
Anthony Towns
4cab84cfdf
versionbits: Add support for delayed activation
Github-Pull: #21377
Rebased-From: 73d4a706393e6dbd6b6d6b6428f8d3233ac0a2d8
2021-04-15 12:03:27 -04:00
Andrew Chow
f79189ca54
Test that signrawtx works when a signed CSV and CLTV inputs are present
Github-Pull: #21166
Rebased-From: a97a9298cea085858e1a65a5e9b20d7a9e0f7303
2021-04-08 18:19:02 -04:00
Pieter Wuille
f2195d7c4a Backport invalid address tests
Reduced version of the test from master/#20861 by John Newbery.

Github-Pull: #20861
Rebased-From: fe5e495c31de47b0ec732b943db11fe345d874af
2021-03-27 12:09:48 -07:00
Pieter Wuille
593e206627 Use Bech32m encoding for v1+ segwit addresses
This also includes updates to the Python test framework implementation,
test vectors, and release notes.

Github-Pull: #20861
Rebased-From: fe5e495c31de47b0ec732b943db11fe345d874af
2021-03-27 12:09:44 -07:00
Andrew Chow
36ecf5eb87 tests: Test that a fully signed tx given to signrawtx is unchanged
Tests that a fully signed transaction given to
signrawtransactionwithwallet is both unchanged and marked as complete.
This tests for a regression in 0.20 where the transaction would not be
marked as complete.

Github-Pull: #20562
Rebased-From: 773c42b265fb2212b5cb8785b7226a206d063543
2021-03-06 08:18:16 +01:00
Jon Atack
4ef1e4bd40 test: disallow sendtoaddress/sendmany when private keys disabled
Github-Pull: #21201
Rebased-From: 6bfbc97d716faad38c87603ac6049d222236d623
2021-02-19 12:47:43 +01:00
MarcoFalke
08dada8456 util: Disallow negative mocktime
Signed-off-by: practicalswift <practicalswift@users.noreply.github.com>

Github-Pull: #21043
Rebased-From: 3ddbf22ed179a2db733af4b521bec5d2b13ebf4b
2021-02-11 12:42:40 +01:00