Anatoly Yakovenko
f3126f7e77
sigverify -- dedupe bloom filter too slow followups
2022-01-22 05:57:24 +00:00
anatoly yakovenko
edf1954817
Faster dedup v1.8 ( #22619 )
...
* Faster dedup
2022-01-21 08:19:55 -08:00
mergify[bot]
59eee75d65
Speed up packet dedup and fix benches (backport #22592 ) ( #22611 )
...
* Speed up packet dedup and fix benches (#22592 )
* Speed up packet dedup and fix benches
* fix tests
* allow int arithmetic in bench
(cherry picked from commit a2d251ce1e )
# Conflicts:
# perf/src/sigverify.rs
* resolve conflicts
Co-authored-by: Justin Starry <justin@solana.com >
2022-01-21 07:34:57 +00:00
anatoly yakovenko
cb5106a15b
Dedup v1.8 ( #22584 )
...
backport
2022-01-19 21:31:55 -08:00
Tyera Eulberg
a0669af872
Revert "Revert "Rename Packets to PacketBatch (backport #21794 ) ( #21804 )""
...
This reverts commit 13d40d6a66 .
2021-12-16 19:28:48 -07:00
Tyera Eulberg
9f53f3455a
Revert "Revert "Reformat imports to a consistent style for imports""
...
This reverts commit d7377d4794 .
2021-12-16 19:28:48 -07:00
Trent Nelson
d7377d4794
Revert "Reformat imports to a consistent style for imports"
...
This reverts commit 139d15cd84 .
2021-12-13 12:46:23 -06:00
Trent Nelson
13d40d6a66
Revert "Rename Packets to PacketBatch (backport #21794 ) ( #21804 )"
...
This reverts commit 39e27b130f .
2021-12-13 12:46:23 -06:00
mergify[bot]
39e27b130f
Rename Packets to PacketBatch (backport #21794 ) ( #21804 )
...
* Rename Packets to PacketBatch (#21794 )
(cherry picked from commit 254ef3e7b6 )
# Conflicts:
# core/src/ancestor_hashes_service.rs
# core/src/banking_stage.rs
# core/src/cluster_info_vote_listener.rs
# core/src/fetch_stage.rs
# core/src/serve_repair.rs
# core/src/shred_fetch_stage.rs
# core/src/sigverify_stage.rs
# core/src/verified_vote_packets.rs
# core/src/window_service.rs
# gossip/src/cluster_info.rs
# ledger/src/entry.rs
# streamer/src/streamer.rs
* resolve conflicts
Co-authored-by: Justin Starry <justin@solana.com >
2021-12-11 17:32:17 +00:00
Michael Vines
139d15cd84
Reformat imports to a consistent style for imports
...
rustfmt.toml configuration:
imports_granularity = "One"
group_imports = "One"
2021-12-03 09:41:09 -08:00
sakridge
257ddbeee1
Tpu vote 1.7 ( #20187 )
...
* Add separate vote processing tpu port
* Add feature to send to tpu vote port
* Add vote rejecting sigverify mode
* use packet.meta.is_simple_vote_tx in place of deserialization
* consolidate code that identifies vote tx atcommon path for cpu and gpu
* new key for feature set
* banking forward tpu vote
* add tpu vote port to dockerfile and other review changes
* Simplify thread id compare
* fix a test; updated cluster_info ABI change
Co-authored-by: Tao Zhu <tao@solana.com >
2021-09-29 18:12:58 +02:00
Tao Zhu
e757e51ddc
Port sigverify to identify and mark simple vote transaction to v1.7 ( #20147 )
...
* sigverify to identify and mark simple vote transaction (#20021 )
* check vote tx at get_packet_offsets to cover both cpu and gpu paths
* add pubkey_len to PacketOffsets to reduce the redundant bytes counting
* allow vote to have 1 or 2 sigs (#20082 )
2021-09-24 11:35:50 -05:00
sakridge
7aced9e772
Sigverify refactor ( #18872 )
2021-07-23 22:23:57 +02:00
mergify[bot]
0e7512a225
Fix Nightly Clippy Warnings (backport #18065 ) ( #18070 )
...
* chore: cargo +nightly clippy --fix -Z unstable-options
(cherry picked from commit 6514096a67 )
# Conflicts:
# core/src/banking_stage.rs
# core/src/cost_model.rs
# core/src/cost_tracker.rs
# core/src/execute_cost_table.rs
# core/src/replay_stage.rs
# core/src/tvu.rs
# ledger-tool/src/main.rs
# programs/bpf_loader/build.rs
# rbpf-cli/src/main.rs
# sdk/cargo-build-bpf/src/main.rs
# sdk/cargo-test-bpf/src/main.rs
# sdk/src/secp256k1_instruction.rs
* chore: cargo fmt
(cherry picked from commit 789f33e8db )
* Updates BPF program assert_instruction_count tests.
(cherry picked from commit c1e03f3410 )
# Conflicts:
# programs/bpf/tests/programs.rs
* Resolve conflicts
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-06-18 20:02:48 +00:00
Tao Zhu
0781fe1b4f
Upgrade Rust to 1.52.0 ( #17096 )
...
* Upgrade Rust to 1.52.0
update nightly_version to newly pushed docker image
fix clippy lint errors
1.52 comes with grcov 0.8.0, include this version to script
* upgrade to Rust 1.52.1
* disabling Serum from downstream projects until it is upgraded to Rust 1.52.1
2021-05-19 09:31:47 -05:00
behzad nouri
e405747409
Revert "Add limit and shrink policy for recycler ( #15320 )"
...
This reverts commit c2e8814dce .
2021-04-18 19:29:24 +00:00
Kristofer Peterson
6bc858a888
Refactored ShortU16Visitor::visit_seq() to reject overflows, extra leading zeros and ensure one-to-one encoding.
2021-03-24 21:53:35 -06:00
Trent Nelson
482c027d3b
sq: optimize
2021-03-22 12:01:57 -06:00
Trent Nelson
834fae684b
perf: use saturating/checked integer arithmetic
2021-03-22 12:01:57 -06:00
carllin
2bee9435f3
Add tracer key for tracing transaction path through the network ( #15732 )
2021-03-08 19:31:00 -08:00
carllin
c2e8814dce
Add limit and shrink policy for recycler ( #15320 )
2021-02-24 00:15:58 -08:00
Michael Vines
7143aaa89b
Clippy
2020-12-14 08:03:29 -08:00
Justin Starry
f6cda2579f
Fix off-by-one max payload checks
2020-09-16 12:46:06 -07:00
Trent Nelson
30dbe257cf
Reimplement decode_len() with ShortU16 vistor helper
2020-08-14 08:17:52 -06:00
Kristofer Peterson
58ef02f02b
9951 clippy errors in the test suite ( #10030 )
...
automerge
2020-05-15 09:35:43 -07:00
sakridge
d5c889d6b0
Re-enable gpu sigverify ( #9870 )
...
Add sigverify fuzz and scalar test
2020-05-06 15:44:55 -07:00
Stephen Akridge
eb24f3df84
Update dalek version
2020-04-28 21:02:47 -06:00
Sagar Dhawan
2dd8ab197d
Remove redundant threadpools in sigverify ( #7888 )
...
* Limit the number of thread pools sigverify creates
* Name local threadpools
2020-01-20 20:08:19 -08:00
anatoly yakovenko
bec5835289
Automatically call .recycle in Drop ( #7429 )
...
automerge
2019-12-11 11:58:40 -08:00
anatoly yakovenko
67f636545a
Refactor sigverify to stage for signing shreds on the GPU ( #6635 )
...
automerge
2019-11-06 10:52:30 -08:00