forked from RandyMcMillan/gnostr
-
Notifications
You must be signed in to change notification settings - Fork 0
Update gnostr-genssh.rs #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
RandyMcMillan
wants to merge
158
commits into
master
Choose a base branch
from
1931/908029/603176/f6bdb1d6f/394f7ec53-394f7ec537ee440d85230855294c65b21c63df76
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update gnostr-genssh.rs #41
RandyMcMillan
wants to merge
158
commits into
master
from
1931/908029/603176/f6bdb1d6f/394f7ec53-394f7ec537ee440d85230855294c65b21c63df76
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/crawler/src/processor.rs b/crawler/src/processor.rs index b6018b3..47e6f91 100644 --- a/crawler/src/processor.rs +++ b/crawler/src/processor.rs @@ -6,9 +6,10 @@ use nostr_sdk::prelude::{Event, Kind, Tag, Timestamp}; use std::sync::LazyLock; pub const BOOTSTRAP_RELAY1: &str = "wss://relay.nostr.band"; -pub const BOOTSTRAP_RELAY2: &str = "wss://nos.lol"; +pub const BOOTSTRAP_RELAY2: &str = "wss://bitcoiner.social"; pub const BOOTSTRAP_RELAY3: &str = "wss://relay.damus.io"; -pub const BOOTSTRAP_RELAY4: &str = "wss://sendit.nosflare.com"; +pub const BOOTSTRAP_RELAY4: &str = "wss://purplerelay.com"; +pub const BOOTSTRAP_RELAY5: &str = "wss://purplepages.es"; pub static BOOTSTRAP_RELAYS: LazyLock<Vec<String>> = LazyLock::new(|| { // The vec! macro and String::from calls are now inside a closure, @@ -18,6 +19,7 @@ pub static BOOTSTRAP_RELAYS: LazyLock<Vec<String>> = LazyLock::new(|| { String::from(BOOTSTRAP_RELAY2), String::from(BOOTSTRAP_RELAY3), String::from(BOOTSTRAP_RELAY4), + String::from(BOOTSTRAP_RELAY5), ] });
begin gnostr query impl
diff --git a/crawler/src/processor.rs b/crawler/src/processor.rs index 47e6f91..80eb019 100644 --- a/crawler/src/processor.rs +++ b/crawler/src/processor.rs @@ -5,16 +5,19 @@ use crate::stats::Stats; use nostr_sdk::prelude::{Event, Kind, Tag, Timestamp}; use std::sync::LazyLock; +pub const BOOTSTRAP_RELAY0: &str = "wss://nos.lol"; pub const BOOTSTRAP_RELAY1: &str = "wss://relay.nostr.band"; pub const BOOTSTRAP_RELAY2: &str = "wss://bitcoiner.social"; pub const BOOTSTRAP_RELAY3: &str = "wss://relay.damus.io"; pub const BOOTSTRAP_RELAY4: &str = "wss://purplerelay.com"; -pub const BOOTSTRAP_RELAY5: &str = "wss://purplepages.es"; +pub const BOOTSTRAP_RELAY5: &str = "wss://nos.lol"; + pub static BOOTSTRAP_RELAYS: LazyLock<Vec<String>> = LazyLock::new(|| { // The vec! macro and String::from calls are now inside a closure, // which is executed at runtime when the static variable is first needed. vec![ + String::from(BOOTSTRAP_RELAY0), String::from(BOOTSTRAP_RELAY1), String::from(BOOTSTRAP_RELAY2), String::from(BOOTSTRAP_RELAY3),
diff --git a/.github/workflows/matrix.yml b/.github/workflows/matrix.yml index 5ea44da..79798a5 100644 --- a/.github/workflows/matrix.yml +++ b/.github/workflows/matrix.yml @@ -30,7 +30,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - rustup: [1.88, nightly] + rustup: [1.88, stable, nightly] runs-on: ${{ matrix.os }} steps: - name: echo test
diff --git a/.github/workflows/matrix.yml b/.github/workflows/matrix.yml index 79798a5..98a8393 100644 --- a/.github/workflows/matrix.yml +++ b/.github/workflows/matrix.yml @@ -291,10 +291,10 @@ jobs: - run: rustup default ${{ matrix.rustup }} - run: | cargo install --path . --force - if: matrix.os == 'windows-latest' + if: matrix.os == 'windows-latest' && matrix.rustup == 'nightly' - run: | make cargo-install || sudo make cargo-install - if: matrix.os != 'windows-latest' + if: matrix.os != 'windows-latest' && matrix.rustup == 'nightly' - run: V=1 sudo make docs || true if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true && matrix.os == 'ubuntu-matrix' diff --git a/Cargo.lock b/Cargo.lock index 1285afe..a9cafa0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3207,7 +3207,7 @@ dependencies = [ [[package]] name = "gnostr" -version = "0.0.108" +version = "0.0.109" dependencies = [ "anyhow", "ascii", diff --git a/Cargo.toml b/Cargo.toml index 22caaa9..b3e20d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gnostr" -version = "0.0.108" +version = "0.0.109" edition = "2021" description = "gnostr:a git+nostr workflow utility" authors = [
diff --git a/.github/workflows/gnostr-bot.yml b/.github/workflows/gnostr-bot.yml index 3052bcb..2857c05 100644 --- a/.github/workflows/gnostr-bot.yml +++ b/.github/workflows/gnostr-bot.yml @@ -6,9 +6,6 @@ on: - cron: '*/30 * * * *' # run 30th minute push: branches: - - '*' - - '*/*' - - '**' - 'ma**' workflow_dispatch:
"tree":"88a5a4773c107b481c7696d3227f573d63a73fe5","parent":"8a39ead64e84cc4b36c9e0ee74cce483bb295743","weeble":"1931","blockheight":"908004","wobble":"639870","bit":"00","nonce":"00000001","message":"gnostr-legit:test"
"tree":"88a5a4773c107b481c7696d3227f573d63a73fe5","parent":"08d0c054dfb582b73a3b857920fc94f87638ade0","weeble":"1931","blockheight":"908004","wobble":"639884","bit":"00","nonce":"00000009","message":"gnostr-legit:test"
"tree":"88a5a4773c107b481c7696d3227f573d63a73fe5","parent":"0c703c229a0675e5fd1b47bd1f4079b70ed03a71","weeble":"1931","blockheight":"908004","wobble":"639904","bit":"00","nonce":"00000001","message":"gnostr-legit:test"
"tree":"88a5a4773c107b481c7696d3227f573d63a73fe5","parent":"086dab1dbeb57f43749aa27531035a71f5781962","weeble":"1931","blockheight":"908005","wobble":"638007","bit":"05","nonce":"000c8d86","message":"gnostr-legit:test"
"tree":"88a5a4773c107b481c7696d3227f573d63a73fe5","parent":"000002b1771d44fde3b91cb8967fe342694e2701","weeble":"1931","blockheight":"908005","wobble":"638065","bit":"03","nonce":"0002ea3b","message":"gnostr-legit:test"
"tree":"88a5a4773c107b481c7696d3227f573d63a73fe5","parent":"0000027374530eeb1eb0ba9c78a5052d8305b193","weeble":"1931","blockheight":"908005","wobble":"638141","bit":"02","nonce":"00031fd7","message":"gnostr-legit:test"
a77b263 to
8b50884
Compare
bf88f5f to
2081d0e
Compare
bac7abd to
d4c0309
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request fixes/closes #{issue_num}.
It changes the following:
I followed the checklist:
make checkwithout errors