Commit Graph

49 Commits

Author SHA1 Message Date
Alessandro Decina a78b5203cb
git: ignore all `target/` directories (#34705)
git: ignore all target directories
2024-01-09 12:30:11 +01:00
HaoranYi 8148cb5a25
chore: ignore farf/ in .gitignore (#34634)
* add test-validator/farf/ to gitignore

* ignore all farf subdirs

* no **

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
2024-01-03 10:36:19 -06:00
Wen b36791956e
Ingest duplicate proofs sent through Gossip (#29227)
* First draft of ingesting duplicate proofs in Gossip into blockstore.

* Add more unittests.

* Add more unittests for bad cases.

* Fix lint errors for tests.

* More linter fixes for tests.

* Lint fixes

* Rename get_entries, move location of comment.

* Some renaming changes and comment fixes.

* Fix compile warning, this enum is not used.

* Fix lint errors.

* Slow down cleanup because this could potentially be expensive.

* Forgot to reset cleanup count.

* Add protection against attackers when constructing chunk map when
we ingest Gossip proofs.

* Use duplicate shred index instead of get_entries.

* Rename ClusterInfoDuplicateShredListener and fix a few small problems.

* Use into_shreds to piece together the proof.

* Remove redundant code.

* Address a few small errors.

* Discard slots too advanced in the future.

* - Use oldest proof for each pubkey
- Limit number of pubkeys in each slot to 100

* Disable duplicate shred handling for now.

* Revert "Disable duplicate shred handling for now."

This reverts commit c3fcf403876cfbf90afe4d2265a826f21a5e24ab.
2023-01-19 13:00:56 -08:00
Victor Pontis 900f8a3b2b
explorer: Add information about NFToken NFTs and Collection (#26716)
This adds NFToken support to the Solana Explorer so that users can see NFToken NFTs and Collections and do some basic /exploring/. NFToken Docs: https://nftoken.so

## Feature Overview

[Loom Video](https://www.loom.com/share/362e24aa66ac4db198b3e014a99235cb)

<img width="1175" alt="CleanShot 2022-07-21 at 12 55 08@2x" src="https://user-images.githubusercontent.com/1319079/180270677-f02c0646-107e-4566-85b7-cd6a9f4b9eac.png">
<img width="1177" alt="CleanShot 2022-07-21 at 12 55 00@2x" src="https://user-images.githubusercontent.com/1319079/180270686-d376bcba-3477-47ef-8cb0-972ad3b8d22c.png">

## Code Overview

[Loom Video](https://www.loom.com/share/bdab68e55d73462a9222b105dd2316cb)
2022-08-26 12:49:37 -04:00
losman0s 9b06d64eb8 Add option to load accounts from file
This introduces the `--clone-from-file` option for
solana-test-validator. It allows specifying any number of files
(without extension) containing account info and data, which will be
loaded at genesis. This is similar to `--bpf-program` for programs
loading.

The files will be searched for in the CWD or in `tests/fixtures`.

Example: `solana-test-validator --clone-from-file SRM_token USD_token`
2021-12-15 11:05:02 -08:00
Dmitri Makarov 6f72f8b1fc
Generate a script to rerun the failed sub-command in cargo-test-bpf (#18582)
* Generate a script to rerun the failed sub-command in cargo-test-bpf

* Generate a script to rerun the failed sub-command in cargo-build-bpf

* Add cargo-build-bpf test for generate-child-script-on-failure option
2021-07-15 01:02:42 +00:00
Michael Vines 2e54b6acb1 Fix cli usage build 2021-01-29 19:03:10 +00:00
Jack May 887b0e4b72
Add doc content and feedback (#13563) 2020-11-13 10:18:04 -08:00
Michael Vines d4df2ac673 Keep .DS_Store out of the tree 2020-08-04 16:34:45 -07:00
Michael Vines 3a1ca4efff Fetch and install SPL programs by default 2020-07-29 12:48:56 -07:00
Michael Vines 1f2aaf3f98
Generate CLI usage (#8637)
* Generate CLI usage

* Apply review feedback
2020-03-04 17:44:30 -07:00
Justin Starry 021d0a46f8
Move docs from book/ to docs/ (#8469)
automerge
2020-02-26 07:11:38 -08:00
Rob Walker acb7ce16ca
Cleanup book build (#7254)
* book

* remove copies stuff

* missing png

* update cage in publish-book.sh

* shellcheck

* update image link

* avoid clone

* nits
2019-12-17 14:29:46 -08:00
Dan Albert 188dbdb068
Ignore symlinked logdir in repo root (#6891) 2019-11-12 10:36:53 -05:00
Ryan Shea 050021cf77 Add SVGs for Gitbook (#6009) 2019-09-21 07:59:36 -07:00
Michael Vines bd7e269280 Kill rsync (#5336)
automerge
2019-07-30 22:43:47 -07:00
Tibi Krisboi 25080f1a33 fix book typos (#5185) 2019-07-18 17:24:22 -07:00
Michael Vines a016bc2736 Add infra to publish metrics tarball 2019-06-13 10:00:24 -07:00
Michael Vines 470debef16 Inline metrics/scripts dependencies 2019-06-13 10:00:24 -07:00
Jack May e5b7aead12
Cargo watch ignores local metrics (#4384) 2019-05-22 00:08:18 -07:00
Rob Walker a80176496d
add /target/ to .gitignore files for all crates (#4217)
* add /target/ to .gitignore files for all crates

* shellcheck
2019-05-08 12:15:05 -07:00
Jack May c1e39a3b98
git ignore more (#3870) 2019-04-18 14:23:34 -07:00
Greg Fitzgerald 028b9da0da Revert "Move the design proposals to a separate book"
This reverts commit 4ca18d6b9affbc574d1b3d3d230230b057f8fde3.
2019-03-23 14:04:34 -06:00
Greg Fitzgerald 9fac3b26ee Move the design proposals to a separate book
Fixes #3262
2019-03-14 10:08:43 -07:00
Michael Vines 5f5d779ee1 Move src/ into core/src. Top-level crate is now called solana-workspace 2019-03-02 09:52:18 -08:00
Rob Walker 29889a90e5
ignore ledger-tool/target (#2624) 2019-01-31 16:09:56 -08:00
Eric b83279848a html table to md table 2019-01-17 14:30:20 -07:00
Jack May 7c6dcc8c73 Ignore wallet/target 2019-01-03 10:28:43 -08:00
Michael Vines 70c149c7da Rename leader/validator to bootstrap-leader/fullnode
Only rsyncing the genesis ledger snuck in here as well
2018-12-06 19:44:47 -08:00
Greg Fitzgerald 2200a31331 Generate book images via Make 2018-11-26 09:44:19 -08:00
Greg Fitzgerald 88e270723f Move markdown book out of src/ 2018-11-26 09:44:19 -08:00
Michael Vines a76d11d486 Don't ignore Cargo.lock 2018-11-17 15:54:21 -08:00
Sagar Dhawan 729d28d910 Add poh verification before processing entries
- Replicate stage now verifies entries delivered
  by the window
- Minor refactor of entries_from_blobs
2018-11-13 14:17:00 -08:00
Sagar Dhawan 56c77bf482 Add IntelliJ files to ignore 2018-11-08 13:00:00 -08:00
Greg Fitzgerald 038a46b5ef Integrate the markdown book into the codebase
This implies that the book should describe exactly what is implemented,
and will not lead the way and eventually bitrot as the RFCs do.
2018-11-07 10:58:47 -07:00
Greg Fitzgerald 8be7c13d2d
Stub out architecture book (#1674)
* Stub out architecture documentation

* Add book HTML generation and book tests to CI

* Add heading

* Better table of contents

* Reference existing documentation

Move ASCII art from code comments into rendered SVG

* Attempt to fix CI

* Add lamport docs

And truncate lines to 80 characters

* Fix links

And reference shorter, newer description of PoH.

* Replace ASCII art with SVG

* Streamline for Pillbox

* Update path before optional install

* Use $CARGO_HOME instead of $HOME

* Delete code

Attempt to describe all data structures without code.

* Boot RPU from docs, add JsonRpcService

Also, use Rust naming conventions in the block diagrams to
minimize the jump from docs to code.

* Latest code uses tick_height

* Rename bob/ folder to art/

A home for any ASCII art

* Import JSON RPC API

* More mdbook docs

* Add Ncp

* Cleanup links

* Move pipelining description into fullnode description

* Move high-level transaction docs into top-level doc

* Delete unused files
2018-11-06 18:00:58 -07:00
Rob Walker b418c1abab ignore multinode demo logs 2018-11-05 10:57:51 -08:00
Jack May fc75827aaf .gitignore *.log 2018-10-24 10:58:27 -07:00
Rob Walker 5193819d8e Revert "Revert "plug in new ledger""
This reverts commit 57e928d1d0.
2018-08-06 08:51:41 -07:00
Rob Walker 57e928d1d0 Revert "plug in new ledger"
This reverts commit 46d9ba5ca0.
2018-08-03 10:24:51 -07:00
Rob Walker 46d9ba5ca0 plug in new ledger 2018-08-02 21:50:47 -07:00
Michael Vines e985c2e7d5 .gitignore more generated files 2018-07-30 17:15:50 -07:00
Michael Vines 1d8bb5144e Drop -demo suffix 2018-07-02 14:38:01 -07:00
Michael Vines c0f9e452f2 mint.json is now private 2018-07-02 09:22:26 -07:00
Michael Vines ce361c2cdc Add Snap fullnode daemon 2018-06-26 12:32:33 -07:00
Greg Fitzgerald d239d4a495 Add missing files 2018-05-12 17:57:28 -06:00
Greg Fitzgerald b8cd5f0482 Boot Cargo.lock from git
Only add Cargo.lock to downstream dependencies.
2018-03-09 16:26:26 -07:00
Greg Fitzgerald 7ef8d5ddde Lock down dependencies 2018-03-08 13:25:40 -07:00
Greg Fitzgerald bad95b7712 cargo init 2018-02-14 07:23:59 -07:00