-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathephem-devnet.toml
31 lines (28 loc) · 1.02 KB
/
ephem-devnet.toml
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
[accounts]
remote = "devnet"
lifecycle = "ephemeral"
commit = { frequency_millis = 50_000 }
payer = { init_sol = 1_000 }
[accounts.db]
# path to root directory where database files are stored
directory = "/tmp/accounts-db/adb"
# size of the main storage, we have to preallocate in advance
# it's advised to set this value based on formula 1KB * N * 3,
# where N is the number of accounts expected to be stored in
# database, e.g. for million accounts this would be 3GB
db-size = 1048576000 # 1GB
# minimal indivisible unit of addressing in main storage
# offsets are calculated in terms of blocks
block-size = "block256" # possible values block128 | block256 | block512
# size of index file, we have to preallocate,
# can be as low as 1% of main storage size, but setting it to higher values won't hurt
index-map-size = 20485760
# max number of snapshots to keep around
max-snapshots = 7
# how frequently (slot-wise) we should take snapshots
snapshot-frequency = 1024
[rpc]
addr = "0.0.0.0"
port = 8899
[validator]
millis_per_slot = 50