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
22c77c60
Commit
22c77c60
authored
Jan 22, 2015
by
Marek Kotewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt sync provider
parent
edfb8745
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
78 additions
and
8 deletions
+78
-8
ethereum.js
dist/ethereum.js
+40
-5
ethereum.js.map
dist/ethereum.js.map
+4
-2
ethereum.min.js
dist/ethereum.min.js
+1
-1
index.js
index.js
+1
-0
qtsync.js
lib/qtsync.js
+32
-0
No files found.
dist/ethereum.js
View file @
22c77c60
...
...
@@ -408,7 +408,7 @@ module.exports = {
};
},{
"./web3"
:
6
}],
2
:[
function
(
require
,
module
,
exports
){
},{
"./web3"
:
7
}],
2
:[
function
(
require
,
module
,
exports
){
/*
This file is part of ethereum.js.
...
...
@@ -508,7 +508,7 @@ var contract = function (address, desc) {
module
.
exports
=
contract
;
},{
"./abi"
:
1
,
"./web3"
:
6
}],
3
:[
function
(
require
,
module
,
exports
){
},{
"./abi"
:
1
,
"./web3"
:
7
}],
3
:[
function
(
require
,
module
,
exports
){
/*
This file is part of ethereum.js.
...
...
@@ -583,7 +583,7 @@ Filter.prototype.logs = function () {
module
.
exports
=
Filter
;
},{
"./web3"
:
6
}],
4
:[
function
(
require
,
module
,
exports
){
},{
"./web3"
:
7
}],
4
:[
function
(
require
,
module
,
exports
){
/*
This file is part of ethereum.js.
...
...
@@ -763,7 +763,41 @@ ProviderManager.prototype.stopPolling = function (pollId) {
module
.
exports
=
ProviderManager
;
},{
"./web3"
:
6
}],
6
:[
function
(
require
,
module
,
exports
){
},{
"./web3"
:
7
}],
6
:[
function
(
require
,
module
,
exports
){
/*
This file is part of ethereum.js.
ethereum.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ethereum.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with ethereum.js. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file qtsync.js
* @authors:
* Marek Kotewicz <marek@ethdev.com>
* Marian Oancea <marian@ethdev.com>
* @date 2014
*/
var
QtSyncProvider
=
function
()
{
};
QtSyncProvider
.
prototype
.
send
=
function
(
payload
)
{
return
navigator
.
qt
.
callMethod
(
JSON
.
stringify
(
payload
));
};
module
.
exports
=
QtSyncProvider
;
},{}],
7
:[
function
(
require
,
module
,
exports
){
/*
This file is part of ethereum.js.
...
...
@@ -1087,13 +1121,14 @@ var ProviderManager = require('./lib/providermanager');
web3
.
provider
=
new
ProviderManager
();
web3
.
filter
=
require
(
'./lib/filter'
);
web3
.
providers
.
HttpSyncProvider
=
require
(
'./lib/httpsync'
);
web3
.
providers
.
QtSyncProvider
=
require
(
'./lib/qtsync'
);
web3
.
eth
.
contract
=
require
(
'./lib/contract'
);
web3
.
abi
=
require
(
'./lib/abi'
);
module
.
exports
=
web3
;
},{
"./lib/abi"
:
1
,
"./lib/contract"
:
2
,
"./lib/filter"
:
3
,
"./lib/httpsync"
:
4
,
"./lib/providermanager"
:
5
,
"./lib/
web3"
:
6
}]},{},[
"web3"
])
},{
"./lib/abi"
:
1
,
"./lib/contract"
:
2
,
"./lib/filter"
:
3
,
"./lib/httpsync"
:
4
,
"./lib/providermanager"
:
5
,
"./lib/
qtsync"
:
6
,
"./lib/web3"
:
7
}]},{},[
"web3"
])
//# sourceMappingURL=ethereum.js.map
\ No newline at end of file
dist/ethereum.js.map
View file @
22c77c60
This diff is collapsed.
Click to expand it.
dist/ethereum.min.js
View file @
22c77c60
This diff is collapsed.
Click to expand it.
index.js
View file @
22c77c60
...
...
@@ -3,6 +3,7 @@ var ProviderManager = require('./lib/providermanager');
web3
.
provider
=
new
ProviderManager
();
web3
.
filter
=
require
(
'./lib/filter'
);
web3
.
providers
.
HttpSyncProvider
=
require
(
'./lib/httpsync'
);
web3
.
providers
.
QtSyncProvider
=
require
(
'./lib/qtsync'
);
web3
.
eth
.
contract
=
require
(
'./lib/contract'
);
web3
.
abi
=
require
(
'./lib/abi'
);
...
...
lib/qtsync.js
0 → 100644
View file @
22c77c60
/*
This file is part of ethereum.js.
ethereum.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ethereum.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with ethereum.js. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file qtsync.js
* @authors:
* Marek Kotewicz <marek@ethdev.com>
* Marian Oancea <marian@ethdev.com>
* @date 2014
*/
var
QtSyncProvider
=
function
()
{
};
QtSyncProvider
.
prototype
.
send
=
function
(
payload
)
{
return
navigator
.
qt
.
callMethod
(
JSON
.
stringify
(
payload
));
};
module
.
exports
=
QtSyncProvider
;
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