Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix getmasternodeblocks depth filtering #946

Merged
merged 61 commits into from
Dec 24, 2021

Conversation

dcorral
Copy link
Contributor

@dcorral dcorral commented Dec 3, 2021

What kind of PR is this?:

/kind fix

What this PR does / why we need it:

Fixes depth filtering in getmasternodeblocks RPC

Which issue(s) does this PR fixes?:

Fixes #944 #718

@prasannavl prasannavl added this to the 2.2.2 - Fort Canning milestone Dec 7, 2021
bvbfan
bvbfan previously approved these changes Dec 7, 2021
surangap
surangap previously approved these changes Dec 9, 2021
Copy link
Contributor

@surangap surangap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please hold until BirthdayResearch/jellyfishsdk#861 (review) is resolved.

@surangap
Copy link
Contributor

surangap commented Dec 24, 2021

Please hold until DeFiCh/jellyfish#861 (review) is resolved.

Jellyfish test passed. can continue to merge.
BirthdayResearch/jellyfishsdk#861 (comment)

prasannavl and others added 4 commits December 24, 2021 09:53
Adds possibility to use "*" to auto-select address in placeauctionbid and paybackloan
* Rework mempool accounts view

Signed-off-by: Anthony Fieroni <[email protected]>
Co-authored-by: Prasanna Loganathar <[email protected]>
@prasannavl prasannavl dismissed stale reviews from surangap and bvbfan via 211b393 December 24, 2021 06:28
@prasannavl
Copy link
Member

Actual diff: 4801205...fix/getmasternodeblocks-depth

@prasannavl prasannavl merged commit 66c2869 into master Dec 24, 2021
@prasannavl prasannavl deleted the fix/getmasternodeblocks-depth branch December 24, 2021 07:03
Jouzo pushed a commit that referenced this pull request Dec 30, 2021
* Fix getmasternodeblocks depth filtering
Bushstar added a commit that referenced this pull request Jan 4, 2022
* Adds possibility to use "*" to auto-select address in placeauctionbid and paybackloan

* Reduce complexity by throwing first if isNull

* Remove dangling brace

* Fix test assertion

* Remove print in tests

* Use nHeight as height field may be incorrect

* Factor out usage of height field in block header

* Factor out usage of height field in CBlockIndex

* Add start BTC height and record limit to spv_listanchors (#921)

Co-authored-by: Prasanna Loganathar <[email protected]>

* Rework mempool accounts view (#904)

* Rework mempool accounts view

Signed-off-by: Anthony Fieroni <[email protected]>
Co-authored-by: Prasanna Loganathar <[email protected]>

* Fix getmasternodeblocks depth filtering (#946)

* Fix getmasternodeblocks depth filtering

* Enable composite swap for `testpoolswap` (#954)

* Add support for composite swap in `testpoolswap`

Co-authored-by: jouzo <[email protected]>
Co-authored-by: Prasanna Loganathar <[email protected]>

* Version 2.3.2 (#1000)

* Fix excess logging of composite swap (#1003)

* Add support for test only composite swap without balance transfers (#1004)

* Add support for test only composite swap without balance transfers

* Add CalculateSwap testonly  support

* Adds FortCanningHillHeight (#1005)

* Adds FortCanningHillHeight

Co-authored-by: Jouzo <[email protected]>

* Disable ICX - Version 2.4.0 (#1010)

* Disable ICX
* Set Fort Canning Park height

Signed-off-by: Anthony Fieroni <[email protected]>
Co-authored-by: Anthony Fieroni <[email protected]>

* Add checkpoint (#1013)

Co-authored-by: jouzo <[email protected]>
Co-authored-by: Prasanna Loganathar <[email protected]>
Co-authored-by: Peter Bushnell <[email protected]>
Co-authored-by: Anthony Fieroni <[email protected]>
Co-authored-by: Mambisi Zempare <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rpc getmasternodeblocks does not return expected number of blocks when depth is passed in as a paramater
8 participants