-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNEM.env.sample
13 lines (13 loc) · 1.11 KB
/
NEM.env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
### User Defined Variables ###
nodeAPIURL = "http://my.synbolnode.me:7890" #Your node's REST API endpoint (should not end with a /)
endPoint = '/chain/height' #endpoint for the block height API call (i.e. what comes after the port in the above nodeAPIURL)
dataKey = 'height' # the key to find the block height in the resulting API response (i.e. 'height')
blockFilePath = "C:\\Users\\USER\\Desktop\\NEM.node_last_block.txt" #Windows format: C:\\Users\\ | *nix: /home/user/
errorFilePath = "C:\\Users\\USER\\Desktop\\NEM.node_error.txt"
senderAddress = '[email protected]' #Email address used for alerts --- designed for GMAIL
senderPass = 'hgjdiufsdijfksdf' #Sender Address App Password -- designed for GMAIL - see https://support.google.com/accounts/answer/185833
smtpServer = 'smtp.gmail.com'
smtpPort = 587
recipientAddress = "[email protected]" #Node outage alert recipient
realertEvery = 10 #How many errors before an additional alert message is sent? i.e. if run every 10 min and realertEvery = 3, will email every 30 minutes during an outage. errorCounter is reset by a successful run.
nodeChain = "XYM"