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
edc52bdc
Commit
edc52bdc
authored
Dec 02, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated value for mined blocks. Closes #197
parent
0a22dc2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
wallet.qml
cmd/mist/assets/qml/views/wallet.qml
+9
-3
No files found.
cmd/mist/assets/qml/views/wallet.qml
View file @
edc52bdc
...
...
@@ -16,7 +16,13 @@ Rectangle {
anchors.fill
:
parent
function
onReady
()
{
menuItem
.
secondaryTitle
=
eth
.
numberToHuman
(
eth
.
balanceAt
(
eth
.
key
().
address
))
setBalance
()
}
function
setBalance
()
{
balance
.
text
=
"<b>Balance</b>: "
+
eth
.
numberToHuman
(
eth
.
balanceAt
(
eth
.
key
().
address
))
if
(
menuItem
)
menuItem
.
secondaryTitle
=
eth
.
numberToHuman
(
eth
.
balanceAt
(
eth
.
key
().
address
))
}
ListModel
{
...
...
@@ -39,7 +45,6 @@ Rectangle {
Text
{
id
:
balance
text
:
"<b>Balance</b>: "
+
eth
.
numberToHuman
(
eth
.
balanceAt
(
eth
.
key
().
address
))
font.pixelSize
:
24
anchors
{
horizontalCenter
:
parent
.
horizontalCenter
...
...
@@ -126,7 +131,6 @@ Rectangle {
var
value
=
txValue
.
text
+
denomModel
.
get
(
valueDenom
.
currentIndex
).
zeros
;
var
gasPrice
=
"10000000000000"
var
res
=
eth
.
transact
({
from
:
eth
.
key
().
privateKey
,
to
:
txTo
.
text
,
value
:
value
,
gas
:
"500"
,
gasPrice
:
gasPrice
})
console
.
log
(
res
)
}
}
}
...
...
@@ -158,6 +162,8 @@ Rectangle {
}
function
addTxs
(
messages
)
{
setBalance
()
for
(
var
i
=
0
;
i
<
messages
.
length
;
i
++
)
{
var
message
=
messages
.
get
(
i
);
var
to
=
eth
.
lookupName
(
message
.
to
);
...
...
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