~fuzzbawls/pivx-core/+git/test:2023_post-5.5.0-verbump

Last commit made on 2023-02-04
Get this branch:
git clone -b 2023_post-5.5.0-verbump https://git.launchpad.net/~fuzzbawls/pivx-core/+git/test

Branch merges

Branch information

Name:
2023_post-5.5.0-verbump
Repository:
lp:~fuzzbawls/pivx-core/+git/test

Recent commits

a79e456... by Fuzzbawls

[Build] Bump master to 5.5.99 (pre-6.0)

3c63095... by Fuzzbawls

Merge #2784: [Consensus] Bump v5.5 activation height for mainnet

142c1374ccbdbd72c445868c26972d0d5ab082d8 [Consensus] Bump v5.5 activation height for mainnet (Fuzzbawls)

Pull request description:

  Gives more time for users to update given the holiday season. Mainnet activation height set to 3715200

ACKs for top commit:
  EricStanek:
    utACK 142c1374ccbdbd72c445868c26972d0d5ab082d8
  yenachar:
    utACK 142c1374ccbdbd72c445868c26972d0d5ab082d8
  PeterL73:
    utACK 142c1374ccbdbd72c445868c26972d0d5ab082d8

Tree-SHA512: c2f0acd81da57df37fc5a8ff0a569ef08374a939a536ded8ac0042d9c4112056701279addddadbf365710298ec52499bf1249cfaac270918f80cb48e499b71b4

142c137... by Fuzzbawls

[Consensus] Bump v5.5 activation height for mainnet

Gives more time for users to update given the holiday season.
Mainnet activation height set to 3715200

414be93... by Fuzzbawls

Merge #2781: [Consensus] Set v5.5 activation height for mainnet

dee3306c8cfeeff9533ce9eec09f9579106eca0e [Consensus] Set v5.5 activation height for mainnet (Fuzzbawls)

Pull request description:

  Mainnet activation height set to 3672000

ACKs for top commit:
  DeanSparrow:
    utACK dee3306c8cfeeff9533ce9eec09f9579106eca0e
  Liquid369:
    uTACK dee3306c8cfeeff9533ce9eec09f9579106eca0e
  PeterL73:
    utACK dee3306c8cfeeff9533ce9eec09f9579106eca0e

Tree-SHA512: 6e12569f508bb4626745321db4ff54c43be08b86e37c2a71950652e0c9d387829f8a2c2c9ad87f6a4666d73e9b4ce6d2a889b21d611bc6f258a0b5abe4702436

8cc2181... by Fuzzbawls

Merge #2780: RPC: Backport scantxoutset from BitCoin Core v0.17.2

fe55859c00c6e359bf56f7d678fe67e10d0c41c9 Add functional test for scantxoutset (PeterL73)
44522073079cb0eb885d8b54bceeb6f0c89b3a38 Remove commented out code (PeterL73)
c5ba307dc148dfc924b8908077904fe2ee092203 Backport scantxoutset and descriptors from BitCoin Core v0.17.2 (PeterL73)

Pull request description:

  ## Issue being fixed or feature implemented
  As I didn't like the idea of backporting partial functionality of an upstream feature I looked at how `scantxoutset` and descriptors where implemented in BitCoin Core. Thanks to @tecnovert in #2778 I was able to easily locate the introduction point of `scantxoutset` and descriptors into BitCoin Core. As there were only a few files involved I tried to backport the complete functionality from [BitCoin Core v0.17.2](https://github.com/bitcoin/bitcoin/tree/v0.17.2).

  ## What was done
  - added `script/descriptor.cpp` and `script/descriptor.h` from BitCoin Core
  - removed non PIVX compatible code from `script/descriptor.cpp`
    - changed `#include <util.h>` to `#include <util/system.h>`
    - removed wpkh, wsh support
  - added `scantxoutset` related code to `rpc/blockchain.cpp` and `rpc/client.cpp`
  - made some minor adjustments in backported code in `rpc/blockchain.cpp`
    - changed `HexStr` call used for outputting scriptPubKey
    - removed P2WPKH references from the help description
    - changed _xpub/xprv_ to _DRKV/DRKP_ as prefix for extended keys in the help description
  - added SigningProvider related code to `script/sign.cpp` and `script/sign.h`
  - added the functional test `rpc_scantxoutset.py` from BitCoin Core
    - changed the addresses and keys to fit PIVX requirements
    - changed the first of the "non HD unspent outputs" tests from 0.002 to 0.007, because PIVX does not have P2SH_SEGWIT or BECH32 addresses only LEGACY addresses are used in this test
    - https://github.com/dashpay/dash/commit/4127918e86d7b905d2edceffa6913633747664e9

  ## How Has This Been Tested
  This was tested using pivx-cli and pivx-qt, by scanning for unspent transaction output with different descriptors and with the functional test.

  ## Breaking Changes

ACKs for top commit:
  tecnovert:
    tACK fe55859c00c6e359bf56f7d678fe67e10d0c41c9
  Liquid369:
    tACK fe55859c00c6e359bf56f7d678fe67e10d0c41c9
  Fuzzbawls:
    ACK fe55859c00c6e359bf56f7d678fe67e10d0c41c9

Tree-SHA512: a2b57706e98d8ea8794f7e85eedab3e55546e3e6ec813ed5a784bbbc4071a34dc3cce2861374cd74c5bf20097676163bb100be309121b595b89395d90a7588d8

abb888b... by Fuzzbawls

Merge #2779: rpc: Backport getblock verbosity

b512d94f6896f77ae47f064dff8f930f10f56f0a Remove semicolon and add "verbose" back to vRPCConvertParams. (tecnovert)
8488f7e08b0f2149558a95a97ae86b8ab736711e Test for hex strings and remove stray newline from rpc_named_arguments. (tecnovert)
f4943e53734d3caada54852ced1254f262576f87 Fix missing help text and add backwards compatibility. (tecnovert)
715f2a2ee6368a0820450979bfc0096341fb9efb rpc: Backport getblock verbosity (tecnovert)

Pull request description:

  Changes the boolean 'verbose' parameter of the getblock rpc command to an integer.
  Enables getblock output to include full transaction details.

  Backported from Bitcoin v15
  https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.15.0.md

ACKs for top commit:
  PeterL73:
    tACK b512d94f6896f77ae47f064dff8f930f10f56f0a
  Fuzzbawls:
    ACK b512d94f6896f77ae47f064dff8f930f10f56f0a

Tree-SHA512: 0e86da1ed3416a83b74125918fd0f3b4de18b12b7750de20788a95dec03698845ac45ab1c7cdda304430175105fab2e2e6091ecb0d18898be13255ffec954fd4

768dfb5... by Fuzzbawls

Merge #2774: add include_delegated to vRPCConvertParams

2334061193d0af0faf09bf9693f90f99c8f0d800 add include_delegated to vRPCConvertParams (PeterL73)

Pull request description:

  ## Issue being fixed #2773
  Spending with ```sendmany``` and ```include_delegated``` parameter, results in ```JSON value is not a boolean as expected``` error
  ```
  ./pivx-cli sendmany "" "{\"<address>\":1}" 1 "" true
  error code: -1
  error message:
  JSON value is not a boolean as expected
  ```
  ```include_delegated``` is missing from vRPCConvertParams
  ## What was done?
  ```include_delegated``` was added to vRPCConvertParams
  ## How Has This Been Tested?
  ```
  ./pivx-cli sendmany "" "{\"<address>\":1}" 1 "" true
  <transaction hash>
  ```
  The transactions got added
  ## Checklist:
  <!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
  - [x] I have performed a self-review of my own code
  - [x] I have performed a test of my own code

ACKs for top commit:
  Liquid369:
    uTACK 2334061193d0af0faf09bf9693f90f99c8f0d800
  DeanSparrow:
    ACK 2334061193d0af0faf09bf9693f90f99c8f0d800
  Fuzzbawls:
    ACK 2334061193d0af0faf09bf9693f90f99c8f0d800

Tree-SHA512: c2a676b0ab559c51298c84c1e297486ab256f51c78dc4d9ca15e356795e2080409625f37f7929dcd635cfe8b86303b67c665cf5bf3f1c9929b02a97202c1c3b7

9be813c... by Fuzzbawls

Merge #2772: bugfix new block reward payment and verification

a50ba7e025d0253c3a50c2fb9a285bb54948667e use block height from caller (PeterL73)

Pull request description:

  use the requiredMasternodePayment of the new block
  in CMasternodeBlockPayees::IsTransactionValid [masternode-payments.cpp]

ACKs for top commit:
  Liquid369:
    uTACK a50ba7e025d0253c3a50c2fb9a285bb54948667e
  DeanSparrow:
    utACK a50ba7e025d0253c3a50c2fb9a285bb54948667
  Fuzzbawls:
    ACK a50ba7e025d0253c3a50c2fb9a285bb54948667e

Tree-SHA512: ed65261830026bd7efd0a30c30bf540197ce05581a744d738340556a596d9cd42a9b2fb1c722e27ff9a4d03f7d933b98296fa4a88068c6b6bf6f71800fca4aad

dee3306... by Fuzzbawls

[Consensus] Set v5.5 activation height for mainnet

Mainnet activation height set to 3672000

fe55859... by PeterL73 <email address hidden>

Add functional test for scantxoutset

- changed the addresses and keys to fit PIVX requirments
- changed the first non HD unspent outputs test from 0.002 to 0.007, because PIVX does not have P2SH_SEGWIT and BECH32 addresses, only LEGACY are tested here