26790 Commits

Author SHA1 Message Date
David Burkett
82ab2849c9 * Throwing recoverable error when transaction amount is too small to pay the MWEB recipient
* Checking ismine filter for pegouts in GetCredit
2022-05-08 18:18:03 +01:00
David Burkett
405b1ec5ca More accurate filtering of transactions not belonging to wallet 2022-05-08 18:18:03 +01:00
David Burkett
b7c384ff11 * Only require 6 block maturity for pegouts in wallet
* Display correct stealth address in coin list
2022-05-08 18:18:03 +01:00
David Burkett
8634cc1c25 Don't track spends of coins we sent 2022-05-08 18:18:03 +01:00
David Burkett
e1edf6ba30 Fix pegin transactions not showing up in transaction list. 2022-05-08 18:18:03 +01:00
David Burkett
450fe234f5 Don't create change when pegging out available balance. 2022-05-08 18:18:03 +01:00
David Burkett
a753b740e0 Call CheckTransaction as a sanity check on newly created transactions. 2022-05-08 18:18:03 +01:00
David Burkett
dd4263abc8 GetSpendKey() -> GetSpendSecret() 2022-05-08 18:18:03 +01:00
David Burkett
aa0e722dfa Quick rc6 fixes 2022-05-08 18:18:03 +01:00
David Burkett
05584f0352 * Add comment documenting serialization format for mw::Coin
* Always serialize mw:Coins in the latest format
* Fail when attempting to deserialize coins in an unsupported format
2022-05-08 18:18:03 +01:00
David Burkett
8340829bc8 * Remove temporary g_desire_mweb_flag hack and always just require NODE_MWEB. There are enough MWEB-capable public nodes now, so this is no longer necessary.
* Update chainparamsseeds.h to include some additional MWEB-capable public nodes
* Only set NODE_MWEB service flag when NODE_WITNESS is set
2022-05-08 18:18:03 +01:00
David Burkett
cca9cfe7c8 * Adding mweb_wtx_info to WalletTxToJSON
* Better handling of conflicting wallet tx data during rescan
* Fix create tx dialog for txs using subtract fee from amount
* Safer MWEB block undo logic
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
b05226fe1b Fixing crash found by Anton 2022-05-08 18:18:03 +01:00
David Burkett
bdae021b11 More createtx cleanup 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
768e3e8621 Add doc/mweb/mining-changes.md 2022-05-08 18:18:03 +01:00
David Burkett
63147da911 Support partial rewind of outputs for locked wallets, and UpgradeCoins() function to finish rewinding once unlocked. 2022-05-08 18:18:03 +01:00
David Burkett
c59ac6d8a5 Small cleanup 2022-05-08 18:18:03 +01:00
Loshan T
ac398fe074 update signapple tool for runtime hardening 2022-05-08 18:18:03 +01:00
Andrew Chow
a52a7e1043 gitian: Remove codesign_allocate and pagestuff from MacOS build 2022-05-08 18:18:03 +01:00
Andrew Chow
d48cabde70 gitian: use signapple to create the MacOS code signature 2022-05-08 18:18:03 +01:00
Andrew Chow
f9ecb1345b gitian: use signapple to apply the MacOS code signature 2022-05-08 18:18:03 +01:00
Andrew Chow
0d6e794d51 gitian: install signapple in gitian-osx-signer.yml 2022-05-08 18:18:03 +01:00
fanquake
eb92ebd9b3 build: remove cdrkit package from depends 2022-05-08 18:18:03 +01:00
fanquake
12ac5ee4d3 build: Replace genisoimage with xorriso
xorriso and its mkisofs/genisoimage emulation alter-ego xorrisofs are
more maintained, and has the right toggles for us to achieve output
determinism without using blunt tools like faketime.

In this commit, we use xorrisofs from the build environment rather than
building it ourselves using depends. This is not necessary and can be
changed in the future.

From https://wiki.debian.org/genisoimage?action=recall&rev=11 :

> The classical command line interface for production of ISO 9660
> filesystem images is the option set established by program mkisofs.
> For reasons of licensing and other problems with its author, Debian
> ships a fork of mkisofs, called genisoimage, which was split off in
> 2006 and then developed independently.
>
> Meanwhile, genisoimage gets no new features and not even bug fixes. It
> is first choice only if its options -udf or -hfs are needed.
>
> Replacement in most uses cases, especially for bootable ISO 9660
> filesystems, archiving, and backup, is xorrisofs which starts the -as
> mkisofs emulation mode of program xorriso.
2022-05-08 18:18:03 +01:00
Carl Dong
85baf03f17 build: Run libdmg-hfsplus's DMG tool in make deploy
Previously, the compression of the .iso file to a .dmg file was done
outside of `make deploy' in order to use the faketime-wrapped version of
libdmg-hfsplus's DMG tool.

Specifying the faketime-wrapped version of the DMG tool to ./configure
fixes this and simplifies build scripts.
2022-05-08 18:18:03 +01:00
fanquake
8239ab8bc3 build: set minimum supported macOS to 10.14 2022-05-08 18:18:03 +01:00
David Burkett
bdb21d32fe Check if scan secret is null before using it in LegacyScriptPubKeyMan::IsMine 2022-05-08 18:18:03 +01:00
David Burkett
0c91f78dde Build fix 2022-05-08 18:18:03 +01:00
David Burkett
60b801fd3f Fixing build 2022-05-08 18:18:03 +01:00
David Burkett
f431c46a29 rc5 2022-05-08 18:18:03 +01:00
David Burkett
1b5878a81f Mempool fixes 2022-05-08 18:18:03 +01:00
David Burkett
f238353454 Fixing crash with subtract fee from amount 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
d3de60d46f UI fix for calculating amounts correctly 2022-05-08 18:18:03 +01:00
David Burkett
6b88691d7c Merge fix 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
eb83f4eb6a Bumping version to 0.21.2rc2 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
MarcoFalke
7b6dabd36a build: Update crc32c subtree
(cherry picked from commit fa7c8d136f6590e54d60c37fb34ebec8da84ebbb)
2022-05-08 18:18:03 +01:00
losh11
6f8245a5b7 build: macOS notarisation process 2022-05-08 18:18:03 +01:00
David Burkett
53df3e9978 Updating gitian-descriptors and release-notes-litecoin.md 2022-05-08 18:18:03 +01:00
David Burkett
2a33f5b322 MWEB: UI: Don't allow sending to MWEB addresses until after activation. 2022-05-08 18:18:03 +01:00
David Burkett
493e8288ab MWEB: P2P: Allow sync from non-MWEB peers before MWEB activation 2022-05-08 18:18:03 +01:00
David Burkett
17b65055ba MWEB: Fixing gitian build 2022-05-08 18:18:03 +01:00
David Burkett
13b2abb604 MWEB: Fixing gitian build 2022-05-08 18:18:03 +01:00
David Burkett
f7fa5498dd Update release version to 0.21.2rc1 2022-05-08 18:18:03 +01:00