Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
b8b14533
Commit
b8b14533
authored
Sep 24, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/0.6.6'
parents
70db1494
1cb12296
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
32 additions
and
22 deletions
+32
-22
README.md
README.md
+1
-1
main.go
ethereum/main.go
+1
-1
jeffcoin.qml
mist/assets/qml/views/jeffcoin/jeffcoin.qml
+3
-3
wallet.qml
mist/assets/qml/views/wallet.qml
+1
-1
wallet.qml
mist/assets/qml/wallet.qml
+8
-7
gui.go
mist/gui.go
+15
-6
main.go
mist/main.go
+1
-1
ui_lib.go
mist/ui_lib.go
+2
-2
No files found.
README.md
View file @
b8b14533
...
...
@@ -7,7 +7,7 @@ Status](http://cpt-obvious.ethercasts.com:8010/buildstatusimage?builder=go-ether
Ethereum Go Client © 2014 Jeffrey Wilcke.
Current state: Proof of Concept 0.6.
5
.
Current state: Proof of Concept 0.6.
6
.
For the development package please see the
[
eth-go package
](
https://github.com/ethereum/eth-go
)
.
...
...
ethereum/main.go
View file @
b8b14533
...
...
@@ -13,7 +13,7 @@ import (
const
(
ClientIdentifier
=
"Ethereum(G)"
Version
=
"0.6.
5
"
Version
=
"0.6.
6
"
)
var
logger
=
ethlog
.
NewLogger
(
"CLI"
)
...
...
mist/assets/qml/views/jeffcoin/jeffcoin.qml
View file @
b8b14533
...
...
@@ -47,9 +47,9 @@ Rectangle {
});
var
blockNumber
=
eth
.
block
(
-
1
).
number
;
var
m
essage
s
=
filter
.
messages
()
for
(
var
i
=
m
essage
s
.
length
-
1
;
i
>=
0
;
i
--
)
{
var
message
=
messages
.
get
(
i
)
var
m
sg
s
=
filter
.
messages
()
for
(
var
i
=
m
sg
s
.
length
-
1
;
i
>=
0
;
i
--
)
{
var
message
=
JSON
.
parse
(
msgs
.
getAsJson
(
i
)
)
insertTx
(
message
,
blockNumber
)
}
...
...
mist/assets/qml/views/wallet.qml
View file @
b8b14533
...
...
@@ -151,7 +151,7 @@ Rectangle {
model
:
ListModel
{
id
:
txModel
Component.onCompleted
:
{
var
filter
=
ethx
.
watch
({
latest
:
-
1
,
from
:
eth
.
key
().
address
});
var
filter
=
ethx
.
watch
({
latest
:
-
1
,
from
:
eth
.
key
().
address
});
filter
.
changed
(
addTxs
)
addTxs
(
filter
.
messages
())
...
...
mist/assets/qml/wallet.qml
View file @
b8b14533
...
...
@@ -254,6 +254,7 @@ ApplicationWindow {
statusBar
:
StatusBar
{
height
:
32
id
:
statusBar
RowLayout
{
Button
{
id
:
miningButton
...
...
@@ -294,16 +295,16 @@ ApplicationWindow {
}
ProgressBar
{
id
:
syncProgressIndicator
visible
:
false
objectName
:
"syncProgressIndicator"
id
:
downloadIndicator
value
:
0
visible
:
true
objectName
:
"downloadIndicator"
y
:
3
width
:
140
indeterminate
:
true
anchors.right
:
peerGroup
.
left
anchors.rightMargin
:
5
x
:
statusBar
.
width
/
2
-
this
.
width
/
2
width
:
160
}
RowLayout
{
id
:
peerGroup
y
:
7
...
...
mist/gui.go
View file @
b8b14533
...
...
@@ -385,14 +385,13 @@ func (gui *Gui) update() {
)
peerUpdateTicker
:=
time
.
NewTicker
(
5
*
time
.
Second
)
generalUpdateTicker
:=
time
.
NewTicker
(
1
*
time
.
S
econd
)
generalUpdateTicker
:=
time
.
NewTicker
(
500
*
time
.
Millis
econd
)
statsUpdateTicker
:=
time
.
NewTicker
(
5
*
time
.
Second
)
state
:=
gui
.
eth
.
StateManager
()
.
TransState
()
unconfirmedFunds
:=
new
(
big
.
Int
)
gui
.
win
.
Root
()
.
Call
(
"setWalletValue"
,
fmt
.
Sprintf
(
"%v"
,
ethutil
.
CurrencyToString
(
state
.
GetAccount
(
gui
.
address
())
.
Balance
)))
gui
.
getObjectByName
(
"syncProgressIndicator"
)
.
Set
(
"visible"
,
!
gui
.
eth
.
IsUpToDate
())
lastBlockLabel
:=
gui
.
getObjectByName
(
"lastBlockLabel"
)
miningLabel
:=
gui
.
getObjectByName
(
"miningLabel"
)
...
...
@@ -439,9 +438,6 @@ func (gui *Gui) update() {
state
.
UpdateStateObject
(
object
)
}
case
msg
:=
<-
chainSyncChan
:
sync
:=
msg
.
Resource
.
(
bool
)
gui
.
win
.
Root
()
.
ObjectByName
(
"syncProgressIndicator"
)
.
Set
(
"visible"
,
sync
)
case
<-
objectChan
:
gui
.
loadAddressBook
()
...
...
@@ -464,9 +460,22 @@ func (gui *Gui) update() {
miningLabel
.
Set
(
"text"
,
"Mining @ "
+
strconv
.
FormatInt
(
pow
.
GetHashrate
(),
10
)
+
"Khash"
)
}
blockLength
:=
gui
.
eth
.
BlockPool
()
.
BlocksProcessed
chainLength
:=
gui
.
eth
.
BlockPool
()
.
ChainLength
var
(
pct
float64
=
1.0
/
float64
(
chainLength
)
*
float64
(
blockLength
)
dlWidget
=
gui
.
win
.
Root
()
.
ObjectByName
(
"downloadIndicator"
)
)
if
pct
<
1.0
{
dlWidget
.
Set
(
"visible"
,
true
)
dlWidget
.
Set
(
"value"
,
pct
)
}
else
{
dlWidget
.
Set
(
"visible"
,
false
)
}
case
<-
statsUpdateTicker
.
C
:
gui
.
setStatsPane
()
}
}
}()
...
...
mist/main.go
View file @
b8b14533
...
...
@@ -12,7 +12,7 @@ import (
const
(
ClientIdentifier
=
"Mist"
Version
=
"0.6.
5
"
Version
=
"0.6.
6
"
)
var
ethereum
*
eth
.
Ethereum
...
...
mist/ui_lib.go
View file @
b8b14533
...
...
@@ -188,9 +188,9 @@ func (self *UiLib) NewFilterString(typ string) int {
func
(
self
*
UiLib
)
Messages
(
id
int
)
*
ethutil
.
List
{
filter
:=
self
.
eth
.
GetFilter
(
id
)
if
filter
!=
nil
{
messages
:=
filter
.
Find
(
)
messages
:=
ethpipe
.
ToJSMessages
(
filter
.
Find
()
)
return
ethpipe
.
ToJSMessages
(
messages
)
return
messages
}
return
ethutil
.
EmptyList
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment