MCPcopy Create free account
hub / github.com/33cn/chain33 / Lock

Method Lock

types/rpc.pb.go:1512–1512  ·  view source on GitHub ↗

给钱包上锁

(ctx context.Context, in *ReqNil, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

1510 SetPasswd(ctx context.Context, in *ReqWalletSetPasswd, opts ...grpc.CallOption) (*Reply, error)
1511 //给钱包上锁
1512 Lock(ctx context.Context, in *ReqNil, opts ...grpc.CallOption) (*Reply, error)
1513 //给钱包解锁
1514 UnLock(ctx context.Context, in *WalletUnLock, opts ...grpc.CallOption) (*Reply, error)
1515 //获取最新的Mempool

Callers 15

RunMethod · 0.95
SetThisMethod · 0.65
setFlatConfigMethod · 0.65
chain33CfgInitMethod · 0.65
GMethod · 0.65
MGMethod · 0.65
HasConfMethod · 0.65
SMethod · 0.65
SetTitleOnlyForTestMethod · 0.65
GetTitleMethod · 0.65
GetCoinSymbolMethod · 0.65
GetCoinExecMethod · 0.65

Implementers 4

chain33Clienttypes/rpc.pb.go
Chain33Clienttypes/mocks/chain33client.go
Grpcrpc/server.go

Calls

no outgoing calls

Tested by 5

RunMethod · 0.76
Test_rmPushFailTaskFunction · 0.52
Test_ReactivePushFunction · 0.52
TestChain33_LockFunction · 0.52
testLockOKFunction · 0.52