TestBlockValidity
tests all types of block validity, but it looks like it nearly does, making this kinda easy? If it does, its generally quite useful to have a way to as Bitcoin Core if a block would be valid, ignoring its PoW, so having that be public would be nice.
Support validating a PoW-free block over over RPC #31136
issue TheBlueMatt openend this issue on October 22, 2024-
TheBlueMatt commented at 3:56 pm on October 22, 2024: contributorNot entirely sure if
-
TheBlueMatt added the label Feature on Oct 22, 2024
-
TheBlueMatt renamed this:
Expose `TestBlockValidity` over RPC
Support validating a block over over RPC
on Oct 22, 2024 -
TheBlueMatt renamed this:
Support validating a block over over RPC
Support validating a PoW-free block over over RPC
on Oct 22, 2024 -
maflcko added the label RPC/REST/ZMQ on Oct 23, 2024
-
maflcko added the label Mining on Oct 23, 2024
-
dergoegge commented at 4:04 pm on October 30, 2024: memberAt a glance, this looks like what you’re looking for? i.e.
getblocktemplate
’s proposal mode: https://github.com/bitcoin/bips/blob/master/bip-0023.mediawiki#block-proposal -
TheBlueMatt commented at 5:28 pm on November 2, 2024: contributorAh, thanks. I always forget about
getblocktemplate
’s options (and the BIP isn’t always useful as IIRC only part of it was ever implemented). -
TheBlueMatt closed this on Nov 2, 2024
-
TheBlueMatt commented at 5:29 pm on November 2, 2024: contributorIt’d be nice to have this in the mining protocol.
-
Sjors commented at 8:21 am on February 7, 2025: member
#31564 adds this to the Mining interface. It’s not needed for the Stratum v2 Template Provider, so lower priority for me. But the Job Declarator Server could use it, once SRI has bindings for IPC.
Additionally it introduces a
checkblock
RPC, which seems easier to use and easier to expand later.Finally it can verify weak block proof-of-work.
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-02-22 15:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-02-22 15:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me