Aucune description

github-actions[bot] 1ebbae1cc5 Bump version to v3.1.1 il y a 2 semaines
.buildkite 7659dddd30 Run merge queue tasks with higher priority (#8708) il y a 3 semaines
.cargo 7b66701c49 ci: move xtask under ci subdir (#8544) il y a 1 mois
.config d9638e0151 Reapply "build: move dcou-dependent bins to their own workspace (#8403)" (#8646) (#8657) il y a 4 semaines
.github 010b8919a7 v3.1: Update CODEOWNERS to backport-reviewers (#8831) il y a 2 semaines
account-decoder 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
account-decoder-client-types 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
accounts-cluster-bench 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
accounts-db 504b84503c clippy: fix mismatched_lifetime_syntaxes in monorepo (#8796) il y a 3 semaines
banking-bench 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
banking-stage-ingress-types 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
banks-client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
banks-interface 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
banks-server 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
bench-streamer 0adb875291 ibrl: remove tpu coalesce (#8356) il y a 3 semaines
bench-tps 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
bench-vote f2ec733e1a Support simple QOS -- with QOS trait refactoring (#8437) il y a 3 semaines
bloom 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
bucket_map 504b84503c clippy: fix mismatched_lifetime_syntaxes in monorepo (#8796) il y a 3 semaines
builtins 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
builtins-default-costs 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
cargo-registry 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
ci 1ebbae1cc5 Bump version to v3.1.1 il y a 2 semaines
clap-utils 28c8acc544 (Alpenglow) Add Alpenglow mode in genesis. (#8482) il y a 3 semaines
clap-v3-utils 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
cli 120b35249f Bump solana-accounts crate (#8754) il y a 3 semaines
cli-config faa9c2935a v3.1: remove public interfaces from `agave-unstable-api` (backport of #8818) (#8864) il y a 2 semaines
cli-output 46d54f3b17 clippy: derive Default impl for enums instead of manual impl (#8792) il y a 3 semaines
client faa9c2935a v3.1: remove public interfaces from `agave-unstable-api` (backport of #8818) (#8864) il y a 2 semaines
client-test 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
compute-budget f12e46b798 SIMD-0339: Increase CPI Account Infos Limit (#8513) il y a 3 semaines
compute-budget-instruction 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
connection-cache 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
core 46d54f3b17 clippy: derive Default impl for enums instead of manual impl (#8792) il y a 3 semaines
cost-model 504b84503c clippy: fix mismatched_lifetime_syntaxes in monorepo (#8796) il y a 3 semaines
curves 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
dev-bins 1ebbae1cc5 Bump version to v3.1.1 il y a 2 semaines
docker-solana e19a786c83 docs: fix docker link (#6180) il y a 6 mois
docs e5f99a1bdc docs: fixed broken links (#8450) il y a 1 mois
dos 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
download-utils f14ddc3714 Move SnapshotKind to agave-snapshots (#8744) il y a 3 semaines
entry 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
faucet 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
feature-set 0da9819405 SIMD-0266: Efficient Token program (#7125) il y a 3 semaines
fee 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
fs 5c05d521c2 Introduce agave-fs crate, move file_io and filesystem ops there (#8654) il y a 3 semaines
genesis 120b35249f Bump solana-accounts crate (#8754) il y a 3 semaines
genesis-utils 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) il y a 3 semaines
geyser-plugin-interface faa9c2935a v3.1: remove public interfaces from `agave-unstable-api` (backport of #8818) (#8864) il y a 2 semaines
geyser-plugin-manager 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
gossip 46d54f3b17 clippy: derive Default impl for enums instead of manual impl (#8792) il y a 3 semaines
install 504b84503c clippy: fix mismatched_lifetime_syntaxes in monorepo (#8796) il y a 3 semaines
io-uring 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
keygen 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
lattice-hash 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
ledger 46d54f3b17 clippy: derive Default impl for enums instead of manual impl (#8792) il y a 3 semaines
ledger-tool e68efd7637 Add --accounts-index-initial-accounts CLI option to Pre-allocate index HashMap (#8705) il y a 3 semaines
local-cluster f14ddc3714 Move SnapshotKind to agave-snapshots (#8744) il y a 3 semaines
logger 8d1b74edf6 logger: Update functions to take PathBuf/Path (#8726) il y a 3 semaines
measure 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
merkle-tree 504b84503c clippy: fix mismatched_lifetime_syntaxes in monorepo (#8796) il y a 3 semaines
metrics 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
multinode-demo d9638e0151 Reapply "build: move dcou-dependent bins to their own workspace (#8403)" (#8646) (#8657) il y a 4 semaines
net 2018618765 Modify buildscripts to work with offline builds (e.g. nix builds) (#7811) il y a 1 mois
net-utils 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
notifier 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
perf 504b84503c clippy: fix mismatched_lifetime_syntaxes in monorepo (#8796) il y a 3 semaines
platform-tools-sdk 1ebbae1cc5 Bump version to v3.1.1 il y a 2 semaines
poh 864843df49 add ProgressMessage::leader_state (#8788) il y a 3 semaines
poh-bench 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
poseidon 3da465153b SIMD-0359: Enforce padding in Poseidon hash inputs (#8534) il y a 3 semaines
precompiles 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
program-binaries 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
program-runtime d215b77c44 clippy: fix mismatched_lifetime_syntaxes in svm (#8798) il y a 3 semaines
program-test bac25c1da6 Avoid copying top level instruction data (#8401) il y a 3 semaines
programs 1ebbae1cc5 Bump version to v3.1.1 il y a 2 semaines
pubsub-client faa9c2935a v3.1: remove public interfaces from `agave-unstable-api` (backport of #8818) (#8864) il y a 2 semaines
quic-client f2ec733e1a Support simple QOS -- with QOS trait refactoring (#8437) il y a 3 semaines
rayon-threadlimit 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
rbpf-cli 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
remote-wallet 46d54f3b17 clippy: derive Default impl for enums instead of manual impl (#8792) il y a 3 semaines
reserved-account-keys 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
rpc 23755b8ea1 clippy: use array instead of vec! in tests (#8793) il y a 3 semaines
rpc-client faa9c2935a v3.1: remove public interfaces from `agave-unstable-api` (backport of #8818) (#8864) il y a 2 semaines
rpc-client-api faa9c2935a v3.1: remove public interfaces from `agave-unstable-api` (backport of #8818) (#8864) il y a 2 semaines
rpc-client-nonce-utils faa9c2935a v3.1: remove public interfaces from `agave-unstable-api` (backport of #8818) (#8864) il y a 2 semaines
rpc-client-types faa9c2935a v3.1: remove public interfaces from `agave-unstable-api` (backport of #8818) (#8864) il y a 2 semaines
rpc-test 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
runtime 46d54f3b17 clippy: derive Default impl for enums instead of manual impl (#8792) il y a 3 semaines
runtime-transaction 5e23be1d91 clippy: fix mismatched_lifetime_syntaxes in tx-metadata (#8797) il y a 3 semaines
scheduler-bindings 864843df49 add ProgressMessage::leader_state (#8788) il y a 3 semaines
scheduling-utils 864843df49 add ProgressMessage::leader_state (#8788) il y a 3 semaines
scripts 46b65758e5 Changes needed for new version numbers (#8790) il y a 3 semaines
sdk d221ad4091 sdk: Remove everything from the repo (#4867) il y a 9 mois
send-transaction-service 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
snapshots edf68b8338 Add test for genesis unpack size limit (#8800) il y a 3 semaines
stake-accounts 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
storage-bigtable 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
storage-proto 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
streamer 217ff3cd72 Streamer: cleanup API after QoS refactoring (#8724) il y a 3 semaines
svm 1ebbae1cc5 Bump version to v3.1.1 il y a 2 semaines
svm-callback 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
svm-feature-set 74ee02a474 SIMD-0344: fix alt_bn128 pairing length check (#8747) il y a 3 semaines
svm-log-collector 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
svm-measure 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
svm-rent-calculator 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
svm-test-harness c3968171d2 Use .keys() instead of .iter().map(..strip values) (#8566) il y a 3 semaines
svm-timings 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
svm-transaction d215b77c44 clippy: fix mismatched_lifetime_syntaxes in svm (#8798) il y a 3 semaines
svm-type-overrides 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
syscalls 74ee02a474 SIMD-0344: fix alt_bn128 pairing length check (#8747) il y a 3 semaines
test-validator f12e46b798 SIMD-0339: Increase CPI Account Infos Limit (#8513) il y a 3 semaines
thread-manager 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
tls-utils 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
tokens 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
tps-client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
tpu-client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
tpu-client-next f2ec733e1a Support simple QOS -- with QOS trait refactoring (#8437) il y a 3 semaines
transaction-context d215b77c44 clippy: fix mismatched_lifetime_syntaxes in svm (#8798) il y a 3 semaines
transaction-dos 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
transaction-metrics-tracker 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
transaction-status 504b84503c clippy: fix mismatched_lifetime_syntaxes in monorepo (#8796) il y a 3 semaines
transaction-status-client-types 46d54f3b17 clippy: derive Default impl for enums instead of manual impl (#8792) il y a 3 semaines
transaction-view 5e23be1d91 clippy: fix mismatched_lifetime_syntaxes in tx-metadata (#8797) il y a 3 semaines
turbine c159770f1d Add agave-xdp-ebpf (#8690) il y a 3 semaines
udp-client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
unified-scheduler-logic 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
unified-scheduler-pool 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
validator 2480437392 agave-validator: move RpcBootstrapConfig clap args into config file (#8694) il y a 3 semaines
verified-packet-receiver 0adb875291 ibrl: remove tpu coalesce (#8356) il y a 3 semaines
version 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
vortexor 8d1b74edf6 logger: Update functions to take PathBuf/Path (#8726) il y a 3 semaines
vote 504b84503c clippy: fix mismatched_lifetime_syntaxes in monorepo (#8796) il y a 3 semaines
votor 88b7fc9114 refactor: fix some fragile code in `CertificateBuilder` (#8772) il y a 3 semaines
votor-messages 61165f958c nit: refactor: remove accessor functions on simple vote types (#8725) il y a 3 semaines
watchtower 5af914802e Move solana-logger back to agave as agave-logger (#8622) il y a 3 semaines
web3.js 18c22c7cef Add link to new web3.js repo (#30096) il y a 2 ans
wen-restart e65003def4 Move snapshot_archive_info to agave-snapshots (#8721) il y a 3 semaines
xdp f1f797e96a xdp: tx_loop: change MAX_TIMEOUTS to 1 (#8775) il y a 3 semaines
xdp-ebpf eb96d19f13 v3.1: agave-xdp-ebpf: fix package includes (backport of #8854) (#8868) il y a 2 semaines
zk-keygen 8508753bc9 Remove zk keygen crate (#7634) il y a 3 mois
zk-sdk a2ce908cfa [zk-sdk] Remove zk-sdk from the repo (#7126) il y a 3 mois
zk-token-sdk 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) il y a 1 mois
.codecov.yml 0b9c040fcf Add .codecov.yml with checks disabled (#30666) il y a 2 ans
.gitignore f75263b29d Script: `fetch-core-bpf.sh` (#4844) il y a 8 mois
.mergify.yml 8508753bc9 Remove zk keygen crate (#7634) il y a 3 mois
CHANGELOG.md bd8c57e76a Clean up changelog for v3.1 branch (#8812) il y a 2 semaines
CONTRIBUTING.md 8650813f1b Add a first time contributors section to CONTRIBUTING.md (#7818) il y a 1 mois
Cargo.lock 1ebbae1cc5 Bump version to v3.1.1 il y a 2 semaines
Cargo.toml 1ebbae1cc5 Bump version to v3.1.1 il y a 2 semaines
LICENSE c65605802a Correct LICENSE to conform with https://apache.org/licenses/LICENSE-2.0 (#31860) il y a 2 ans
README.md b4ed07a719 Fixup status badges in README.md (#8222) il y a 1 mois
RELEASE.md d060c30b5e Update RELEASE.md (#1901) il y a 1 an
SECURITY.md 34d8b55d4a Update security instructions for SPL programs (#8253) il y a 1 mois
cargo 2018618765 Modify buildscripts to work with offline builds (e.g. nix builds) (#7811) il y a 1 mois
cargo-build-sbf 92687e91ed BPF Loader: Hoist syscalls into their own crate (#5559) il y a 3 mois
cargo-test-sbf f9f73a952a sdk: Move out things that won't be in the sdk (#4624) il y a 9 mois
clippy.toml c3509de5be Replace lazy_static dependency (#6057) il y a 6 mois
fetch-core-bpf.sh ef6d141079 fetch-core-bpf: Add "v" to release name (#8195) il y a 1 mois
fetch-perf-libs.sh 2018618765 Modify buildscripts to work with offline builds (e.g. nix builds) (#7811) il y a 1 mois
fetch-programs.sh f75263b29d Script: `fetch-core-bpf.sh` (#4844) il y a 8 mois
fetch-spl.sh 597947830a spl: Update to newest token-2022 binary on mainnet (#5628) il y a 7 mois
rust-toolchain.toml b3fca5dd51 Downgrade Rust to 1.86.0 (#6980) il y a 4 mois
rustfmt.toml 6d171f4da5 Apply cargo fmt string formatting to rest of repo (#7893) il y a 2 mois
vercel.json 1c36af158f removing the "autoJobCancelation": false il y a 4 ans

README.md

Anza

Agave validator Agave documentation Build status Release status codecov

Building

1. Install rustc, cargo and rustfmt.

$ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env
$ rustup component add rustfmt

The rust-toolchain.toml file pins a specific rust version and ensures that cargo commands run with that version. Note that cargo will automatically install the correct version if it is not already installed.

On Linux systems you may need to install libssl-dev, pkg-config, zlib1g-dev, protobuf etc.

On Ubuntu:

$ sudo apt-get update
$ sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang cmake make libprotobuf-dev protobuf-compiler libclang-dev

On Fedora:

$ sudo dnf install openssl-devel systemd-devel pkg-config zlib-devel llvm clang cmake make protobuf-devel protobuf-compiler perl-core libclang-dev

2. Download the source code.

$ git clone https://github.com/anza-xyz/agave.git
$ cd agave

3. Build.

$ ./cargo build

[!NOTE] Note that this builds a debug version that is not suitable for running a testnet or mainnet validator. Please read docs/src/cli/install.md for instructions to build a release version for test and production uses.

Testing

Run the test suite:

$ ./cargo test

Starting a local testnet

Start your own testnet locally, instructions are in the online docs.

Accessing the remote development cluster

  • devnet - stable public cluster for development accessible via devnet.solana.com. Runs 24/7. Learn more about the public clusters

Benchmarking

First, install the nightly build of rustc. cargo bench requires the use of the unstable features only available in the nightly build.

$ rustup install nightly

Run the benchmarks:

$ cargo +nightly bench

Release Process

The release process for this project is described here.

Code coverage

To generate code coverage statistics:

$ scripts/coverage.sh
$ open target/cov/lcov-local/index.html

Why coverage? While most see coverage as a code quality metric, we see it primarily as a developer productivity metric. When a developer makes a change to the codebase, presumably it's a solution to some problem. Our unit-test suite is how we encode the set of problems the codebase solves. Running the test suite should indicate that your change didn't infringe on anyone else's solutions. Adding a test protects your solution from future changes. Say you don't understand why a line of code exists, try deleting it and running the unit-tests. The nearest test failure should tell you what problem was solved by that code. If no test fails, go ahead and submit a Pull Request that asks, "what problem is solved by this code?" On the other hand, if a test does fail and you can think of a better way to solve the same problem, a Pull Request with your solution would most certainly be welcome! Likewise, if rewriting a test can better communicate what code it's protecting, please send us that patch!