├── protos ├── .protoroot └── ledger │ ├── ledgerset.proto │ └── transet │ ├── transet.proto │ └── kvtranset │ └── kv_transet.proto ├── .dockerignore ├── .baseimage-release ├── examples ├── cli_test │ ├── .env │ ├── channel │ │ ├── mychannel.tx │ │ ├── genesis.block │ │ └── crypto-config │ │ │ ├── ordererOrganizations │ │ │ └── example.com │ │ │ │ ├── users │ │ │ │ └── Admin@example.com │ │ │ │ │ ├── tls │ │ │ │ │ └── server.key │ │ │ │ │ └── msp │ │ │ │ │ └── keystore │ │ │ │ │ └── db670eed8487a93c35ae448b9f84c2f241a7a8c87df0544fc1dc08baf7832aa0_sk │ │ │ │ ├── orderers │ │ │ │ └── orderer.example.com │ │ │ │ │ ├── tls │ │ │ │ │ └── server.key │ │ │ │ │ └── msp │ │ │ │ │ └── keystore │ │ │ │ │ └── 2fb065725bf1b7e2811c0e8ca8d37f5a951fc4cd1162a47aad8accf9ddd10291_sk │ │ │ │ ├── ca │ │ │ │ └── 0d46ccf0e9436c1bc3b6e2bf80cdb202c4943604f95c72ee0ff839d3ec300719_sk │ │ │ │ └── tlsca │ │ │ │ └── 6a211ed18880b4db3867831c977809902713b8e321a5ab55ecc104dafc2eec49_sk │ │ │ └── peerOrganizations │ │ │ ├── org1.example.com │ │ │ ├── peers │ │ │ │ ├── peer0.org1.example.com │ │ │ │ │ ├── tls │ │ │ │ │ │ └── server.key │ │ │ │ │ └── msp │ │ │ │ │ │ └── keystore │ │ │ │ │ │ └── 27db82c96b1482480baa1c75f80e5cce249beaab27b70c741bb0e2554355957e_sk │ │ │ │ └── peer1.org1.example.com │ │ │ │ │ ├── tls │ │ │ │ │ └── server.key │ │ │ │ │ └── msp │ │ │ │ │ └── keystore │ │ │ │ │ └── fdee12a3510fde3155c37128cfec26090ae249bfbca28f884e60c21338493edd_sk │ │ │ ├── users │ │ │ │ ├── Admin@org1.example.com │ │ │ │ │ ├── tls │ │ │ │ │ │ └── server.key │ │ │ │ │ └── msp │ │ │ │ │ │ └── keystore │ │ │ │ │ │ └── 5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8_sk │ │ │ │ └── User1@org1.example.com │ │ │ │ │ ├── tls │ │ │ │ │ └── server.key │ │ │ │ │ └── msp │ │ │ │ │ └── keystore │ │ │ │ │ └── 73cdc0072c7203f1ec512232c780fc84acc9752ef30ebc16be1f4666c02b614b_sk │ │ │ ├── ca │ │ │ │ └── 0e729224e8b3f31784c8a93c5b8ef6f4c1c91d9e6e577c45c33163609fe40011_sk │ │ │ └── tlsca │ │ │ │ └── 945092d936f5838c5a6f6484db974d857933706737d00d04bf65f74e3976f9f8_sk │ │ │ └── org2.example.com │ │ │ ├── peers │ │ │ ├── peer0.org2.example.com │ │ │ │ ├── tls │ │ │ │ │ └── server.key │ │ │ │ └── msp │ │ │ │ │ └── keystore │ │ │ │ │ └── 0d9f72608133ee627b570b6af6877666bc8f365746f9329d6dd8a5f54e53e2ab_sk │ │ │ └── peer1.org2.example.com │ │ │ │ ├── tls │ │ │ │ └── server.key │ │ │ │ └── msp │ │ │ │ └── keystore │ │ │ │ └── 27ccb54a06020260c66c65bec91f91e1c9043e3076d3d6128692e7271c4c7a2c_sk │ │ │ ├── users │ │ │ ├── Admin@org2.example.com │ │ │ │ ├── tls │ │ │ │ │ └── server.key │ │ │ │ └── msp │ │ │ │ │ └── keystore │ │ │ │ │ └── 1995b11d6573ed3be52fcd7a5fa477bc0f183e1f5f398c8281d0ce7c2c75a076_sk │ │ │ └── User1@org2.example.com │ │ │ │ ├── tls │ │ │ │ └── server.key │ │ │ │ └── msp │ │ │ │ └── keystore │ │ │ │ └── 585175c83bac91fc0c1ce8f9d0ff9aefa47c565678f100ca8673db249ee785ac_sk │ │ │ ├── ca │ │ │ └── a7d47efa46a6ba07730c850fed2c1375df27360d7227f48cdc2f80e505678005_sk │ │ │ └── tlsca │ │ │ └── 7bb8ba3ff11d3c8cf592bd4326062e77d06ac4963c7b7ae459284dfbd3eb5aac_sk │ ├── scripts │ │ ├── creative │ │ │ └── README.md │ │ └── header.sh │ └── clean-environment.sh ├── creative │ └── scripts │ │ └── .env └── xc │ ├── qtum │ ├── deploy_status.sh │ ├── generate.sh │ ├── login.sh │ ├── bak │ │ ├── _make_some_qtum.sh │ │ ├── node2_qtumd.conf │ │ ├── node3_qtumd.conf │ │ └── node1_qtumd.conf │ ├── stop.sh │ ├── test │ │ ├── XC │ │ │ ├── call │ │ │ │ ├── getINK.sh │ │ │ │ ├── getAdmin.sh │ │ │ │ ├── getStatus.sh │ │ │ │ ├── getXCPlugin.sh │ │ │ │ ├── lockBalance.sh │ │ │ │ └── getPlatformName.sh │ │ │ └── send │ │ │ │ ├── start.sh │ │ │ │ ├── stop.sh │ │ │ │ ├── lock.sh │ │ │ │ ├── setAdmin.sh │ │ │ │ ├── setINK.sh │ │ │ │ ├── setXCPlugin.sh │ │ │ │ ├── withdrawal.sh │ │ │ │ ├── lockAdmin.sh │ │ │ │ ├── setPlatformName.sh │ │ │ │ ├── unlock.sh │ │ │ │ └── unlockAdmin.sh │ │ ├── INK │ │ │ ├── call │ │ │ │ ├── name.sh │ │ │ │ ├── symbol.sh │ │ │ │ ├── decimals.sh │ │ │ │ ├── totalSupply.sh │ │ │ │ ├── balanceOf.sh │ │ │ │ └── allowance.sh │ │ │ ├── send │ │ │ │ ├── approve.sh │ │ │ │ ├── transfer.sh │ │ │ │ └── transferFrom.sh │ │ │ └── todo │ │ │ │ ├── approveAndCall.sh │ │ │ │ ├── decreaseApproval.sh │ │ │ │ └── increaseApproval.sh │ │ └── XCPlugin │ │ │ ├── call │ │ │ ├── getStatus.sh │ │ │ ├── getAdmin.sh │ │ │ ├── getPlatformName.sh │ │ │ ├── getProposal.sh │ │ │ ├── getWeight.sh │ │ │ ├── getPlatform.sh │ │ │ ├── existPlatform.sh │ │ │ ├── countOfPublicKey.sh │ │ │ └── verifyProposal.sh │ │ │ └── send │ │ │ ├── stop.sh │ │ │ ├── start.sh │ │ │ ├── setAdmin.sh │ │ │ ├── addPlatform.sh │ │ │ ├── setWeight.sh │ │ │ ├── addCaller.sh │ │ │ ├── addPublicKey.sh │ │ │ ├── deleteCaller.sh │ │ │ ├── deletePlatform.sh │ │ │ ├── deleteProposal.sh │ │ │ ├── deletePublicKey.sh │ │ │ ├── setPlatformName.sh │ │ │ └── voter.sh │ ├── download_images.sh │ ├── deploy.sh │ ├── contracts │ │ └── compile.sh │ ├── asset.sh │ ├── remove.sh │ ├── start.sh │ ├── dapp │ │ └── package.json │ └── p_read.sh │ ├── eth │ ├── console.sh │ ├── init.sh │ ├── stop.sh │ ├── deploy_status.sh │ ├── p_read.sh │ ├── remove.sh │ ├── start.sh │ ├── genesis.json │ ├── contracts │ │ └── compile.sh │ ├── p_init.sh │ └── deploy.sh │ ├── eth-v1.0.2 │ ├── compileXC.sh │ ├── compileToken.sh │ ├── compileXCP.sh │ └── Token.sol │ ├── eth-v1.0.3 │ ├── compileXC.sh │ ├── compileToken.sh │ ├── compileXCP.sh │ └── Token.sol │ ├── qtum-v1.0.2 │ ├── compileXC.sh │ ├── compileToken.sh │ ├── compileXCP.sh │ └── Token.sol │ └── qtum-v1.0.3 │ ├── compileXC.sh │ ├── compileToken.sh │ ├── compileXCP.sh │ └── Token.sol ├── common └── crypto │ └── secp256k1 │ ├── libsecp256k1 │ ├── obj │ │ └── .gitignore │ ├── autogen.sh │ ├── TODO │ ├── src │ │ ├── modules │ │ │ ├── ecdh │ │ │ │ └── Makefile.am.include │ │ │ └── recovery │ │ │ │ └── Makefile.am.include │ │ ├── java │ │ │ └── org_bitcoin_Secp256k1Context.c │ │ ├── scalar_low.h │ │ └── ecmult_const.h │ └── libsecp256k1.pc.in │ └── .gitignore ├── core ├── chaincode │ ├── platforms │ │ ├── util │ │ │ ├── hashtestfiles1 │ │ │ │ ├── a.txt │ │ │ │ ├── b.txt │ │ │ │ ├── b │ │ │ │ │ ├── c.txt │ │ │ │ │ └── c │ │ │ │ │ │ └── c1.txt │ │ │ │ └── a │ │ │ │ │ ├── a1.txt │ │ │ │ │ └── a2.txt │ │ │ └── hashtestfiles2 │ │ │ │ ├── x.txt │ │ │ │ ├── x │ │ │ │ ├── z.txt │ │ │ │ └── z │ │ │ │ │ └── z1.txt │ │ │ │ ├── y.txt │ │ │ │ └── y │ │ │ │ ├── y1.txt │ │ │ │ └── y2.txt │ │ └── car │ │ │ └── test │ │ │ └── org.inkchain.chaincode.example02-0.1-SNAPSHOT.car │ └── shim │ │ └── java │ │ └── .gitignore ├── wallet │ └── ink │ │ ├── fee_interface.go │ │ └── impl │ │ └── simple_ink.go ├── comm │ └── testdata │ │ ├── certs │ │ ├── Org1-key.pem │ │ ├── Org2-key.pem │ │ ├── Org1-child1-key.pem │ │ ├── Org1-child2-key.pem │ │ ├── Org1-client1-key.pem │ │ ├── Org1-client2-key.pem │ │ ├── Org1-server1-key.pem │ │ ├── Org1-server2-key.pem │ │ ├── Org2-child1-key.pem │ │ ├── Org2-child2-key.pem │ │ ├── Org2-client1-key.pem │ │ ├── Org2-client2-key.pem │ │ ├── Org2-server1-key.pem │ │ ├── Org2-server2-key.pem │ │ ├── Org1-child1-client1-key.pem │ │ ├── Org1-child1-client2-key.pem │ │ ├── Org1-child1-server1-key.pem │ │ ├── Org1-child1-server2-key.pem │ │ ├── Org1-child2-client1-key.pem │ │ ├── Org1-child2-client2-key.pem │ │ ├── Org1-child2-server1-key.pem │ │ ├── Org1-child2-server2-key.pem │ │ ├── Org2-child1-client1-key.pem │ │ ├── Org2-child1-client2-key.pem │ │ ├── Org2-child1-server1-key.pem │ │ ├── Org2-child1-server2-key.pem │ │ ├── Org2-child2-client1-key.pem │ │ ├── Org2-child2-client2-key.pem │ │ ├── Org2-child2-server1-key.pem │ │ └── Org2-child2-server2-key.pem │ │ ├── impersonation │ │ ├── orgA │ │ │ └── server.key │ │ └── orgB │ │ │ └── server.key │ │ └── prime256v1-openssl-key.pem └── peer │ └── testdata │ ├── Org1-server1-key.pem │ ├── Org2-child1-key.pem │ ├── Org2-server1-key.pem │ ├── Org3-server1-key.pem │ └── Org2-child1-server1-key.pem ├── vendor ├── github.com │ ├── miekg │ │ └── pkcs11 │ │ │ └── softhsm.conf │ ├── docker │ │ ├── docker │ │ │ ├── pkg │ │ │ │ ├── testutil │ │ │ │ │ └── pkg.go │ │ │ │ ├── chrootarchive │ │ │ │ │ ├── init_windows.go │ │ │ │ │ ├── chroot_unix.go │ │ │ │ │ └── init_unix.go │ │ │ │ ├── archive │ │ │ │ │ ├── README.md │ │ │ │ │ ├── testdata │ │ │ │ │ │ └── broken.tar │ │ │ │ │ ├── archive_other.go │ │ │ │ │ ├── copy_windows.go │ │ │ │ │ ├── copy_unix.go │ │ │ │ │ ├── time_unsupported.go │ │ │ │ │ └── time_linux.go │ │ │ │ ├── stringutils │ │ │ │ │ └── README.md │ │ │ │ ├── sysinfo │ │ │ │ │ ├── README.md │ │ │ │ │ ├── sysinfo_freebsd.go │ │ │ │ │ ├── sysinfo_windows.go │ │ │ │ │ └── numcpu.go │ │ │ │ ├── stringid │ │ │ │ │ └── README.md │ │ │ │ ├── signal │ │ │ │ │ ├── README.md │ │ │ │ │ └── signal_unsupported.go │ │ │ │ ├── term │ │ │ │ │ ├── windows │ │ │ │ │ │ └── windows_test.go │ │ │ │ │ └── tc_other.go │ │ │ │ ├── useragent │ │ │ │ │ └── README.md │ │ │ │ ├── mount │ │ │ │ │ ├── mountinfo_windows.go │ │ │ │ │ ├── mounter_unsupported.go │ │ │ │ │ ├── mountinfo_unsupported.go │ │ │ │ │ └── mounter_linux.go │ │ │ │ ├── plugins │ │ │ │ │ └── pluginrpc-gen │ │ │ │ │ │ └── fixtures │ │ │ │ │ │ └── otherfixture │ │ │ │ │ │ └── spaceship.go │ │ │ │ ├── graphdb │ │ │ │ │ ├── conn_sqlite3_unix.go │ │ │ │ │ ├── conn_sqlite3_windows.go │ │ │ │ │ ├── conn_unsupported.go │ │ │ │ │ ├── conn_sqlite3.go │ │ │ │ │ ├── sort.go │ │ │ │ │ └── sort_test.go │ │ │ │ ├── tarsum │ │ │ │ │ ├── testdata │ │ │ │ │ │ ├── xattr │ │ │ │ │ │ │ └── layer.tar │ │ │ │ │ │ └── 511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158 │ │ │ │ │ │ │ └── json │ │ │ │ │ └── writercloser.go │ │ │ │ ├── fileutils │ │ │ │ │ ├── fileutils_windows.go │ │ │ │ │ ├── fileutils_solaris.go │ │ │ │ │ ├── fileutils_unix.go │ │ │ │ │ └── fileutils_darwin.go │ │ │ │ ├── symlink │ │ │ │ │ ├── fs_unix.go │ │ │ │ │ └── README.md │ │ │ │ ├── system │ │ │ │ │ ├── utimes_darwin.go │ │ │ │ │ ├── errors.go │ │ │ │ │ ├── meminfo_unsupported.go │ │ │ │ │ ├── umask_windows.go │ │ │ │ │ ├── syscall_windows_test.go │ │ │ │ │ ├── umask.go │ │ │ │ │ ├── utimes_unsupported.go │ │ │ │ │ ├── chtimes_unix.go │ │ │ │ │ ├── mknod_windows.go │ │ │ │ │ ├── stat_openbsd.go │ │ │ │ │ ├── xattrs_unsupported.go │ │ │ │ │ ├── stat_unsupported.go │ │ │ │ │ ├── lstat.go │ │ │ │ │ ├── meminfo.go │ │ │ │ │ ├── filesys.go │ │ │ │ │ ├── syscall_unix.go │ │ │ │ │ └── path_unix.go │ │ │ │ ├── namesgenerator │ │ │ │ │ └── cmd │ │ │ │ │ │ └── names-generator │ │ │ │ │ │ └── main.go │ │ │ │ ├── ioutils │ │ │ │ │ ├── temp_unix.go │ │ │ │ │ ├── fmt_test.go │ │ │ │ │ ├── temp_windows.go │ │ │ │ │ └── fmt.go │ │ │ │ ├── parsers │ │ │ │ │ └── kernel │ │ │ │ │ │ ├── uname_solaris.go │ │ │ │ │ │ ├── uname_unsupported.go │ │ │ │ │ │ └── uname_linux.go │ │ │ │ ├── reexec │ │ │ │ │ ├── command_unsupported.go │ │ │ │ │ ├── README.md │ │ │ │ │ ├── command_windows.go │ │ │ │ │ └── command_unix.go │ │ │ │ ├── pidfile │ │ │ │ │ ├── pidfile_unix.go │ │ │ │ │ └── pidfile_windows.go │ │ │ │ ├── promise │ │ │ │ │ └── promise.go │ │ │ │ ├── httputils │ │ │ │ │ └── mimetype_test.go │ │ │ │ ├── devicemapper │ │ │ │ │ ├── log.go │ │ │ │ │ └── devmapper_wrapper_no_deferred_remove.go │ │ │ │ ├── random │ │ │ │ │ └── random_test.go │ │ │ │ ├── idtools │ │ │ │ │ ├── usergroupadd_unsupported.go │ │ │ │ │ └── idtools_windows.go │ │ │ │ ├── platform │ │ │ │ │ ├── architecture_linux.go │ │ │ │ │ ├── utsname_int8.go │ │ │ │ │ ├── utsname_uint8.go │ │ │ │ │ ├── platform.go │ │ │ │ │ └── architecture_unix.go │ │ │ │ ├── homedir │ │ │ │ │ └── homedir_test.go │ │ │ │ ├── filenotify │ │ │ │ │ └── fsnotify.go │ │ │ │ └── longpath │ │ │ │ │ └── longpath_test.go │ │ │ └── opts │ │ │ │ ├── hosts_windows.go │ │ │ │ ├── opts_unix.go │ │ │ │ └── hosts_unix.go │ │ └── go-units │ │ │ ├── circle.yml │ │ │ └── README.md │ ├── BurntSushi │ │ └── toml │ │ │ ├── session.vim │ │ │ ├── COMPATIBLE │ │ │ ├── Makefile │ │ │ ├── COPYING │ │ │ ├── encoding_types_1.1.go │ │ │ └── encoding_types.go │ ├── spf13 │ │ └── cobra │ │ │ ├── command_notwin.go │ │ │ └── command_win.go │ ├── stretchr │ │ ├── objx │ │ │ ├── README.md │ │ │ ├── security.go │ │ │ ├── constants.go │ │ │ └── tests.go │ │ └── testify │ │ │ ├── require │ │ │ ├── require_forward.go.tmpl │ │ │ ├── require.go.tmpl │ │ │ ├── requirements.go │ │ │ └── forward_requirements.go │ │ │ └── assert │ │ │ ├── assertion_forward.go.tmpl │ │ │ ├── errors.go │ │ │ └── forward_assertions.go │ ├── kr │ │ ├── text │ │ │ ├── doc.go │ │ │ └── Readme │ │ └── pretty │ │ │ └── Readme │ ├── opencontainers │ │ └── runc │ │ │ ├── libcontainer │ │ │ └── user │ │ │ │ ├── MAINTAINERS │ │ │ │ └── lookup_unsupported.go │ │ │ └── NOTICE │ ├── rcrowley │ │ └── go-metrics │ │ │ ├── runtime_no_cgo.go │ │ │ ├── runtime_cgo.go │ │ │ ├── runtime_no_gccpufraction.go │ │ │ ├── runtime_gccpufraction.go │ │ │ ├── validate.sh │ │ │ └── metrics.go │ ├── Shopify │ │ └── sarama │ │ │ ├── vagrant │ │ │ ├── toxiproxy.conf │ │ │ ├── zookeeper.conf │ │ │ ├── kafka.conf │ │ │ ├── provision.sh │ │ │ ├── halt_cluster.sh │ │ │ └── create_topics.sh │ │ │ ├── dev.yml │ │ │ ├── list_groups_request.go │ │ │ ├── response_header.go │ │ │ ├── api_versions_request.go │ │ │ └── Vagrantfile │ ├── gocraft │ │ └── web │ │ │ ├── cover.sh │ │ │ └── options_handler.go │ ├── Knetic │ │ └── govaluate │ │ │ ├── ExpressionToken.go │ │ │ ├── CONTRIBUTORS │ │ │ └── expressionFunctions.go │ ├── Sirupsen │ │ └── logrus │ │ │ ├── terminal_appengine.go │ │ │ ├── terminal_bsd.go │ │ │ ├── terminal_solaris.go │ │ │ └── terminal_linux.go │ ├── manudrijvers │ │ └── amcl │ │ │ ├── NOTICE.txt │ │ │ └── go │ │ │ └── readme.txt │ ├── op │ │ └── go-logging │ │ │ └── CONTRIBUTORS │ ├── DATA-DOG │ │ └── godog │ │ │ ├── gherkin │ │ │ └── README.md │ │ │ └── cmd │ │ │ └── godog │ │ │ └── ansicolor_ansi.go │ ├── fsouza │ │ └── go-dockerclient │ │ │ ├── DOCKER-LICENSE │ │ │ ├── cancelable.go │ │ │ └── cancelable_go14.go │ ├── alecthomas │ │ ├── units │ │ │ ├── README.md │ │ │ └── doc.go │ │ └── template │ │ │ └── README.md │ ├── golang │ │ └── snappy │ │ │ ├── decode_amd64.go │ │ │ └── AUTHORS │ ├── gorilla │ │ └── mux │ │ │ ├── context_native.go │ │ │ └── context_gorilla.go │ ├── inconshreveable │ │ └── mousetrap │ │ │ ├── trap_others.go │ │ │ └── LICENSE │ ├── eapache │ │ └── go-xerial-snappy │ │ │ └── README.md │ └── cpuguy83 │ │ └── go-md2man │ │ └── md2man │ │ └── md2man.go ├── golang.org │ └── x │ │ ├── net │ │ ├── codereview.cfg │ │ ├── http2 │ │ │ ├── Makefile │ │ │ ├── go16.go │ │ │ └── not_go16.go │ │ ├── .gitignore │ │ ├── README │ │ ├── html │ │ │ ├── charset │ │ │ │ └── testdata │ │ │ │ │ ├── UTF-16BE-BOM.html │ │ │ │ │ ├── UTF-16LE-BOM.html │ │ │ │ │ └── README │ │ │ └── testdata │ │ │ │ └── webkit │ │ │ │ ├── pending-spec-changes-plain-text-unsafe.dat │ │ │ │ ├── scripted │ │ │ │ └── adoption01.dat │ │ │ │ ├── adoption02.dat │ │ │ │ └── inbody01.dat │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── route │ │ │ └── syscall.s │ │ ├── ipv4 │ │ │ ├── thunk_linux_386.s │ │ │ ├── sys_stub.go │ │ │ ├── sockopt_stub.go │ │ │ ├── payload.go │ │ │ ├── bpfopt_stub.go │ │ │ ├── mocktransponder_test.go │ │ │ ├── sockopt_asmreqn_stub.go │ │ │ ├── sockopt_ssmreq_stub.go │ │ │ ├── icmp_stub.go │ │ │ ├── helper_stub.go │ │ │ ├── control_stub.go │ │ │ └── sockopt_asmreq_stub.go │ │ ├── ipv6 │ │ │ ├── thunk_linux_386.s │ │ │ ├── sys_stub.go │ │ │ ├── sockopt_stub.go │ │ │ ├── payload.go │ │ │ ├── bpfopt_stub.go │ │ │ ├── helper_stub.go │ │ │ ├── sockopt_ssmreq_stub.go │ │ │ ├── icmp_stub.go │ │ │ ├── control_stub.go │ │ │ └── icmp_solaris.go │ │ ├── internal │ │ │ └── nettest │ │ │ │ ├── rlimit_windows.go │ │ │ │ ├── rlimit_stub.go │ │ │ │ ├── error_stub.go │ │ │ │ ├── rlimit.go │ │ │ │ ├── stack_stub.go │ │ │ │ ├── rlimit_unix.go │ │ │ │ └── stack_unix.go │ │ ├── icmp │ │ │ ├── sys_freebsd.go │ │ │ ├── helper.go │ │ │ └── ipv6.go │ │ ├── .gitattributes │ │ ├── proxy │ │ │ └── direct.go │ │ ├── webdav │ │ │ └── internal │ │ │ │ └── xml │ │ │ │ └── README │ │ └── bpf │ │ │ └── testdata │ │ │ └── all_instructions.bpf │ │ ├── tools │ │ └── cmd │ │ │ └── cover │ │ │ └── README │ │ ├── sys │ │ └── unix │ │ │ ├── asm.s │ │ │ ├── constants.go │ │ │ ├── syscall_no_getwd.go │ │ │ ├── zsysnum_solaris_amd64.go │ │ │ ├── env_unset.go │ │ │ ├── flock_linux_32bit.go │ │ │ ├── asm_solaris_amd64.s │ │ │ ├── gccgo_linux_sparc64.go │ │ │ ├── gccgo_linux_amd64.go │ │ │ └── race0.go │ │ └── crypto │ │ ├── ssh │ │ └── terminal │ │ │ ├── util_bsd.go │ │ │ └── util_linux.go │ │ └── sha3 │ │ ├── xor.go │ │ └── register.go ├── google.golang.org │ └── grpc │ │ ├── doc.go │ │ └── codes │ │ └── code_string.go └── gopkg.in │ ├── alecthomas │ └── kingpin.v2 │ │ └── guesswidth.go │ └── yaml.v2 │ └── LICENSE ├── docs └── images │ └── transet.png ├── sampleconfig └── msp │ ├── config.yaml │ └── keystore │ └── key.pem ├── msp └── testdata │ ├── badadmin │ ├── config.yaml │ └── keystore │ │ └── key-COP1.pem │ ├── badconfigou │ ├── config.yaml │ └── keystore │ │ └── key.pem │ ├── badconfigoucert │ ├── config.yaml │ └── keystore │ │ └── key.pem │ ├── tls │ ├── keystore │ │ └── key.pem │ └── config.yaml │ ├── external │ ├── keystore │ │ └── key.pem │ └── config.yaml │ ├── revocation │ ├── keystore │ │ └── key.pem │ ├── crls │ │ └── crl.pem │ └── admincerts │ │ └── admin.pem │ ├── revocation2 │ ├── keystore │ │ └── key.pem │ ├── crls │ │ └── crl.pem │ └── admincerts │ │ └── admin.pem │ ├── intermediate │ └── keystore │ │ └── key.pem │ ├── revokedica │ ├── keystore │ │ └── key.pem │ └── crls │ │ └── crl.pem │ └── intermediate2 │ └── keystore │ └── key.pem ├── .gitattributes ├── images ├── buildenv │ └── Dockerfile.in ├── ccenv │ └── Dockerfile.in ├── peer │ └── Dockerfile.in ├── orderer │ └── Dockerfile.in ├── testenv │ └── install-softhsm2.sh └── tools │ └── Dockerfile.in ├── settings.gradle ├── scripts ├── infiniteloop.sh ├── colour.sh ├── foldercopy.sh ├── containerlogs.sh └── goListFiles.sh └── orderer └── mocks └── util └── util_test.go /protos/.protoroot: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | -------------------------------------------------------------------------------- /.baseimage-release: -------------------------------------------------------------------------------- 1 | 0.3.1 2 | -------------------------------------------------------------------------------- /examples/cli_test/.env: -------------------------------------------------------------------------------- 1 | COMPOSE_PROJECT_NAME=net -------------------------------------------------------------------------------- /common/crypto/secp256k1/libsecp256k1/obj/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/a.txt: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/b.txt: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/b/c.txt: -------------------------------------------------------------------------------- 1 | c 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/x.txt: -------------------------------------------------------------------------------- 1 | x 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/x/z.txt: -------------------------------------------------------------------------------- 1 | z 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/y.txt: -------------------------------------------------------------------------------- 1 | y 2 | -------------------------------------------------------------------------------- /examples/creative/scripts/.env: -------------------------------------------------------------------------------- 1 | COMPOSE_PROJECT_NAME=net -------------------------------------------------------------------------------- /vendor/github.com/miekg/pkcs11/softhsm.conf: -------------------------------------------------------------------------------- 1 | 0:hsm.db 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/a/a1.txt: -------------------------------------------------------------------------------- 1 | a1 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/a/a2.txt: -------------------------------------------------------------------------------- 1 | a2 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/b/c/c1.txt: -------------------------------------------------------------------------------- 1 | c1 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/x/z/z1.txt: -------------------------------------------------------------------------------- 1 | z1 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/y/y1.txt: -------------------------------------------------------------------------------- 1 | y1 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/y/y2.txt: -------------------------------------------------------------------------------- 1 | y2 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /examples/xc/qtum/deploy_status.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | solar status -------------------------------------------------------------------------------- /examples/xc/qtum/generate.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | qcli generate 600 -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/testutil/pkg.go: -------------------------------------------------------------------------------- 1 | package testutil 2 | -------------------------------------------------------------------------------- /examples/xc/eth/console.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | geth attach .eth_node/geth.ipc -------------------------------------------------------------------------------- /core/chaincode/shim/java/.gitignore: -------------------------------------------------------------------------------- 1 | protos 2 | src/main/proto 3 | .classpath 4 | -------------------------------------------------------------------------------- /examples/xc/qtum/login.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker exec -it qtumd_node sh 4 | -------------------------------------------------------------------------------- /examples/xc/eth/init.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | geth --datadir .eth_node init genesis.json -------------------------------------------------------------------------------- /examples/xc/eth/stop.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | kill -9 $(lsof -i:8545 | awk '{print $2}') -------------------------------------------------------------------------------- /examples/xc/eth/deploy_status.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | solar status -------------------------------------------------------------------------------- /examples/xc/qtum/bak/_make_some_qtum.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | ./qtum-cli.sh generate 600 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /common/crypto/secp256k1/libsecp256k1/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | autoreconf -if --warnings=all 4 | -------------------------------------------------------------------------------- /docs/images/transet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inklabsfoundation/inkchain/HEAD/docs/images/transet.png -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/session.vim: -------------------------------------------------------------------------------- 1 | au BufWritePost *.go silent!make tags > /dev/null 2>&1 2 | -------------------------------------------------------------------------------- /examples/xc/qtum/stop.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | #docker stop qtumd_node1 qtumd_node2 qtumd_node3 4 | docker qtumd_node 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/chrootarchive/init_windows.go: -------------------------------------------------------------------------------- 1 | package chrootarchive 2 | 3 | func init() { 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/README.md: -------------------------------------------------------------------------------- 1 | This code provides helper functions for dealing with archive files. 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/stringutils/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with strings 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/sysinfo/README.md: -------------------------------------------------------------------------------- 1 | SysInfo stores information about which features a kernel supports. 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/stringid/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with string identifiers 2 | -------------------------------------------------------------------------------- /examples/cli_test/channel/mychannel.tx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inklabsfoundation/inkchain/HEAD/examples/cli_test/channel/mychannel.tx -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_notwin.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package cobra 4 | 5 | var preExecHookFn func(*Command) 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/genesis.block: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inklabsfoundation/inkchain/HEAD/examples/cli_test/channel/genesis.block -------------------------------------------------------------------------------- /examples/xc/eth/p_read.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | echo ${ACCOUNT} 6 | 7 | echo ${ETH_RPC} 8 | 9 | echo ${SOLAR_ENV} -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/README.md: -------------------------------------------------------------------------------- 1 | # objx 2 | 3 | * Jump into the [API Documentation](http://godoc.org/github.com/stretchr/objx) 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/signal/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions for dealing with signals across various operating systems -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/term/windows/windows_test.go: -------------------------------------------------------------------------------- 1 | // This file is necessary to pass the Docker tests. 2 | 3 | package windows 4 | -------------------------------------------------------------------------------- /vendor/github.com/kr/text/doc.go: -------------------------------------------------------------------------------- 1 | // Package text provides rudimentary functions for manipulating text in 2 | // paragraphs. 3 | package text 4 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/call/getINK.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCHexAddress `solar encode contracts/XC.sol getINK` -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/call/name.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $INKHexAddress `solar encode contracts/INK.sol name` 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/call/symbol.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $INKHexAddress `solar encode contracts/INK.sol symbol` -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/call/getAdmin.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCHexAddress `solar encode contracts/XC.sol getAdmin` -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/call/getStatus.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCHexAddress `solar encode contracts/XC.sol getStatus` -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/useragent/README.md: -------------------------------------------------------------------------------- 1 | This package provides helper functions to pack version information into a single User-Agent header. 2 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/libcontainer/user/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Tianon Gravi (@tianon) 2 | Aleksa Sarai (@cyphar) 3 | -------------------------------------------------------------------------------- /examples/xc/eth/remove.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | kill -9 $(lsof -i:8545 | awk '{print $2}') 4 | rm -rvf solar.development.json 5 | rm -rvf .eth_node 6 | rm -rvf nohup.out -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/call/getXCPlugin.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCHexAddress `solar encode contracts/XC.sol getXCPlugin` -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/call/lockBalance.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCHexAddress `solar encode contracts/XC.sol lockBalance` -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/COMPATIBLE: -------------------------------------------------------------------------------- 1 | Compatible with TOML version 2 | [v0.2.0](https://github.com/mojombo/toml/blob/master/versions/toml-v0.2.0.md) 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_no_cgo.go: -------------------------------------------------------------------------------- 1 | // +build !cgo appengine 2 | 3 | package metrics 4 | 5 | func numCgoCall() int64 { 6 | return 0 7 | } 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/cover/README: -------------------------------------------------------------------------------- 1 | NOTE: For Go releases 1.5 and later, this tool lives in the 2 | standard repository. The code here is not maintained. 3 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/call/decimals.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $INKHexAddress `solar encode contracts/INK.sol decimals` 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/call/totalSupply.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $INKHexAddress `solar encode contracts/INK.sol totalSupply` -------------------------------------------------------------------------------- /vendor/github.com/kr/text/Readme: -------------------------------------------------------------------------------- 1 | This is a Go package for manipulating paragraphs of text. 2 | 3 | See http://go.pkgdoc.org/github.com/kr/text for full documentation. 4 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/call/balanceOf.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $INKHexAddress `solar encode contracts/INK.sol balanceOf '["'$1'"]' ` -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/call/getPlatformName.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCHexAddress `solar encode contracts/XC.sol getPlatformName` -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/toxiproxy.conf: -------------------------------------------------------------------------------- 1 | start on started networking 2 | stop on shutdown 3 | 4 | env KAFKA_INSTALL_ROOT=/opt 5 | 6 | exec /opt/run_toxiproxy.sh 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/testdata/broken.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inklabsfoundation/inkchain/HEAD/vendor/github.com/docker/docker/pkg/archive/testdata/broken.tar -------------------------------------------------------------------------------- /vendor/github.com/gocraft/web/cover.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | go test -covermode=count -coverprofile=count.out . 4 | go tool cover -html=count.out 5 | go tool cover -func=count.out -------------------------------------------------------------------------------- /vendor/golang.org/x/net/README: -------------------------------------------------------------------------------- 1 | This repository holds supplementary Go networking libraries. 2 | 3 | To submit changes to this repository, see http://golang.org/doc/contribute.html. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inklabsfoundation/inkchain/HEAD/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inklabsfoundation/inkchain/HEAD/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html -------------------------------------------------------------------------------- /examples/cli_test/scripts/creative/README.md: -------------------------------------------------------------------------------- 1 | > 1) cd ../../../creative/scripts/ 2 | > 3 | > 2) docker-compose up 4 | > 5 | > 3) bash ./initialization.sh 6 | > 7 | > 4) bash ./test.sh 8 | > -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/start.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol start` 0 6000000 $gasPrice $XCOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/stop.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol stop` 0 6000000 $gasPrice $XCOwner 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mountinfo_windows.go: -------------------------------------------------------------------------------- 1 | package mount 2 | 3 | func parseMountTable() ([]*Info, error) { 4 | // Do NOT return an error! 5 | return nil, nil 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/plugins/pluginrpc-gen/fixtures/otherfixture/spaceship.go: -------------------------------------------------------------------------------- 1 | package otherfixture 2 | 3 | // Spaceship is a fixture for tests 4 | type Spaceship struct{} 5 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/call/getStatus.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol getStatus` $XCPluginOwner -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/graphdb/conn_sqlite3_unix.go: -------------------------------------------------------------------------------- 1 | // +build cgo,!windows 2 | 3 | package graphdb 4 | 5 | import ( 6 | _ "github.com/mattn/go-sqlite3" // registers sqlite 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/tarsum/testdata/xattr/layer.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inklabsfoundation/inkchain/HEAD/vendor/github.com/docker/docker/pkg/tarsum/testdata/xattr/layer.tar -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/call/getAdmin.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol getAdmin` $XCPluginOwner 6 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/dev.yml: -------------------------------------------------------------------------------- 1 | name: sarama 2 | 3 | up: 4 | - go: 5 | version: '1.9' 6 | 7 | commands: 8 | test: 9 | run: make test 10 | desc: 'run unit tests' 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/graphdb/conn_sqlite3_windows.go: -------------------------------------------------------------------------------- 1 | // +build cgo,windows 2 | 3 | package graphdb 4 | 5 | import ( 6 | _ "github.com/mattn/go-sqlite3" // registers sqlite 7 | ) 8 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/lock.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol lock '["'$1'","'$2'",'$3']'` 0 6000000 $gasPrice $4 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/setAdmin.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol setAdmin '["'$1'"]'` 0 6000000 $gasPrice $XCOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/setINK.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol setINK '["'$1'"]'` 0 6000000 $gasPrice $XCOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/call/getPlatformName.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol getPlatformName` $XCPluginOwner -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/call/getProposal.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol getProposal '["'$1'","'$2'"]'` 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/call/getWeight.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol getWeight '["'$1'"]'` $XCPluginOwner -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/stop.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol stop` 0 6000000 $gasPrice $XCPluginOwner -------------------------------------------------------------------------------- /common/crypto/secp256k1/libsecp256k1/TODO: -------------------------------------------------------------------------------- 1 | * Unit tests for fieldelem/groupelem, including ones intended to 2 | trigger fieldelem's boundary cases. 3 | * Complete constant-time operations for signing/keygen 4 | -------------------------------------------------------------------------------- /examples/xc/eth/start.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | # db,eth,net,web3,personal,admin,miner 3 | nohup geth --datadir .eth_node --networkid 10086 --rpc --rpcapi "db,eth,net,web3,personal,admin,miner" --nodiscover & 4 | 5 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/call/allowance.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $INKHexAddress `solar encode contracts/INK.sol allowance '["'$INKHexOwner'","'$XCHexAddress'"]'` 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/call/getPlatform.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol getPlatform '["'$1'"]'` $XCPluginOwner -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/archive_other.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package archive 4 | 5 | func getWhiteoutConverter(format WhiteoutFormat) tarWhiteoutConverter { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) { 3 | {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 4 | } 5 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/send/approve.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $INKHexAddress `solar encode contracts/INK.sol approve '["'$1'",'$2']'` 0 6000000 $gasPrice $INKOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/send/transfer.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $INKHexAddress `solar encode contracts/INK.sol transfer '["'$1'",'$2']'` 0 6000000 $gasPrice $INKOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/setXCPlugin.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol setXCPlugin '["'$1'"]'` 0 6000000 $gasPrice $XCOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/withdrawal.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol withdrawal '["'$1'",'$2']'` 0 6000000 $gasPrice $XCOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/call/existPlatform.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol existPlatform '["'$1'"]'` $XCPluginOwner -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/start.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol start` 0 6000000 $gasPrice $XCPluginOwner 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package grpc implements an RPC system called gRPC. 3 | 4 | See www.grpc.io for more information about gRPC. 5 | */ 6 | package grpc // import "google.golang.org/grpc" 7 | -------------------------------------------------------------------------------- /examples/xc/qtum/download_images.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | #docker pull cryptominder/qtum:latest 4 | #docker pull cryptominder/ethabi:latest 5 | #docker pull ethereum/solc:stable 6 | docker pull hayeah/qtumportal:latest 7 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/lockAdmin.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol lockAdmin '["'$1'","'$2'",'$3']'` 0 6000000 $gasPrice $XCOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/setPlatformName.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol setPlatformName '["'$1'"]'` 0 6000000 $gasPrice $XCOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/call/countOfPublicKey.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli callcontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol countOfPublicKey '["'$1'"]'` $XCPluginOwner -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { 3 | return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 4 | } 5 | -------------------------------------------------------------------------------- /core/chaincode/platforms/car/test/org.inkchain.chaincode.example02-0.1-SNAPSHOT.car: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inklabsfoundation/inkchain/HEAD/core/chaincode/platforms/car/test/org.inkchain.chaincode.example02-0.1-SNAPSHOT.car -------------------------------------------------------------------------------- /examples/xc/eth-v1.0.2/compileXC.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/XC \ 5 | --overwrite /solidity/XC.sol -------------------------------------------------------------------------------- /examples/xc/eth-v1.0.3/compileXC.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/XC \ 5 | --overwrite /solidity/XC.sol -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/send/transferFrom.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $INKHexAddress `solar encode contracts/INK.sol transferFrom '["'$1'","'$2'",'$3']'` 0 6000000 $gasPrice $4 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/unlock.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol unlock '["'$1'","'$2'","'$3'","'$4'",'$5']'` 0 6000000 $gasPrice $6 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/setAdmin.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol setAdmin '["'$1'"]'` 0 6000000 $gasPrice $XCPluginOwner -------------------------------------------------------------------------------- /vendor/github.com/Knetic/govaluate/ExpressionToken.go: -------------------------------------------------------------------------------- 1 | package govaluate 2 | 3 | /* 4 | Represents a single parsed token. 5 | */ 6 | type ExpressionToken struct { 7 | Kind TokenKind 8 | Value interface{} 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/copy_windows.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import ( 4 | "path/filepath" 5 | ) 6 | 7 | func normalizePath(path string) string { 8 | return filepath.FromSlash(path) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.Comment}} 2 | func {{.DocInfo.Name}}(t TestingT, {{.Params}}) { 3 | if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { 4 | t.FailNow() 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /examples/xc/eth-v1.0.2/compileToken.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/Token \ 5 | --overwrite /solidity/Token.sol -------------------------------------------------------------------------------- /examples/xc/eth-v1.0.3/compileToken.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/INK \ 5 | --overwrite /solidity/INK.sol -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/addPlatform.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol addPlatform '["'$1'"]'` 0 6000000 $gasPrice $XCPluginOwner -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/sysinfo/sysinfo_freebsd.go: -------------------------------------------------------------------------------- 1 | package sysinfo 2 | 3 | // New returns an empty SysInfo for freebsd for now. 4 | func New(quiet bool) *SysInfo { 5 | sysInfo := &SysInfo{} 6 | return sysInfo 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/sysinfo/sysinfo_windows.go: -------------------------------------------------------------------------------- 1 | package sysinfo 2 | 3 | // New returns an empty SysInfo for windows for now. 4 | func New(quiet bool) *SysInfo { 5 | sysInfo := &SysInfo{} 6 | return sysInfo 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_cgo.go: -------------------------------------------------------------------------------- 1 | // +build cgo 2 | // +build !appengine 3 | 4 | package metrics 5 | 6 | import "runtime" 7 | 8 | func numCgoCall() int64 { 9 | return runtime.NumCgoCall() 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_no_gccpufraction.go: -------------------------------------------------------------------------------- 1 | // +build !go1.5 2 | 3 | package metrics 4 | 5 | import "runtime" 6 | 7 | func gcCPUFraction(memStats *runtime.MemStats) float64 { 8 | return 0 9 | } 10 | -------------------------------------------------------------------------------- /examples/xc/eth-v1.0.2/compileXCP.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/XCPlugin \ 5 | --overwrite /solidity/XCPlugin.sol -------------------------------------------------------------------------------- /examples/xc/eth-v1.0.3/compileXCP.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/XCPlugin \ 5 | --overwrite /solidity/XCPlugin.sol -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/setWeight.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol setWeight '["'$1'",'$2']'` 0 6000000 $gasPrice $XCPluginOwner -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | // IsTerminal returns true if stderr's file descriptor is a terminal. 6 | func IsTerminal() bool { 7 | return true 8 | } 9 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/todo/approveAndCall.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | #qcli sendtocontract $INKHexAddress `solar encode contracts/INK.sol approveAndCall '["'$XCHexAddress'",1000]'` 0 6000000 0.0000004 $INKOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XC/send/unlockAdmin.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCHexAddress `solar encode contracts/XC.sol unlockAdmin '["'$1'","'$2'","'$3'","'$4'",'$5']'` 0 6000000 $gasPrice $XCOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/addCaller.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol addCaller '["'$XCHexAddress'"]'` 0 6000000 $gasPrice $XCPluginOwner -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/addPublicKey.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol addPublicKey '["'$1'","'$2'"]'` 0 6000000 $gasPrice $XCPluginOwner -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/deleteCaller.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol deleteCaller '["'$1'"]'` 0 6000000 $gasPrice $XCPluginOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/deletePlatform.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol deletePlatform '["'$1'"]'` 0 6000000 $gasPrice $XCPluginOwner -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/deleteProposal.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol deleteProposal '["'$1'"]'` 0 6000000 $gasPrice $XCPluginOwner -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/deletePublicKey.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol deletePublicKey '["'$1'"]'` 0 6000000 $gasPrice $XCPluginOwner -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/setPlatformName.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol setPlatformName '["'$1'"]'` 0 6000000 $gasPrice $XCPluginOwner -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/hosts_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package opts 4 | 5 | // DefaultHost constant defines the default host string used by docker on Windows 6 | var DefaultHost = "npipe://" + DefaultNamedPipe 7 | -------------------------------------------------------------------------------- /examples/xc/qtum/deploy.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | solar deploy contracts/INK.sol 6 | 7 | solar deploy contracts/XCPlugin.sol '["'${myPlatform}'"]' 8 | 9 | solar deploy contracts/XC.sol '["'${myPlatform}'"]' 10 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/todo/decreaseApproval.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | #qcli sendtocontract $INKHexAddress `solar encode contracts/INK.sol decreaseApproval '["'$XCHexAddress'",1000]'` 0 6000000 0.0000004 $INKOwner 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/INK/todo/increaseApproval.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | #qcli sendtocontract $INKHexAddress `solar encode contracts/INK.sol increaseApproval '["'$XCHexAddress'",1000]'` 0 6000000 0.0000004 $INKOwner 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/fileutils/fileutils_windows.go: -------------------------------------------------------------------------------- 1 | package fileutils 2 | 3 | // GetTotalUsedFds Returns the number of used File Descriptors. Not supported 4 | // on Windows. 5 | func GetTotalUsedFds() int { 6 | return -1 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pretty/Readme: -------------------------------------------------------------------------------- 1 | package pretty 2 | 3 | import "github.com/kr/pretty" 4 | 5 | Package pretty provides pretty-printing for Go values. 6 | 7 | Documentation 8 | 9 | http://godoc.org/github.com/kr/pretty 10 | -------------------------------------------------------------------------------- /vendor/github.com/manudrijvers/amcl/NOTICE.txt: -------------------------------------------------------------------------------- 1 | Apache Milagro Crypto Libraries 2 | Copyright 2016 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat: -------------------------------------------------------------------------------- 1 | #data 2 | fillertext 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | "fillertext" 9 | |
10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/alecthomas/kingpin.v2/guesswidth.go: -------------------------------------------------------------------------------- 1 | // +build appengine !linux,!freebsd,!darwin,!dragonfly,!netbsd,!openbsd 2 | 3 | package kingpin 4 | 5 | import "io" 6 | 7 | func guessWidth(w io.Writer) int { 8 | return 80 9 | } 10 | -------------------------------------------------------------------------------- /examples/xc/eth/genesis.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "chainId": 2017, 4 | "homesteadBlock": 0, 5 | "eip155Block": 0, 6 | "eip158Block": 0 7 | }, 8 | "difficulty": "100", 9 | "gasLimit": "2000000", 10 | "alloc": {} 11 | } -------------------------------------------------------------------------------- /examples/xc/qtum-v1.0.2/compileXC.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/XC \ 5 | --overwrite /solidity/XC.sol --evm-version homestead -------------------------------------------------------------------------------- /examples/xc/qtum-v1.0.3/compileXC.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/XC \ 5 | --overwrite /solidity/XC.sol --evm-version homestead -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/copy_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package archive 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func normalizePath(path string) string { 10 | return filepath.ToSlash(path) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_gccpufraction.go: -------------------------------------------------------------------------------- 1 | // +build go1.5 2 | 3 | package metrics 4 | 5 | import "runtime" 6 | 7 | func gcCPUFraction(memStats *runtime.MemStats) float64 { 8 | return memStats.GCCPUFraction 9 | } 10 | -------------------------------------------------------------------------------- /examples/xc/eth/contracts/compile.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/XC \ 5 | --overwrite /solidity/XC.sol 6 | -------------------------------------------------------------------------------- /examples/xc/qtum-v1.0.2/compileToken.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/Token \ 5 | --overwrite /solidity/Token.sol --evm-version homestead -------------------------------------------------------------------------------- /examples/xc/qtum-v1.0.3/compileToken.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/INK \ 5 | --overwrite /solidity/INK.sol --evm-version homestead -------------------------------------------------------------------------------- /examples/xc/qtum/contracts/compile.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/XC \ 5 | --overwrite /solidity/XC.sol 6 | -------------------------------------------------------------------------------- /sampleconfig/msp/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | 6 | OrganizationalUnitIdentifiers: 7 | - Certificate: "cacerts/cacert.pem" 8 | OrganizationalUnitIdentifier: "COP" 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/opts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts 4 | 5 | // DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. docker daemon -H tcp://:8080 6 | const DefaultHTTPHost = "localhost" 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/graphdb/conn_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !cgo 2 | 3 | package graphdb 4 | 5 | // NewSqliteConn return a new sqlite connection. 6 | func NewSqliteConn(root string) (*Database, error) { 7 | panic("Not implemented") 8 | } 9 | -------------------------------------------------------------------------------- /core/wallet/ink/fee_interface.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Ziggurat Corp. 2017 All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package ink 8 | 9 | type InkAlg interface { 10 | CalcInk(textLength int) (int64, error) 11 | } 12 | -------------------------------------------------------------------------------- /examples/xc/qtum-v1.0.2/compileXCP.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/XCPlugin \ 5 | --overwrite /solidity/XCPlugin.sol --evm-version homestead -------------------------------------------------------------------------------- /examples/xc/qtum-v1.0.3/compileXCP.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | docker run --rm -v ${PWD}:/solidity ethereum/solc:stable \ 4 | --optimize --bin --abi --hashes -o /solidity/src/XCPlugin \ 5 | --overwrite /solidity/XCPlugin.sol --evm-version homestead -------------------------------------------------------------------------------- /examples/xc/qtum/asset.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | # === init amount === 6 | qcli sendtoaddress $XCPluginOwner 200 7 | qcli sendtoaddress $XCOwner 200 8 | qcli sendtoaddress $INKOwner 200 9 | qcli sendtoaddress $XCAddress 200 10 | -------------------------------------------------------------------------------- /msp/testdata/badadmin/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | 6 | OrganizationalUnitIdentifiers: 7 | - Certificate: "cacerts/cacert.pem" 8 | OrganizationalUnitIdentifier: "COP1" 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/symlink/fs_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package symlink 4 | 5 | import ( 6 | "path/filepath" 7 | ) 8 | 9 | func evalSymlinks(path string) (string, error) { 10 | return filepath.EvalSymlinks(path) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/op/go-logging/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Alec Thomas 2 | Guilhem Lettron 3 | Ivan Daniluk 4 | Nimi Wariboko Jr 5 | Róbert Selvek 6 | -------------------------------------------------------------------------------- /msp/testdata/badconfigou/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | 6 | OrganizationalUnitIdentifiers: 7 | - Certificate: "cacerts/cacert.pem" 8 | OrganizationalUnitIdentifier: "COP1" 9 | -------------------------------------------------------------------------------- /msp/testdata/badconfigoucert/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | 6 | OrganizationalUnitIdentifiers: 7 | - Certificate: "signcerts/peer.pem" 8 | OrganizationalUnitIdentifier: "COP2" 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/sysinfo/numcpu.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package sysinfo 4 | 5 | import ( 6 | "runtime" 7 | ) 8 | 9 | // NumCPU returns the number of CPUs 10 | func NumCPU() int { 11 | return runtime.NumCPU() 12 | } 13 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sh text eol=lf 2 | *.go text eol=lf 3 | *.yaml text eol=lf 4 | *.yml text eol=lf 5 | *.md text eol=lf 6 | *.json text eol=lf 7 | *.proto text eol=lf 8 | *.py text eol=lf 9 | *.js text eol=lf 10 | *.txt text eol=lf 11 | LICENSE text eol=lf 12 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/utimes_darwin.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "syscall" 4 | 5 | // LUtimesNano is not supported by darwin platform. 6 | func LUtimesNano(path string, ts []syscall.Timespec) error { 7 | return ErrNotSupportedPlatform 8 | } 9 | -------------------------------------------------------------------------------- /images/buildenv/Dockerfile.in: -------------------------------------------------------------------------------- 1 | # Copyright Greg Haskins All Rights Reserved 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | FROM _BASE_NS_/inkchain-baseimage:_BASE_TAG_ 6 | COPY payload/protoc-gen-go /usr/local/bin/ 7 | ADD payload/gotools.tar.bz2 /usr/local/bin/ 8 | -------------------------------------------------------------------------------- /msp/testdata/tls/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHACRdTlDyxk3FDWv2ysl6OnwX5KEKS7TiCOUOGkgq70oAoGCCqGSM49 3 | AwEHoUQDQgAEo3MuMHJxWMv4JPi4UXaQ4WU1YJVdiuzOJ3l6mJ/+KXQYCoLV2Fxl 4 | VuEuf4Qa6t5+gn0wGEflQc8ZOpEs0gq1kA== 5 | -----END EC PRIVATE KEY----- -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin freebsd openbsd netbsd dragonfly 2 | // +build !appengine 3 | 4 | package logrus 5 | 6 | import "syscall" 7 | 8 | const ioctlReadTermios = syscall.TIOCGETA 9 | 10 | type Termios syscall.Termios 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/namesgenerator/cmd/names-generator/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/docker/docker/pkg/namesgenerator" 7 | ) 8 | 9 | func main() { 10 | fmt.Println(namesgenerator.GetRandomName(0)) 11 | } 12 | -------------------------------------------------------------------------------- /msp/testdata/external/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHACRdTlDyxk3FDWv2ysl6OnwX5KEKS7TiCOUOGkgq70oAoGCCqGSM49 3 | AwEHoUQDQgAEo3MuMHJxWMv4JPi4UXaQ4WU1YJVdiuzOJ3l6mJ/+KXQYCoLV2Fxl 4 | VuEuf4Qa6t5+gn0wGEflQc8ZOpEs0gq1kA== 5 | -----END EC PRIVATE KEY----- -------------------------------------------------------------------------------- /msp/testdata/revocation/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAsWwFunEzqz1Rh6nvD4MiPkKCtmoxzh3jTquG5MSbeLoAoGCCqGSM49 3 | AwEHoUQDQgAEHBuKsAO43hs4JGpFfiGMkB/xsILTsOvmN2WmwpsPHZNL6w8HWe3x 4 | CPQtdG/XJJvZ+C756KEsUBM3yw5PTfku8g== 5 | -----END EC PRIVATE KEY----- -------------------------------------------------------------------------------- /msp/testdata/revocation2/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAsWwFunEzqz1Rh6nvD4MiPkKCtmoxzh3jTquG5MSbeLoAoGCCqGSM49 3 | AwEHoUQDQgAEHBuKsAO43hs4JGpFfiGMkB/xsILTsOvmN2WmwpsPHZNL6w8HWe3x 4 | CPQtdG/XJJvZ+C756KEsUBM3yw5PTfku8g== 5 | -----END EC PRIVATE KEY----- -------------------------------------------------------------------------------- /sampleconfig/msp/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAsWwFunEzqz1Rh6nvD4MiPkKCtmoxzh3jTquG5MSbeLoAoGCCqGSM49 3 | AwEHoUQDQgAEHBuKsAO43hs4JGpFfiGMkB/xsILTsOvmN2WmwpsPHZNL6w8HWe3x 4 | CPQtdG/XJJvZ+C756KEsUBM3yw5PTfku8g== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/DATA-DOG/godog/gherkin/README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://secure.travis-ci.org/cucumber/gherkin-go.svg)](http://travis-ci.org/cucumber/gherkin-go) 2 | 3 | Gherkin parser/compiler for Go. Please see [Gherkin](https://github.com/cucumber/gherkin) for details. 4 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/fileutils/fileutils_solaris.go: -------------------------------------------------------------------------------- 1 | package fileutils 2 | 3 | // GetTotalUsedFds Returns the number of used File Descriptors. 4 | // On Solaris these limits are per process and not systemwide 5 | func GetTotalUsedFds() int { 6 | return -1 7 | } 8 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIBjIXs5wsAU+UtXlIBW/TWGr0l8aCUb95r+bcrW/0a8roAoGCCqGSM49 3 | AwEHoUQDQgAEHSamcbHIj5jFsHJmWTGZhH65GErH3vXX+szC74XEbLpLP/XJgm02 4 | Bd2dLzVQQ7+eb+06JL+V00e6cw/WuTBALA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIKzz1hOwInObMVa3Rec6TSIchBv+WNxIuXSBIMsQWPoqoAoGCCqGSM49 3 | AwEHoUQDQgAEE5U5pHZFHyUbpqMn8QNwwr22kRKJXt3oz0ieXBCdKzgSTDucaOPS 4 | SZwb526zoUOQCslHsKzUbsoFD+BSyfGtAQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/peer/testdata/Org1-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEICfXQtVmdQAlp/l9umWJqCXNTDurmciDNmGHPpxHwUK/oAoGCCqGSM49 3 | AwEHoUQDQgAECb7YJmFuaycD4cpDKdcrPt9Vm+/CW/8N02Dcx2DuUhw/bPRvTv94 4 | BnnRyF0k1yM0B39ACP+aYYbh05t6jihMoQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/peer/testdata/Org2-child1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEILECltESx3k5sQRtCt5rQEAo9cvTDyPxjv2UT092SY2NoAoGCCqGSM49 3 | AwEHoUQDQgAEUwSfP6NbaRz8LosWA4EcHK8wK7tHFiSYROilhwGtLwQhuJ5dM440 4 | UqIPogLlHGOGf4CaB6JenSkh5PYeY66rRA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/peer/testdata/Org2-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHpb9jJemQ/0ODY4gM1fN+42SQ3+fAoU5vbiWFbFZ4i7oAoGCCqGSM49 3 | AwEHoUQDQgAE/upgMhgdFQWhgkojByygEkt/6vIVGwWF5o6NdZoAzCJJBsMqkb0l 4 | CORLDG+l0UuFJR/F7dTbAPvZuFY9Slpeaw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/peer/testdata/Org3-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIGTkwJcw9zftKoRk4Qo/74MFO3a+3Wu/E2s58uVDeudgoAoGCCqGSM49 3 | AwEHoUQDQgAEX1hweplf/CRwhjHBTvPKiCLCozo+Ed83UrqlXXn9+g2D0LK35v0Q 4 | pQpNEjBBGjnIE0Yng7FRQZoJVFbQNW4ZcQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/badconfigou/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAu4YO8nk0V76CpJLoAZlqXhUE3dpDnQgOkkKkhcUu4FoAoGCCqGSM49 3 | AwEHoUQDQgAED1djgCwdEwB+sKm2zCbTUFTd6PNkg4IzzVsgpJXIHIILgI1FQf4K 4 | mLbwjeG93ToqWqjHl6/XBIY2nL9JNZ8kcg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/intermediate/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEII27gKS2mFIIGkyGFEvHyv1khaJHe+p+sDt0++JByCDToAoGCCqGSM49 3 | AwEHoUQDQgAEJUUpwMg/jQ+qpmkVewEvwTySl+XWbd4AXtb/0XsDqXNcyXl0DVgA 4 | gJNGnt5r+bvZdB8SOk1ySAEEsCQArkarMg== 5 | -----END EC PRIVATE KEY----- -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHuArUN02X3xP3dIwv5h9pj5D1N8cZNhe3G/PTxwp/wRoAoGCCqGSM49 3 | AwEHoUQDQgAEez34erUiU+Uig5/Xh9vJEWdjVVfEfIZlsud5g3gtV44eVnJA8ak+ 4 | KatQdMRsjhl8MORaQpHZVttMLI/NpevaUg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIEtwfoqj32FxbOCs1MuoYG0cBd8KPEbNXQXdioZOtCRToAoGCCqGSM49 3 | AwEHoUQDQgAEJZSxpxNHhcfEUwsdZf7Dt1gmDOnuxiVDP5Ozmb7ZPxcdpd6uFvXT 4 | M8RYqAc8maQv9cTkfG7q7ZEpT0+iF4OiRw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEILEK9gVnh8MFQ/haNGYxE3jpOGes/KWxPBB772JzEXXhoAoGCCqGSM49 3 | AwEHoUQDQgAEZ9VROmil4jlDm/J5yCo17sN4qm2w5T0cshCRN44jeMXoz3d9876l 4 | DqGGc3NIuDvJ2hEPsI4t7ojx0W4cbIhiiQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIPvQEa4UOGVR/n0Jh+Z1I9O5tZceZ4vvRftwJeeVJiNXoAoGCCqGSM49 3 | AwEHoUQDQgAEGfMzvxUVrdwu0T3wfMR8qzwCUndeQBKJlFL58+Mrm7K9SeDURk11 4 | 8UWzk6P2/jXKEtkt87st/3H/aLdLVnD8vw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIBdx7uyZKG8aj285qad5NPmZgKbS5eLehitlmiKm67eCoAoGCCqGSM49 3 | AwEHoUQDQgAEFpm4iZy1My5FmvjdCGeundAC5g7rvUNHFsqoIrwHUmbrg1NhE78f 4 | 5Kcavn8V4A2XPRhAqHFN7OAKcPzYpys5PA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIG81JH/WihK7jel//kE0EJqXwhJobz4g9LhXSGvLhCLZoAoGCCqGSM49 3 | AwEHoUQDQgAEhdV8hNtOoUxdcMHcjLDMwExXkxCH+rC0uhjbUDViuxWntexQFPjp 4 | nFaIOj9of0zvaTncw6xA9DVpJO0670CD0w== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEILqbbzwZ/ZjcLijZBlJ5SJ7mCWfDJq5dAyTJD19sEFANoAoGCCqGSM49 3 | AwEHoUQDQgAEW/1WoetaOiZNuvfynsminZhLhPONVFZ0H0TL1bNhFZjrEld0hP6o 4 | 6LIipLyEy2OW1EP/rBchzBkyv5YfnVyuFA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIA2woAww1P7JksSu0i4QLNBkK/EDumSzpF8ACq6fLKL+oAoGCCqGSM49 3 | AwEHoUQDQgAEAdi7avefHG6pwhoLFYtlgJazLheMdlDK2gFHqkYp+x2p005VtiRt 4 | 14ngPNH+AS+1FowE/aEBn0ZrRWlf+sEhXQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIE2Zw8s46ZYgp+cgvJqJhbP+Cp4oupa4uOtisRNLdw+4oAoGCCqGSM49 3 | AwEHoUQDQgAExivs4+IOqTMSzVjL4x5DlN0P9gCLtqaUYoNS+65HTnX2cm589Vvq 4 | 4TCKzPw0mQ5wMho69R0ky0a5tVXu+5voUA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEINwOHBNVUnhpGiDiZKLS+78e0xPrQL2zPYCjvqTqGgyGoAoGCCqGSM49 3 | AwEHoUQDQgAEg7PFT0Y4aUZDyKLvZMRHSa2kUcGfqSmysbXykFA6iJCjHj3en5Ol 4 | 4bvCuq0Gw/jOnxsBKNT/Hv8gzoZvjSMGtg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIKSb66Q3urIZSrKNM3Q12OzTXa/L+bspjCraL/Jl/fd+oAoGCCqGSM49 3 | AwEHoUQDQgAEH818PGvlngf0ueHJTlLZUptergr+NvOIWAf4UsIcn7biNoKtrxWd 4 | +bZLvBK9LgrwKuEnZJapblh4NOM+pZQlKg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIMm0li+aIo9yui694MuKfgn1+RO2PYAqWdOCgi/suW0XoAoGCCqGSM49 3 | AwEHoUQDQgAE9gDsZDnyL7Mkt3UxbxzfdYGfMAgf4JVAUgGF59wIH894JRa5d5rl 4 | 3DiRg9hXyE3yjYzN70+PUbAkmam7pmkC0w== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/peer/testdata/Org2-child1-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIPOWGbAnyV/ubULozdRQKt+kMPrz5l3LVxz80uYpufjQoAoGCCqGSM49 3 | AwEHoUQDQgAEmlsF+xDEaYFUOCWrK+RprJIgqkj9VWQNC44jkklY1LAkEe91rr8f 4 | i80ce8S3HEst8PWwCTod9rUy6rful7VzZQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/xc/qtum/bak/node2_qtumd.conf: -------------------------------------------------------------------------------- 1 | daemon=0 2 | regtest=1 3 | par=2 4 | txindex=1 5 | logevents=1 6 | port=23889 7 | addnode=qtumd_node3:23891 8 | rpcport=13889 9 | onlynet=ipv4 10 | listenonion=0 11 | logips=1 12 | uacomment=qtumd_node2 13 | debug=1 14 | record-log-opcodes=1 15 | -------------------------------------------------------------------------------- /examples/xc/qtum/bak/node3_qtumd.conf: -------------------------------------------------------------------------------- 1 | daemon=0 2 | regtest=1 3 | par=2 4 | txindex=1 5 | logevents=1 6 | port=23891 7 | addnode=qtumd_node1:23888 8 | rpcport=13891 9 | onlynet=ipv4 10 | listenonion=0 11 | logips=1 12 | uacomment=qtumd_node3 13 | debug=1 14 | record-log-opcodes=1 15 | -------------------------------------------------------------------------------- /msp/testdata/badadmin/keystore/key-COP1.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAGR4/FR6CVRgwG4gqim4CKKd5NH+CbDSQdd9YD5zqVJoAoGCCqGSM49 3 | AwEHoUQDQgAEdo7+VaZWVMdsaVhxHEqIzd+rhpi6ZdIo9rN4ZVgeF8TX2bbSkk6C 4 | IdKpJPjR1jYpjvOxKVtF1UruKxvzpFbPQw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/badconfigoucert/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAsWwFunEzqz1Rh6nvD4MiPkKCtmoxzh3jTquG5MSbeLoAoGCCqGSM49 3 | AwEHoUQDQgAEHBuKsAO43hs4JGpFfiGMkB/xsILTsOvmN2WmwpsPHZNL6w8HWe3x 4 | CPQtdG/XJJvZ+C756KEsUBM3yw5PTfku8g== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/hosts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts 4 | 5 | import "fmt" 6 | 7 | // DefaultHost constant defines the default host string used by docker on other hosts than Windows 8 | var DefaultHost = fmt.Sprintf("unix://%s", DefaultUnixSocket) 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/route/syscall.s: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·keepAlive(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/call/verifyProposal.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | # verifyProposal(bytes32,address,address,uint256,bytes32) 6 | qcli callcontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol verifyProposal '["'$1'","'$2'","'$3'",'$4',"'$5'"]'` 7 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/zookeeper.conf: -------------------------------------------------------------------------------- 1 | start on started toxiproxy 2 | stop on stopping toxiproxy 3 | 4 | script 5 | export KAFKA_HEAP_OPTS="-Xmx192m" 6 | exec /opt/kafka-KAFKAID/bin/zookeeper-server-start.sh /opt/kafka-KAFKAID/config/zookeeper.properties 7 | end script 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/errors.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | var ( 8 | // ErrNotSupportedPlatform means the platform is not supported. 9 | ErrNotSupportedPlatform = errors.New("platform and architecture is not supported") 10 | ) 11 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child1-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHsSraJmfujmdmF4gyLcJHeHiZDQ9iN6o0paEqst3w7SoAoGCCqGSM49 3 | AwEHoUQDQgAEjPgN8sOqk1CeZaIX/0VMCGqqNVH2hEXG4mKQamB2hUdayWmLXllZ 4 | rkgvOdZxXEyZWNS8BKTu4dXBt+SvtmNzXA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child1-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIMMWlUNySC1mcEAF2R54+l4WRulaR8ILQq1BQMX8s+sNoAoGCCqGSM49 3 | AwEHoUQDQgAEGbut+fRrFxAbizs0fDH22knkbIi/UZ6Og3eA/+ZFP+50fitGX5cS 4 | Go5B8a2mT67Myw6oiyMPg0booP7jdDubgg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child1-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIJxHaOxHhyHX98VEy7suISz7+plIw+qjNEw1IJrogo7HoAoGCCqGSM49 3 | AwEHoUQDQgAEpwsU1QQypapSkXT3q+0zpuc5cElbofvTcsmCHQ9z/s/gvxdh0l3l 4 | kzpSJDHWhAOKeHNYWJWI1aRwQpRjmyJEKw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child1-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIMQgIVxLVbydIsemDngNra4ZSpL53e/WLmx/e8pW3Q7FoAoGCCqGSM49 3 | AwEHoUQDQgAETXTGwjIMjS/MDhXd6sTBcoKuy6jUT1j2z/4CjOrLM0kAlszp2V8O 4 | JLew/kFX4M9jQDj8GT2PvzPEG21pL0O65Q== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child2-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIJZs+vvIqHxQRbBfH0Pn1uXvF4imbUFRSQOZ+fVtI6KqoAoGCCqGSM49 3 | AwEHoUQDQgAEX5r+ZxCtH/ozQgJtv6XZi4L4OqqN7wFu9FVOAfXI7CJ5UjwIZZF2 4 | BeFfrM6Ayt6RKQ/PidTQLeRaCIrQPbq9aA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child2-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEID6PskcALn3pjfRrxNCVrVGtxkgGKJzCCOwowVLL+faJoAoGCCqGSM49 3 | AwEHoUQDQgAE7wLMhcEI8xSaaTO3ZzwQKZH2gxF+x9fsX7S/5QBzlFXRJBjErO6z 4 | RSOySCGijwrSf+p55A5cAgm8w5qpvCq5cQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child2-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIBnzkqzmVczmORsonML7Wld3g/NY/oUcPpBSmvqMpRXioAoGCCqGSM49 3 | AwEHoUQDQgAEIXJ2NmR4ilctKWC4CJRyViVw0r5vMy44738KKb+0MNMnWMycgLHx 4 | JRsoSY6OU+OUJ4joTXENZgp2zdQzWHH2FQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child2-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEICkaBt+DGqyejgceGpjHlW1M4ELNhdamQ9dx/Sx27IAmoAoGCCqGSM49 3 | AwEHoUQDQgAERs+I67Q4VUAPZ+J7cykePJw1qnZOeMaB78qkQKgNOL6F9kEfvOEK 4 | LTHyBtAJ9GBGy3jsAFOqvy34bDlUQVCkRQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child1-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIGZk9nPFSS1WSfoEWF/cr5G7Nd0GXfcAV7YuOoc5JOzXoAoGCCqGSM49 3 | AwEHoUQDQgAEX1SGy8kRmvCqeZbi1CkmLkL0cwaFyWEn/Wo7Bts1Zzm8dtnQ3oHE 4 | 148sAmHPnDc51G38rcnXyc29F7lDAjtyEg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child1-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIESVba7sGripnyPVSYUMAKUxLuskTzVFlmkmBkVf3/3foAoGCCqGSM49 3 | AwEHoUQDQgAEmpTV69EJb3nraIxDlTAHUL7M/ltwaGNhXTLig4y+/iSE+hGDC3oG 4 | cw9oqEV1CMZtIPd18THeylJUgxt0Tx2cKA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child1-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIBONXWLJ/iVGZG8cMh8mtyKRP3UTtYp3pcjt7zTdinNvoAoGCCqGSM49 3 | AwEHoUQDQgAE0cAxRwSgJIjAKOqd/Lt+Ljd/788FhREV4v2fGXVNMyoIOLT2VIdb 4 | 9m6q0lisC/YoNEwouRnPD3Ctni12KLLR7g== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child1-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIKf0TTTjUmkG86e2E2RuMBgANe0rmuMyoX6j/C3JYr6foAoGCCqGSM49 3 | AwEHoUQDQgAENCCxlFGJxpCaEkeTQMeWojuHhvfGE55oJsc688fvSkxxTJ3RZo8C 4 | TiZhFBGoXl1aIKa2snL5g05/rjt7NQFkug== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child2-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIE+3sXHTY9F3Gb3AFzqLucI0n4viH8MjfcPbHK0yiW/QoAoGCCqGSM49 3 | AwEHoUQDQgAEzNlO0aW7fmRcZcaIVZJmf1xJ5lJUame5tG51sazGwLkbsIDHP9Nf 4 | dpfRjYS7bAdPdNjoQdvkcTY2soewWpbU7A== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child2-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIIjKNIYlulfWXUOTWuuocQzVvCdxGpIHEv7oMldbEH0IoAoGCCqGSM49 3 | AwEHoUQDQgAEpNOPWKpUvUNy1MxofkBQsXX5i+hxRnqOY9r25FFuQ4FGpUG8MQts 4 | K8FA3xZ3g38PhmNTdMhZX+sUnl9+j5QkfQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child2-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIGCM6fLA8ofJibjvzrsNo2xj73qenOmI6E+1AtErRl/voAoGCCqGSM49 3 | AwEHoUQDQgAEPGWev4l4XNNfzOl6N7Yj0nAq38Dri9E+gv2+/Qkmz35Fc1pPZNwp 4 | EsHrmgZyJfgMOvGYBIDIP+Hhp1L3NkqCww== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child2-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIJKCRWQc4iN9+RvtilnHhUCOZDSJKMC2Zy4EHFkWBTNWoAoGCCqGSM49 3 | AwEHoUQDQgAEdQe2IjAZQY4tkVm4BS6RJpXtGIOVWDqw5xLSrB5/1MeSTKKtemEf 4 | DpLr28QwgHjBuo1uTmcEkMVmRMV7jaCuOg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/revokedica/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgYV78DPlUOeRDAsOl 3 | VfZMheUFtsloDxt2jMQ2pEKHG9GhRANCAASeSmDdDmjMnbl8NbeVNO6Vdvb7EgK2 4 | uG5RUBz8vsdizGP5FcZGkA21BgLkgjj9MHHqlL1xJBMS+VItLhnDSuLe 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/tls/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright London Stock Exchange Group All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | OrganizationalUnitIdentifiers: 6 | - Certificate: "intermediatecerts/intermediatecert.pem" 7 | OrganizationalUnitIdentifier: "Inkchain Testing" 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/meminfo_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows,!solaris 2 | 3 | package system 4 | 5 | // ReadMemInfo is not supported on platforms other than linux and windows. 6 | func ReadMemInfo() (*MemInfo, error) { 7 | return nil, ErrNotSupportedPlatform 8 | } 9 | -------------------------------------------------------------------------------- /msp/testdata/external/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright London Stock Exchange Group All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | OrganizationalUnitIdentifiers: 6 | - Certificate: "intermediatecerts/intermediatecert.pem" 7 | OrganizationalUnitIdentifier: "Inkchain Testing" 8 | -------------------------------------------------------------------------------- /msp/testdata/intermediate2/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgTNlF7jY6jBKQGLqs 3 | AgllL7utSIRxZdxy4fexQaNX7JKhRANCAAT3WqE6zy7kgdDbN4Ecv+1ITEjFnOpJ 4 | 52oi5lrBfXhFt+F12qLqSuYs0EqJL0VvbtKZMkdXAkgQB26ifAAvqtTn 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/impersonation/orgA/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgiiG7wI1OuYPHb9Ft 3 | 6o/uVjSH6CM2Yq63yvXE+bg9JJyhRANCAAQlAdoVacaSEo8MrjemN+oN7WMPNCTD 4 | oobJw+/KiLR6ItoaDrMhzvoIaP4DJP8xvn9YIloUODaKpX/CZXjtxs8X 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/impersonation/orgB/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgpEGx/HVbldUaoaiP 3 | 9n3DFtxUr1RSvCdQFHFVIRya2uShRANCAATXiJu6Kz0/1DczON02hINz38mOqTQs 4 | g9W7MKvPspFWsg7gc+9U4nQSS/xx59NkS4UhyfqBwUVdMMXpdUE0Bo2L 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/xc/eth/p_init.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | export IP=localhost 4 | 5 | export PORT=8545 6 | 7 | export ACCOUNT=0x14b2f55b94a87adbd3ce6ddaf581acc1bcb028e0 8 | 9 | export PASSWORD=123456 10 | 11 | export ETH_RPC=http://${ACCOUNT}:${PASSWORD}@${IP}:${PORT} 12 | 13 | export SOLAR_ENV=development -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/ioutils/temp_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package ioutils 4 | 5 | import "io/ioutil" 6 | 7 | // TempDir on Unix systems is equivalent to ioutil.TempDir. 8 | func TempDir(dir, prefix string) (string, error) { 9 | return ioutil.TempDir(dir, prefix) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/thunk_linux_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.2 6 | 7 | TEXT ·socketcall(SB),4,$0-36 8 | JMP syscall·socketcall(SB) 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/thunk_linux_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.2 6 | 7 | TEXT ·socketcall(SB),4,$0-36 8 | JMP syscall·socketcall(SB) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/chrootarchive/chroot_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!linux 2 | 3 | package chrootarchive 4 | 5 | import "syscall" 6 | 7 | func chroot(path string) error { 8 | if err := syscall.Chroot(path); err != nil { 9 | return err 10 | } 11 | return syscall.Chdir("/") 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/signal/signal_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!darwin,!freebsd,!windows,!solaris 2 | 3 | package signal 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | // SignalMap is an empty map of signals for unsupported platform. 10 | var SignalMap = map[string]syscall.Signal{} 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | TEXT ·use(SB),NOSPLIT,$0 10 | RET 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/umask_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package system 4 | 5 | // Umask is not supported on the windows platform. 6 | func Umask(newmask int) (oldmask int, err error) { 7 | // should not be called on cli code path 8 | return 0, ErrNotSupportedPlatform 9 | } 10 | -------------------------------------------------------------------------------- /examples/xc/qtum/bak/node1_qtumd.conf: -------------------------------------------------------------------------------- 1 | daemon=0 2 | regtest=1 3 | par=2 4 | txindex=1 5 | logevents=1 6 | port=23888 7 | addnode=qtumd_node2:23889 8 | rpcport=13888 9 | onlynet=ipv4 10 | listenonion=0 11 | logips=1 12 | uacomment=qtumd_node1 13 | debug=1 14 | record-log-opcodes=1 15 | rpcuser=test 16 | rpcpassword=test 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/parsers/kernel/uname_solaris.go: -------------------------------------------------------------------------------- 1 | package kernel 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | func uname() (*unix.Utsname, error) { 8 | uts := &unix.Utsname{} 9 | 10 | if err := unix.Uname(uts); err != nil { 11 | return nil, err 12 | } 13 | return uts, nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/syscall_windows_test.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import "testing" 4 | 5 | func TestHasWin32KSupport(t *testing.T) { 6 | s := HasWin32KSupport() // make sure this doesn't panic 7 | 8 | t.Logf("win32k: %v", s) // will be different on different platforms -- informative only 9 | } 10 | -------------------------------------------------------------------------------- /images/ccenv/Dockerfile.in: -------------------------------------------------------------------------------- 1 | # Copyright Greg Haskins All Rights Reserved 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | FROM _BASE_NS_/inkchain-baseimage:_BASE_TAG_ 6 | COPY payload/chaintool payload/protoc-gen-go /usr/local/bin/ 7 | ADD payload/goshim.tar.bz2 $GOPATH/src/ 8 | RUN mkdir -p /chaincode/input /chaincode/output 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/reexec/command_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows,!freebsd,!solaris 2 | 3 | package reexec 4 | 5 | import ( 6 | "os/exec" 7 | ) 8 | 9 | // Command is unsupported on operating systems apart from Linux and Windows. 10 | func Command(args ...string) *exec.Cmd { 11 | return nil 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/validate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | # check there are no formatting issues 6 | GOFMT_LINES=`gofmt -l . | wc -l | xargs` 7 | test $GOFMT_LINES -eq 0 || echo "gofmt needs to be run, ${GOFMT_LINES} files have issues" 8 | 9 | # run the tests for the root package 10 | go test . 11 | -------------------------------------------------------------------------------- /examples/xc/qtum/remove.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | #docker stop qtumd_node1 qtumd_node2 qtumd_node3 4 | #rm -rf ./node1_data 5 | #rm -rf ./node2_data 6 | #rm -rf ./node3_data 7 | 8 | docker stop qtumd_node 9 | rm -rf ./.qtum 10 | rm solar.development.json 11 | sleep 5 12 | docker rm `docker ps -aq` 13 | 14 | rm -rvf dapp/node_modules 15 | -------------------------------------------------------------------------------- /examples/xc/qtum/start.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | # -e "QTUM_NETWORK=testnet" \ 4 | # -e "QTUM_NETWORK=mainnet" \ 5 | 6 | docker run -d --rm --name qtumd_node \ 7 | -v ${PWD}:/dapp \ 8 | -p 9899:9899 \ 9 | -p 9888:9888 \ 10 | -p 3889:3889 \ 11 | -p 3888:3888 \ 12 | -p 13888:13888 \ 13 | hayeah/qtumportal:latest 14 | -------------------------------------------------------------------------------- /examples/xc/qtum/test/XCPlugin/send/voter.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | # voter(bytes32,address,address,uint256,bytes32,bytes32,bytes32,uint8) 6 | qcli sendtocontract $XCPluginHexAddress `solar encode contracts/XCPlugin.sol voteProposal '["'$1'","'$2'","'$3'",'$4',"'$5'","'$6'","'$7'",'$8']'` 0 6000000 $gasPrice $XCPluginOwner 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/go-units/circle.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | post: 3 | # install golint 4 | - go get github.com/golang/lint/golint 5 | 6 | test: 7 | pre: 8 | # run analysis before tests 9 | - go vet ./... 10 | - test -z "$(golint ./... | tee /dev/stderr)" 11 | - test -z "$(gofmt -s -l . | tee /dev/stderr)" 12 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/requirements.go: -------------------------------------------------------------------------------- 1 | package require 2 | 3 | // TestingT is an interface wrapper around *testing.T 4 | type TestingT interface { 5 | Errorf(format string, args ...interface{}) 6 | FailNow() 7 | } 8 | 9 | //go:generate go run ../_codegen/main.go -output-package=require -template=require.go.tmpl 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/nettest/rlimit_windows.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package nettest 6 | 7 | func maxOpenFiles() int { return 4 * defaultMaxOpenFiles /* actually it's 16581375 */ } 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/umask.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | // Umask sets current process's file mode creation mask to newmask 10 | // and returns oldmask. 11 | func Umask(newmask int) (oldmask int, err error) { 12 | return syscall.Umask(newmask), nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/fsouza/go-dockerclient/DOCKER-LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | You can find the Docker license at the following link: 6 | https://raw.githubusercontent.com/docker/docker/master/LICENSE 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/nettest/rlimit_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build nacl plan9 6 | 7 | package nettest 8 | 9 | func maxOpenFiles() int { return defaultMaxOpenFiles } 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/reexec/README.md: -------------------------------------------------------------------------------- 1 | ## reexec 2 | 3 | The `reexec` package facilitates the busybox style reexec of the docker binary that we require because 4 | of the forking limitations of using Go. Handlers can be registered with a name and the argv 0 of 5 | the exec of the binary will be used to find and execute custom init paths. 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/utimes_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd,!darwin 2 | 3 | package system 4 | 5 | import "syscall" 6 | 7 | // LUtimesNano is not supported on platforms other than linux, freebsd and darwin. 8 | func LUtimesNano(path string, ts []syscall.Timespec) error { 9 | return ErrNotSupportedPlatform 10 | } 11 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ":core:chaincode:shim:java" 2 | include ":examples:chaincode:java:Example" 3 | include ":examples:chaincode:java:MapExample" 4 | include ":examples:chaincode:java:LinkExample" 5 | include ":examples:chaincode:java:SimpleSample" 6 | include ":examples:chaincode:java:RangeExample" 7 | include ":examples:chaincode:java:TableExample" 8 | 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/icmp/sys_freebsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package icmp 6 | 7 | import "syscall" 8 | 9 | func init() { 10 | freebsdVersion, _ = syscall.SysctlUint32("kern.osreldate") 11 | } 12 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgixJReeen2sIgyqT6 3 | F0z2Y9iYIu++FVOGg7ha4FR6G2WhRANCAAT73Elt3f2FcnDxjj2a3PM7U/8pouPO 4 | QQBAYbtye6NvK0kdEsv6QdbYTTb6hvyEC5zCyNH9LGDQnbK59oPEpa1K 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/pidfile/pidfile_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package pidfile 4 | 5 | import ( 6 | "os" 7 | "path/filepath" 8 | "strconv" 9 | ) 10 | 11 | func processExists(pid int) bool { 12 | if _, err := os.Stat(filepath.Join("/proc", strconv.Itoa(pid))); err == nil { 13 | return true 14 | } 15 | return false 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/nettest/error_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build nacl plan9 6 | 7 | package nettest 8 | 9 | func protocolNotSupported(err error) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgUsf4CUpdmdIaax7T 3 | qjCJaQLCsSU1/xaoETdgCCZ8fDihRANCAATc297sbanJvFsD5Ldu8qU/wEBHiQkb 4 | 3ph3aT1QVzv4yZ1czn/tN5UJtqJ2dik4Nivak2XOjweKPCjK9jGc3tTd 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/time_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package archive 4 | 5 | import ( 6 | "syscall" 7 | "time" 8 | ) 9 | 10 | func timeToTimespec(time time.Time) (ts syscall.Timespec) { 11 | nsec := int64(0) 12 | if !time.IsZero() { 13 | nsec = time.UnixNano() 14 | } 15 | return syscall.NsecToTimespec(nsec) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mounter_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd,!solaris freebsd,!cgo solaris,!cgo 2 | 3 | package mount 4 | 5 | func mount(device, target, mType string, flag uintptr, data string) error { 6 | panic("Not implemented") 7 | } 8 | 9 | func unmount(target string, flag int) error { 10 | panic("Not implemented") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/sys_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build nacl plan9 solaris 6 | 7 | package ipv4 8 | 9 | var ( 10 | ctlOpts = [ctlMax]ctlOpt{} 11 | 12 | sockOpts = [ssoMax]sockOpt{} 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/sys_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build nacl plan9 solaris 6 | 7 | package ipv6 8 | 9 | var ( 10 | ctlOpts = [ctlMax]ctlOpt{} 11 | 12 | sockOpts = [ssoMax]sockOpt{} 13 | ) 14 | -------------------------------------------------------------------------------- /core/comm/testdata/prime256v1-openssl-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIM2rUTflEQ11m5g5yEm2Cer2yI+ziccl1NbSRVh3GUR0oAoGCCqGSM49 6 | AwEHoUQDQgAEu2FEZVSr30Afey6dwcypeg5P+BuYx5JSYdG0/KJIBjWKnzYo7FEm 7 | gMir7GbNh4pqA8KFrJZkPuxMgnEJBZTv+w== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgCRU1ZAMLxDAlcr5d 3 | D6ZSprL4Lf0+TkWwN6rCFVWmjDuhRANCAAQmRdf9VGMJ0SZNnft8wdHFvaIvB4e4 4 | OgmgcOmhCNVsILSmfv7NvKEFVGAVSbHU90QBoEUUbddkK6jv8Wu/4tVH 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgi4EN3aLIYYJMpLwD 3 | r3yCKO+EBzcCcTA5QbNZ1SvDFa+hRANCAASqTVmuI3/0ZOW6UmahWLXixEpHeym6 4 | 0jqIqiyZmErzPiow0T7fv6YywTSjOtLb5J01LJVOiZ3v+wlcdRaYh40R 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgfVrs13ZtxgKp8l5T 3 | WAq2IXqgd+zF1V6sTh7rbQ104rShRANCAAQpNJlzWzyMzfmDib8f9F5zlXW+hkcT 4 | XrTjrrlqvkAViyYXZUSq4bSPjU4hyo6u1DJgTXSHwTwtWFxyBnXg9rvg 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgOXZUBNCAmIwJR3bt 3 | GfoOwtmo3QunwcBnBBUPjot4frihRANCAATIesaE2DLbqG4feE1qnVQy1BEFUjHF 4 | NfQ2ohtQwpwFLD0NEXSd1kd3kpBRWuPm3b9Bj5hKmorq58OTrx9ZIBns 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgVlcwZfAKBQZ+W/JX 3 | w64rHF3JiaddhBcUfxk7WuyZxrChRANCAATA4gn4ZLD2UYcaRsqMLy7vJUIwuh+M 4 | v0okLk24RvmVyvfVUcgw6Cs5Msw6VMTHKNcbw94Gn0g7616ypWTmzfWz 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgxFdgRfevcXrABROv 3 | sV6HvrpoN5PHW6qXIFj71CAwtzyhRANCAASldEbYLCoj4XRSgxIiajcif1HuXN5L 4 | 4O4vWks6MXmzTmRUBwfrTj/0VEjrW6O9aniZheiucH5HWlxDC2iVg3M8 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgOa1azVZZkkb3rRW1 3 | y3z1TCvqOzftqGI3eELPG2TWK6WhRANCAATBTXEqGDfNnEJ0hqMQYloc5WIvTZ1W 4 | 63zgjXbMTDo4WCH76bY1YAYXPO2alLEKeLEmFR1dasQCezw+dAiUQvuE 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgftZDPdCM6QMMv8ZO 3 | eXbUFGQqnFhEUAiChttdWcSp6QOhRANCAASzPxD+5doMF+ERsVvYF+/AkyDUOt0U 4 | XFNNRfdR0qU95fntR9BwAoCVkxpH+WZ8Ap1HHWf89mA9ec31RRxdn78H 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/units/README.md: -------------------------------------------------------------------------------- 1 | # Units - Helpful unit multipliers and functions for Go 2 | 3 | The goal of this package is to have functionality similar to the [time](http://golang.org/pkg/time/) package. 4 | 5 | It allows for code like this: 6 | 7 | ```go 8 | n, err := ParseBase2Bytes("1KB") 9 | // n == 1024 10 | n = units.Mebibyte * 512 11 | ``` 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/sockopt_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build nacl plan9 solaris 6 | 7 | package ipv4 8 | 9 | func setInt(fd int, opt *sockOpt, v int) error { 10 | return errOpNoSupport 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/Knetic/govaluate/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | This library was authored by George Lester, and contains contributions from: 2 | 3 | vjeantet (regex support) 4 | iasci (ternary operator) 5 | oxtoacart (parameter structures, deferred parameter retrieval) 6 | wmiller848 (bitwise operators) 7 | prashantv (optimization of bools) 8 | dpaolella (exposure of variables used in an expression) -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/security.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | import ( 4 | "crypto/sha1" 5 | "encoding/hex" 6 | ) 7 | 8 | // HashWithKey hashes the specified string using the security 9 | // key. 10 | func HashWithKey(data, key string) string { 11 | hash := sha1.New() 12 | hash.Write([]byte(data + ":" + key)) 13 | return hex.EncodeToString(hash.Sum(nil)) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /common/crypto/secp256k1/libsecp256k1/src/modules/ecdh/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_ecdh.h 2 | noinst_HEADERS += src/modules/ecdh/main_impl.h 3 | noinst_HEADERS += src/modules/ecdh/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_ecdh 6 | bench_ecdh_SOURCES = src/bench_ecdh.c 7 | bench_ecdh_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /examples/xc/eth/deploy.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source p_init.sh 4 | 5 | solar deploy contracts/INK.sol --gasLimit=300000 6 | 7 | solar deploy contracts/XCPlugin.sol '["7174756d00000000000000000000000000000000000000000000000000000000"]' --gasLimit=500000 8 | 9 | solar deploy contracts/XC.sol '["7174756d00000000000000000000000000000000000000000000000000000000"]' --gasLimit=500000 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mountinfo_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!linux,!freebsd,!solaris freebsd,!cgo solaris,!cgo 2 | 3 | package mount 4 | 5 | import ( 6 | "fmt" 7 | "runtime" 8 | ) 9 | 10 | func parseMountTable() ([]*Info, error) { 11 | return nil, fmt.Errorf("mount.parseMountTable is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/promise/promise.go: -------------------------------------------------------------------------------- 1 | package promise 2 | 3 | // Go is a basic promise implementation: it wraps calls a function in a goroutine, 4 | // and returns a channel which will later return the function's return value. 5 | func Go(f func() error) chan error { 6 | ch := make(chan error, 1) 7 | go func() { 8 | ch <- f() 9 | }() 10 | return ch 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_solaris.go: -------------------------------------------------------------------------------- 1 | // +build solaris,!appengine 2 | 3 | package logrus 4 | 5 | import ( 6 | "os" 7 | 8 | "golang.org/x/sys/unix" 9 | ) 10 | 11 | // IsTerminal returns true if the given file descriptor is a terminal. 12 | func IsTerminal() bool { 13 | _, err := unix.IoctlGetTermios(int(os.Stdout.Fd()), unix.TCGETA) 14 | return err == nil 15 | } 16 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/ordererOrganizations/example.com/ca/0d46ccf0e9436c1bc3b6e2bf80cdb202c4943604f95c72ee0ff839d3ec300719_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg9pRJ4Y87tn+vE1fU 3 | uAGVg5OOGwHYlqBuvAOvy0Z+mEChRANCAAQyw4A26b4ouKj0TxbF3mM4I51vDLZ2 4 | clA+fdrYJwZcI9F/lLmpu+oEd/XXdQn/ELzEsgeCi9xdThVYmeXJ/53K 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/ordererOrganizations/example.com/tlsca/6a211ed18880b4db3867831c977809902713b8e321a5ab55ecc104dafc2eec49_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQghjZ40AvUeupMV603 3 | i9pA9S8uNLz5i6TePeBgJZhrY/ihRANCAAQkmbjr/9EK0m/4CpR6DiM+Eyke3vxP 4 | X+IhL+utTRt/qYz2q0UT9wem0xgRVqyWp4vN35ur7aSI+dALKBFTRWPw 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org1.example.com/ca/0e729224e8b3f31784c8a93c5b8ef6f4c1c91d9e6e577c45c33163609fe40011_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgp4Y9v/Cx/ee3K2mP 3 | N62ttbG2y1NkppMN6MlycYpqtT2hRANCAAQohXCFPMmsvPN+QiP874DXwHXyTZxI 4 | oRZ1Jt9ZkikUlJv3LDxCgSxu2TjCP0kkP/A5JrV4MP+lCit6MKbbkKYF 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org2.example.com/ca/a7d47efa46a6ba07730c850fed2c1375df27360d7227f48cdc2f80e505678005_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgUgMy/PQKxjfxITFM 3 | mVPTu4ZwQlhYIh1vJkn3dkjqDBShRANCAARVtStps/F2HsCLFIdah6iJhTW6Vvro 4 | DQ/HOkGAfPZjzjB4cYpfaRNX19I/9fPnuLqIWxSjj/FEwdeXNX/5hUhH 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/archive/time_linux.go: -------------------------------------------------------------------------------- 1 | package archive 2 | 3 | import ( 4 | "syscall" 5 | "time" 6 | ) 7 | 8 | func timeToTimespec(time time.Time) (ts syscall.Timespec) { 9 | if time.IsZero() { 10 | // Return UTIME_OMIT special value 11 | ts.Sec = 0 12 | ts.Nsec = ((1 << 30) - 2) 13 | return 14 | } 15 | return syscall.NsecToTimespec(time.UnixNano()) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/httputils/mimetype_test.go: -------------------------------------------------------------------------------- 1 | package httputils 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestDetectContentType(t *testing.T) { 8 | input := []byte("That is just a plain text") 9 | 10 | if contentType, _, err := DetectContentType(input); err != nil || contentType != "text/plain" { 11 | t.Errorf("TestDetectContentType failed") 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_no_getwd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build dragonfly freebsd netbsd openbsd 6 | 7 | package unix 8 | 9 | const ImplementsGetwd = false 10 | 11 | func Getwd() (string, error) { return "", ENOTSUP } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,solaris 6 | 7 | package unix 8 | 9 | // TODO(aram): remove these before Go 1.3. 10 | const ( 11 | SYS_EXECVE = 59 12 | SYS_FCNTL = 62 13 | ) 14 | -------------------------------------------------------------------------------- /common/crypto/secp256k1/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | 24 | *~ 25 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org1.example.com/tlsca/945092d936f5838c5a6f6484db974d857933706737d00d04bf65f74e3976f9f8_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg/I1tIO3Xr1ZlsJUm 3 | FDoUo/CNIJXLPlpUxtB7/LjcNzahRANCAASrgcdhvIXc7eJf5u3u0BM2B2tZboZh 4 | dZ8oomOyuIEyG1ivnL+xOO+DrixnnXs3H9A2PbrIot1n29IFQaEBR951 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /examples/cli_test/channel/crypto-config/peerOrganizations/org2.example.com/tlsca/7bb8ba3ff11d3c8cf592bd4326062e77d06ac4963c7b7ae459284dfbd3eb5aac_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgXu7VBLhnEUi4mu4d 3 | tU1nT4lcMR9aoG29s5hLPmIKH/mhRANCAAQafufB/FcqVxwfR3/9RMWU5jXXAZU1 4 | IAJhx+bG/Q4sx18JY6Os3cl32XC70wqaC8myf656eDyiezSlA5q0Mpi1 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/graphdb/conn_sqlite3.go: -------------------------------------------------------------------------------- 1 | // +build cgo 2 | 3 | package graphdb 4 | 5 | import "database/sql" 6 | 7 | // NewSqliteConn opens a connection to a sqlite 8 | // database. 9 | func NewSqliteConn(root string) (*Database, error) { 10 | conn, err := sql.Open("sqlite3", root) 11 | if err != nil { 12 | return nil, err 13 | } 14 | return NewDatabase(conn) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/chtimes_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system 4 | 5 | import ( 6 | "time" 7 | ) 8 | 9 | //setCTime will set the create time on a file. On Unix, the create 10 | //time is updated as a side effect of setting the modified time, so 11 | //no action is required. 12 | func setCTime(path string, ctime time.Time) error { 13 | return nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/kafka.conf: -------------------------------------------------------------------------------- 1 | start on started zookeeper-ZK_PORT 2 | stop on stopping zookeeper-ZK_PORT 3 | 4 | # Use a script instead of exec (using env stanza leaks KAFKA_HEAP_OPTS from zookeeper) 5 | script 6 | sleep 2 7 | export KAFKA_HEAP_OPTS="-Xmx320m" 8 | exec /opt/kafka-KAFKAID/bin/kafka-server-start.sh /opt/kafka-KAFKAID/config/server.properties 9 | end script 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Unsetenv(key string) error { 12 | // This was added in Go 1.4. 13 | return syscall.Unsetenv(key) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/mknod_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package system 4 | 5 | // Mknod is not implemented on Windows. 6 | func Mknod(path string, mode uint32, dev int) error { 7 | return ErrNotSupportedPlatform 8 | } 9 | 10 | // Mkdev is not implemented on Windows. 11 | func Mkdev(major int64, minor int64) uint32 { 12 | panic("Mkdev not implemented on Windows.") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_openbsd.go: -------------------------------------------------------------------------------- 1 | package system 2 | 3 | import ( 4 | "syscall" 5 | ) 6 | 7 | // fromStatT creates a system.StatT type from a syscall.Stat_t type 8 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 9 | return &StatT{size: s.Size, 10 | mode: uint32(s.Mode), 11 | uid: s.Uid, 12 | gid: s.Gid, 13 | rdev: uint64(s.Rdev), 14 | mtim: s.Mtim}, nil 15 | } 16 | -------------------------------------------------------------------------------- /common/crypto/secp256k1/libsecp256k1/src/modules/recovery/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_recovery.h 2 | noinst_HEADERS += src/modules/recovery/main_impl.h 3 | noinst_HEADERS += src/modules/recovery/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_recover 6 | bench_recover_SOURCES = src/bench_recover.c 7 | bench_recover_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /scripts/infiniteloop.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright IBM Corp. All Rights Reserved. 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | # 7 | 8 | # Use this script as the command for the cli Docker container 9 | # in the compose-consensus-4 set. It keeps the container up while we wait for other setup to complete 10 | 11 | set -e 12 | 13 | while true 14 | do 15 | echo "ttd" 16 | sleep 10m 17 | done 18 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/Makefile: -------------------------------------------------------------------------------- 1 | install: 2 | go install ./... 3 | 4 | test: install 5 | go test -v 6 | toml-test toml-test-decoder 7 | toml-test -encoder toml-test-encoder 8 | 9 | fmt: 10 | gofmt -w *.go */*.go 11 | colcheck *.go */*.go 12 | 13 | tags: 14 | find ./ -name '*.go' -print0 | xargs -0 gotags > TAGS 15 | 16 | push: 17 | git push origin master 18 | git push github master 19 | 20 | -------------------------------------------------------------------------------- /vendor/github.com/Knetic/govaluate/expressionFunctions.go: -------------------------------------------------------------------------------- 1 | package govaluate 2 | 3 | /* 4 | Represents a function that can be called from within an expression. 5 | This method must return an error if, for any reason, it is unable to produce exactly one unambiguous result. 6 | An error returned will halt execution of the expression. 7 | */ 8 | type ExpressionFunction func(arguments ...interface{}) (interface{}, error) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/devicemapper/log.go: -------------------------------------------------------------------------------- 1 | package devicemapper 2 | 3 | // definitions from lvm2 lib/log/log.h 4 | const ( 5 | LogLevelFatal = 2 + iota // _LOG_FATAL 6 | LogLevelErr // _LOG_ERR 7 | LogLevelWarn // _LOG_WARN 8 | LogLevelNotice // _LOG_NOTICE 9 | LogLevelInfo // _LOG_INFO 10 | LogLevelDebug // _LOG_DEBUG 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/errors.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | // AnError is an error instance useful for testing. If the code does not care 8 | // about error specifics, and only needs to return the error for example, this 9 | // error should be used to make the test code more readable. 10 | var AnError = errors.New("assert.AnError general error for testing") 11 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/tarsum/writercloser.go: -------------------------------------------------------------------------------- 1 | package tarsum 2 | 3 | import ( 4 | "io" 5 | ) 6 | 7 | type writeCloseFlusher interface { 8 | io.WriteCloser 9 | Flush() error 10 | } 11 | 12 | type nopCloseFlusher struct { 13 | io.Writer 14 | } 15 | 16 | func (n *nopCloseFlusher) Close() error { 17 | return nil 18 | } 19 | 20 | func (n *nopCloseFlusher) Flush() error { 21 | return nil 22 | } 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/scripted/adoption01.dat: -------------------------------------------------------------------------------- 1 | #data 2 |

TEXT 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | |

9 | | 10 | | id="B" 11 | |