[Fix / Upgrade] PoS Staking tx inclusion, watchonly upgrades, new stealthkey rpc#1053
[Fix / Upgrade] PoS Staking tx inclusion, watchonly upgrades, new stealthkey rpc#1053blondfrogs wants to merge 5 commits intoVeil-Project:masterfrom
Conversation
|
utACK |
85c58cb to
49affbf
Compare
There was a problem hiding this comment.
utACK ( 7e90fcf "Fix PoS blocks dropping first mempool transaction" )
This is a great catch! I had not realised why I often had to push through transactions on testnet with a proof of work block. On mainnet it wasn't a huge problem, as there were always proof of work blocks. Testing this on testnet shortly.
In fact it wasn't extremely obvious as just looking at my spreadsheet of the superblock transactions, they've been confirmed in staked blocks slightly more than 50% of the time, and I haven't analysed this on other transactions such as budgets or my own many spends, statistically, so I hardly ever noticed it on mainnet, just when spending testnet funds, or noticed the wait occasionally when broadcasting a budget spend, and didn't attribute it to anything like this.
|
Very much appreciated. Will merge this as soon as testnet testing has been done. |
|
Thanks for the awesome work @blondfrogs. |
|
I should remind people that Ubuntu 24.04 or later is needed for this. I went out of my way on a previous build to support an old Ubuntu, but I won't this time. Those with old Ubuntu will get a message like this: It's best to just upgrade the host, from 20.04 LTS in the case I just tried. |
|
@blondfrogs On an Ubuntu server upgraded from 20.04 to 24.04 LTS I have a couple of testnet wallets, both with bloated 100-200 MB-ish wallet.dats. The one getting IPv4 peers is with the standard / automatic testnet settings, and the one set on IPv6 has a custom RPC port, username and password, and that all worked fine, and maybe this server is a bit undersized than some of my others, but they start and sync fine, but they are stopping after being unlocked, with the last line in the debug log being Restarting the released version 1.4.1.0. Second instance also running fine (on the released version), unlike the PR version. |
This PR contains several fixes and improvements for watch-only address handling, stealth key management, and a critical PoS block creation bug.
Bug Fixes
Fix PoS blocks dropping first mempool transaction (7e90fcf)
Fix watchonly status showing 0 transactions (1c4c634)
Fix watchonly status and indexing (af9de02)
New Features
Import stealth keys RPC and dump improvements (49affbf)
Remove watchonly address improvements (c43a625)