{"id":28070063,"url":"https://github.com/rpcpool/solana-public","last_synced_at":"2025-05-12T19:36:07.908Z","repository":{"id":103795568,"uuid":"599720042","full_name":"rpcpool/solana-public","owner":"rpcpool","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-25T10:05:28.000Z","size":438062,"stargazers_count":6,"open_issues_count":9,"forks_count":3,"subscribers_count":9,"default_branch":"v1.14-geyser-block-v2","last_synced_at":"2025-04-25T11:20:47.995Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rpcpool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-09T18:33:36.000Z","updated_at":"2025-03-16T10:25:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4e99028-e024-4470-ab6b-bfd0f3b6fd3f","html_url":"https://github.com/rpcpool/solana-public","commit_stats":null,"previous_names":[],"tags_count":558,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpcpool%2Fsolana-public","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpcpool%2Fsolana-public/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpcpool%2Fsolana-public/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpcpool%2Fsolana-public/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpcpool","download_url":"https://codeload.github.com/rpcpool/solana-public/tar.gz/refs/heads/v1.14-geyser-block-v2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253808715,"owners_count":21967586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-12T19:36:07.379Z","updated_at":"2025-05-12T19:36:07.887Z","avatar_url":"https://github.com/rpcpool.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://solana.com\"\u003e\n    \u003cimg alt=\"Solana\" src=\"https://i.imgur.com/IKyzQ6T.png\" width=\"250\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[![Solana crate](https://img.shields.io/crates/v/solana-core.svg)](https://crates.io/crates/solana-core)\n[![Solana documentation](https://docs.rs/solana-core/badge.svg)](https://docs.rs/solana-core)\n[![Build status](https://badge.buildkite.com/8cc350de251d61483db98bdfc895b9ea0ac8ffa4a32ee850ed.svg?branch=master)](https://buildkite.com/solana-labs/solana/builds?branch=master)\n[![codecov](https://codecov.io/gh/solana-labs/solana/branch/master/graph/badge.svg)](https://codecov.io/gh/solana-labs/solana)\n\n# Building\n\n## **1. Install rustc, cargo and rustfmt.**\n\n```bash\n$ curl https://sh.rustup.rs -sSf | sh\n$ source $HOME/.cargo/env\n$ rustup component add rustfmt\n```\n\nWhen building the master branch, please make sure you are using the latest stable rust version by running:\n\n```bash\n$ rustup update\n```\n\nWhen building a specific release branch, you should check the rust version in `ci/rust-version.sh` and if necessary, install that version by running:\n```bash\n$ rustup install VERSION\n```\nNote that if this is not the latest rust version on your machine, cargo commands may require an [override](https://rust-lang.github.io/rustup/overrides.html) in order to use the correct version.\n\nOn Linux systems you may need to install libssl-dev, pkg-config, zlib1g-dev, protobuf etc.  On Ubuntu:\n\n```bash\n$ sudo apt-get update\n$ sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang cmake make libprotobuf-dev protobuf-compiler\n```\n\n## **2. Download the source code.**\n\n```bash\n$ git clone https://github.com/solana-labs/solana.git\n$ cd solana\n```\n\n## **3. Build.**\n\n```bash\n$ ./cargo build\n```\n\n# Testing\n\n**Run the test suite:**\n\n```bash\n$ ./cargo test\n```\n\n### Starting a local testnet\nStart your own testnet locally, instructions are in the [online docs](https://docs.solana.com/cluster/bench-tps).\n\n### Accessing the remote development cluster\n* `devnet` - stable public cluster for development accessible via\ndevnet.solana.com. Runs 24/7. Learn more about the [public clusters](https://docs.solana.com/clusters)\n\n# Benchmarking\n\nFirst, install the nightly build of rustc. `cargo bench` requires the use of the\nunstable features only available in the nightly build.\n\n```bash\n$ rustup install nightly\n```\n\nRun the benchmarks:\n\n```bash\n$ cargo +nightly bench\n```\n\n# Release Process\n\nThe release process for this project is described [here](RELEASE.md).\n\n# Code coverage\n\nTo generate code coverage statistics:\n\n```bash\n$ scripts/coverage.sh\n$ open target/cov/lcov-local/index.html\n```\n\nWhy coverage? While most see coverage as a code quality metric, we see it primarily as a developer\nproductivity metric. When a developer makes a change to the codebase, presumably it's a *solution* to\nsome problem.  Our unit-test suite is how we encode the set of *problems* the codebase solves. Running\nthe test suite should indicate that your change didn't *infringe* on anyone else's solutions. Adding a\ntest *protects* your solution from future changes. Say you don't understand why a line of code exists,\ntry deleting it and running the unit-tests. The nearest test failure should tell you what problem\nwas solved by that code. If no test fails, go ahead and submit a Pull Request that asks, \"what\nproblem is solved by this code?\" On the other hand, if a test does fail and you can think of a\nbetter way to solve the same problem, a Pull Request with your solution would most certainly be\nwelcome! Likewise, if rewriting a test can better communicate what code it's protecting, please\nsend us that patch!\n\n# Disclaimer\n\nAll claims, content, designs, algorithms, estimates, roadmaps,\nspecifications, and performance measurements described in this project\nare done with the Solana Foundation's (\"SF\") good faith efforts. It is up to\nthe reader to check and validate their accuracy and truthfulness.\nFurthermore, nothing in this project constitutes a solicitation for\ninvestment.\n\nAny content produced by SF or developer resources that SF provides are\nfor educational and inspirational purposes only. SF does not encourage,\ninduce or sanction the deployment, integration or use of any such\napplications (including the code comprising the Solana blockchain\nprotocol) in violation of applicable laws or regulations and hereby\nprohibits any such deployment, integration or use. This includes the use of\nany such applications by the reader (a) in violation of export control\nor sanctions laws of the United States or any other applicable\njurisdiction, (b) if the reader is located in or ordinarily resident in\na country or territory subject to comprehensive sanctions administered\nby the U.S. Office of Foreign Assets Control (OFAC), or (c) if the\nreader is or is working on behalf of a Specially Designated National\n(SDN) or a person subject to similar blocking or denied party\nprohibitions.\n\nThe reader should be aware that U.S. export control and sanctions laws\nprohibit U.S. persons (and other persons that are subject to such laws)\nfrom transacting with persons in certain countries and territories or\nthat are on the SDN list. As a project-based primarily on open-source\nsoftware, it is possible that such sanctioned persons may nevertheless\nbypass prohibitions, obtain the code comprising the Solana blockchain\nprotocol (or other project code or applications) and deploy, integrate,\nor otherwise use it. Accordingly, there is a risk to individuals that\nother persons using the Solana blockchain protocol may be sanctioned\npersons and that transactions with such persons would be a violation of\nU.S. export controls and sanctions law. This risk applies to\nindividuals, organizations, and other ecosystem participants that\ndeploy, integrate, or use the Solana blockchain protocol code directly\n(e.g., as a node operator), and individuals that transact on the Solana\nblockchain through light clients, third party interfaces, and/or wallet\nsoftware.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpcpool%2Fsolana-public","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frpcpool%2Fsolana-public","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpcpool%2Fsolana-public/lists"}