Piers Shepperson
Piers Shepperson
1. The `Free` field seems to have been orphaned. We should remove it or repurpose it. 2. Does anyone need to know the free storage from `getStakePoolStat`? It requires continually...
For event databse we have some [settings](https://github.com/0chain/0chain/blob/staging/docker.local/config/0chain.yaml#L130) ```yaml dbs: events: enabled: true name: events_db user: zchain_user password: zchian host: postgres #it will prefer to pick from env else it will...
For providers' smartcontracts we have fees which should make DDos more difficult. Is this enough?
So we should just keep the information on the blobber? The important thing is to keep unbounded string fields out of the MPT.
To do this the validator should be added or removed from the list of validators used during challenge creation during StakePoolLock and StakePoolUnlock respectively. the existing `all validators list` is...
[We can modify addEventWorker to hold a global object that gets set each round](https://github.com/0chain/0chain/blob/staging/code/go/0chain.net/smartcontract/dbs/event/process.go#L65) Maybe like ```go func (edb *EventDb) addEventsWorker(ctx context.Context) { deltas := ThisRoundsMetricDetltas{} // or add to...
During a block [StateContextI.AddMint](https://github.com/0chain/0chain/blob/staging/code/go/0chain.net/chaincore/chain/state/state_context.go#L145) will be called some number of times. We wish to total the amount of these [mint's amount field](https://github.com/0chain/0chain/blob/staging/code/go/0chain.net/chaincore/state/mint.go#L15) and save that total to the event database....
All the events for block `N` are all handled before any of the events for block `N+1`. Hence the scenario I think you are suggesting can't happen. https://github.com/0chain/0chain/issues/757 If blocks...
We should combine with https://github.com/0chain/0chain/issues/1390 to store mints in the new snapshot table.
We should add a new `global min charge` setting, which is the minimum that a blobber should be able to receive from an allocation irrespective of other factors.