solana-snapshot-finder

Automatic search and download of snapshots for Solana

GPL-3.0 License

Stars
159
Committers
5

Bot releases are hidden (Show)

solana-snapshot-finder - 0.3.6 Latest Release

Published by c29r3 6 months ago

  • --ip_blacklist #16
-ipb IP_BLACKLIST, --ip_blacklist IP_BLACKLIST
                        Comma separated list of ip addresse (ip:port) that will be excluded from the scan.
                        Example: -ipb 1.1.1.1:8899,8.8.8.8:8899
  • Distutils fix #17
solana-snapshot-finder -

Published by c29r3 about 2 years ago

next retry with flag --with_private_rpc if nothing found

solana-snapshot-finder -

Published by c29r3 about 2 years ago

added debug info about skipped RPCs

solana-snapshot-finder -

Published by c29r3 about 2 years ago

solana-snapshot-finder -

Published by c29r3 over 2 years ago

solana-snapshot-finder -

Published by c29r3 over 2 years ago

Added:

  • log system
  • verbose mode
    -v, --verbose increase output verbosity to DEBUG
solana-snapshot-finder -

Published by c29r3 over 2 years ago

Added the ability to exclude snapshots by slot or hash from the snapshot name --blacklist
If the same corrupted archive is constantly downloaded, you can exclude it. Specify either the number of the slot you want to exclude, or the hash of the archive name. You can specify several, separated by commas. Example: -b 135501350,135501360 or --blacklist 135501350,some_hash

solana-snapshot-finder -

Published by c29r3 over 2 years ago

  • fixed 0 byte bug for incremental
  • added tmp name for snapshot before it will be fully downloaded to prevent start node with broken snapshot
solana-snapshot-finder -

Published by c29r3 over 2 years ago

0.2.5 skip snapshot if slots_diff < -100

solana-snapshot-finder -

Published by c29r3 over 2 years ago

#4 Better support for incremental snapshots. Thx @unordered-set .
Fixed local snapshot sort order
--max-latency 40 (by default)
--sort_order slots_diff (by default)
do not download full snapshot if it already exists locally

solana-snapshot-finder -

Published by c29r3 over 2 years ago

Changed some default values
#5

solana-snapshot-finder -

Published by c29r3 over 2 years ago

0.2.2 added flag --sleep - sleep before next retry

solana-snapshot-finder -

Published by c29r3 over 2 years ago

0.2.1 added flag --sort_order. Priority way to sort the found

solana-snapshot-finder -

Published by c29r3 over 2 years ago

Added incremental snapshot support
timeout before next retry

solana-snapshot-finder - 0.1.9

Published by c29r3 over 2 years ago

Added scanning for hidden RPCs (with --private-rpc).
--private-rpc hides the RPC ip and port in the getClusterNodes request, but RPC can still work. The script checks the standard RPC port (8899) to find them. This slows down searching and checking, but potentially gives more options for downloading the snapshot.
This can be enabled with an additional flag with no value --without_private_rpc

solana-snapshot-finder - 0.1.8

Published by c29r3 over 2 years ago

  • servers with slow download speeds are skipped on subsequent retries
  • added filtering by --max_latency value
  • if latency > max_latency, then such a server is excluded from the list and its download speed is not checked
  • added progress bar at the stage of searching for RPC servers with up-to-date snapshots
solana-snapshot-finder - v0.1.7

Published by c29r3 over 2 years ago

0.1.7v default behavior: sort by latency

solana-snapshot-finder - 0.1.6

Published by c29r3 almost 3 years ago

  • Added option to sort by latency. Thanks meyerbro
    PR
solana-snapshot-finder - 0.1.5

Published by c29r3 almost 3 years ago

  • Added KeyboardInterrupt handling (ctrl + c)
  • NUM_OF_MAX_ATTEMPTS now configurable