|
| 1 | +# WARNING: This configuratio is inteded only for testing! |
| 2 | +# Use this configuratoin when you run the Dummy adapter |
| 3 | + |
| 4 | +# Maximum number of channels to return per request |
| 5 | +max_channels = 512 |
| 6 | + |
| 7 | +channels_find_limit = 200 |
| 8 | +campaigns_find_limit = 200 |
| 9 | +spendable_find_limit = 200 |
| 10 | +wait_time = 500 |
| 11 | + |
| 12 | +msgs_find_limit = 10 |
| 13 | +analytics_find_limit = 5000 |
| 14 | +# in milliseconds |
| 15 | +analytics_maxtime = 20000 |
| 16 | + |
| 17 | +heartbeat_time = 30000 |
| 18 | +health_threshold_promilles = 950 |
| 19 | +health_unsignable_promilles = 750 |
| 20 | +# 2 seconds |
| 21 | +# TODO: Check the POST /validator-message route performance, more than 1 second for timeout is a lot! |
| 22 | +propagation_timeout = 2000 |
| 23 | + |
| 24 | +fetch_timeout = 5000 |
| 25 | +all_campaigns_timeout = 5000 |
| 26 | +# for test_harness make it larger |
| 27 | +# Default: 5000 |
| 28 | +channel_tick_timeout = 8000 |
| 29 | + |
| 30 | +ip_rate_limit = { type = 'ip', timeframe = 1200000 } |
| 31 | +sid_rate_limit = { type = 'sid', timeframe = 0 } |
| 32 | + |
| 33 | +creators_whitelist = [] |
| 34 | +validators_whitelist = [] |
| 35 | +# Leader - 0x80690751969B234697e9059e04ed72195c3507fa |
| 36 | +admins = ['0x80690751969B234697e9059e04ed72195c3507fa'] |
| 37 | + |
| 38 | +[platform] |
| 39 | +# This should be changed for tests and use the wiremock url |
| 40 | +url = "https://platform.adex.network" |
| 41 | +# 20 minutes in milliseconds |
| 42 | +keep_alive_interval = 1200000 |
| 43 | + |
| 44 | +[limits.units_for_slot] |
| 45 | +# The maximum number of campaigns a publisher can earn from |
| 46 | +# This will limit the returned Campaigns to the set number |
| 47 | +max_campaigns_earning_from = 25 |
| 48 | + |
| 49 | +# 0.01 (UnifiedNum) per 1000 impressions |
| 50 | +# 1_000 * (per) 1_000 / 10^8 = 0.01 |
| 51 | +global_min_impression_price = '1000000' |
| 52 | + |
| 53 | +[chain."Dummy"] |
| 54 | +chain_id = 1 |
| 55 | +rpc = 'http://dummy.com' |
| 56 | +# Ganache Snapshot address |
| 57 | +outpace = '0x0000000000000000000000000000000000000000' |
| 58 | + |
| 59 | + [chain."Dummy".token."DUMMY"] |
| 60 | + address = '0x0000000000000000000000000000000000000001' |
| 61 | + # same as UnifiedNum |
| 62 | + precision = 8 |
| 63 | + # 1 * 10^8 = 1.0000 TOKEN |
| 64 | + min_campaign_budget = '100000000' |
| 65 | + # min_validator_fee = 0.00_000_100 |
| 66 | + min_validator_fee = '100' |
0 commit comments