hyperledger fabric 블록 구조(JSON)
14103 단어 hyperledgerfabric
{
header: {
number: '37',
previous_hash:'b57d891702819c0e62dd7d405743b0663d19e49365d43c6420f281b43492e78d',
data_hash:'c730c7f832a24f9906e5224205182a66f25ef92b766c02aba60e23293883361f'
},
data: {
data: [{
signature:,
payload: {
header: {
channel_header: {
type: 3,
version: 1,
timestamp: '2019-12-27T02: 30: 35.321Z',
channel_id: 'mychannel',
tx_id:'cbd9e30878c5a9c6887d67596e6cd0a2cb30c253ef32e7dceb4440b4d0ec3b9d',
epoch: '0',
extension: ,
typeString: 'ENDORSER_TRANSACTION'
},
signature_header: {
creator: {
Mspid: 'Org1MSP',
IdBytes:'-----BEGIN CERTIFICATE-----
MIICKTCCAdCgAwIBAgIQWv/vCt79Gp31mVsZBLDTBzAKBggqhkjOPQQDAjBzMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu
b3JnMS5leGFtcGxlLmNvbTAeFw0xOTEyMjcwMTE4MDBaFw0yOTEyMjQwMTE4MDBa
MGwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T
YW4gRnJhbmNpc2NvMQ8wDQYDVQQLEwZjbGllbnQxHzAdBgNVBAMMFkFkbWluQG9y
ZzEuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATFYP5wn0Nr
9NXpCXbqDiNa53r9RXcO0qcIgZhj9apQIn1ZOqdj4E7UQ/Yv9J8nOJMfFCwfU6VU
NJ0B5DI7R/jro00wSzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADArBgNV
HSMEJDAigCAfNb1MjsB1bCjo4uzb2roawarG0SSzApS1Qp8u50YO5DAKBggqhkjO
PQQDAgNHADBEAiBofjUeoqz1oTNc5yeE7R7/5incME4/aQJX8U7Ym8oHMgIgdor2
40bkUNJmhFdeB2kXoLHGrD9F+bRzN+6zoerkApg=
-----END CERTIFICATE-----
'
},
nonce:
}
},
data: {
actions: [{
header: {
creator: {
Mspid: 'Org1MSP',
IdBytes:'-----BEGIN CERTIFICATE-----
MIICKTCCAdCgAwIBAgIQWv/vCt79Gp31mVsZBLDTBzAKBggqhkjOPQQDAjBzMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu
b3JnMS5leGFtcGxlLmNvbTAeFw0xOTEyMjcwMTE4MDBaFw0yOTEyMjQwMTE4MDBa
MGwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T
YW4gRnJhbmNpc2NvMQ8wDQYDVQQLEwZjbGllbnQxHzAdBgNVBAMMFkFkbWluQG9y
ZzEuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATFYP5wn0Nr
9NXpCXbqDiNa53r9RXcO0qcIgZhj9apQIn1ZOqdj4E7UQ/Yv9J8nOJMfFCwfU6VU
NJ0B5DI7R/jro00wSzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADArBgNV
HSMEJDAigCAfNb1MjsB1bCjo4uzb2roawarG0SSzApS1Qp8u50YO5DAKBggqhkjO
PQQDAgNHADBEAiBofjUeoqz1oTNc5yeE7R7/5incME4/aQJX8U7Ym8oHMgIgdor2
40bkUNJmhFdeB2kXoLHGrD9F+bRzN+6zoerkApg=
-----END CERTIFICATE-----
'
},
nonce:
},
payload: {
chaincode_proposal_payload: {
input: {
chaincode_spec: {
type: 1,
typeString: 'GOLANG',
input: {
args: [
,
],
decorations: {}
},
chaincode_id: {
path: '',
name: 'mycc',
version: ''
},
timeout: 0
}
}
},
action: {
proposal_response_payload: {
proposal_hash:'50180bdb986b6b4488a54528e9f002221109ea1f6bb87847783cf4bdabeb2037',
extension: {
results:{
data_model: 0,
ns_rwset: [{
namespace: 'lscc',
rwset: {
reads: [{
key: 'mycc',
version: {
block_num: '1',
tx_num: '0'
}
}],
range_queries_info: [],
writes: [],
metadata_writes: []
},
collection_hashed_rwset: []
},
{
namespace: 'mycc',
rwset: {
reads: [],
range_queries_info: [],
writes: [{
key: '8543b514-1fa8-49f6-a610-cd44d4d5a318',
is_delete: false,
value:'{
"bizType": "HY",
"bizUUID": "6399e25f-2ad1-4f7c-80cc-6ba720f312b9",
"count": 5,
"fillPerson": " ",
"requestID": "89c06e39-403b-430d-9bac-caab738c1aeb",
"requestTime": "2019-12-27 10:30:24",
"reviewOpinion": " , ",
"reviewPass": " ",
"reviewer": " ",
"submissionTim": " ",
"toGzwTime": " ",
"blockTimeTamp": "2019-12-27 10:30:35:320",
"tx_id": "cbd9e30878c5a9c6887d67596e6cd0a2cb30c253ef32e7dceb4440b4d0ec3b9d"
}'
}],
metadata_writes: []
},
collection_hashed_rwset: []
}]
},
events: {
chaincode_id: '',
tx_id: '',
event_name: '',
payload:
},
response: {
status: 200,
message: 'insert finished successfully',
payload:'8543b514-1fa8-49f6-a610-cd44d4d5a318: {
"bizType": "HY",
"bizUUID": "6399e25f-2ad1-4f7c-80cc-6ba720f312b9",
"count": 5,
"fillPerson": " ",
"requestID": "89c06e39-403b-430d-9bac-caab738c1aeb",
"requestTime": "2019-12-27 10:30:24",
"reviewOpinion": " , ",
"reviewPass": " ",
"reviewer": " ",
"submissionTim": " ",
"toGzwTime": " ",
"blockTimeTamp": "2019-12-27 10:30:35:320",
"tx_id": "cbd9e30878c5a9c6887d67596e6cd0a2cb30c253ef32e7dceb4440b4d0ec3b9d"
}'
},
chaincode_id: {
path: '',
name: 'mycc',
version: '1.0'
}
}
},
endorsements: [{
endorser: {
Mspid: 'Org1MSP',
IdBytes:'-----BEGIN CERTIFICATE-----
MIICKTCCAc+gAwIBAgIRALSEbL20/qyKuufJLYD1EH0wCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzEuZXhhbXBsZS5jb20wHhcNMTkxMjI3MDExODAwWhcNMjkxMjI0MDExODAw
WjBqMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzENMAsGA1UECxMEcGVlcjEfMB0GA1UEAxMWcGVlcjAub3Jn
MS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABArT+vAEGJ/5
OS0ntKWOJS9krod8flniyops3SqN3vFhGfRzmDq5dxARMnCTjT16g9I4Jo4QyFAo
UAfXu1Zv93qjTTBLMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1Ud
IwQkMCKAIB81vUyOwHVsKOji7NvauhrBqsbRJLMClLVCny7nRg7kMAoGCCqGSM49
BAMCA0gAMEUCIQDWlXWhXOkwlANMLmkAB8REFYyqmKQz9UKe3z3VmjOQ+AIgWPq/
DZgErjIfq7KT5XWVCfvsxbJRWjD3o3aw0TE291A=
-----END CERTIFICATE-----
'
},
signature:
}]
}
}
}]
}
}
}]
},
metadata: {
metadata: [
{
value: '
\u0000',
signatures: [{
signature_header: {
creator: {
Mspid: 'OrdererMSP',
IdBytes:'-----BEGIN CERTIFICATE-----
MIICCzCCAbKgAwIBAgIQU4Xlp67Edi3tdBugbUNo9TAKBggqhkjOPQQDAjBpMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xFzAVBgNVBAMTDmNhLmV4YW1w
bGUuY29tMB4XDTE5MTIyNzAxMTgwMFoXDTI5MTIyNDAxMTgwMFowWDELMAkGA1UE
BhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lz
Y28xHDAaBgNVBAMTE29yZGVyZXIuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggq
hkjOPQMBBwNCAATdnI0rfvsU27XRhbPEp81yTiBpjiP4kLTHtAuXPc58RHHM2zYX
4oBC+UeOsreh2pibd/J1qJ0gnSlxL8ZmtdKTo00wSzAOBgNVHQ8BAf8EBAMCB4Aw
DAYDVR0TAQH/BAIwADArBgNVHSMEJDAigCBcNzwBMeyKcdPqnBdYhDyqMKUAYA6W
UcitApPVWMMjEzAKBggqhkjOPQQDAgNHADBEAiBQegfrUuFYAHqDla+DJlSMHqiW
QoI8q1Dv8t39c72tOQIgDpg9AbEPgz7s+8HUW+ahlZcYnRsRg1HM3WtElcMRlVM=
-----END CERTIFICATE-----
'
},
nonce:
},
signature:
}]
},
{
value: {
index: '0'
},
signatures: []
},
[0]
]
}
}
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
WSL과 함께 Windows 11에서 Hyperledger Fabric 테스트 네트워크 사용Windows 11을 실행하는 노트북에서 Hyperledger Fabric Test Network를 시작하려고 시도할 것입니다. 자세한 정보 를 찾을 수 있습니다. 전제 조건을 관리하십시오. 에서 Docker 설치 ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.