This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-05-18 11:45:47.993 PDT [ledgermgmt] CreateLedger -> INFO 017 Creating ledger [tracktrace] with genesis block | |
2020-05-18 11:45:48.002 PDT [fsblkstorage] newBlockfileMgr -> INFO 018 Getting block information from block storage | |
2020-05-18 11:45:48.071 PDT [couchdb] CreateDatabaseIfNotExist -> INFO 019 Created state database tracktrace_ | |
2020-05-18 11:45:48.115 PDT [couchdb] CreateDatabaseIfNotExist -> INFO 01a Created state database tracktrace__lifecycle | |
2020-05-18 11:45:48.218 PDT [kvledger] CommitLegacy -> INFO 01b [tracktrace] Committed block [0] with 1 transaction(s) in 91ms (state_validation=1ms block_and_pvtdata_commit=20ms state_commit=62ms) commitHash=[] | |
2020-05-18 11:45:48.225 PDT [ledgermgmt] CreateLedger -> INFO 01c Created ledger [tracktrace] with genesis block | |
2020-05-18 11:45:48.244 PDT [peer.orderers] Update -> WARN 01d Config defines both orderer org specific endpoints and global endpoints, global endpoints will be ignored channel=tracktrace | |
2020-05-18 11:45:48.247 PDT [gossip.gossip] JoinCha |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ configtxlator proto_decode --input ./genesis.block --type common.Block | |
{ | |
"data": { | |
"data": [ | |
{ | |
"payload": { | |
"data": { | |
"config": { | |
"channel_group": { | |
"groups": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ configtxlator proto_decode --input ./tracktrace.block --type common.Block | |
{ | |
"data": { | |
"data": [ | |
{ | |
"payload": { | |
"data": { | |
"config": { | |
"channel_group": { | |
"groups": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-> strace gpasswd -a sjain68 docker | |
execve("/bin/gpasswd", ["gpasswd", "-a", "sjain68", "docker"], [/* 20 vars */]) = 0 | |
brk(NULL) = 0x55776b6e3000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f795f53f000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=32065, ...}) = 0 | |
mmap(NULL, 32065, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f795f537000 | |
close(3) = 0 | |
open("/lib64/libaudit.so.1", O_RDONLY|O_CLOEXEC) = 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./run-biotor.sh | |
2020-04-21 15:22:40.830 PDT [nodeCmd] serve -> INFO 001 Starting peer: | |
Version: 2.0.1 | |
Commit SHA: 1cfa5da98 | |
Go version: go1.13.4 | |
OS/Arch: darwin/amd64 | |
Chaincode: | |
Base Docker Namespace: hyperledger | |
Base Docker Label: org.hyperledger.fabric | |
Docker Namespace: hyperledger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./run-biotor-orderer.sh | |
2020-04-20 16:48:52.608 PDT [localconfig] completeInitialization -> INFO 001 Kafka.Version unset, setting to 0.10.2.0 | |
2020-04-20 16:48:52.608 PDT [orderer.common.server] prettyPrintStruct -> INFO 002 Orderer config values: | |
General.ListenAddress = "0.0.0.0" | |
General.ListenPort = 7050 | |
General.TLS.Enabled = false | |
General.TLS.PrivateKey = "/Users/sjain68/go/src/github.com/siddjain/phf/three-org-network/tls/server.key" | |
General.TLS.Certificate = "/Users/sjain68/go/src/github.com/siddjain/phf/three-org-network/tls/server.crt" | |
General.TLS.RootCAs = [/Users/sjain68/go/src/github.com/siddjain/phf/three-org-network/tls/ca.crt] | |
General.TLS.ClientAuthRequired = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./run-keyp-orderer.sh | |
2020-04-20 16:40:34.459 PDT [localconfig] completeInitialization -> INFO 001 Kafka.Version unset, setting to 0.10.2.0 | |
2020-04-20 16:40:34.460 PDT [orderer.common.server] prettyPrintStruct -> INFO 002 Orderer config values: | |
General.ListenAddress = "0.0.0.0" | |
General.ListenPort = 7052 | |
General.TLS.Enabled = false | |
General.TLS.PrivateKey = "/Users/sjain68/go/src/github.com/siddjain/phf/three-org-network/tls/server.key" | |
General.TLS.Certificate = "/Users/sjain68/go/src/github.com/siddjain/phf/three-org-network/tls/server.crt" | |
General.TLS.RootCAs = [/Users/sjain68/go/src/github.com/siddjain/phf/three-org-network/tls/ca.crt] | |
General.TLS.ClientAuthRequired = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ configtxlator proto_decode --input ./genesis.block --type common.Block | |
{ | |
"data": { | |
"data": [ | |
{ | |
"payload": { | |
"data": { | |
"config": { | |
"channel_group": { | |
"groups": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tree crypto-config | |
crypto-config | |
└── peerOrganizations | |
├── biotor.com | |
│ ├── ca | |
│ │ ├── ca.biotor.com-cert.pem | |
│ │ └── priv_sk | |
│ ├── msp | |
│ │ ├── admincerts | |
│ │ ├── cacerts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function my_custom_post_product() { | |
$labels = array( | |
'name' => _x( 'Articles', 'post type general name' ), | |
'singular_name' => _x( 'Article', 'post type singular name' ), | |
'add_new' => _x( 'Add New', 'article' ), | |
'add_new_item' => __( 'Add New Article' ), | |
'edit_item' => __( 'Edit Article' ), | |
'new_item' => __( 'New Article' ), | |
'all_items' => __( 'All Articles' ), | |
'view_item' => __( 'View Article' ), |