yihuang
yihuang
> ``` > if ( current_time() > next_send_batch_time ) { > next_send_batch_time += batch_send_rate > } > ``` @thomas-nguy Do you mean `next_send_batch_time = current_time() + batch_send_rate`?
> > To avoid to make the relayer stateful, how about instead of using time, using height or nonce? > > I don't think this makes any difference. If we...
> The second problem would likely need gas cost estimates too, so perhaps starting with the first one and then building on top of it later? I've suggested @devashishdxt take...
For reference: ``` 939G application.db 42G blockstore.db 1.0G cs.wal 46M evidence.db 4.0K priv_validator_state.json 47M snapshots 81G state.db 238G tx_index.db ```
## Remove tx_index.db Currently we rely on tx indexer to query tx by eth tx hash, an alternative solution is to store that index in a standalone kv db in...
> > ## Remove tx_index.db > > Currently we rely on tx indexer to query tx by eth tx hash, an alternative solution is to store that index in a...
``` # IndexEvents defines the set of events in the form {eventType}.{attributeKey}, # which informs Tendermint what to index. If empty, all events will be indexed. # # Example: #...
@tomtau mentioned we could do some statistics on the `applications.db` to see what kinds of data occupy most space, then see if there's any waste can be saved in the...
BTW, this is `prunning=default` node size (thanks @allthatjazzleo): ``` 535G /chain/.cronosd/data/application.db 20K /chain/.cronosd/data/snapshots 44G /chain/.cronosd/data/blockstore.db 120G /chain/.cronosd/data/state.db 312G /chain/.cronosd/data/tx_index.db 20K /chain/.cronosd/data/evidence.db 1023M /chain/.cronosd/data/cs.wal 1011G /chain/.cronosd/data/ ``` Compared to full archive...
Another thing related is, in `v0.6.x` we had a minor issue that contract suicide don't really delete the code and storage, not sure how much impact does that have on...