You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Match Core generateblock multipath, ranged, and Expand errors
getScriptFromDescriptor throws Multipath before IsRange, both as -8,
and Expand failure as -5 Cannot derive script without private keys.
Those throws skip the address fallback.
Co-authored-by: metaphorics <metaphorics@users.noreply.github.com>
Copy file name to clipboardExpand all lines: crates/rpc/src/registry.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ declare_rows! {
141
141
"submitheader",SurfaceKind::Rpc,Status::Implemented,"",CORE_VERSION,"Header-only admission through the same tree path as inbound P2P headers. Decode failures are -22; missing previous or invalid headers are -25.","0.4.0",Some(mining::submitheader);
142
142
"prioritisetransaction",SurfaceKind::Rpc,Status::Implemented,"",CORE_VERSION,"Dummy (params[1]) must be 0 or null; fee_delta is params[2]. Non-zero dummy is Core -8. Pooled dust outputs are -8 except on regtest.","0.4.0",Some(mining::prioritisetransaction);
143
143
"generatetoaddress",SurfaceKind::Rpc,Status::Implemented,"",CORE_VERSION,"Assembles, solves, and submits n blocks paying the given address through the mining coordinator. A non-address is Core -5 Error: Invalid address.","0.4.0",Some(mining::generatetoaddress);
144
-
"generateblock",SurfaceKind::Rpc,Status::Implemented,"",CORE_VERSION,"Assembles and solves one block paying an address or descriptor from the listed mempool txids or raw txs in that order; third param is Core's submit flag. Unknown 64-hex txids are -5; raw-tx decode failures are -22. Invalid output is -5 Error: Invalid address or descriptor. Consensus failure before solve is -25 TestBlockValidity failed: {reason}.","0.4.0",Some(mining::generateblock);
144
+
"generateblock",SurfaceKind::Rpc,Status::Implemented,"",CORE_VERSION,"Assembles and solves one block paying an address or descriptor from the listed mempool txids or raw txs in that order; third param is Core's submit flag. Unknown 64-hex txids are -5; raw-tx decode failures are -22. Invalid output is -5 Error: Invalid address or descriptor. Consensus failure before solve is -25 TestBlockValidity failed: {reason}. Multipath is -8 Multipath descriptor not accepted; ranged is -8 Ranged descriptor not accepted…; Expand without private keys is -5 Cannot derive script without private keys.","0.4.0",Some(mining::generateblock);
145
145
"getnetworkhashps",SurfaceKind::Rpc,Status::Implemented,"",CORE_VERSION,"Estimated hashes/s over a caller-chosen lookback ending at a caller-chosen height; default lookback 120, height the applied tip.","0.4.0",Some(mining::getnetworkhashps);
146
146
"getprioritisedtransactions",SurfaceKind::Rpc,Status::Implemented,"",CORE_VERSION,"Projects the mempool's signed fee-delta overlay, including txids not currently pooled. modified_fee is satoshis like Core mining RPCs, not BTC.","0.4.0",Some(mining::getprioritisedtransactions);
|[wallet-facing.md](wallet-facing.md)|`WF-01`–`WF-03`| Public Esplora/JSON-RPC surface an external wallet may use; no `NodeState` / `UtxoSet` / index types |[bitcoin-wallet](https://github.com/gosuda/bitcoin-wallet) (`btcw`); any Esplora HTTP client |`bin/bitcoin-rs/tests/wallet_facing.rs` tests `external_wallet_can_scan_estimate_and_broadcast`, `source_does_not_import_node_internals`; `crates/rpc/src/esplora.rs` tests `esplora_lives_only_under_the_api_prefix`, `api_is_the_public_electrs_directory`, `esplora_is_the_mempool_backend_superset`|
51
51
|[p2p-wire.md](p2p-wire.md)|`P2P-01`–`P2P-02`| Pointer: command inventory in `crates/p2p/src/compat.rs`, handshake/reject/deviations pinned to Core 31.1 |`crates/p2p` peers; `crates/p2p/src/chain_query.rs` active-chain serving |`crates/p2p/tests/core_compat.rs` (`cargo test -p bitcoin-rs-p2p --test core_compat`); live lane `scripts/run-p2p-core-interop.sh`|
52
52
|[qa-corpus.md](qa-corpus.md)|`QAC-01`| Pointer: fuzz seed provenance and refresh rules |`fuzz/fuzz_targets/{p2p_message,block_decode,tx_decode,script_eval}.rs`; CI fuzz lanes |`fuzz/CORPUS_PROVENANCE.md` mapping table; targets run under `cargo fuzz run <target> -- -runs=10000`|
0 commit comments