这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Conversation

@pgarg66
Copy link
Contributor

@pgarg66 pgarg66 commented Aug 15, 2018

No description provided.

@pgarg66 pgarg66 changed the title Refactor large nw test Refactored large network test to use finality to assert success Aug 15, 2018
@pgarg66 pgarg66 force-pushed the refactor-large-nw-test branch 2 times, most recently from cc1ac20 to dbc2858 Compare August 15, 2018 19:37
@pgarg66
Copy link
Contributor Author

pgarg66 commented Aug 15, 2018

Also increased the node count to 200. Wondering if any checks should be stricter...


let now = Instant::now();
let mut finality = client.get_finality();
while finality == last_finality {
Copy link
Member

Choose a reason for hiding this comment

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

while duration_as_ms(now.elapsed()) < client.get_finality() {
               sleep(Duration::from_millis(100));
}

right? if finality is longer then T since confirmation we wait. If its shorter that means 2/3rds of the validators have moved passed T.

let mut retain_me = true;
let mut client = mk_client(&server.0);
trace!("{:x} get_balance start", server.0.debug_id());
let getbal = retry_get_balance(&mut client, &bob_pubkey, Some(expected_balance));
Copy link
Member

Choose a reason for hiding this comment

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

i would change this to just confirm the last sig in all the validators instead of retry get balance.

@pgarg66 pgarg66 force-pushed the refactor-large-nw-test branch from dbc2858 to ecf120f Compare August 15, 2018 23:58
@pgarg66
Copy link
Contributor Author

pgarg66 commented Aug 16, 2018

@aeyakovenko , the latest patch addresses all the comments.

@pgarg66 pgarg66 merged commit c2983f8 into solana-labs:master Aug 16, 2018
@pgarg66 pgarg66 deleted the refactor-large-nw-test branch August 16, 2018 03:05
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
…#978)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.1.2...v4.1.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
yihau pushed a commit that referenced this pull request Apr 26, 2024
…864) (#978)

limits number of nodes per IP address in Turbine (#864)

(cherry picked from commit c87b830)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
bw-solana pushed a commit to bw-solana/solana that referenced this pull request May 1, 2024
…olana-labs#864) (solana-labs#978)

limits number of nodes per IP address in Turbine (solana-labs#864)

(cherry picked from commit c87b830)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants