forked from dogethereum/dogethereum-agents
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsysethereum-agents.conf
executable file
·74 lines (58 loc) · 2.72 KB
/
sysethereum-agents.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Whether to enable Syscoin block submitter agent.
syscoin.superblock.submitter.enabled = true
# Whether to enable Syscoin block challenger agent.
syscoin.superblock.challenger.enabled = true
# network mode (integration for testnet)
# constants = integration
constants = mainnet
# Gas price ranges, will get gas price from secondary url and cap out at 20 gWei
gas.price.min = 1000000000 // 1 gWei (minimum safe number, should change this based on market for avg/fast confirmation)
gas.price.max = 20000000000 // 20 gWei
# Gas limit used for all the txs
gas.limit = 5000000
# Address and unlocked account password used for sending/defending superblocks and contract calls that don't consume gas.
# Example:
general.purpose.and.send.superblocks.address = 0x8bdaf6db3793d04ce73654536370e87a23f58d20
general.purpose.and.send.superblocks.unlockpw = "abcd"
# Address and unlocking account password used for challenging invalid superblocks.
# Example:
syscoin.superblock.challenger.address = 0x8bdaf6db3793d04ce73654536370e87a23f58d20
syscoin.superblock.challenger.unlockpw = "abcd"
# Directory where sysethereum agents store syscoin blockchain.
# Example:
data.directory = "/path/to/datadir"
# Syscoin RPC settings, you only need to worry about this if you are hosting the agent and accessing the REST API, set this to empty otherwise
# Example:
syscoinrpc.user = 4382f846734cdc78
syscoinrpc.password = 8a0ce73a3028a7e735a6a6f236c0f8e8
syscoinrpc.url_and_port = "http://localhost:8370/"
agent.mailer.enabled = false
# agent.mailer {
# enabled: true,
# smtp {
# # See https://myaccount.google.com/lesssecureapps
# host: "smtp.gmail.com",
# port: 587,
# username: "your_username",
# password: "your_pass",
# transportStrategy: "SMTP_TLS" # Supported values: "SMTP", "SMTP_TLS" and "SMTPS"
# },
# challenge.notifier {
# trigger: "MY_BLOCK", # Supported values: "MY_BLOCK", "ANY_BLOCK"
# from: "[email protected]",
# to: "[email protected]",
# subject: "Syscoin agent challenges superblock(s)!"
# }
# }
# Secondary HTTP provider for web3j to read superblock information, this should be a dedicated fullnode or something like Infura
# Example:
secondary.url = "https://mainnet.infura.io/v3/xxx"
geth.rpc.url_and_port = "http://localhost:8645/"
# Whether to automatically withdraw funds after a battle is finished
withdraw.funds.enabled = true
# Upper bound for deposited funds; some will be withdrawn if they surpass this limit
deposited.funds.limit = 3000000000000000000 // 3 Ether to keep in deposit to minimize time/cost for operational duty of agent
# SSL settings for REST server
server.enabled = false
server.ssl.key-store=key.jks
server.ssl.key-store-password=mystrongpassword