truechain / truechain-consensus-core

TrueChain Consensus Protocol: Minerva
Apache License 2.0
161 stars 70 forks source link

evm integration for transaction execution #35

Open arcolife opened 6 years ago

arcolife commented 6 years ago

to facilitate payload execution, we need compiler integration. Related to #31

cc/ @samikshan

arcolife commented 6 years ago
func (nd *Node) execute(am ApplyMsg) {  
    // TODO: add msg to applyCh, should be executed in a separate go routine    
    // TODO: add we probably want to keep a log for this    
    nd.ApplyCh <- am    
}

..is the bane of transaction execution right now. Removed in #61 but needs to be brought back in this issue.