|
| 1 | +# This is an example config for setting up a validator. |
| 2 | +# see https://www.stellar.org/developers/stellar-core/software/admin.html |
| 3 | +# for how to properly configure your environment |
| 4 | + |
| 5 | +# run `stellar-core gen-seed` to generate a public key and secret seed. |
| 6 | +# Let us know the public key so we can add you to the validator list. |
| 7 | +# set NODE_SEED below to the secret seed generated above. |
| 8 | + |
| 9 | +# uncomment those two lines if you are running a validator node |
| 10 | +# NODE_SEED="S123456ABCDE" |
| 11 | +# NODE_IS_VALIDATOR=true |
| 12 | + |
| 13 | +DATABASE="postgresql://dbname=stellar user=stellar password=changeme host=stellar-core-postgres" |
| 14 | + |
| 15 | +#FAILURE_SAFETY is minimum number of nodes that are allowed to fail before you no longer have quorum |
| 16 | +FAILURE_SAFETY=1 |
| 17 | + |
| 18 | +# number of ledgers to synchronize (time in seconds divided by 5) |
| 19 | +# NB: full validators should run with CATCHUP_COMPLETE=true instead |
| 20 | +CATCHUP_RECENT=60480 |
| 21 | + |
| 22 | +NETWORK_PASSPHRASE="Public Global Stellar Network ; September 2015" |
| 23 | + |
| 24 | +# Populate NODE_NAMES, KNOW_PEERS, QUORUM and HISTORY sections with information |
| 25 | +# on other validators |
| 26 | +# for example https://github.com/stellar/docs/blob/master/validators.md |
| 27 | +# or from https://dashboard.stellar.org/ |
| 28 | +NODE_NAMES=[ |
| 29 | +"GDIQKLQVOCD5UD6MUI5D5PTPVX7WTP5TAPP5OBMOLENBBD5KG434KYQ2 stronghold1", |
| 30 | +"GAOO3LWBC4XF6VWRP5ESJ6IBHAISVJMSBTALHOQM2EZG7Q477UWA6L7U eno", |
| 31 | +"GCJCSMSPIWKKPR7WEPIQG63PDF7JGGEENRC33OKVBSPUDIRL6ZZ5M7OO tempo.eu.com", |
| 32 | +"GC5SXLNAM3C4NMGK2PXK4R34B5GNZ47FYQ24ZIBFDFOCU6D4KBN4POAE satoshipay", |
| 33 | +"GD7FVHL2KUTUYNOJFRUUDJPDRO2MAZJ5KP6EBCU6LKXHYGZDUFBNHXQI umbrel", |
| 34 | +"GCGB2S2KGYARPVIA37HYZXVRM2YZUEXA6S33ZU5BUDC6THSB62LZSTYH sdf_watcher1", |
| 35 | +"GCM6QMP3DLRPTAZW2UZPCPX2LF3SXWXKPMP3GKFZBDSF3QZGV2G5QSTK sdf_watcher2", |
| 36 | +"GABMKJM6I25XI4K7U6XWMULOUQIQ27BCTMLS6BYYSOWKTBUXVRJSXHYQ sdf_watcher3", |
| 37 | +] |
| 38 | + |
| 39 | +KNOWN_PEERS=[ |
| 40 | +"core-live-a.stellar.org:11625", |
| 41 | +"core-live-b.stellar.org:11625", |
| 42 | +"core-live-c.stellar.org:11625", |
| 43 | +"validator1.stellar.stronghold.co", |
| 44 | +"stellar.256kw.com", |
| 45 | +"stellar1.tempo.eu.com", |
| 46 | +"stellar.satoshipay.io" |
| 47 | +] |
| 48 | + |
| 49 | +# full validators (with history archive) |
| 50 | +[QUORUM_SET] |
| 51 | +VALIDATORS=[ |
| 52 | +"$sdf_watcher1", "$sdf_watcher2", "$sdf_watcher3" |
| 53 | +] |
| 54 | + |
| 55 | +# other validators that you want to include |
| 56 | +# for best result, use a number of validators |
| 57 | +# that can be expressed as 3f+1 (4, 7, 10 ,...) |
| 58 | +[QUORUM_SET.basic] |
| 59 | +VALIDATORS=[ |
| 60 | +"$stronghold1", "$eno", "$tempo.eu.com", "$satoshipay" |
| 61 | +] |
| 62 | + |
| 63 | +# History archives |
| 64 | + |
| 65 | +# Stellar.org history store |
| 66 | +[HISTORY.sdf1] |
| 67 | +get="curl -sf http://history.stellar.org/prd/core-live/core_live_001/{0} -o {1}" |
| 68 | + |
| 69 | +[HISTORY.sdf2] |
| 70 | +get="curl -sf http://history.stellar.org/prd/core-live/core_live_002/{0} -o {1}" |
| 71 | + |
| 72 | +[HISTORY.sdf3] |
| 73 | +get="curl -sf http://history.stellar.org/prd/core-live/core_live_003/{0} -o {1}" |
0 commit comments