Tidak Ada Deskripsi

Kamil Skalski 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
.buildkite 56e367e4a4 ci: run sanity on merge queue (#8667) 4 minggu lalu
.cargo 7b66701c49 ci: move xtask under ci subdir (#8544) 1 bulan lalu
.config d9638e0151 Reapply "build: move dcou-dependent bins to their own workspace (#8403)" (#8646) (#8657) 4 minggu lalu
.github 97d9e190ac build(deps): bump actions/setup-node from 5 to 6 (#8470) 1 bulan lalu
account-decoder 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
account-decoder-client-types 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
accounts-cluster-bench 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
accounts-db 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
banking-bench 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
banking-stage-ingress-types 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
banks-client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
banks-interface 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
banks-server 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
bench-streamer 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
bench-tps 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
bench-vote 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
bloom 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
bucket_map 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
builtins 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
builtins-default-costs 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
cargo-registry 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
ci c14b017916 xtask: add version bump command (#8526) 4 minggu lalu
clap-utils 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
clap-v3-utils 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
cli 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
cli-config 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
cli-output 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
client-test 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
compute-budget 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
compute-budget-instruction 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
connection-cache 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
core 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
cost-model 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
curves 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
dev-bins 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
docker-solana e19a786c83 docs: fix docker link (#6180) 6 bulan lalu
docs e5f99a1bdc docs: fixed broken links (#8450) 1 bulan lalu
dos 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
download-utils 3572983cc2 Move snapshot_hash and snapshot_config to agave-snapshots (#8609) 1 bulan lalu
entry 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
faucet 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
feature-set 60ba168d54 SIMD-0194: Deprecate rent exemption threshold (#7373) 4 minggu lalu
fee 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
fs 5c05d521c2 Introduce agave-fs crate, move file_io and filesystem ops there (#8654) 3 minggu lalu
genesis 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
genesis-utils 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
geyser-plugin-interface 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
geyser-plugin-manager 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
gossip 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
install 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
io-uring 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
keygen 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
lattice-hash 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
ledger 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
ledger-tool 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
local-cluster 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
logger 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
measure 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
merkle-tree 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
metrics 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
multinode-demo d9638e0151 Reapply "build: move dcou-dependent bins to their own workspace (#8403)" (#8646) (#8657) 4 minggu lalu
net 2018618765 Modify buildscripts to work with offline builds (e.g. nix builds) (#7811) 1 bulan lalu
net-utils 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
notifier 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
perf 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
platform-tools-sdk 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
poh 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
poh-bench 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
poseidon 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
precompiles 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
program-binaries 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
program-runtime ad9286451d Refactor - Move `ProgramCache::environments` to `TransactionBatchProcessor` (#8471) 4 minggu lalu
program-test 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
programs 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
pubsub-client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
quic-client 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
rayon-threadlimit 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
rbpf-cli 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
remote-wallet 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
reserved-account-keys 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
rpc 3572983cc2 Move snapshot_hash and snapshot_config to agave-snapshots (#8609) 1 bulan lalu
rpc-client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
rpc-client-api 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
rpc-client-nonce-utils 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
rpc-client-types 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
rpc-test 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
runtime 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
runtime-transaction 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
scheduler-bindings 04f8e0a6e3 feat(schduling-utils): client & server handshake implementations (#8572) 4 minggu lalu
scheduling-utils 04f8e0a6e3 feat(schduling-utils): client & server handshake implementations (#8572) 4 minggu lalu
scripts d9638e0151 Reapply "build: move dcou-dependent bins to their own workspace (#8403)" (#8646) (#8657) 4 minggu lalu
sdk d221ad4091 sdk: Remove everything from the repo (#4867) 9 bulan lalu
send-transaction-service 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
snapshots 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
stake-accounts 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
storage-bigtable 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
storage-proto 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
streamer 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
svm 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
svm-callback 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
svm-feature-set 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
svm-log-collector 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
svm-measure 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
svm-rent-calculator 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
svm-test-harness 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
svm-timings 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
svm-transaction 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
svm-type-overrides 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
syscalls ad9286451d Refactor - Move `ProgramCache::environments` to `TransactionBatchProcessor` (#8471) 4 minggu lalu
test-validator 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
thread-manager 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
tls-utils 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
tokens 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
tps-client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
tpu-client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
tpu-client-next a06cca6ecb Revert "TPU: Replace governor crate with TokenBucket (#8154)" (#8627) 1 bulan lalu
transaction-context 1dc7e0af5f Introduce new account layout for program-runtime (#8372) 4 minggu lalu
transaction-dos 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
transaction-metrics-tracker 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
transaction-status 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
transaction-status-client-types 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
transaction-view 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
turbine 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
udp-client 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
unified-scheduler-logic 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
unified-scheduler-pool 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
validator 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
verified-packet-receiver 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
version 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
vortexor 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
vote 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
votor 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
votor-messages 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
watchtower 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
web3.js 18c22c7cef Add link to new web3.js repo (#30096) 2 tahun lalu
wen-restart 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
xdp 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
zk-keygen 8508753bc9 Remove zk keygen crate (#7634) 3 bulan lalu
zk-sdk a2ce908cfa [zk-sdk] Remove zk-sdk from the repo (#7126) 3 bulan lalu
zk-token-sdk 22faf53e8f introduce `agave-unstable-api` throughout the monorepo (#8424) 1 bulan lalu
.codecov.yml 0b9c040fcf Add .codecov.yml with checks disabled (#30666) 2 tahun lalu
.gitignore f75263b29d Script: `fetch-core-bpf.sh` (#4844) 8 bulan lalu
.mergify.yml 8508753bc9 Remove zk keygen crate (#7634) 3 bulan lalu
CHANGELOG.md d8ec8014b5 fix: return error for malformed program account filters (#4599) 1 bulan lalu
CONTRIBUTING.md 8650813f1b Add a first time contributors section to CONTRIBUTING.md (#7818) 1 bulan lalu
Cargo.lock 0af564a66f Move genesis related helpers from agave-snapshots to solana_genesis_utils (#8658) 3 minggu lalu
Cargo.toml 5af914802e Move solana-logger back to agave as agave-logger (#8622) 3 minggu lalu
LICENSE c65605802a Correct LICENSE to conform with https://apache.org/licenses/LICENSE-2.0 (#31860) 2 tahun lalu
README.md b4ed07a719 Fixup status badges in README.md (#8222) 1 bulan lalu
RELEASE.md d060c30b5e Update RELEASE.md (#1901) 1 tahun lalu
SECURITY.md 34d8b55d4a Update security instructions for SPL programs (#8253) 1 bulan lalu
cargo 2018618765 Modify buildscripts to work with offline builds (e.g. nix builds) (#7811) 1 bulan lalu
cargo-build-sbf 92687e91ed BPF Loader: Hoist syscalls into their own crate (#5559) 3 bulan lalu
cargo-test-sbf f9f73a952a sdk: Move out things that won't be in the sdk (#4624) 9 bulan lalu
clippy.toml c3509de5be Replace lazy_static dependency (#6057) 6 bulan lalu
fetch-core-bpf.sh ef6d141079 fetch-core-bpf: Add "v" to release name (#8195) 1 bulan lalu
fetch-perf-libs.sh 2018618765 Modify buildscripts to work with offline builds (e.g. nix builds) (#7811) 1 bulan lalu
fetch-programs.sh f75263b29d Script: `fetch-core-bpf.sh` (#4844) 8 bulan lalu
fetch-spl.sh 597947830a spl: Update to newest token-2022 binary on mainnet (#5628) 7 bulan lalu
rust-toolchain.toml b3fca5dd51 Downgrade Rust to 1.86.0 (#6980) 4 bulan lalu
rustfmt.toml 6d171f4da5 Apply cargo fmt string formatting to rest of repo (#7893) 2 bulan lalu
vercel.json 1c36af158f removing the "autoJobCancelation": false 4 tahun lalu

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!