Compare commits
6 Commits
v0.7.10-br
...
v0.7.11
Author | SHA1 | Date | |
---|---|---|---|
771bfe9e78 | |||
c9f963a77e | |||
7ba9fe4d5d | |||
25d16f358a | |||
795b14330a | |||
6cff6dd8b8 |
@ -30,7 +30,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
ClientIdentifier = "Ethereum(G)"
|
ClientIdentifier = "Ethereum(G)"
|
||||||
Version = "0.7.10"
|
Version = "0.7.11"
|
||||||
)
|
)
|
||||||
|
|
||||||
var clilogger = logger.NewLogger("CLI")
|
var clilogger = logger.NewLogger("CLI")
|
||||||
|
@ -141,9 +141,7 @@ func (self *VMEnv) Transfer(from, to vm.Account, amount *big.Int) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (self *VMEnv) vm(addr, data []byte, gas, price, value *big.Int) *core.Execution {
|
func (self *VMEnv) vm(addr, data []byte, gas, price, value *big.Int) *core.Execution {
|
||||||
evm := vm.New(self, vm.DebugVmTy)
|
return core.NewExecution(self, addr, data, gas, price, value)
|
||||||
|
|
||||||
return core.NewExecution(evm, addr, data, gas, price, value)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *VMEnv) Call(caller vm.ClosureRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error) {
|
func (self *VMEnv) Call(caller vm.ClosureRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error) {
|
||||||
|
@ -31,7 +31,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
ClientIdentifier = "Mist"
|
ClientIdentifier = "Mist"
|
||||||
Version = "0.7.10"
|
Version = "0.7.11"
|
||||||
)
|
)
|
||||||
|
|
||||||
var ethereum *eth.Ethereum
|
var ethereum *eth.Ethereum
|
||||||
|
6
peer.go
6
peer.go
@ -412,6 +412,12 @@ func (p *Peer) HandleInbound() {
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
case wire.MsgDiscTy:
|
case wire.MsgDiscTy:
|
||||||
|
blockPool := p.ethereum.blockPool
|
||||||
|
if blockPool.peer == p {
|
||||||
|
blockPool.peer = nil
|
||||||
|
blockPool.td = ethutil.Big0
|
||||||
|
}
|
||||||
|
|
||||||
p.Stop()
|
p.Stop()
|
||||||
peerlogger.Infoln("Disconnect peer: ", DiscReason(msg.Data.Get(0).Uint()))
|
peerlogger.Infoln("Disconnect peer: ", DiscReason(msg.Data.Get(0).Uint()))
|
||||||
case wire.MsgPingTy:
|
case wire.MsgPingTy:
|
||||||
|
Reference in New Issue
Block a user