Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 2.11 KB

testnet-reset.md

File metadata and controls

47 lines (38 loc) · 2.11 KB

SDF - packages

  1. Adding the SDF stable repository to your system
  2. Quickstart
  3. Installing individual packages
  4. Upgrading
  5. Running Horizon in production
  6. Building Packages
  7. Running a Full Validator
  8. Publishing a History archive
  9. Backfilling a History archive
  10. Monitoring
  11. Testnet Reset

Testnet Reset

The Testnet network is reset quarterly by the Stellar Development Foundation. The exact date will be announced with at least two weeks notice on the Stellar Dashboard as well as on several of Stellar’s online developer communities.

The reset will always occur at 09:00 UTC on the announced reset date.

Post reset you will need to perform a small maintenance in order to join/synch to the new network:

stellar-core maintenance overview

  • stop stellar-core
    # sudo systemctl stop stellar-core
  • clear/recreate stellar database
    # sudo -u stellar psql -c 'DROP DATABASE stellar' postgres
    # sudo -u stellar psql -c 'CREATE DATABASE stellar' postgres
  • re-initialise stellardb schema
    # sudo -u stellar stellar-core --conf /etc/stellar/stellar-core.cfg new-db
  • optionally re-init your history archives (only required if you publish your own archives)
    # sudo -u stellar stellar-core --conf /etc/stellar/stellar-core.cfg new-hist ARCHIVE_NAME
  • start stellar-core
    # sudo systemctl start stellar-core

stellar-horizon maintenance overview

  • stop stellar-horizon
    # sudo systemctl stop stellar-horizon
  • clear/recreate horizon database
    # sudo -u stellar psql -c 'DROP DATABASE horizon'
    # sudo -u stellar psql -c 'CREATE DATABASE horizon'
  • re-initialise horizondb schema
    # sudo stellar-horizon-cmd db init
  • start stellar-horizon
    # sudo systemctl start stellar-horizon