Skip to content

Conversation

@fjahr
Copy link
Contributor

@fjahr fjahr commented Oct 17, 2023

Takes care of one of the open Todos in the assumeutxo functional test. Since an unknown block could be any hash, I simply chose one placeholder, it could also be a random string though.

@DrahtBot
Copy link
Contributor

DrahtBot commented Oct 17, 2023

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK maflcko, pablomartin4btc, theStack, ryanofsky

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #28659 (assumeutxo, rpc: Add 'start' parameter to loadtxoutset by hernanmarino)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

Copy link
Member

@maflcko maflcko left a comment

Choose a reason for hiding this comment

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

lgtm ACK 5958f7b86fb9e11406552cdf7b55055cf65d202b

@fjahr fjahr force-pushed the 2023-10-au-tests-2 branch from 5958f7b to 621db2f Compare October 17, 2023 15:12
@maflcko
Copy link
Member

maflcko commented Oct 17, 2023

lgtm ACK 621db2f

@fanquake fanquake added this to the 26.0 milestone Oct 17, 2023
Copy link
Member

@pablomartin4btc pablomartin4btc left a comment

Choose a reason for hiding this comment

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

cr ACK 621db2f

error_details = f"assumeutxo block hash in snapshot metadata not recognized ({bad_snapshot_block_hash})"
assert_raises_rpc_error(-32603, f"Unable to load UTXO snapshot, {error_details}", self.nodes[1].loadtxoutset, bad_snapshot_path)
prev_block_hash = self.nodes[0].getblockhash(SNAPSHOT_BASE_HEIGHT - 1)
bogus_block_hash = "0" * 64 # Represents any unknown block hash
Copy link
Member

@pablomartin4btc pablomartin4btc Oct 17, 2023

Choose a reason for hiding this comment

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

This is good.
nit:

Suggested change
bogus_block_hash = "0" * 64 # Represents any unknown block hash
bogus_block_hash = "0" * 64 # Represents any invalid/ not recognized block hash

Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

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

ACK 621db2f

Copy link
Contributor

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

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

Code review ACK 621db2f

@ryanofsky ryanofsky merged commit 655dc71 into bitcoin:master Oct 18, 2023
Frank-GER pushed a commit to syscoin/syscoin that referenced this pull request Oct 21, 2023
@bitcoin bitcoin locked and limited conversation to collaborators Oct 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

7 participants