So far we didn't have a script hash for new scripts that were never included in a block. This diff adds a mempool index using a HashMap.
Depends on D16937
Differential D17037
[chronik] index scripts by scripthashes in the mempool PiRK on Tue, Oct 29, 14:08. Authored by
Details
So far we didn't have a script hash for new scripts that were never included in a block. This diff adds a mempool index using a HashMap. Depends on D16937 ninja check-functional
Diff Detail
Event TimelineComment Actions The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience. Comment Actions The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience. Comment Actions The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience. Comment Actions The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience. Comment Actions The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience. Comment Actions The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience. Comment Actions The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience. Comment Actions The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience. Comment Actions The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience. Comment Actions The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience. Comment Actions Build Bitcoin ABC Diffs / Diff Testing (build-chronik) failed.
Tail of the build log: Doc-tests chronik-bridge running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-db running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-http running 1 test test chronik/chronik-http/src/protobuf.rs - protobuf::Protobuf (line 29) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s Doc-tests chronik-indexer running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-common running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-plugin-impl running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-proto running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests chronik-util running 2 tests test chronik/chronik-util/src/log.rs - log::log (line 65) ... ignored test chronik/chronik-util/src/log.rs - log::log_chronik (line 87) ... ignored test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s ninja: build stopped: cannot make progress due to previous errors. Build build-chronik failed with exit code 1 Comment Actions Build Bitcoin ABC Diffs / Diff Testing (build-chronik-plugins) failed.
Tail of the build log: Checking serde_urlencoded v0.7.1 Checking futures-executor v0.3.30 Checking serde_path_to_error v0.1.16 Checking hyper-util v0.1.3 Compiling chronik-proto v0.1.0 (/work/chronik/chronik-proto) Checking base64 v0.21.7 Checking matchit v0.7.3 Checking sync_wrapper v1.0.1 Checking unicode-segmentation v1.11.0 Checking unindent v0.2.3 Checking tower-http v0.5.2 Checking futures v0.3.30 Checking convert_case v0.6.0 Checking toml_edit v0.22.14 Compiling chronik-bridge v0.1.0 (/work/chronik/chronik-bridge) Compiling librocksdb-sys v0.11.0+8.1.1 Checking axum v0.7.5 Compiling pyo3-macros v0.22.2 Checking toml v0.8.14 Checking chronik-plugin-impl v0.1.0 (/work/chronik/chronik-plugin-impl) Checking rocksdb v0.21.0 Checking chronik-db v0.1.0 (/work/chronik/chronik-db) error: unnecessary closure used to substitute value for `Option::None` --> chronik/chronik-db/src/io/group_history.rs:225:30 | 225 | let cf_member_hash = self | ______________________________^ 226 | | .cf_member_hash 227 | | .ok_or_else(|| GroupDoesNotImplementMemberHash())?; | |______________-----------------------------------------------^ | | | help: use `ok_or(..)` instead: `ok_or(GroupDoesNotImplementMemberHash())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `-D clippy::unnecessary-lazy-evaluations` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unnecessary_lazy_evaluations)]` error: redundant closure --> chronik/chronik-db/src/io/group_history.rs:227:25 | 227 | .ok_or_else(|| GroupDoesNotImplementMemberHash())?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `GroupDoesNotImplementMemberHash` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure = note: `-D clippy::redundant-closure` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]` error: this boolean expression can be simplified --> chronik/chronik-db/src/mem/group_history.rs:35:36 | 35 | let member_hash_index = if !conf.cf_member_hash_name.is_none() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `conf.cf_member_hash_name.is_some()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool = note: `-D clippy::nonminimal-bool` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::nonminimal_bool)]` error: could not compile `chronik-db` (lib) due to 3 previous errors ninja: build stopped: cannot make progress due to previous errors. Build build-chronik-plugins failed with exit code 1
|