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
9654b809
Commit
9654b809
authored
Jun 25, 2014
by
Maran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented TX History for ethjs
parent
1e965cb8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
ethereum.js
ethereal/assets/ext/ethereum.js
+3
-0
webapp.qml
ethereal/assets/qml/webapp.qml
+6
-0
No files found.
ethereal/assets/ext/ethereum.js
View file @
9654b809
...
@@ -58,6 +58,9 @@ window.eth = {
...
@@ -58,6 +58,9 @@ window.eth = {
getBalanceAt
:
function
(
address
,
cb
)
{
getBalanceAt
:
function
(
address
,
cb
)
{
postData
({
call
:
"getBalance"
,
args
:
[
address
]},
cb
);
postData
({
call
:
"getBalance"
,
args
:
[
address
]},
cb
);
},
},
getTransactionsFor
:
function
(
address
,
cb
)
{
postData
({
call
:
"getTransactionsFor"
,
args
:
[
address
]},
cb
);
},
getSecretToAddress
:
function
(
sec
,
cb
)
{
getSecretToAddress
:
function
(
sec
,
cb
)
{
postData
({
call
:
"getSecretToAddress"
,
args
:
[
sec
]},
cb
);
postData
({
call
:
"getSecretToAddress"
,
args
:
[
sec
]},
cb
);
...
...
ethereal/assets/qml/webapp.qml
View file @
9654b809
...
@@ -102,6 +102,12 @@ ApplicationWindow {
...
@@ -102,6 +102,12 @@ ApplicationWindow {
var
stateObject
=
eth
.
getStateObject
(
data
.
args
[
0
]).
stateKeyVal
(
true
)
var
stateObject
=
eth
.
getStateObject
(
data
.
args
[
0
]).
stateKeyVal
(
true
)
postData
(
data
.
_seed
,
stateObject
)
postData
(
data
.
_seed
,
stateObject
)
break
case
"getTransactionsFor"
:
require
(
1
);
var
txs
=
eth
.
getTransactionsFor
(
data
.
args
[
0
],
true
)
postData
(
data
.
_seed
,
txs
)
break
break
case
"getBalance"
:
case
"getBalance"
:
require
(
1
);
require
(
1
);
...
...
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