Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
JDChain
Explorer
提交
bb6e01b0
E
Explorer
项目概览
JDChain
/
Explorer
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
Explorer
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bb6e01b0
编写于
3月 19, 2020
作者:
H
huanghaiquan
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into develop
# Conflicts: # data-explorer/pom.xml # manager-explorer/pom.xml # pom.xml
上级
d4cd91e2
d5a0d4f5
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
8 addition
and
111 deletion
+8
-111
data-explorer/dist/web/20190101/account.chunk.js
data-explorer/dist/web/20190101/account.chunk.js
+1
-1
data-explorer/dist/web/20190101/block.chunk.js
data-explorer/dist/web/20190101/block.chunk.js
+1
-1
data-explorer/dist/web/20190101/search.chunk.js
data-explorer/dist/web/20190101/search.chunk.js
+1
-1
data-explorer/server/routes/ledgers.js
data-explorer/server/routes/ledgers.js
+1
-90
data-explorer/src/web/components/transactionInfo/transactionInfo.t.html
...src/web/components/transactionInfo/transactionInfo.t.html
+1
-1
data-explorer/webpack.config.js
data-explorer/webpack.config.js
+3
-3
manager-explorer/src/main/java/com/jd/blockchain/UmpExplorer.java
...explorer/src/main/java/com/jd/blockchain/UmpExplorer.java
+0
-14
未找到文件。
data-explorer/dist/web/20190101/account.chunk.js
浏览文件 @
bb6e01b0
此差异已折叠。
点击以展开。
data-explorer/dist/web/20190101/block.chunk.js
浏览文件 @
bb6e01b0
此差异已折叠。
点击以展开。
data-explorer/dist/web/20190101/search.chunk.js
浏览文件 @
bb6e01b0
此差异已折叠。
点击以展开。
data-explorer/server/routes/ledgers.js
浏览文件 @
bb6e01b0
...
...
@@ -605,96 +605,7 @@ router.get('/:ledger/txs/hash/:tx_hash', function(req, res) {
let
params
=
req
.
body
,
ret
=
{};
Object
.
assign
(
ret
,
resultData
,{
"
data
"
:
{
"
blockHeight
"
:
1
,
"
executionState
"
:
"
SUCCESS
"
,
"
transactionContent
"
:
{
"
ledgerHash
"
:
{
"
value
"
:
"
657TQAw6ssVoeKniWGwbovk7njvCTvikPambM9eBv6ezs
"
},
"
operations
"
:
[
{
"
userID
"
:
{
"
address
"
:
{
"
value
"
:
"
5SmBgzsrnY6u9Y7DgSSkXfTkCgp83hiFin3v
"
},
"
pubKey
"
:
{
"
value
"
:
"
mb5kukaqjWtXyAerfHU1JDtVwabSeBU5c3khMZbNh7R8VJ
"
}
}
},
{
"
accountID
"
:
{
"
address
"
:
{
"
value
"
:
"
5SmA98VknTbZ1Z7fmbNPHBuN2pbD89ogy8Ha
"
},
"
pubKey
"
:
{
"
value
"
:
"
mbC8hzmYBz2SsLLqwoBXAJiGeHrCnByBEvcaUZWscAiPqR
"
}
}
},
{
"
contractID
"
:
{
"
address
"
:
{
"
value
"
:
"
5SmA98VknTbZ1Z7fmbNPHBuN2pbD89ogy8Ha
"
},
"
pubKey
"
:
{
"
value
"
:
"
mbC8hzmYBz2SsLLqwoBXAJiGeHrCnByBEvcaUZWscAiPqR
"
}
},
"
chainCode
"
:
"
----------
"
},
{
"
contractAddress
"
:
{
"
value
"
:
"
mbC8hzmYBz2SsLLqwoBXAJiGeHrCnByBEvcaUZWscAiPqR
"
},
"
event
"
:
"
----------
"
,
"
args
"
:
"
----------
"
},
{
"
writeSet
"
:
[{
"
key
"
:
"
jdchain
"
,
"
value
"
:
{
"
type
"
:
"
TEXT
"
,
"
value
"
:
{
"
value
"
:
"
----------
"
}
},
"
expectedVersion
"
:
0
}],
"
accountAddress
"
:
{
"
value
"
:
"
mbC8hzmYBz2SsLLqwoBXAJiGeHrCnByBEvcaUZWscAiPqR
"
}
}
],
"
hash
"
:
{
"
value
"
:
"
6BLtM1agb7ERKoN5AJgZKiTjzdS7BpjgzQNYK8ZeDqotA
"
}
},
"
endpointSignatures
"
:
[
{
"
digest
"
:
{
"
value
"
:
"
42pbfM5YKnf39Gitr4UsjTCzhhnJjwNyi8MnLFYgP4VKewTLzHitzArHEMrCt3hZYUe5ex9XvqtmiCoWpeAbdc31F
"
},
"
pubKey
"
:
{
"
value
"
:
"
mb5kbwzACnhK9P1dVxgMPB2ySJLFyJKQbHpH7T9oRK3LpS
"
}
}
],
"
nodeSignatures
"
:
[
{
"
digest
"
:
{
"
value
"
:
"
66SQ95SbDaApAJhN2NsFx5sfAQTxsWhMW26D5iPqXc1jZU9rJEhRnqT1nzt62ZAcCvsfrjEsay3MxqXYA5tWPoA2U
"
},
"
pubKey
"
:
{
"
value
"
:
"
mb5kbwzACnhK9P1dVxgMPB2ySJLFyJKQbHpH7T9oRK3LpS
"
}
}
]
},
"
success
"
:
true
});
Object
.
assign
(
ret
,
resultData
,{
"
data
"
:{
"
blockHeight
"
:
2
,
"
operationResults
"
:[],
"
userAccountSetHash
"
:{
"
value
"
:
"
j5nyfcUoZ1YgfnQCV5U6iHQZPQ4aqCp5sx1Vf9UPqiBc56
"
},
"
executionState
"
:
"
SUCCESS
"
,
"
transactionContent
"
:{
"
ledgerHash
"
:{
"
value
"
:
"
j5s3Xx2djijUi7NewerfPtRTta3EAa9ErNcBsHgzkDND7g
"
},
"
operations
"
:[{
"
accountID
"
:{
"
address
"
:{
"
value
"
:
"
LdeNkb56uxHjqz4HJaDGtbGqaHd2D73nz5dGo
"
},
"
pubKey
"
:{
"
value
"
:
"
7VeR9CqbpKb6EnWrobskY8JBTh5ZS3MjhLFgw8cp6ZBntJa6
"
}}},{
"
writeSet
"
:[{
"
expectedVersion
"
:
-
1
,
"
value
"
:{
"
bytes
"
:{
"
value
"
:
"
21x71Vecp
"
},
"
type
"
:
"
TEXT
"
},
"
key
"
:
"
key1
"
}],
"
accountAddress
"
:{
"
value
"
:
"
LdeNkb56uxHjqz4HJaDGtbGqaHd2D73nz5dGo
"
}}],
"
hash
"
:{
"
value
"
:
"
j5gTM121tKdm3GTC6ET2XDr2aKivDEM5Tp9XFWsxKPxLxG
"
},
"
timestamp
"
:
1583142977001
},
"
endpointSignatures
"
:[{
"
digest
"
:{
"
value
"
:
"
SMHunDZXh7GUUUmdCwL1RybD2QD9wxDmCuF6Xy7up7Acv8NTi2X9QwuSdMgbGtuvXXMssXreTZZvygxMTkaGxtSTjg
"
},
"
pubKey
"
:{
"
value
"
:
"
7VeRPKizLbSmqNEBF6VsJEgwN84pEk1WZck5pLgL5N2E7xhJ
"
}}],
"
adminAccountHash
"
:{
"
value
"
:
"
j5t6rn6W4b89CymyvYbXyx8MtLN7RCvPd94C53BeYaqPJa
"
},
"
dataAccountSetHash
"
:{
"
value
"
:
"
j5gtK7Q4WMNbu47EucgELFNBvZxQZMuDnmVejCf5QSg2C9
"
},
"
nodeSignatures
"
:[{
"
digest
"
:{
"
value
"
:
"
SMHunDZXh7GUUUmdCwL1RybD2QD9wxDmCuF6Xy7up7Acv8NTi2X9QwuSdMgbGtuvXXMssXreTZZvygxMTkaGxtSTjg
"
},
"
pubKey
"
:{
"
value
"
:
"
7VeRPKizLbSmqNEBF6VsJEgwN84pEk1WZck5pLgL5N2E7xhJ
"
}}]},
"
success
"
:
true
});
res
.
send
(
ret
);
});
...
...
data-explorer/src/web/components/transactionInfo/transactionInfo.t.html
浏览文件 @
bb6e01b0
...
...
@@ -49,7 +49,7 @@
</fj-Row>
<
#each
{{
this.writeSet
}}
>
<BlockCollapseSmall
title=
"键:{{this.key}}"
>
值:{{formatData(this.value.type,this.value.bytes
||this.value.bytes.value
)}}
<br>
值:{{formatData(this.value.type,this.value.bytes)}}
<br>
预期版本:{{this.expectedVersion}}
<br>
类型:{{this.value.type}}
</BlockCollapseSmall>
...
...
data-explorer/webpack.config.js
浏览文件 @
bb6e01b0
...
...
@@ -10,7 +10,7 @@
const
isProd
=
process
.
env
.
NODE_ENV
==
'
production
'
;
const
isTest
=
process
.
env
.
NODE_ENV
==
'
test
'
;
const
isLocal
=
process
.
env
.
Project
==
'
local
'
;
const
isSelf
=
tru
e
;
// true使用代理服务,false不使用
const
isSelf
=
fals
e
;
// true使用代理服务,false不使用
const
pxToRem
=
require
(
'
postcss-pxtorem
'
);
const
VERSION
=
'
20190101
'
;
const
modifyVars
=
Object
.
assign
({});
...
...
@@ -228,11 +228,11 @@ module.exports = {
proxy
:
[
{
context
:
[
'
/ledgers
'
],
target
:
'
http://
localhost:18081
'
,
target
:
'
http://
jdchain-cloud4-8080.jdfmgt.com
'
,
},
{
context
:
[
'
/schema
'
,],
target
:
'
http://
localhost:18081
'
,
target
:
'
http://
jdchain-cloud4-8080.jdfmgt.com
'
,
}
],
}
...
...
manager-explorer/src/main/java/com/jd/blockchain/UmpExplorer.java
已删除
100644 → 0
浏览文件 @
d4cd91e2
package
com.jd.blockchain
;
/**
* 该项目用于管理工具的浏览器界面显示
* @author shaozhuguang, wangzhe
* @date 2019-07
*
*/
public
class
UmpExplorer
{
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
"This is UMP Project !!!"
);
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录