settable etherbase

- etherbase flag for block reward destination
- coinbase => etherbase
- CLI- eth Config -> eth, xeth -> RPC / Miner
- use primary instead of coinbase as the unlock magic wildcard
- accounts: firstAddr/Coinbase -> Primary
This commit is contained in:
zelig
2015-03-26 21:49:22 +00:00
parent b0b0939879
commit b375bbee5f
5 changed files with 37 additions and 18 deletions

View File

@ -250,8 +250,8 @@ func (self *XEth) IsListening() bool {
}
func (self *XEth) Coinbase() string {
cb, _ := self.backend.AccountManager().Coinbase()
return common.ToHex(cb)
eb, _ := self.backend.Etherbase()
return eb.Hex()
}
func (self *XEth) NumberToHuman(balance string) string {