Rename and changed peer window

This commit is contained in:
obscuren
2014-09-17 15:58:44 +02:00
parent e4cc365e89
commit 01863ebff0
7 changed files with 56 additions and 17 deletions

View File

@ -72,6 +72,10 @@ func (self *UiLib) LookupDomain(domain string) string {
}
}
func (self *UiLib) PastPeers() *ethutil.List {
return ethutil.NewList(eth.PastPeers())
}
func (self *UiLib) ImportTx(rlpTx string) {
tx := ethchain.NewTransactionFromBytes(ethutil.Hex2Bytes(rlpTx))
self.eth.TxPool().QueueTransaction(tx)