Нет описания

Jon C bf9a0f4291 Fixup issues from breaking changes 3 месяцев назад
.buildkite d676f0e110 ci: improve step descriptions (#6664) 4 месяцев назад
.cargo be73302abd force x86_64-v2 cpu for linux builds (fixup for #5674) (#5891) 7 месяцев назад
.config 983b97f011 ci: remove useless nextest config (#7491) 3 месяцев назад
.github 967f43bb43 Remove duplicate if clause from spl github workflow (#7622) 3 месяцев назад
account-decoder 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
account-decoder-client-types 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
accounts-cluster-bench 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
accounts-db 96c48c6214 Use ReclaimOldSlots if obsolete accounts are enabled in flush cache (#7596) 3 месяцев назад
banking-bench 25738db166 BankingStage: add owned context for spawning non-vote threads (#7603) 3 месяцев назад
banking-stage-ingress-types 6b6a03ba8b Apply cleanups to solana-core for unified scheduler (#4123) 10 месяцев назад
banks-client 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
banks-interface 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
banks-server 0da231c1d4 Simulate transaction with balances (#6750) 3 месяцев назад
bench-streamer 2d1b481f0a chore: Use jemalloc in all bench crates and modules (#5053) 4 месяцев назад
bench-tps 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
bench-vote 8854e65d81 Streamer: code cleanup (#7320) 3 месяцев назад
bloom 7db66d550d bloom: move benchmarks to bencher 0.1.5 (#6044) 4 месяцев назад
bucket_map 0b53c005b8 Revert "bucket-map: move benchmarks to bencher 0.1.5 (#6092)" (#7211) 3 месяцев назад
builtins 246300b2b6 slashing: enshrine the slashing program (#4942) 7 месяцев назад
builtins-default-costs 21e149ee55 remove get_builtin_instruction_cost (#7231) 3 месяцев назад
cargo-registry 31cd4ef859 cargo-registry: Resolve Rust 1.88 clippy lints and format strings (#7002) 4 месяцев назад
cd e48456dbbc Create continuous delivery directory and add readme with canary details. (#27683) 3 лет назад
ci c0ac9198fb Remove certain built binaries from published tarball (#7324) 3 месяцев назад
clap-utils 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
clap-v3-utils 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
cli 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
cli-config 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
cli-output bf9a0f4291 Fixup issues from breaking changes 3 месяцев назад
client 1017b9aa8b thin-client: Remove deprecated module (#7115) 3 месяцев назад
client-test 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
compute-budget daf79ba21b clean up activated `loosen_cpi_size_restriction` feature (#7529) 3 месяцев назад
compute-budget-instruction 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
connection-cache e1d78e1d04 fix port binding for tests in connection cache (#7490) 3 месяцев назад
core fe059e5ec2 fix shredder bench (#7621) 3 месяцев назад
cost-model c8567ac00c SIMD-0286 (#7124) 3 месяцев назад
curves 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
docker-solana e19a786c83 docs: fix docker link (#6180) 6 месяцев назад
docs da75eae6ec docs: Update URL's from solanalabs.com to anza.xyz (#7505) 3 месяцев назад
dos d114a9055d build(deps): bump solana-logger from 2.3.1 to 3.0.0 (#7367) 3 месяцев назад
download-utils ce73ca8f9a Removes deprecated snapshot archive formats (#6541) 5 месяцев назад
entry 94c3c84771 rayon-threadlimit: Deprecate get_max_thread_count() (#7071) 4 месяцев назад
faucet 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
feature-set ca347fb61a feat: enable alpenglow feature testing (#7571) 3 месяцев назад
fee 1e11ee2b96 pub calculate_signature_fee (#7232) 3 месяцев назад
genesis 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
genesis-utils 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
geyser-plugin-interface 4221d962ba Update geyser documentations (#5571) 3 месяцев назад
geyser-plugin-manager 64382a56ec rpc: Resolve Rust 1.88 clippy lints and format strings (#7047) 4 месяцев назад
gossip 254adf793e TPU: enable reception on multiple IPs (#7142) 3 месяцев назад
install 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
io-uring 6c80057133 Use io_uring for creating files when unpacking snapshot (#6671) 3 месяцев назад
keygen 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
lattice-hash 51a114eeca add missing description for solana-lattice-hash (#3358) 1 год назад
ledger 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
ledger-tool 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
local-cluster 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
low-pass-filter b52fe73afc Change to agave-low-pass-filter and publish (#7577) 3 месяцев назад
measure a0b2c73cfe relax measure macros test check (#3517) 1 год назад
memory-management 076329381a Moves a clippy attribute (#194) 1 год назад
merkle-tree 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
metrics a3e546e0ce Remove sleep and change expectations for test_submit_exceed_max_rate (#7313) 3 месяцев назад
multinode-demo e218d961a1 deprecate `--gossip-host` in favor of `--bind-address` (#6519) 5 месяцев назад
net e11a1aa857 net.sh: add --copy-program (#7155) 3 месяцев назад
net-shaper d114a9055d build(deps): bump solana-logger from 2.3.1 to 3.0.0 (#7367) 3 месяцев назад
net-utils 94f1f503ff Multihoming: Switch gossip socket to `Arc<[UdpSocket]>` and bind both at startup (#7535) 3 месяцев назад
notifier 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
perf 9793f17004 ledger: Check whether the shred is resigned before calling `resign_shred` (#6735) 3 месяцев назад
platform-tools-sdk 15635be150 Fix semver regex to properly validate version strings (#7439) 3 месяцев назад
poh 6c26728276 DecisionMaker - lock-free (#7372) 3 месяцев назад
poh-bench 94c3c84771 rayon-threadlimit: Deprecate get_max_thread_count() (#7071) 4 месяцев назад
poseidon 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
precompiles bf9a0f4291 Fixup issues from breaking changes 3 месяцев назад
program-runtime 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
program-test 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
programs bf9a0f4291 Fixup issues from breaking changes 3 месяцев назад
pubsub-client 60a34ecc9c pubsub-client: Remove deprecated set_node_version (#7117) 4 месяцев назад
quic-client e1d78e1d04 fix port binding for tests in connection cache (#7490) 3 месяцев назад
rayon-threadlimit 94c3c84771 rayon-threadlimit: Deprecate get_max_thread_count() (#7071) 4 месяцев назад
rbpf-cli 3f9a7a52ea [anza migration] rename crates (#10) 1 год назад
remote-wallet 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
reserved-account-keys 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
rpc 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
rpc-client 0da231c1d4 Simulate transaction with balances (#6750) 3 месяцев назад
rpc-client-api 0da231c1d4 Simulate transaction with balances (#6750) 3 месяцев назад
rpc-client-nonce-utils 234afe489a chore: Fix several crate documentation links (#6601) 5 месяцев назад
rpc-client-types 0da231c1d4 Simulate transaction with balances (#6750) 3 месяцев назад
rpc-test fedd138f3a unique bind for rpc test (#7419) 3 месяцев назад
runtime bf9a0f4291 Fixup issues from breaking changes 3 месяцев назад
runtime-transaction 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
scripts c68c510c78 Add local-cluster and dependents to dcou tainted list (#7132) 3 месяцев назад
sdk d221ad4091 sdk: Remove everything from the repo (#4867) 9 месяцев назад
send-transaction-service 5d1651c9f7 BankForks - SharableBank for root (#7300) 3 месяцев назад
stake-accounts 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
storage-bigtable d429f6efcd ledger: Resolve Rust 1.88 clippy lints and format strings (#6964) 4 месяцев назад
storage-proto 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
streamer 94f1f503ff Multihoming: Switch gossip socket to `Arc<[UdpSocket]>` and bind both at startup (#7535) 3 месяцев назад
svm bf9a0f4291 Fixup issues from breaking changes 3 месяцев назад
svm-callback 796f5bc6ef Refactor - `TransactionProcessingCallback` (#7381) 3 месяцев назад
svm-feature-set daf79ba21b clean up activated `loosen_cpi_size_restriction` feature (#7529) 3 месяцев назад
svm-log-collector 173d1361de svm repo split: rename log collector (#7430) 3 месяцев назад
svm-measure 5cad0f1c39 svm repo split: fork measure (#7441) 3 месяцев назад
svm-metrics c278df4157 svm repo split: fork metrics (#7442) 3 месяцев назад
svm-rent-calculator 6fbbaf6783 svm: Remove SVMRentCollector, use Rent directly (#6782) 3 месяцев назад
svm-timings 87a97a3266 svm repo split: rename timings (#7432) 3 месяцев назад
svm-transaction 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
svm-type-overrides ed847b333d chore: apply doc-comment to the module in svm-type-overrides/src/lib.rs (#7481) 3 месяцев назад
syscalls 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
system-test 8578325ac5 Remove solana-log-analyzer crate (#7506) 3 месяцев назад
test-validator 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
thread-manager 222d32e7ea thread-manager: Resolve Rust 1.88 clippy lints and format strings (#7088) 4 месяцев назад
tls-utils 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
tokens 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
tps-client 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
tpu-client 7df94c3a2b tpu-client: remove pointless binds (#7418) 3 месяцев назад
tpu-client-next 8abf225976 chore: reduce waste in port allocations of some tests (#7456) 3 месяцев назад
transaction-context 2e45d33cf2 Refactor - Split `InstructionContext` (#7574) 3 месяцев назад
transaction-dos c68c510c78 Add local-cluster and dependents to dcou tainted list (#7132) 3 месяцев назад
transaction-metrics-tracker 2a2f6b976d chore: typo fixes (#7303) 3 месяцев назад
transaction-status c859d8bc35 SPL: Use token interface crate (#7311) 3 месяцев назад
transaction-status-client-types 64382a56ec rpc: Resolve Rust 1.88 clippy lints and format strings (#7047) 4 месяцев назад
transaction-view 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
turbine 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
udp-client e1d78e1d04 fix port binding for tests in connection cache (#7490) 3 месяцев назад
unified-scheduler-logic b66c365ac5 chore: typo fixes (#7254) 3 месяцев назад
unified-scheduler-pool 87a97a3266 svm repo split: rename timings (#7432) 3 месяцев назад
validator 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
verified-packet-receiver 18238bdfcb Restore vortexor receiver -- renamed to agave-verified-packet-receiver (#6542) 5 месяцев назад
version 103fb21d00 ci: use cargo sort v2 (#6406) 5 месяцев назад
vortexor c68c510c78 Add local-cluster and dependents to dcou tainted list (#7132) 3 месяцев назад
vote 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
votor b0ffc10a7f replay: refactor set-root to enable alpenglow to take over (#7452) 3 месяцев назад
watchtower 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
web3.js 18c22c7cef Add link to new web3.js repo (#30096) 2 лет назад
wen-restart 87a97a3266 svm repo split: rename timings (#7432) 3 месяцев назад
xdp 84126668e8 xdp: optimize tx_loop (#7562) 3 месяцев назад
zk-keygen 44924ba782 Reapply "deps: Bump all sdk and spl crates to v3 compatibility (#7492… (#7592) 3 месяцев назад
zk-sdk a2ce908cfa [zk-sdk] Remove zk-sdk from the repo (#7126) 3 месяцев назад
zk-token-sdk da75eae6ec docs: Update URL's from solanalabs.com to anza.xyz (#7505) 3 месяцев назад
.codecov.yml 0b9c040fcf Add .codecov.yml with checks disabled (#30666) 2 лет назад
.gitignore f75263b29d Script: `fetch-core-bpf.sh` (#4844) 8 месяцев назад
.mergify.yml bb48baebc1 [mergify] add notification for ZK directory changes (#6913) 4 месяцев назад
CHANGELOG.md 0889a3f528 --block-production-num-workers cli arg (#7580) 3 месяцев назад
CONTRIBUTING.md 305c98e869 Update contributing with more guidelines. (#5008) 7 месяцев назад
Cargo.lock bf9a0f4291 Fixup issues from breaking changes 3 месяцев назад
Cargo.toml bf9a0f4291 Fixup issues from breaking changes 3 месяцев назад
LICENSE c65605802a Correct LICENSE to conform with https://apache.org/licenses/LICENSE-2.0 (#31860) 2 лет назад
README.md da75eae6ec docs: Update URL's from solanalabs.com to anza.xyz (#7505) 3 месяцев назад
RELEASE.md d060c30b5e Update RELEASE.md (#1901) 1 год назад
SECURITY.md 5e80a7ca7b Update security email to security@anza.xyz (#2598) 1 год назад
cargo 6cd4bc5e60 Speed up net.sh builds (#16360) 4 лет назад
cargo-build-sbf 92687e91ed BPF Loader: Hoist syscalls into their own crate (#5559) 3 месяцев назад
cargo-test-sbf f9f73a952a sdk: Move out things that won't be in the sdk (#4624) 9 месяцев назад
clippy.toml c3509de5be Replace lazy_static dependency (#6057) 6 месяцев назад
fetch-core-bpf.sh ef4f90f9e1 Run 'fetch-core-bpf.sh' from any directory (#5518) 8 месяцев назад
fetch-perf-libs.sh 9393dce1ff Take v0.19.3 of perf libs which improves sigverify perf 2x (#11894) 5 лет назад
fetch-programs.sh f75263b29d Script: `fetch-core-bpf.sh` (#4844) 8 месяцев назад
fetch-spl.sh 597947830a spl: Update to newest token-2022 binary on mainnet (#5628) 7 месяцев назад
rust-toolchain.toml b3fca5dd51 Downgrade Rust to 1.86.0 (#6980) 4 месяцев назад
rustfmt.toml 70ebab2c82 Add rustfmt.toml and `cargo fmt` (#23238) 3 лет назад
vercel.json 1c36af158f removing the "autoJobCancelation": false 4 лет назад

README.md

Anza

Solana crate Solana documentation Build status codecov

Building

1. Install rustc, cargo and rustfmt.

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

When building the master branch, please make sure you are using the latest stable rust version by running:

$ rustup update

When building a specific release branch, you should check the rust version in ci/rust-version.sh and if necessary, install that version by running:

$ rustup install VERSION

Note that if this is not the latest rust version on your machine, cargo commands may require an override in order to use the correct version.

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!