Commit a0d22623 authored by king wang's avatar king wang

add update plugin shell

parent 8f941aca
......@@ -7,4 +7,5 @@ store/kvmvcc/kvmvcc.test
store/mpt/1.png
store/mpt/cpu.pprof
store/mpt/mpt.test
plugin
tool
all:
go get -v -u gitlab.33.cn/chain33/chain33
go build -i -o tool gitlab.33.cn/chain33/chain33/cmd/tools
./tool import --path "." --packname "gitlab.33.cn/chain33/plugin" --conf "" --out "plugin.toml"
package init
import (
_ "gitlab.33.cn/chain33/plugin/consensus/para"
_ "gitlab.33.cn/chain33/plugin/consensus/pbft"
_ "gitlab.33.cn/chain33/plugin/consensus/raft"
_ "gitlab.33.cn/chain33/plugin/consensus/tendermint"
_ "gitlab.33.cn/chain33/plugin/consensus/ticket"
_ "./consensus/para"
_ "./consensus/pbft"
_ "./consensus/raft"
_ "./consensus/tendermint"
_ "./consensus/ticket"
)
package init
//系统级别的签名定义
//为了安全考虑,默认情况下,我们希望只定义合约内部的签名,系统级别的签名对所有的合约都有效
import (
_ "gitlab.33.cn/chain33/plugin/crypto/ecdsa"
_ "gitlab.33.cn/chain33/plugin/crypto/sm2"
_ "./crypto/ecdsa"
_ "./crypto/sm2"
)
package init
import (
_ "gitlab.33.cn/chain33/plugin/dapp/blackwhite"
_ "gitlab.33.cn/chain33/plugin/dapp/cert"
_ "gitlab.33.cn/chain33/plugin/dapp/evm"
_ "gitlab.33.cn/chain33/plugin/dapp/game"
_ "gitlab.33.cn/chain33/plugin/dapp/hashlock"
_ "gitlab.33.cn/chain33/plugin/dapp/lottery"
_ "gitlab.33.cn/chain33/plugin/dapp/norm"
_ "gitlab.33.cn/chain33/plugin/dapp/paracross"
_ "gitlab.33.cn/chain33/plugin/dapp/pokerbull"
_ "gitlab.33.cn/chain33/plugin/dapp/privacy"
_ "gitlab.33.cn/chain33/plugin/dapp/relay"
_ "gitlab.33.cn/chain33/plugin/dapp/retrieve"
_ "gitlab.33.cn/chain33/plugin/dapp/ticket"
_ "gitlab.33.cn/chain33/plugin/dapp/token"
_ "gitlab.33.cn/chain33/plugin/dapp/trade"
_ "gitlab.33.cn/chain33/plugin/dapp/valnode"
_ "./dapp/blackwhite"
_ "./dapp/cert"
_ "./dapp/evm"
_ "./dapp/game"
_ "./dapp/hashlock"
_ "./dapp/lottery"
_ "./dapp/norm"
_ "./dapp/paracross"
_ "./dapp/pokerbull"
_ "./dapp/privacy"
_ "./dapp/relay"
_ "./dapp/retrieve"
_ "./dapp/ticket"
_ "./dapp/token"
_ "./dapp/trade"
_ "./dapp/valnode"
)
[consensus-para]
Type = "consensus"
Gitrepo = "gitlab.33.cn/chain33/plugin/consensus/para"
Version = ""
[consensus-pbft]
Type = "consensus"
Gitrepo = "gitlab.33.cn/chain33/plugin/consensus/pbft"
Version = ""
[consensus-raft]
Type = "consensus"
Gitrepo = "gitlab.33.cn/chain33/plugin/consensus/raft"
Version = ""
[consensus-tendermint]
Type = "consensus"
Gitrepo = "gitlab.33.cn/chain33/plugin/consensus/tendermint"
Version = ""
[consensus-ticket]
Type = "consensus"
Gitrepo = "gitlab.33.cn/chain33/plugin/consensus/ticket"
Version = ""
[crypto-ecdsa]
Type = "crypto"
Gitrepo = "gitlab.33.cn/chain33/plugin/crypto/ecdsa"
Version = ""
[crypto-sm2]
Type = "crypto"
Gitrepo = "gitlab.33.cn/chain33/plugin/crypto/sm2"
Version = ""
[dapp-blackwhite]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/blackwhite"
Version = ""
[dapp-cert]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/cert"
Version = ""
[dapp-evm]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/evm"
Version = ""
[dapp-game]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/game"
Version = ""
[dapp-hashlock]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/hashlock"
Version = ""
[dapp-lottery]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/lottery"
Version = ""
[dapp-norm]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/norm"
Version = ""
[dapp-paracross]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/paracross"
Version = ""
[dapp-pokerbull]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/pokerbull"
Version = ""
[dapp-privacy]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/privacy"
Version = ""
[dapp-relay]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/relay"
Version = ""
[dapp-retrieve]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/retrieve"
Version = ""
[dapp-ticket]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/ticket"
Version = ""
[dapp-token]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/token"
Version = ""
[dapp-trade]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/trade"
Version = ""
[dapp-valnode]
Type = "dapp"
Gitrepo = "gitlab.33.cn/chain33/plugin/dapp/valnode"
Version = ""
[store-kvdb]
Type = "store"
Gitrepo = "gitlab.33.cn/chain33/plugin/store/kvdb"
Version = ""
[store-kvmvcc]
Type = "store"
Gitrepo = "gitlab.33.cn/chain33/plugin/store/kvmvcc"
Version = ""
[store-mpt]
Type = "store"
Gitrepo = "gitlab.33.cn/chain33/plugin/store/mpt"
Version = ""
package init
import (
_ "gitlab.33.cn/chain33/plugin/store/kvdb"
_ "gitlab.33.cn/chain33/plugin/store/kvmvcc"
_ "gitlab.33.cn/chain33/plugin/store/mpt"
_ "./store/kvdb"
_ "./store/kvmvcc"
_ "./store/mpt"
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment