eosdac / eosdac-api

DAC API which takes data from state history
11 stars 11 forks source link

dacDirectoryMode set to single but filler scrapes all data #10

Open educatedwarrior opened 5 years ago

educatedwarrior commented 5 years ago

We have the dacDirectoryMode set to single but the filler appears to be pulling all smart contract data. This causes our logs to fill up will junk data and makes it difficult to troubleshoot any issues.

Here is our config file.

module.exports = { fillClusterSize: 32, clusterSize: 10, mongo: { url: 'mongodb://localhost:27017', dbName: 'krown', traceCollection: 'traces', stateCollection: 'states', useUnifiedTopology: true }, amq: { connectionString: 'amqp://guest:guest@localhost/' }, eos: { contracts: ['krowndactokn','krowndaccust','krowndacownr','krowndacmult','krowndacserv','krownairdrop','krownengaged','krowndevfund','krownparty11'], chainId: "aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906", endpoint: 'https://eu.eosdac.io', wsEndpoint: 'ws://ex1.eosdac.io:8080', wsEndpoints:['ws://ex1.eosdac.io:8080','ws://as1.eosdac.io:8080'], msigContract: 'eosio.msig', custodianContract: 'krowndaccust' , dacMsigContract: 'krowndacmult' , dacDirectoryContract: 'dacdirectory', legacyDacs: ['krown'], dacDirectoryMode: 'single', dacDirectoryDacId: 'krown', dacGenesisBlock: 74000000 }, logger: { level: "warn", environment: "mainnet", datadog: { apiKey: "" } } };