Add discover sample
parent
5e6358cf52
commit
007f732d66
|
@ -16,7 +16,7 @@ Fabric Release | Description
|
||||||
[Fabric Latest](latest/) | latest fabric code, unstable.
|
[Fabric Latest](latest/) | latest fabric code, unstable.
|
||||||
[Fabric v2.1.0](v2.0.0/) | stable fabric 2.1.0 release.
|
[Fabric v2.1.0](v2.0.0/) | stable fabric 2.1.0 release.
|
||||||
[Fabric v2.0.0](v2.0.0/) | stable fabric 2.0.0 release.
|
[Fabric v2.0.0](v2.0.0/) | stable fabric 2.0.0 release.
|
||||||
[Fabric v1.4.6](v1.4.7/) | stable fabric 1.4.7 LTS release.
|
[Fabric v1.4.7](v1.4.7/) | stable fabric 1.4.7 LTS release.
|
||||||
[Fabric v1.4.6](v1.4.6/) | stable fabric 1.4.6 LTS release.
|
[Fabric v1.4.6](v1.4.6/) | stable fabric 1.4.6 LTS release.
|
||||||
[Fabric v1.4.5](v1.4.5/) | stable fabric 1.4.5 LTS release.
|
[Fabric v1.4.5](v1.4.5/) | stable fabric 1.4.5 LTS release.
|
||||||
[Fabric v1.4.4](v1.4.4/) | stable fabric 1.4.4 LTS release.
|
[Fabric v1.4.4](v1.4.4/) | stable fabric 1.4.4 LTS release.
|
||||||
|
|
|
@ -79,6 +79,7 @@ ready: # create/join channel, install/instantiate cc
|
||||||
|
|
||||||
make test_channel_list
|
make test_channel_list
|
||||||
make test_channel_getinfo
|
make test_channel_getinfo
|
||||||
|
make test_discover
|
||||||
|
|
||||||
make logs_save
|
make logs_save
|
||||||
|
|
||||||
|
@ -212,6 +213,10 @@ test_sidedb: # test sideDB/private data feature
|
||||||
@echo "Test sideDB"
|
@echo "Test sideDB"
|
||||||
@docker exec -it fabric-cli bash -c "cd /tmp; bash scripts/test_sideDB.sh"
|
@docker exec -it fabric-cli bash -c "cd /tmp; bash scripts/test_sideDB.sh"
|
||||||
|
|
||||||
|
test_discover: # test discover
|
||||||
|
@echo "Test discover"
|
||||||
|
@docker exec -it fabric-cli bash -c "cd /tmp; bash scripts/test_discover.sh"
|
||||||
|
|
||||||
temp: # test temp instructions, used for experiment
|
temp: # test temp instructions, used for experiment
|
||||||
@echo "Test experimental instructions"
|
@echo "Test experimental instructions"
|
||||||
@docker exec -it fabric-cli bash -c "cd /tmp; bash scripts/test_temp.sh"
|
@docker exec -it fabric-cli bash -c "cd /tmp; bash scripts/test_temp.sh"
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -909,13 +909,13 @@
|
||||||
},
|
},
|
||||||
"signatures": [
|
"signatures": [
|
||||||
{
|
{
|
||||||
"signature": "MEUCIQDKs+gjw2BFlMWDtvzBkXT7b0XOXzdXT2MXShO0beQxJAIgMGKeVowKWVvUYDsOEJflSQjOl0KpxfY1mcEO3U72eOo=",
|
"signature": "MEQCICRtSXVnY7yQczg6h4/2WV2Bmfjy0pX04OSQekgbzbdWAiAU1OqcBey9wS292o6qqkwB+qgbucutw4pogwutWBP9Ug==",
|
||||||
"signature_header": {
|
"signature_header": {
|
||||||
"creator": {
|
"creator": {
|
||||||
"id_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNLVENDQWRDZ0F3SUJBZ0lSQUtQelI2OUd5Ry9DWFZ4VWFHclZKbGN3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpJdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaekl1WlhoaGJYQnNaUzVqYjIwd0hoY05NakF3TWpJeE1UZ3lOREF3V2hjTk16QXdNakU0TVRneU5EQXcKV2pCck1Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwW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RR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFT01Bd0dBMVVFQ3hNRllXUnRhVzR4SHpBZEJnTlZCQU1NRmtGa2JXbHVRRzl5Clp6SXVaWGhoYlhCc1pTNWpiMjB3V1RBVEJnY3Foa2pPUFFJQkJnZ3Foa2pPUFFNQkJ3TkNBQVFXdDkrTWRXMXIKdU43U2NtT2ZXU0JuV251MnZWNWhyREs0c3Z3c2xpWnYxV0dIdWNkaEdEKzdXY1Z0NU1YVi9BL1lOSWh1bnVSRQp5SUh1VDVYb1dXZUZvMDB3U3pBT0JnTlZIUThCQWY4RUJBTUNCNEF3REFZRFZSMFRBUUgvQkFJd0FEQXJCZ05WCkhTTUVKREFpZ0NBcDlwTkhmWEtwSm1pbGp1czk2KzlYZ0xQbENwUzBnNEpBQUJtd3FkRlZQVEFLQmdncWhrak8KUFFRREFnTkhBREJFQWlCRHI1N0VPYyttWTlCeFhKaHBDM1lERUNwbHNvQm9jZmxjMSsyNG1qMy9qQUlnViswZwpEUEg1RmlNbzY3V2RPOVBCSm1mQ1lTYVBzKzI1dDJJQnZQczN4MHM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
|
||||||
"mspid": "Org2MSP"
|
"mspid": "Org2MSP"
|
||||||
},
|
},
|
||||||
"nonce": "Bgq9+1on+EgIrbiSsD21LIzgo7ykzOSI"
|
"nonce": "TSss6CGxQ8Mx+3DoLXrb4qwn/ac3L3N+"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -925,7 +925,7 @@
|
||||||
"channel_id": "businesschannel",
|
"channel_id": "businesschannel",
|
||||||
"epoch": "0",
|
"epoch": "0",
|
||||||
"extension": null,
|
"extension": null,
|
||||||
"timestamp": "2020-05-20T18:20:05Z",
|
"timestamp": "2020-06-03T16:55:50Z",
|
||||||
"tls_cert_hash": null,
|
"tls_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ak8KUFFRREFnTkhBREJFQWlCRHI1N0VPYyttWTlCeFhKaHBDM1lERUNwbHNvQm9jZmxjMSsyNG1qMy9qQUlnViswZwpEUEg1RmlNbzY3V2RPOVBCSm1mQ1lTYVBzKzI1dDJJQnZQczN4MHM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
|
||||||
"mspid": "Org2MSP"
|
"mspid": "Org2MSP"
|
||||||
},
|
},
|
||||||
"nonce": "3g3f8VKceByx6GghB4XTcM+WqI27ADsd"
|
"nonce": "gHsnbiTlnmoVfHbe5DvS2L9bF4VsVinc"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"signature": "MEQCIA/gV1NAPiYdcuM/XueRzgL+BouNkUwxiUxJcoxF/wMEAiB4qq5Uk0yZvMc2EHisKwXMLK+uTUI+weVePbVnJEzYHQ=="
|
"signature": "MEUCIQDNFqdjEZHJ+7Vf7YLxkUdrbDvWiyaAwQBroOTZck3rkgIgYdHC+EvhtxMUnOcgxzxCaOYyg+D6mkF4hIVqNudLrks="
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"header": {
|
"header": {
|
||||||
|
@ -948,7 +948,7 @@
|
||||||
"channel_id": "businesschannel",
|
"channel_id": "businesschannel",
|
||||||
"epoch": "0",
|
"epoch": "0",
|
||||||
"extension": null,
|
"extension": null,
|
||||||
"timestamp": "2020-05-20T18:20:05Z",
|
"timestamp": "2020-06-03T16:55:50Z",
|
||||||
"tls_cert_hash": null,
|
"tls_cert_hash": null,
|
||||||
"tx_id": "",
|
"tx_id": "",
|
||||||
"type": 1,
|
"type": 1,
|
||||||
|
@ -959,22 +959,22 @@
|
||||||
"id_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNIekNDQWNhZ0F3SUJBZ0lSQU1uN3FsZ0ZzbTVGZ2YxbkN3emtObU13Q2dZSUtvWkl6ajBFQXdJd2FURUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ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9leO6oQvK8P0BP6++wy9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"signature": "MEUCIQDxYMYMXUhrWNNV1lWqkTJZ6ZZmvgu13NdtHs32Dj7rrgIgC4TNPNSjIRRnzI7XZ71dVVkr3kpSD/dfvyPCzBA8S8U="
|
"signature": "MEQCIFKa3Xc9080MYz+LRjBYJ8A/8A/H511o5hcaviTrpXptAiBZ1pZToI23yCHD/B8zZ3vaUobEH1c3BccE3QPPVjY7Qg=="
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"header": {
|
"header": {
|
||||||
"data_hash": "ECP44VBzIS3VbH+wJl7RyKuBnOMwdmglenuvEHgL4bw=",
|
"data_hash": "j5tmj2H9CaZaML/q2I2JzNnQlCTU+8Jv8fDvaDa2Gl4=",
|
||||||
"number": "2",
|
"number": "2",
|
||||||
"previous_hash": "pulwY+PomB4U/SpvPdkkKDDaASzAbT/KQ6nIBGt/p4w="
|
"previous_hash": "gEbihMg/K6CWy6YQOGOrB3laq6LmuC4VwjZGG/wkdG8="
|
||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"metadata": [
|
"metadata": [
|
||||||
"ChEKAggCEgsKCQoDAQIDEAQYBhKWBwrKBgqtBgoKT3JkZXJlck1TUBKeBi0tLS0tQkVHSU4gQ0VSVElGSUNBVEUtLS0tLQpNSUlDSHpDQ0FjYWdBd0lCQWdJUkFNbjdxbGdGc201RmdmMW5Dd3prTm1Nd0NnWUlLb1pJemowRUF3SXdhVEVMCk1Ba0dBMVVFQmhNQ1ZWTXhFekFSQmdOVkJBZ1RDa05oYkdsbWIzSnVhV0V4RmpBVUJnTlZCQWNURFZOaGJpQkcKY21GdVkybHpZMjh4RkRBU0JnTlZCQW9UQzJWNFlXMXdiR1V1WTI5dE1SY3dGUVlEVlFRREV3NWpZUzVsZUdGdApjR3hsTG1OdmJUQWVGdzB5TURBeU1qRXhPREkwTURCYUZ3MHpNREF5T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iHPX0GSB+6karSLze3",
|
||||||
"CgIIAg==",
|
"CgIIAg==",
|
||||||
"",
|
"",
|
||||||
"CgkKAwECAxAEGAY=",
|
"CgkKAwECAxAEGAY=",
|
||||||
|
|
|
@ -328,38 +328,38 @@
|
||||||
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.groups.Application.version=1
|
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.groups.Application.version=1
|
||||||
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.mod_policy=
|
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.mod_policy=
|
||||||
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.version=0
|
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.version=0
|
||||||
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature=MEUCIQDKs+gjw2BFlMWDtvzBkXT7b0XOXzdXT2MXShO0beQxJAIgMGKeVowKWVvUYDsOEJflSQjOl0KpxfY1mcEO3U72eOo=
|
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature=MEQCICRtSXVnY7yQczg6h4/2WV2Bmfjy0pX04OSQekgbzbdWAiAU1OqcBey9wS292o6qqkwB+qgbucutw4pogwutWBP9Ug==
|
||||||
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICKTCCAdCgAwIBAgIRAKPzR69GyG/CXVxUaGrVJlcwCgYIKoZIzj0EAwIwczEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh\nLm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMjIxMTgyNDAwWhcNMzAwMjE4MTgyNDAw\nWjBrMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEOMAwGA1UECxMFYWRtaW4xHzAdBgNVBAMMFkFkbWluQG9y\nZzIuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQWt9+MdW1r\nuN7ScmOfWSBnWnu2vV5hrDK4svwsliZv1WGHucdhGD+7WcVt5MXV/A/YNIhunuRE\nyIHuT5XoWWeFo00wSzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADArBgNV\nHSMEJDAigCAp9pNHfXKpJmiljus96+9XgLPlCpS0g4JAABmwqdFVPTAKBggqhkjO\nPQQDAgNHADBEAiBDr57EOc+mY9BxXJhpC3YDECplsoBocflc1+24mj3/jAIgV+0g\nDPH5FiMo67WdO9PBJmfCYSaPs+25t2IBvPs3x0s=\n-----END CERTIFICATE-----\n')
|
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICKTCCAdCgAwIBAgIRAKPzR69GyG/CXVxUaGrVJlcwCgYIKoZIzj0EAwIwczEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh\nLm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMjIxMTgyNDAwWhcNMzAwMjE4MTgyNDAw\nWjBrMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEOMAwGA1UECxMFYWRtaW4xHzAdBgNVBAMMFkFkbWluQG9y\nZzIuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQWt9+MdW1r\nuN7ScmOfWSBnWnu2vV5hrDK4svwsliZv1WGHucdhGD+7WcVt5MXV/A/YNIhunuRE\nyIHuT5XoWWeFo00wSzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADArBgNV\nHSMEJDAigCAp9pNHfXKpJmiljus96+9XgLPlCpS0g4JAABmwqdFVPTAKBggqhkjO\nPQQDAgNHADBEAiBDr57EOc+mY9BxXJhpC3YDECplsoBocflc1+24mj3/jAIgV+0g\nDPH5FiMo67WdO9PBJmfCYSaPs+25t2IBvPs3x0s=\n-----END CERTIFICATE-----\n')
|
||||||
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.creator.mspid=Org2MSP
|
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.creator.mspid=Org2MSP
|
||||||
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.nonce=Bgq9+1on+EgIrbiSsD21LIzgo7ykzOSI
|
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.nonce=TSss6CGxQ8Mx+3DoLXrb4qwn/ac3L3N+
|
||||||
.data.data[0].payload.data.last_update.payload.header.channel_header.channel_id=businesschannel
|
.data.data[0].payload.data.last_update.payload.header.channel_header.channel_id=businesschannel
|
||||||
.data.data[0].payload.data.last_update.payload.header.channel_header.epoch=0
|
.data.data[0].payload.data.last_update.payload.header.channel_header.epoch=0
|
||||||
.data.data[0].payload.data.last_update.payload.header.channel_header.extension=None
|
.data.data[0].payload.data.last_update.payload.header.channel_header.extension=None
|
||||||
.data.data[0].payload.data.last_update.payload.header.channel_header.timestamp=2020-05-20T18:20:05Z
|
.data.data[0].payload.data.last_update.payload.header.channel_header.timestamp=2020-06-03T16:55:50Z
|
||||||
.data.data[0].payload.data.last_update.payload.header.channel_header.tls_cert_hash=None
|
.data.data[0].payload.data.last_update.payload.header.channel_header.tls_cert_hash=None
|
||||||
.data.data[0].payload.data.last_update.payload.header.channel_header.tx_id=
|
.data.data[0].payload.data.last_update.payload.header.channel_header.tx_id=
|
||||||
.data.data[0].payload.data.last_update.payload.header.channel_header.type=2
|
.data.data[0].payload.data.last_update.payload.header.channel_header.type=2
|
||||||
.data.data[0].payload.data.last_update.payload.header.channel_header.version=0
|
.data.data[0].payload.data.last_update.payload.header.channel_header.version=0
|
||||||
.data.data[0].payload.data.last_update.payload.header.signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICKTCCAdCgAwIBAgIRAKPzR69GyG/CXVxUaGrVJlcwCgYIKoZIzj0EAwIwczEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh\nLm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMjIxMTgyNDAwWhcNMzAwMjE4MTgyNDAw\nWjBrMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEOMAwGA1UECxMFYWRtaW4xHzAdBgNVBAMMFkFkbWluQG9y\nZzIuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQWt9+MdW1r\nuN7ScmOfWSBnWnu2vV5hrDK4svwsliZv1WGHucdhGD+7WcVt5MXV/A/YNIhunuRE\nyIHuT5XoWWeFo00wSzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADArBgNV\nHSMEJDAigCAp9pNHfXKpJmiljus96+9XgLPlCpS0g4JAABmwqdFVPTAKBggqhkjO\nPQQDAgNHADBEAiBDr57EOc+mY9BxXJhpC3YDECplsoBocflc1+24mj3/jAIgV+0g\nDPH5FiMo67WdO9PBJmfCYSaPs+25t2IBvPs3x0s=\n-----END CERTIFICATE-----\n')
|
.data.data[0].payload.data.last_update.payload.header.signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICKTCCAdCgAwIBAgIRAKPzR69GyG/CXVxUaGrVJlcwCgYIKoZIzj0EAwIwczEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh\nLm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMjIxMTgyNDAwWhcNMzAwMjE4MTgyNDAw\nWjBrMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEOMAwGA1UECxMFYWRtaW4xHzAdBgNVBAMMFkFkbWluQG9y\nZzIuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQWt9+MdW1r\nuN7ScmOfWSBnWnu2vV5hrDK4svwsliZv1WGHucdhGD+7WcVt5MXV/A/YNIhunuRE\nyIHuT5XoWWeFo00wSzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADArBgNV\nHSMEJDAigCAp9pNHfXKpJmiljus96+9XgLPlCpS0g4JAABmwqdFVPTAKBggqhkjO\nPQQDAgNHADBEAiBDr57EOc+mY9BxXJhpC3YDECplsoBocflc1+24mj3/jAIgV+0g\nDPH5FiMo67WdO9PBJmfCYSaPs+25t2IBvPs3x0s=\n-----END CERTIFICATE-----\n')
|
||||||
.data.data[0].payload.data.last_update.payload.header.signature_header.creator.mspid=Org2MSP
|
.data.data[0].payload.data.last_update.payload.header.signature_header.creator.mspid=Org2MSP
|
||||||
.data.data[0].payload.data.last_update.payload.header.signature_header.nonce=3g3f8VKceByx6GghB4XTcM+WqI27ADsd
|
.data.data[0].payload.data.last_update.payload.header.signature_header.nonce=gHsnbiTlnmoVfHbe5DvS2L9bF4VsVinc
|
||||||
.data.data[0].payload.data.last_update.signature=MEQCIA/gV1NAPiYdcuM/XueRzgL+BouNkUwxiUxJcoxF/wMEAiB4qq5Uk0yZvMc2EHisKwXMLK+uTUI+weVePbVnJEzYHQ==
|
.data.data[0].payload.data.last_update.signature=MEUCIQDNFqdjEZHJ+7Vf7YLxkUdrbDvWiyaAwQBroOTZck3rkgIgYdHC+EvhtxMUnOcgxzxCaOYyg+D6mkF4hIVqNudLrks=
|
||||||
.data.data[0].payload.header.channel_header.channel_id=businesschannel
|
.data.data[0].payload.header.channel_header.channel_id=businesschannel
|
||||||
.data.data[0].payload.header.channel_header.epoch=0
|
.data.data[0].payload.header.channel_header.epoch=0
|
||||||
.data.data[0].payload.header.channel_header.extension=None
|
.data.data[0].payload.header.channel_header.extension=None
|
||||||
.data.data[0].payload.header.channel_header.timestamp=2020-05-20T18:20:05Z
|
.data.data[0].payload.header.channel_header.timestamp=2020-06-03T16:55:50Z
|
||||||
.data.data[0].payload.header.channel_header.tls_cert_hash=None
|
.data.data[0].payload.header.channel_header.tls_cert_hash=None
|
||||||
.data.data[0].payload.header.channel_header.tx_id=
|
.data.data[0].payload.header.channel_header.tx_id=
|
||||||
.data.data[0].payload.header.channel_header.type=1
|
.data.data[0].payload.header.channel_header.type=1
|
||||||
.data.data[0].payload.header.channel_header.version=0
|
.data.data[0].payload.header.channel_header.version=0
|
||||||
.data.data[0].payload.header.signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICHzCCAcagAwIBAgIRAMn7qlgFsm5Fgf1nCwzkNmMwCgYIKoZIzj0EAwIwaTEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt\ncGxlLmNvbTAeFw0yMDAyMjExODI0MDBaFw0zMDAyMTgxODI0MDBaMGsxCzAJBgNV\nBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp\nc2NvMRAwDgYDVQQLEwdvcmRlcmVyMR0wGwYDVQQDExRvcmRlcmVyMC5leGFtcGxl\nLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLs9md+OWM+yyDfdtG7j3YPt\n2PmfAqYGKv/aWg97LVUsivwM2EfEBznAY1itOQ9saFPa/6b5E5sTdJ8hOWdGB6aj\nTTBLMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIG5R\nMUg8d/DSeI13KleTU6VPMqCzB2+L04wnGck528awMAoGCCqGSM49BAMCA0cAMEQC\nIAL39dmJ3fjOcTbRp2haVEFYZTdkuhl92/0o9FvwzH5JAiBYRMr0bWD00thP0giN\nWJ3lSBQ/BUZnxtqUKZb5f082AQ==\n-----END CERTIFICATE-----\n')
|
.data.data[0].payload.header.signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICHzCCAcagAwIBAgIRAMn7qlgFsm5Fgf1nCwzkNmMwCgYIKoZIzj0EAwIwaTEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt\ncGxlLmNvbTAeFw0yMDAyMjExODI0MDBaFw0zMDAyMTgxODI0MDBaMGsxCzAJBgNV\nBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp\nc2NvMRAwDgYDVQQLEwdvcmRlcmVyMR0wGwYDVQQDExRvcmRlcmVyMC5leGFtcGxl\nLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLs9md+OWM+yyDfdtG7j3YPt\n2PmfAqYGKv/aWg97LVUsivwM2EfEBznAY1itOQ9saFPa/6b5E5sTdJ8hOWdGB6aj\nTTBLMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIG5R\nMUg8d/DSeI13KleTU6VPMqCzB2+L04wnGck528awMAoGCCqGSM49BAMCA0cAMEQC\nIAL39dmJ3fjOcTbRp2haVEFYZTdkuhl92/0o9FvwzH5JAiBYRMr0bWD00thP0giN\nWJ3lSBQ/BUZnxtqUKZb5f082AQ==\n-----END CERTIFICATE-----\n')
|
||||||
.data.data[0].payload.header.signature_header.creator.mspid=OrdererMSP
|
.data.data[0].payload.header.signature_header.creator.mspid=OrdererMSP
|
||||||
.data.data[0].payload.header.signature_header.nonce=x8eX7DdwthMuectr0ZC9wYq9HAIotKfl
|
.data.data[0].payload.header.signature_header.nonce=hAsfmmnU2dml9leO6oQvK8P0BP6++wy9
|
||||||
.data.data[0].signature=MEUCIQDxYMYMXUhrWNNV1lWqkTJZ6ZZmvgu13NdtHs32Dj7rrgIgC4TNPNSjIRRnzI7XZ71dVVkr3kpSD/dfvyPCzBA8S8U=
|
.data.data[0].signature=MEQCIFKa3Xc9080MYz+LRjBYJ8A/8A/H511o5hcaviTrpXptAiBZ1pZToI23yCHD/B8zZ3vaUobEH1c3BccE3QPPVjY7Qg==
|
||||||
.header.data_hash=ECP44VBzIS3VbH+wJl7RyKuBnOMwdmglenuvEHgL4bw=
|
.header.data_hash=j5tmj2H9CaZaML/q2I2JzNnQlCTU+8Jv8fDvaDa2Gl4=
|
||||||
.header.number=2
|
.header.number=2
|
||||||
.header.previous_hash=pulwY+PomB4U/SpvPdkkKDDaASzAbT/KQ6nIBGt/p4w=
|
.header.previous_hash=gEbihMg/K6CWy6YQOGOrB3laq6LmuC4VwjZGG/wkdG8=
|
||||||
.metadata.metadata[0]=ChEKAggCEgsKCQoDAQIDEAQYBhKWBwrKBgqtBgoKT3JkZXJlck1TUBKeBi0tLS0tQkVHSU4gQ0VSVElGSUNBVEUtLS0tLQpNSUlDSHpDQ0FjYWdBd0lCQWdJUkFNbjdxbGdGc201RmdmMW5Dd3prTm1Nd0NnWUlLb1pJemowRUF3SXdhVEVMCk1Ba0dBMVVFQmhNQ1ZWTXhFekFSQmdOVkJBZ1RDa05oYkdsbWIzSnVhV0V4RmpBVUJnTlZCQWNURFZOaGJpQkcKY21GdVkybHpZMjh4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DRVJUSUZJQ0FURS0tLS0tChIYa+pXkFRaF0/ZGVJTALRbVicCRa6U7q6BEkYwRAIgYWCTPbUJ6dJEtBRDnNeMHgahFN7nYC0L9D18bTz3droCIFOuaJY2X3Lk/4GExCcLo/UkeSiHPX0GSB+6karSLze3
|
||||||
.metadata.metadata[1]=CgIIAg==
|
.metadata.metadata[1]=CgIIAg==
|
||||||
.metadata.metadata[2]=
|
.metadata.metadata[2]=
|
||||||
.metadata.metadata[3]=CgkKAwECAxAEGAY=
|
.metadata.metadata[3]=CgkKAwECAxAEGAY=
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,41 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Importing useful functions for cc testing
|
||||||
|
if [ -f ./func.sh ]; then
|
||||||
|
source ./func.sh
|
||||||
|
elif [ -f scripts/func.sh ]; then
|
||||||
|
source scripts/func.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
# test sideDB feature
|
||||||
|
|
||||||
|
#chaincodeInstantiate "${APP_CHANNEL}" 1 0 ${CC_MARBLES_NAME} ${CC_INIT_VERSION} ${CC_MARBLES_INIT_ARGS} ${CC_MARBLES_COLLECTION_CONFIG}
|
||||||
|
|
||||||
|
# both org1 and org2 can invoke
|
||||||
|
#chaincodeInvoke ${APP_CHANNEL} 1 0 ${CC_MARBLES_NAME} ${CC_MARBLES_INVOKE_INIT_ARGS}
|
||||||
|
|
||||||
|
#chaincodeInvoke ${APP_CHANNEL} 1 0 ${CC_MARBLES_NAME} ${CC_MARBLES_INVOKE_INIT_ARGS}
|
||||||
|
|
||||||
|
#chaincodeQuery ${APP_CHANNEL} 1 0 ${CC_MARBLES_NAME} ${CC_MARBLES_QUERY_READPVTDETAILS_ARGS}
|
||||||
|
#chaincodeQuery ${APP_CHANNEL} 2 0 ${CC_MARBLES_NAME} ${CC_MARBLES_QUERY_READ_ARGS}
|
||||||
|
#chaincodeQuery 1 0 "${ORG1_PEER0_URL}" "${ORG1_PEER0_TLS_ROOTCERT}" ${APP_CHANNEL} ${CC_MARBLES_NAME} ${CC_MARBLES_QUERY_READPVTDETAILS_ARGS_2}
|
||||||
|
|
||||||
|
CC_NAME=${CC_NAME:-$CC_02_NAME}
|
||||||
|
|
||||||
|
cd /etc/hyperledger/fabric/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com
|
||||||
|
|
||||||
|
USER_KEY=`ls msp/keystore`
|
||||||
|
|
||||||
|
discover \
|
||||||
|
--peerTLSCA tls/ca.crt \
|
||||||
|
--userKey msp/keystore/${USER_KEY} \
|
||||||
|
--userCert msp/signcerts/Admin\@org1.example.com-cert.pem \
|
||||||
|
--MSP Org1MSP \
|
||||||
|
--tlsCert tls/client.crt \
|
||||||
|
--tlsKey tls/client.key \
|
||||||
|
endorsers \
|
||||||
|
--server peer0.org1.example.com:7051 \
|
||||||
|
--channel ${APP_CHANNEL} \
|
||||||
|
--chaincode ${CC_NAME}
|
||||||
|
|
||||||
|
exit
|
Loading…
Reference in New Issue