Trent Nelson
0269bf0f19
Bump version to 1.9.17
2022-04-15 09:30:21 +00:00
Trent Nelson
643ae053ab
Bump version to v1.9.16
2022-04-09 03:08:56 +00:00
mergify[bot]
af3f26ac96
reduces gossip crds stats ( #24132 ) ( #24143 )
...
(cherry picked from commit cd09390367
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2022-04-06 18:26:53 +00:00
Will Hickey
aa26edb7fe
Bump version to 1.9.15 ( #23954 )
2022-03-26 11:33:49 -05:00
Tyera Eulberg
8859f35b26
Bump version to 1.9.14 ( #23703 )
...
* Bump version to 1.9.14
* Bump openssl-src
2022-03-16 11:21:18 -06:00
Will Hickey
3ed915dcc9
Bump version to 1.9.13 ( #23614 )
2022-03-11 10:09:26 -06:00
Trent Nelson
3875bc91ab
Revert "chore: bump dashmap from 4.0.2 to 5.1.0 ( #23372 ) ( #23521 )" ( #23596 )
...
This reverts commit f56b25ac29
.
2022-03-11 09:12:46 +01:00
Will Hickey
4a100fbe3b
Bump version to 1.9.12 ( #23577 )
2022-03-09 23:22:45 -06:00
Stephen Akridge
de694402ca
Bump version to 1.9.11
2022-03-08 10:53:04 -08:00
mergify[bot]
f56b25ac29
chore: bump dashmap from 4.0.2 to 5.1.0 ( #23372 ) ( #23521 )
...
* chore: bump dashmap from 4.0.2 to 5.1.0
Bumps [dashmap](https://github.com/xacrimon/dashmap ) from 4.0.2 to 5.1.0.
- [Release notes](https://github.com/xacrimon/dashmap/releases )
- [Commits](https://github.com/xacrimon/dashmap/commits/v5.1.0 )
---
updated-dependencies:
- dependency-name: dashmap
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
(cherry picked from commit 3a0271c113
)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 14:05:58 +00:00
mergify[bot]
0e6a849fc7
bumps up crds-shards-bits ( #23220 ) ( #23412 )
...
The commit adjust CRDS_SHARDS_BITS up to be in-line with mask_bits in
gossip pull request. This will avoid redundant filtering of irrelevant
crds entries when responding to pull requests.
(cherry picked from commit 1282277126
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2022-03-01 18:20:26 +00:00
Will Hickey
84c57dd0a8
Bump version to v1.9.10 ( #23304 )
2022-02-23 11:30:21 -06:00
Will Hickey
08d6b9850d
Bump version to 1.9.9 ( #23247 )
2022-02-19 21:17:11 -06:00
Trent Nelson
c3098e99d1
Bump version to v1.9.8
2022-02-16 21:42:57 -07:00
Will Hickey
2d144afec5
Bump version to 1.9.6 ( #23092 )
2022-02-11 15:00:06 -06:00
mergify[bot]
432eafd730
Search for consecutive ports ( #22979 ) ( #22984 )
...
(cherry picked from commit 514aab46d9
)
Co-authored-by: sakridge <sakridge@gmail.com >
2022-02-07 18:45:02 +00:00
mergify[bot]
c43cef79b5
Add quic port for accepting transactions ( #22753 ) ( #22937 )
...
using quinn library
streamer: Sign TLS cert with validator identity key
Handle multiple incoming chunks
(cherry picked from commit 5a230f418d
)
Co-authored-by: sakridge <sakridge@gmail.com >
2022-02-04 20:53:27 +00:00
mergify[bot]
237347847b
caches WeightedShuffle struct in ClusterNodes ( #22877 ) ( #22889 )
...
Instead of reconstructing WeightedShuffle struct for each shred
broadcast or retransmit, we can use the same struct with minimal
mutations.
(cherry picked from commit e3b137066d
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2022-02-02 16:54:57 +00:00
mergify[bot]
c715bc93cf
removes Rng field from WeightedShuffle struct ( #22850 ) ( #22868 )
...
(cherry picked from commit 45e09664b8
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2022-02-01 17:33:52 +00:00
mergify[bot]
4dfbb4347c
includes zero weighted entries in WeightedShuffle ( #22829 ) ( #22847 )
...
Current WeightedShuffle implementation excludes zero weighted entries
from the shuffle:
https://github.com/solana-labs/solana/blob/13e631dcf/gossip/src/weighted_shuffle.rs#L29-L30
Though mathematically this might make more sense, for our use-cases
(turbine specifically), this results in less efficient code:
https://github.com/solana-labs/solana/blob/13e631dcf/core/src/cluster_nodes.rs#L409-L430
This commit changes the implementation so that zero weighted indices are
also included in the shuffle but appear only at the end after non-zero
weighted indices.
(cherry picked from commit 604ca9316c
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2022-01-31 18:16:40 +00:00
Trent Nelson
8bc4cc90d2
Bump version to 1.9.6
2022-01-21 20:15:43 -07:00
mergify[bot]
59f406d78a
Refactor: move simple vote parsing to runtime (backport #22537 ) ( #22587 )
...
* Refactor: move simple vote parsing to runtime (#22537 )
(cherry picked from commit 7f20c6149e
)
# Conflicts:
# core/src/cluster_info_vote_listener.rs
# core/src/verified_vote_packets.rs
# programs/vote/src/vote_transaction.rs
# rpc/src/rpc_subscriptions.rs
# runtime/src/bank.rs
# runtime/src/bank_utils.rs
# runtime/src/vote_sender_types.rs
* resolve conflicts
Co-authored-by: Justin Starry <justin@solana.com >
2022-01-20 04:51:50 +00:00
mergify[bot]
dbf9a32883
Optimize packet dedup ( #22571 ) ( #22585 )
...
* Use bloom filter to dedup packets
* dedup first
* Update bloom/src/bloom.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Update core/src/sigverify_stage.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Update core/src/sigverify_stage.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Update core/src/sigverify_stage.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* fixup
* fixup
* fixup
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit d343713f61
)
# Conflicts:
# Cargo.lock
# core/Cargo.toml
# core/src/banking_stage.rs
# core/src/sigverify_stage.rs
# gossip/Cargo.toml
# perf/Cargo.toml
# programs/bpf/Cargo.lock
# runtime/Cargo.toml
Co-authored-by: anatoly yakovenko <anatoly@solana.com >
2022-01-20 02:51:49 +00:00
mergify[bot]
41b0d6cca3
limits gossip vote stats to the top most voted slots ( #22416 ) ( #22418 )
...
(cherry picked from commit 49da347d84
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2022-01-10 23:14:57 +00:00
Trent Nelson
cb49ae21b4
Bump version to v1.9.5
2022-01-08 21:17:51 +00:00
Will Hickey
ba0188a36d
Bump version to 1.9.4 ( #22304 )
2022-01-05 12:02:36 -06:00
mergify[bot]
9c9d3e8b6b
discards serialized gossip crds votes if cannot parse tx (backport #22129 ) ( #22172 )
...
* discards serialized gossip crds votes if cannot parse tx (#22129 )
(cherry picked from commit c9c78622a8
)
# Conflicts:
# gossip/src/crds_value.rs
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-12-29 22:38:12 +00:00
mergify[bot]
16f821ea8c
Ensure AncestorHashesSerice selects an open port ( #21919 ) ( #21997 )
...
(cherry picked from commit 7f6fb6937a
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-12-28 06:46:59 +00:00
mergify[bot]
be0bcd85ed
tracks erasure coding shreds' indices explicitly ( #21822 ) ( #22094 )
...
The indices for erasure coding shreds are tied to data shreds:
https://github.com/solana-labs/solana/blob/90f41fd9b/ledger/src/shred.rs#L921
However with the upcoming changes to erasure schema, there will be more
erasure coding shreds than data shreds and we can no longer infer coding
shreds indices from data shreds.
The commit adds constructs to track coding shreds indices explicitly.
(cherry picked from commit 65d59f4ef0
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-12-23 19:38:50 +00:00
Will Hickey
78e7913352
Bump version to 1.9.3 ( #22065 )
2021-12-22 11:41:03 -06:00
mergify[bot]
1a2823b875
chore: bump lru from 0.7.0 to 0.7.1 ( #22018 ) ( #22056 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.0...0.7.1 )
---
updated-dependencies:
- dependency-name: lru
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 69d0b08dd8
)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-21 16:27:43 -07:00
mergify[bot]
e572678176
removes next_shred_index from return value of entries to shreds api ( #21961 ) ( #21980 )
...
next-shred-index is already readily available from returned data shreds.
The commit simplifies the api for upcoming changes to erasure coding
schema which will require explicit tracking of indices for coding shreds
as well as data shreds.
(cherry picked from commit 89d66c3210
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-12-17 17:57:57 +00:00
Michael Vines
bfa6302985
Bump version to 1.9.2
2021-12-15 16:18:14 -08:00
mergify[bot]
01941cf3de
Rename Packets to PacketBatch (backport #21794 ) ( #21805 )
...
* Rename Packets to PacketBatch (#21794 )
(cherry picked from commit 254ef3e7b6
)
# Conflicts:
# core/src/verified_vote_packets.rs
* resolve conflicts
Co-authored-by: Justin Starry <justin@solana.com >
2021-12-11 16:53:23 +00:00
Tao Zhu
4b63d51e3e
Bump version to 1.9.1 ( #21802 )
2021-12-11 12:50:36 +00:00
Michael Vines
b8837c04ec
Reformat imports to a consistent style for imports
...
rustfmt.toml configuration:
imports_granularity = "One"
group_imports = "One"
2021-12-03 09:19:13 -08:00
behzad nouri
9886366977
exempts AccountsHashes from stake check ( #21565 )
...
Otherwise getHealth fails if account hashes are not propagated.
2021-12-02 18:01:32 +00:00
Michael Vines
dd12d90eac
Upgrade to Rust 2021
2021-11-30 20:43:46 -08:00
behzad nouri
57057f8d39
uses enum for shred type
...
Current code is using u8 which does not have any type-safety and can
contain invalid values:
https://github.com/solana-labs/solana/blob/66fa062f1/ledger/src/shred.rs#L167
Checks for invalid shred-types are scattered through the code:
https://github.com/solana-labs/solana/blob/66fa062f1/ledger/src/blockstore.rs#L849-L851
https://github.com/solana-labs/solana/blob/66fa062f1/ledger/src/shred.rs#L346-L348
The commit uses enum for shred type with #[repr(u8)]. Backward
compatibility is maintained by implementing Serialize and Deserialize
compatible with u8, and adding a test to assert that.
2021-11-19 14:16:39 +00:00
carllin
b30c94ce55
ClusterInfoVoteListener send only missing votes to BankingStage ( #20873 )
2021-11-18 15:20:41 -08:00
behzad nouri
3fc858eb60
adds methods to obtain data/coding shreds indices from ErasureMeta
2021-11-13 17:08:05 +00:00
Michael Keleti
b0ca335463
Rename "trusted" to "known" in validators/
( #21197 )
...
* Replaced trusted with known validator
* Format Convention
2021-11-12 11:57:55 -07:00
behzad nouri
eea3fb327f
seeds rng for test_build_crds_filter test ( #21031 )
2021-10-28 18:29:32 +00:00
behzad nouri
43168e6365
doubles crds unique pubkey capacity ( #20947 )
2021-10-26 13:06:55 +00:00
behzad nouri
1297a13586
adds metrics tracking crds writes and votes ( #20953 )
2021-10-26 13:02:30 +00:00
Brooks Prumo
14af1957d6
Make pub IncrementalSnapshotHashes fields ( #20727 )
2021-10-18 13:38:43 -05:00
behzad nouri
0c0384ec32
revises turbine peers shuffling order ( #20480 )
...
Turbine randomly shuffles cluster nodes on a broadcast tree for each
shred. This requires knowing the stakes and nodes' contact-infos (from
gossip).
However gossip is subject to partitioning and propogation delays.
Additionally unstaked nodes may join and leave the cluster at any
moment, changing the cluster view from one node to another.
This commit:
* Always arranges the unstaked nodes at the bottom of turbine broadcast
tree.
* Staked nodes are always included regardless of if their contact-info
is available in gossip or not.
* Uses the unbiased WeightedShuffle construct for shuffling nodes.
2021-10-14 15:09:36 +00:00
Brooks Prumo
1fcfbfccbb
Add fn to push IncrementalSnapshotHashes to cluster via gossip ( #20395 )
2021-10-08 08:20:35 -05:00
Brooks Prumo
57592e463e
Add get_incremental_snapshot_hash_for_node() to gossip ( #20394 )
2021-10-07 19:47:14 -05:00
behzad nouri
0da661de62
adds metrics for number of nodes vs number of pubkeys ( #20512 )
2021-10-07 18:56:05 +00:00