Commit Graph

24753 Commits

Author SHA1 Message Date
Groovie | Mango 8a9701fa97
Merge pull request #32 from blockworks-foundation/feature/rpc-ipv6-on-v1.18
rpc ipv6 on v1.18
2024-09-22 10:36:47 +02:00
GroovieGermanikus 95f42155f0
comment on host binding options 2024-09-22 06:18:10 +02:00
GroovieGermanikus ad46f152f0
simplify parse_host 2024-09-22 06:18:10 +02:00
GroovieGermanikus 0b10ea09b3
simplify parser 2024-09-22 06:18:10 +02:00
godmodegalactus 8f797a290f
collect all mango rpc optimizations in single commit 2024-08-09 11:36:33 +02:00
Will Hickey b286211c1c Bump rbpf version to 0.8.3 (backport of #2515) (#2513)
Bump rbpf version to 0.8.3
2024-08-08 19:03:02 -05:00
GHA: Update Upstream From Fork cf1b69cff6 Bump version to v1.18.22 2024-08-08 15:36:10 -05:00
mergify[bot] 818807a5dc v1.18: ledger-tool: Set initial last full snapshot slot (backport of #2314) (#2342)
ledger-tool: Set initial last full snapshot slot (#2314)

(cherry picked from commit 75a640e666)

Co-authored-by: Brooks <brooks@anza.xyz>
2024-08-03 00:36:31 -05:00
Tyera 5dd43a1a41 Refactor match (#2358) 2024-08-03 00:36:23 -05:00
GHA: Update Upstream From Fork 311d628f4a Bump version to v1.18.21 2024-08-03 00:36:14 -05:00
Yihau Chen fb5db7ab1b v1.18: suppress openssl audit (#2263) 2024-07-24 16:06:04 -05:00
GHA: Update Upstream From Fork b759143099 Bump version to v1.18.20 2024-07-24 16:05:46 -05:00
WillHickey 526b7faeb5 Remove solana-install support for channels since it is already broken.
Add deprecation warning and link to Agave Transition doc
2024-07-21 19:49:25 -05:00
Tyera 68d0b28a8b Undo deprecation message edit on RpcClient::get_stake_activation (#2171)
Undo deprecation message edit
2024-07-21 19:48:27 -05:00
Jon C 6ccdbbccd1 v1.18: Re-enable SPL downstream job with last v1.18 commit (#2143) 2024-07-21 19:48:21 -05:00
GHA: Update Upstream From Fork 7dfadf58c4 Bump version to v1.18.19 2024-07-21 19:46:37 -05:00
mergify[bot] 830471368b v1.18: Deprecate RpcRequest::GetStakeActivation (backport of #2005) (#2012)
Deprecate RpcRequest::GetStakeActivation (#2005)

* Correct deprecation note

* Deprecate rpc-client-api request

(cherry picked from commit 0deb6fb3f2)

Co-authored-by: Tyera <tyera@anza.xyz>
2024-07-10 16:38:33 -05:00
mergify[bot] 5dada739d2 v1.18: Add suggestion to deprecation message (backport of #1993) (#1999)
Add suggestion to deprecation message (#1993)

(cherry picked from commit c848645aba)

Co-authored-by: Tyera <tyera@anza.xyz>
2024-07-10 16:38:33 -05:00
mergify[bot] 4e58224cbf v1.18: Deprecate RpcClient::get_stake_activation (backport of #1895) (#1924)
Deprecate RpcClient::get_stake_activation (#1895)

* Deprecate RpcClient::get_stake_activation

* Fixup redelegation test

(cherry picked from commit 114041c46a)

Co-authored-by: Tyera <tyera@anza.xyz>
2024-07-10 16:38:33 -05:00
mergify[bot] 2fba87db64 v1.18: gossip: do not allow duplicate proofs for incorrect shred versions (backport of #1931) (#1940)
gossip: do not allow duplicate proofs for incorrect shred versions (#1931)

* gossip: do not allow duplicate proofs for incorrect shred versions

* pr feedback: refactor test function to take shred_version

(cherry picked from commit 69ea21e947)

Co-authored-by: Ashwin Sekar <ashwin@anza.xyz>
2024-07-10 16:38:33 -05:00
mergify[bot] 5706e9e39f v1.18: ci: skip spl test when version is too high (backport of #1945) (#1960)
* ci: skip spl test when version is too high (#1945)

(cherry picked from commit 4d9d27f1ff)

# Conflicts:
#	.github/workflows/downstream-project-spl.yml

* fix conflict

---------

Co-authored-by: Yihau Chen <yihau.chen@icloud.com>
2024-07-10 16:38:33 -05:00
steviez 28c77f567e v1.18: Use updated branch for curve25519-dalek (#1939)
* v1.18: Use updated branch for curve25519-dalek

RUSTSEC-2024-0344 was announced so update to a branch that contains the
commits that were created in response to the advisory.

We must do this manually as the v1.18 branch is built against
curve25519-dalek 3.2.1; this is not the latest major release and the
maintainers have chosen not to push changes to their older release
branches

* ci: ignore curve25519-dalek audit temporarily (#1786)

ci: ignore curve25519-dalek audit

* Review feedback - more specific link to the "why" information

---------

Co-authored-by: Yihau Chen <yihau.chen@icloud.com>
2024-07-10 16:38:33 -05:00
Will Hickey d338b7f049 Update scripts/spl-token-cli-version.sh with latest SPL Token CLI version (#1823)
Update splTokenCliVersion to latest spl token cli release version
2024-07-10 16:38:33 -05:00
GHA: Update Upstream From Fork d7f36bb716 Bump version to v1.18.18 2024-07-10 10:55:15 -05:00
mergify[bot] b685182af8 v1.18: accounts-db: fix 8G+ memory spike during hash calculation (backport of #1308) (#1318)
accounts-db: fix 8G+ memory spike during hash calculation (#1308)

We were accidentally doing several thousands 4MB allocations - even
during incremental hash - which added up to a 8G+ memory spikes over ~2s
every ~30s.

Fix by using Vec::new() in the identity function. Empirically 98%+
reduces join arrays with less than 128 elements, and only the last few
reduces join large vecs. Because realloc does exponential growth we
don't see pathological reallocation but reduces do at most one realloc
(and often 0 because of exp growth).

(cherry picked from commit 2c71685b94)

Co-authored-by: Alessandro Decina <alessandro.d@gmail.com>
2024-06-17 17:14:32 -05:00
Jon C f2b31bd8ea v1.18: sdk: Rederive Copy on Rent and EpochSchedule (#1744)
sdk: Rederive Clone on Rent and EpochSchedule
2024-06-17 17:14:32 -05:00
mergify[bot] 70ad3476fd v1.18: patches bug in chained Merkle root update (backport of #1689) (#1692)
patches bug in chained Merkle root update (#1689)

Option::ok_or_else always maps None to Err which is not what was intended in
this code.

(cherry picked from commit e804bcce29)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2024-06-17 17:14:32 -05:00
mergify[bot] f0a4c54977 v1.18: Update patch paths for tokio, crossbeam, and curve25519-dalek (backport of #1681) (#1683)
Update patch paths for tokio, crossbeam, and curve25519-dalek (#1681)

Update patch paths after moving the forks of tokio, crossbeam, and curve25519-dalek to anza-xyz

(cherry picked from commit ada1830f5a)

Co-authored-by: Will Hickey <csu_hickey@yahoo.com>
2024-06-17 17:14:32 -05:00
mergify[bot] b56146f25d v1.18: adds a metric for number of unverified gossip addresses (backport of #1671) (#1674)
adds a metric for number of unverified gossip addresses (#1671)

(cherry picked from commit 2493542020)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2024-06-17 17:14:32 -05:00
GHA: Update Upstream From Fork 7ae63986d9 Bump version to v1.18.17 2024-06-17 17:13:02 -05:00
mergify[bot] bfacaf616f v1.18: pings received contact-infos on gossip socket address (backport of #1615) (#1635)
* pings received contact-infos on gossip socket address (#1615)

(cherry picked from commit 329a186c50)

# Conflicts:
#	gossip/src/cluster_info.rs
#	gossip/src/legacy_contact_info.rs

* resolves merge conflicts

---------

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2024-06-07 22:11:00 -05:00
mergify[bot] e8335cfb8a v1.18: ci: improve version update script (backport of #1553) (#1591)
ci: improve version update script (#1553)

* only apply related changes when bumping version

* ignore Cargo.toml if no match version

* fix shell check

* follow shellcheck SC2035

(cherry picked from commit 5ff77062b2)

Co-authored-by: Yihau Chen <yihau.chen@icloud.com>
2024-06-07 22:10:54 -05:00
mergify[bot] 00dd1a75c2 v1.18: retains chained Merkle root across leader slots (backport of #1057) (#1182)
retains chained Merkle root across leader slots (#1057)

Looking up Merkle root of the last erasure batch for the parent block
can fail if the slot-meta is not yet available in blockstore.
This commit instead retains chained Merkle root across leader slots. If
the parent of the current block is the previous leader slot, then the
chained Merkle root is readily available and we can bypass blockstore
lookup.

(cherry picked from commit 6b45dc95d8)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2024-06-07 22:10:45 -05:00
GHA: Update Upstream From Fork 4296afc535 Bump version to v1.18.16 2024-06-07 22:08:39 -05:00
mergify[bot] 767d24e5c1 v1.18: consensus: make shallow threshold checks log only (backport of #1506) (#1546)
consensus: make shallow threshold checks log only (#1506)

* consensus: make shallow threshold checks log only

* pr feedback: comment, make check more readable

(cherry picked from commit 6859d652b2)

Co-authored-by: Ashwin Sekar <ashwin@anza.xyz>
2024-05-30 22:49:18 -05:00
mergify[bot] ece3f9d864 v1.18: scheduler optimization - worker precompile verification (backport of #1531) (#1535)
* scheduler optimization - worker precompile verification (#1531)

(cherry picked from commit 0d34a1a160)

# Conflicts:
#	core/src/banking_stage/consumer.rs

* resolve conflicts

---------

Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com>
2024-05-30 22:49:14 -05:00
mergify[bot] 39a96d45da v1.18: replay: add metrics for threshold failures (backport of #1500) (#1507)
* replay: add metrics for threshold failures (#1500)

* replay: add metrics for threshold failures

* pr feedback: separate function, match, stake_pct

* report stake values instead of pct

(cherry picked from commit 6bade6fd88)

# Conflicts:
#	core/src/replay_stage.rs

* fix conflicts

---------

Co-authored-by: Ashwin Sekar <ashwin@anza.xyz>
Co-authored-by: Ashwin Sekar <ashwin@solana.com>
2024-05-30 22:49:11 -05:00
mergify[bot] f959fec7e8 v1.18: Bugfix: clean_queue pushes valid transactions back into queue (backport of #1294) (#1297)
Bugfix: clean_queue pushes valid transactions back into queue (#1294)

(cherry picked from commit 92734e0afb)

Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com>
2024-05-30 22:49:08 -05:00
mergify[bot] dcd68c35fb v1.18: add ca-certificates to docker image (backport of #1443) (#1445)
add ca-certificates to docker image (#1443)

(cherry picked from commit 76f7c79a2a)

Co-authored-by: ArthurMa <4406arthur@gmail.com>
2024-05-30 22:49:04 -05:00
GHA: Update Upstream From Fork 66aa0f616e Bump version to v1.18.15 2024-05-30 22:48:50 -05:00
Alexander Meißner d8e082446d v1.18 - Adds error log for replacements in ProgramCache::assign_program(). (#1401)
Adds error log for replacements in ProgramCache::assign_program().
2024-05-18 13:28:16 +08:00
Justin Starry 130c83bab3 v1.18 - Add detailed metrics reporting for packet filtering (#1423)
* Add detailed metrics reporting for packet filtering

* fix conflicts
2024-05-18 13:28:12 +08:00
yihau 9a347ce929 Bump version to v1.18.14 2024-05-18 13:28:02 +08:00
mergify[bot] 12fe7d39e8 v1.18: reverts back in SocketAddr dedup in retransmit stage (backport of #1106) (#1225)
reverts back in SocketAddr dedup in retransmit stage (#1106)

This was erronously deemed as unnecessary and removed in:
https://github.com/anza-xyz/agave/pull/864

The commit partially reverts #864 and adds back socket-addr dedup.

(cherry picked from commit fbe1dbc758)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2024-05-14 14:27:09 +08:00
mergify[bot] ddaf56de71 v1.18: Fix - Reloading of unload entries after finishing the recompilation phase (backport of #1199) (#1275)
* Fix - Reloading of unload entries after finishing the recompilation phase (#1199)

* Differentiate entries by environment instead of adjusting the effective slot.

* Adds comments inside ProgramCache::assign_program().

* Adds reproducer to test_feature_activation_loaded_programs_epoch_transition.

* Fixes env order in test_feature_activation_loaded_programs_recompilation_phase().

* Syncs both tests with master.

---------

(cherry picked from commit 979f619077)

Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
2024-05-14 14:27:06 +08:00
mergify[bot] dfdb234f6e v1.18: ci: don't self-update rustup when using the rust-version script (backport of #1209) (#1215)
ci: don't self-update rustup when using the rust-version script (#1209)

* ci: don't update rustup when using the rust-version script

* XXX: fake updates for triggering all

* Revert "XXX: fake updates for triggering all"

This reverts commit b343e61ad36f4b2108b06faa66c2525b6eedad33.

(cherry picked from commit 206a87ab5d)

Co-authored-by: Yihau Chen <yihau.chen@icloud.com>
2024-05-14 14:27:02 +08:00
mergify[bot] 09d2eafcbb v1.18: blockstore: account for blockstore cleanup during shred insertion (backport of #1259) (#1279)
blockstore: account for blockstore cleanup during shred insertion (#1259)

(cherry picked from commit b5c5bd3160)

Co-authored-by: Ashwin Sekar <ashwin@anza.xyz>
2024-05-14 14:26:59 +08:00
mergify[bot] 10e5a105ec v1.18: Replaces DashMap with HashMap in secondary indexes (backport of #1137) (#1155)
Replaces DashMap with HashMap in secondary indexes (#1137)

(cherry picked from commit 9606a1395d)

Co-authored-by: Brooks <brooks@anza.xyz>
2024-05-14 14:26:55 +08:00
mergify[bot] 8635883601 v1.18: Scheduler: throttle thread queueing by CUs (backport of #1101) (#1220)
Scheduler: throttle thread queueing by CUs (#1101)

(cherry picked from commit ec54b01b18)

Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com>
2024-05-14 14:26:52 +08:00
mergify[bot] e7021a3726 v1.18: forwarder uses working bank as filter (backport of #1129) (#1136)
forwarder uses working bank as filter (#1129)

(cherry picked from commit 79ae84e202)

Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com>
2024-05-14 14:26:49 +08:00