Skip to content

inverting the logic to favor newer versions of electrs#51

Merged
RCasatta merged 1 commit intoRCasatta:masterfrom
AminaBank:feature/jsonrpc-import
Jan 25, 2023
Merged

inverting the logic to favor newer versions of electrs#51
RCasatta merged 1 commit intoRCasatta:masterfrom
AminaBank:feature/jsonrpc-import

Conversation

@ulrichard
Copy link
Copy Markdown
Contributor

No description provided.

@ulrichard ulrichard force-pushed the feature/jsonrpc-import branch from 1a9bf5c to 16a4666 Compare December 29, 2022 07:55
@ulrichard ulrichard changed the title inverting the logic to favor newer versions of electrs closes #50 inverting the logic to favor newer versions of electrs Dec 29, 2022
@ulrichard ulrichard force-pushed the feature/jsonrpc-import branch 2 times, most recently from 9bf38fa to 246e213 Compare December 29, 2022 13:07
@ulrichard
Copy link
Copy Markdown
Contributor Author

Tested with locally installed binaries:

$ /usr/bin/bitcoind --version
Bitcoin Core version v22.0.0
$ /usr/bin/electrs --version
v0.9.7
$ELECTRS_EXE=/usr/bin/electrs BITCOIND_EXE=/usr/bin/bitcoind RUST_LOG=debug cargo test

@ulrichard ulrichard force-pushed the feature/jsonrpc-import branch 2 times, most recently from c0a585e to 76934c8 Compare December 29, 2022 13:16
Comment thread src/lib.rs Outdated
{
vec!["-vvv"]
} else {
vec!["--log-filters", "debug"]
Copy link
Copy Markdown
Contributor Author

@ulrichard ulrichard Dec 29, 2022

Choose a reason for hiding this comment

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

maybe "info" would be enough, as it is really quite verbose like this.
Or even better, remove it entirely for the else case. The user can use the RUST_LOG env var.
What do you think?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Yeah, makes sense to remove it if it works through the RUST_LOG env var

@RCasatta
Copy link
Copy Markdown
Owner

Concept ACK

@ulrichard ulrichard force-pushed the feature/jsonrpc-import branch from f29c46e to 78efe90 Compare January 23, 2023 13:27
@RCasatta RCasatta merged commit 94d696e into RCasatta:master Jan 25, 2023
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.

2 participants