Go to file
dependabot[bot] 418076ab3e
chore: bump ed25519-dalek-bip32 from 0.1.1 to 0.2.0 (#23346)
* chore: bump ed25519-dalek-bip32 from 0.1.1 to 0.2.0

Bumps [ed25519-dalek-bip32](https://github.com/jpopesculian/ed25519-dalek-bip32) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/jpopesculian/ed25519-dalek-bip32/releases)
- [Commits](https://github.com/jpopesculian/ed25519-dalek-bip32/commits/v0.2.0)

---
updated-dependencies:
- dependency-name: ed25519-dalek-bip32
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* [auto-commit] Update all Cargo lock files

* Bump derivation-path

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-02-27 00:15:04 +00:00
.buildkite changing permission on "buildkite-pipeline-in-disk" 2022-02-25 15:35:47 +05:30
.github Narrow scope of client_targets build 2022-02-24 21:08:43 -08:00
.travis
account-decoder chore: bump zstd from 0.9.2+zstd.1.5.1 to 0.10.0+zstd.1.5.2 (#23089) 2022-02-15 10:56:04 -07:00
accounts-bench
accounts-cluster-bench
accountsdb-plugin-interface
accountsdb-plugin-manager Load AccountsDB plugins relative to plugin config (#23000) 2022-02-11 15:20:54 -08:00
banking-bench remove block limit for bench tests to avoid skew test result (#23204) 2022-02-17 03:44:34 +00:00
banks-client Add rustfmt.toml and `cargo fmt` (#23238) 2022-02-19 13:32:29 +08:00
banks-interface
banks-server
bench-streamer
bench-tps checks 2022-02-25 08:05:28 +00:00
bloom
book/src/proposals
bucket_map
ci Create buildkite-pipeline-in-disk.sh 2022-02-25 15:26:45 +05:30
clap-utils
cli chore: bump reqwest from 0.11.6 to 0.11.9 (#23337) 2022-02-24 22:40:01 -07:00
cli-config
cli-output `solana gossip` now includes feature set information 2022-02-24 18:04:38 -08:00
client chore: bump reqwest from 0.11.6 to 0.11.9 (#23337) 2022-02-24 22:40:01 -07:00
client-test Enforce tx metadata upload with static types (#23028) 2022-02-10 13:28:18 +08:00
core Simplify replay_blockstore_into_bank() (#23282) 2022-02-25 06:57:04 -06:00
docs Update derivation path integer sign specification (#23336) 2022-02-24 16:49:58 -07:00
dos Add rustfmt.toml and `cargo fmt` (#23238) 2022-02-19 13:32:29 +08:00
download-utils chore: bump reqwest from 0.11.6 to 0.11.9 (#23337) 2022-02-24 22:40:01 -07:00
entry
explorer add support for time in force order type (#23255) 2022-02-22 21:12:02 +08:00
faucet adds validator version to set_panic_hook (#23082) 2022-02-11 18:04:10 +00:00
frozen-abi chore: bump sha2 from 0.10.1 to 0.10.2 (#23343) 2022-02-24 23:57:42 -07:00
genesis
genesis-utils
gossip
install chore: bump reqwest from 0.11.6 to 0.11.9 (#23337) 2022-02-24 22:40:01 -07:00
keygen
ledger chore: bump sha2 from 0.10.1 to 0.10.2 (#23343) 2022-02-24 23:57:42 -07:00
ledger-tool add arg --disable_accounts_disk_index (#23308) 2022-02-23 18:07:24 -06:00
local-cluster Fix flaky optimistic confirmation tests (#23178) 2022-02-16 16:13:58 -05:00
log-analyzer
logger
measure
merkle-root-bench
merkle-tree
metrics chore: bump reqwest from 0.11.6 to 0.11.9 (#23337) 2022-02-24 22:40:01 -07:00
multinode-demo Enable incremental snapshots by default (#22938) 2022-02-09 13:26:35 -06:00
net minor fix for handling unsupported opt in script 2022-02-11 20:43:20 -08:00
net-shaper
net-utils
notifier chore: bump reqwest from 0.11.6 to 0.11.9 (#23337) 2022-02-24 22:40:01 -07:00
perf checks 2022-02-25 08:05:28 +00:00
poh Introduce slot-specific packet metrics (#22906) 2022-02-11 03:07:45 -05:00
poh-bench
program-runtime Fix rustfmt check (#23296) 2022-02-23 16:38:53 +08:00
program-test Cleanup: get_program_key() and get_loader_key() in TransactionContext (#23191) 2022-02-17 10:16:28 +01:00
programs chore: bump ed25519-dalek-bip32 from 0.1.1 to 0.2.0 (#23346) 2022-02-27 00:15:04 +00:00
rayon-threadlimit
rbpf-cli Bump rbpf to v0.2.24 (#23263) 2022-02-21 23:38:12 +01:00
remote-wallet chore: bump parking_lot from 0.11.2 to 0.12.0 (#23087) 2022-02-23 20:07:07 -07:00
replica-lib
replica-node
rpc checks 2022-02-25 08:05:28 +00:00
rpc-test chore: bump reqwest from 0.11.6 to 0.11.9 (#23337) 2022-02-24 22:40:01 -07:00
runtime Prevent new RentPaying state created by paying fees (#23358) 2022-02-26 12:10:01 -07:00
scripts adding a new script with in_disk_env var 2022-02-25 15:28:04 +05:30
sdk chore: bump ed25519-dalek-bip32 from 0.1.1 to 0.2.0 (#23346) 2022-02-27 00:15:04 +00:00
send-transaction-service
stake-accounts
storage-bigtable chore: bump zstd from 0.9.2+zstd.1.5.1 to 0.10.0+zstd.1.5.2 (#23089) 2022-02-15 10:56:04 -07:00
storage-proto Enforce tx metadata upload with static types (#23028) 2022-02-10 13:28:18 +08:00
streamer checks 2022-02-25 08:05:28 +00:00
sys-tuner chore: bump libc from 0.2.115 to 0.2.117 (#23034) 2022-02-09 16:49:44 -07:00
system-test
test-validator all TestValdiators act like validators (#23318) 2022-02-24 12:12:47 -06:00
tokens Refresh blockhash for fee calculations (#23338) 2022-02-24 21:21:38 -07:00
transaction-dos Fix small problems in transaction-dos tool (#23234) 2022-02-23 17:17:06 +01:00
transaction-status Enforce tx metadata upload with static types (#23028) 2022-02-10 13:28:18 +08:00
upload-perf
validator all TestValdiators act like validators (#23318) 2022-02-24 12:12:47 -06:00
version
watchtower adds validator version to set_panic_hook (#23082) 2022-02-11 18:04:10 +00:00
web3.js Add script for running nightly rustfmt on all workspaces (#23244) 2022-02-22 11:59:06 +08:00
zk-token-sdk grant public access to ProofError enum 2022-02-23 14:22:42 -08:00
.clippy.toml
.codecov.yml
.gitignore
.mergify.yml
.travis.yml
CONTRIBUTING.md
Cargo.lock chore: bump ed25519-dalek-bip32 from 0.1.1 to 0.2.0 (#23346) 2022-02-27 00:15:04 +00:00
Cargo.toml Fix ed25519 builtin program handling (#23182) 2022-02-16 18:48:55 +00:00
LICENSE
README.md
RELEASE.md
SECURITY.md
cargo
cargo-build-bpf
cargo-test-bpf
fetch-perf-libs.sh
fetch-spl.sh
run.sh
rustfmt.toml Add rustfmt.toml and `cargo fmt` (#23238) 2022-02-19 13:32:29 +08:00
test-abi.sh
vercel.json

README.md

Solana

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, etc. On Ubuntu:

$ sudo apt-get update
$ sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang make

2. Download the source code.

$ git clone https://github.com/solana-labs/solana.git
$ cd solana

3. Build.

$ cargo build

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!

Disclaimer

All claims, content, designs, algorithms, estimates, roadmaps, specifications, and performance measurements described in this project are done with the Solana Foundation's ("SF") good faith efforts. It is up to the reader to check and validate their accuracy and truthfulness. Furthermore, nothing in this project constitutes a solicitation for investment.

Any content produced by SF or developer resources that SF provides are for educational and inspirational purposes only. SF does not encourage, induce or sanction the deployment, integration or use of any such applications (including the code comprising the Solana blockchain protocol) in violation of applicable laws or regulations and hereby prohibits any such deployment, integration or use. This includes the use of any such applications by the reader (a) in violation of export control or sanctions laws of the United States or any other applicable jurisdiction, (b) if the reader is located in or ordinarily resident in a country or territory subject to comprehensive sanctions administered by the U.S. Office of Foreign Assets Control (OFAC), or (c) if the reader is or is working on behalf of a Specially Designated National (SDN) or a person subject to similar blocking or denied party prohibitions.

The reader should be aware that U.S. export control and sanctions laws prohibit U.S. persons (and other persons that are subject to such laws) from transacting with persons in certain countries and territories or that are on the SDN list. As a project-based primarily on open-source software, it is possible that such sanctioned persons may nevertheless bypass prohibitions, obtain the code comprising the Solana blockchain protocol (or other project code or applications) and deploy, integrate, or otherwise use it. Accordingly, there is a risk to individuals that other persons using the Solana blockchain protocol may be sanctioned persons and that transactions with such persons would be a violation of U.S. export controls and sanctions law. This risk applies to individuals, organizations, and other ecosystem participants that deploy, integrate, or use the Solana blockchain protocol code directly (e.g., as a node operator), and individuals that transact on the Solana blockchain through light clients, third party interfaces, and/or wallet software.