dataSummaryInit
This function is not required to be implemented by the app developer for internal use by Shardus. It takes in 2 parameters:
blob
- a dapp definable object that is used to aggregate statistics in a sharded networkaccountData
- the account data
💡
The code below shows where the method should be defined in an example implementation. The internal workings of the function are up to the developer.
dapp.setup({
/**
* Defining other functions
* ...
*/
dataSummaryInit(blob, accountData) {
/* function definition */
}
/**
* Defining other functions
* ...
*/
})