Closed kastolars closed 5 years ago
Split up the producer package into the following packages:
producer
RunServer
ProduceBlocks
printMemStats
calculateInterval
triggerInterval
genesis
BringOnTheGenesis
Airdrop
ReadGenesisHashes
GenerateGenesisHashFile
privatekey
GenerateNRandomKeys
blockchain
RecoverBlockchainMetadata
emptyFile
extractBlock
insertMetadata
accountstable
updateAccountTable
Any functions that didn't make the list can be discarded (along with their tests)
These should be separate packages in internal/
internal/
internal
src
Completed
Split up the
producer
package into the following packages:producer
RunServer
ProduceBlocks
printMemStats
calculateInterval
triggerInterval
genesis
BringOnTheGenesis
Airdrop
ReadGenesisHashes
GenerateGenesisHashFile
privatekey
GenerateNRandomKeys
blockchain
RecoverBlockchainMetadata
emptyFile
extractBlock
insertMetadata
accountstable
updateAccountTable
(Might need to capitalize the "u" to make it publicly accessible)Any functions that didn't make the list can be discarded (along with their tests)
These should be separate packages in
internal/
internal
src
folder fromproducer