Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ functions
Functions
3,494 in github.com/DNAProject/DNA
⨍
Functions
3,494
◇
Types & classes
552
↓ 1 callers
Method
GetUnverifiedTxs
GetUnverifiedTxs checks the tx list in the block from consensus, and returns verified tx list, unverified tx list, and the tx list to be re-verified
txnpool/common/transaction_pool.go:202
↓ 1 callers
Method
GetValues
()
vm/neovm/types/map_value.go:90
↓ 1 callers
Function
GetVbftConfigInfo
(memdb *overlaydb.MemDB)
consensus/vbft/utils.go:132
↓ 1 callers
Method
GetVersion
GetVersion return peer`s version
p2pserver/peer/peer.go:173
↓ 1 callers
Method
GetWriteSet
()
core/store/overlaydb/overlaydb.go:98
↓ 1 callers
Method
Halt
()
p2pserver/net/protocol/server.go:34
↓ 1 callers
Method
HandleDeployTransaction
HandleDeployTransaction deal with smart contract deploy transaction
core/store/ledgerstore/tx_handler.go:47
↓ 1 callers
Method
HandleInvokeTransaction
HandleInvokeTransaction deal with smart contract invoke transaction
core/store/ledgerstore/tx_handler.go:82
↓ 1 callers
Method
Hash
()
consensus/vbft/config/config.go:126
↓ 1 callers
Method
HashFullTreeWithLeafHash
(leaves []common.Uint256)
merkle/merkle_hasher.go:50
↓ 1 callers
Function
HeaderFromRawBytes
(raw []byte)
core/types/header.go:165
↓ 1 callers
Function
HeadersReqHandle
HeaderReqHandle handles the header sync req from peer
p2pserver/message/utils/msg_handler.go:102
↓ 1 callers
Method
Info
(a ...interface{})
common/log/log.go:181
↓ 1 callers
Function
Init
()
smartcontract/service/native/auth/auth.go:41
↓ 1 callers
Function
Init
()
smartcontract/service/native/did/init.go:28
↓ 1 callers
Function
InitBytes
(addr common.Address, method string)
smartcontract/service/native/init/init.go:51
↓ 1 callers
Function
InitGas
()
smartcontract/service/native/gas/gas.go:40
↓ 1 callers
Function
InitGovernance
Init governance contract address
smartcontract/service/native/governance/governance.go:121
↓ 1 callers
Function
InitRestServer
init restful server
http/restful/restful/server.go:87
↓ 1 callers
Method
Insert
(index int64, t types.VmValue)
vm/neovm/value_stack.go:48
↓ 1 callers
Function
InvHandle
InvHandle handles the inventory message(block, transaction and consensus) from peer.
p2pserver/message/utils/msg_handler.go:510
↓ 1 callers
Function
InvokeNeoVMContract
Invoke neo vm smart contract. if isPreExec is true, the invoke will not really execute
cmd/utils/gas.go:639
↓ 1 callers
Function
InvokeWasmVMContract
Invoke wasm vm smart contract. if isPreExec is true, the invoke will not really execute
cmd/utils/gas.go:653
↓ 1 callers
Method
IsAccountExist
(address string)
cmd/sigsvr/store/wallet_store.go:347
↓ 1 callers
Method
IsAddrFromConnecting
(addr string)
p2pserver/net/protocol/server.go:69
↓ 1 callers
Method
IsAddrInInConnRecord
IsAddrInInConnRecord return result whether addr is in inConnRecordList
p2pserver/net/netserver/netserver.go:528
↓ 1 callers
Function
IsBase58Address
(address string)
cmd/common/common.go:141
↓ 1 callers
Method
IsEOF
()
core/program/program.go:181
↓ 1 callers
Function
IsNativeContract
(addr common.Address)
smartcontract/service/native/utils/params.go:40
↓ 1 callers
Method
IsNbrPeerAddr
IsNbrPeerAddr return result whether the address is under connecting
p2pserver/net/netserver/netserver.go:478
↓ 1 callers
Method
IsNil
()
consensus/vbft/config/config.go:83
↓ 1 callers
Method
IsOwnAddress
check own network address
p2pserver/net/netserver/netserver.go:623
↓ 1 callers
Method
IsOwnAddress
(addr string)
p2pserver/net/protocol/server.go:68
↓ 1 callers
Method
IsPeerEstablished
(p *peer.Peer)
p2pserver/net/protocol/server.go:51
↓ 1 callers
Method
IsValidMsg
(reqMsg map[string]interface{})
http/websocket/websocket/server.go:292
↓ 1 callers
Function
LinkedlistDelete
(native *native.NativeService, index []byte, item []byte)
smartcontract/service/native/utils/linked_list.go:185
↓ 1 callers
Function
LinkedlistDeleteAll
(native *native.NativeService, index []byte)
smartcontract/service/native/utils/linked_list.go:288
↓ 1 callers
Function
LinkedlistGetHead
(native *native.NativeService, index []byte)
smartcontract/service/native/utils/linked_list.go:262
↓ 1 callers
Function
LinkedlistGetNumOfItems
(native *native.NativeService, index []byte)
smartcontract/service/native/utils/linked_list.go:270
↓ 1 callers
Function
LinkedlistInsert
(native *native.NativeService, index []byte, item []byte, payload []byte)
smartcontract/service/native/utils/linked_list.go:124
↓ 1 callers
Method
LoadChainConfig
(blkNum uint32)
consensus/vbft/service.go:281
↓ 1 callers
Function
LoadContracts
(dir string)
wasmtest/wasm-test.go:170
↓ 1 callers
Method
MakeBlockSignatures
(signatures []SignaturesData)
consensus/dbft/consensus_context.go:162
↓ 1 callers
Method
MakeChangeView
()
consensus/dbft/consensus_context.go:90
↓ 1 callers
Method
MakePrepareRequest
()
consensus/dbft/consensus_context.go:141
↓ 1 callers
Method
MakePrepareResponse
(signature []byte)
consensus/dbft/consensus_context.go:153
↓ 1 callers
Function
MultiSigTransaction
(mutTx *types.MutableTransaction, m uint16, pubKeys []keypair.PublicKey, signer *account.Account)
cmd/utils/gas.go:323
↓ 1 callers
Function
New
(out io.Writer, prefix string, flag, level int, file *os.File)
common/log/log.go:124
↓ 1 callers
Function
NewAbiMgr
()
cmd/abi/abi_mgr.go:39
↓ 1 callers
Method
NewAccount
(label string, typeCode keypair.KeyType, curveCode byte, sigScheme s.SignatureScheme, passwd []byte)
account/client.go:144
↓ 1 callers
Function
NewActorPublisher
(publisher *actor.PID, evtHub ...*eventhub.EventHub)
events/actor_event.go:47
↓ 1 callers
Method
NewBatch
NewBatch start a commit batch
core/store/ledgerstore/block_store.go:70
↓ 1 callers
Method
NewBatch
NewBatch start event commit batch
core/store/ledgerstore/event_store.go:56
↓ 1 callers
Function
NewBlockCache
()
p2pserver/block_sync.go:259
↓ 1 callers
Function
NewBlockCache
NewBlockCache return BlockCache instance
core/store/ledgerstore/block_cache.go:50
↓ 1 callers
Function
NewBlockSyncMgr
NewBlockSyncMgr return a BlockSyncMgr instance
p2pserver/block_sync.go:242
↓ 1 callers
Function
NewBlockchainConfig
()
common/config/config.go:409
↓ 1 callers
Function
NewChecksum
()
p2pserver/common/checksum.go:44
↓ 1 callers
Function
NewCliRpcServer
()
cmd/sigsvr/httpsvr.go:43
↓ 1 callers
Method
NewConsensusPayload
(payload *p2pmsg.ConsensusPayload)
consensus/vbft/service.go:255
↓ 1 callers
Function
NewConsensusService
(consensusType string, account *account.Account, txpool *actor.PID, ledger *actor.PID, p2p *actor.PID)
consensus/consensus.go:45
↓ 1 callers
Function
NewDbftService
(bkAccount *account.Account, txpool, p2p *actor.PID)
consensus/dbft/dbft_service.go:63
↓ 1 callers
Function
NewDeployNeoContract
(signer *account.Account, code []byte)
wasmtest/wasm-test.go:77
↓ 1 callers
Function
NewDeployTransaction
copy from smartcontract/service/neovm/config.go to avoid cycle dependences NewDeployTransaction returns a deploy Transaction
core/utils/transaction_builder.go:42
↓ 1 callers
Function
NewDeployWasmContract
(signer *account.Account, code []byte)
wasmtest/wasm-test.go:63
↓ 1 callers
Function
NewEvent
()
events/event.go:34
↓ 1 callers
Function
NewEventStore
NewEventStore return event store instance
core/store/ledgerstore/event_store.go:44
↓ 1 callers
Function
NewIdentity
(label string, keyType keypair.KeyType, param interface{}, password []byte)
account/identity.go:121
↓ 1 callers
Function
NewInvokeTransaction
NewInvokeTransaction returns an invoke Transaction
core/utils/transaction_builder.go:55
↓ 1 callers
Method
NewIterator
NewIterator returns an iterator of the MemDB. The returned iterator is not safe for concurrent use, but it is safe to use multiple iterators concurren
core/store/overlaydb/memdb.go:393
↓ 1 callers
Method
NewIterator
param key is referenced by iterator
core/store/overlaydb/overlaydb.go:115
↓ 1 callers
Function
NewLimitedWriter
(w io.Writer, max uint64)
common/limited_writer.go:37
↓ 1 callers
Function
NewMapVmValue
()
vm/neovm/types/neovm_value.go:124
↓ 1 callers
Function
NewMemStateStore
for test
core/store/ledgerstore/state_store.go:84
↓ 1 callers
Method
NewNativeService
()
smartcontract/smart_contract.go:191
↓ 1 callers
Function
NewNeovmContractAbi
(abiData []byte)
cmd/utils/neovm_param_abi.go:32
↓ 1 callers
Function
NewNodeWeight
NewNodeWeight new a nodeweight
p2pserver/block_sync.go:65
↓ 1 callers
Function
NewOverlayDB
()
smartcontract/service/native/testsuite/fakedb.go:49
↓ 1 callers
Function
NewP2PActor
NewP2PActor creates an actor to handle the messages from txnpool and consensus
p2pserver/actor/server/actor.go:40
↓ 1 callers
Function
NewPeerPool
(maxSize int, server *Server)
consensus/vbft/peer_pool.go:55
↓ 1 callers
Function
NewPolicy
()
consensus/policy.go:33
↓ 1 callers
Function
NewRouter
()
http/restful/restful/router.go:45
↓ 1 callers
Method
NewSession
(wsConn *websocket.Conn)
http/websocket/session/sessionlist.go:45
↓ 1 callers
Function
NewSessionList
new websocket session list
http/websocket/session/sessionlist.go:40
↓ 1 callers
Function
NewSoloService
(bkAccount *account.Account, txpool *actor.PID)
consensus/solo/solo.go:59
↓ 1 callers
Function
NewStore
(path string)
validator/db/store.go:47
↓ 1 callers
Function
NewTxActor
NewTxActor creates an actor to handle the transaction-based messages from network and http
txnpool/proc/txnpool_actor.go:42
↓ 1 callers
Function
NewVbftServer
(account *account.Account, txpool, p2p *actor.PID)
consensus/vbft/service.go:135
↓ 1 callers
Function
NewVmFeatureFlag
(blockHeight uint32)
smartcontract/smart_contract.go:131
↓ 1 callers
Function
NewVmReader
(b []byte)
vm/neovm/utils/vm_reader.go:36
↓ 1 callers
Function
NewWasmSmartContractTransaction
(gasPrice, gasLimit uint64, invokeCode []byte)
core/utils/transaction_builder.go:266
↓ 1 callers
Function
NewWasmVMInvokeTransaction
(gasPrice, gasLimit uint64, contractAddress common.Address, params []interface{})
core/utils/transaction_builder.go:258
↓ 1 callers
Method
NextI128
()
common/zero_copy_source.go:190
↓ 1 callers
Method
NodeEstablished
NodeEstablished return whether a peer is establish with self according to id
p2pserver/net/netserver/netserver.go:220
↓ 1 callers
Function
NotFoundHandle
NotFoundHandle handles the not found message from peer
p2pserver/message/utils/msg_handler.go:220
↓ 1 callers
Method
NotifySubscriber
(eventfunc EventFunc, value interface{})
events/event.go:89
↓ 1 callers
Function
NotifyTransferAdmin
(native *native.NativeService, contract common.Address, functionName string, originAdmin, newAdmin common.Add
smartcontract/service/native/global_params/utils.go:101
↓ 1 callers
Method
OnAddNode
OnAddNode adds the peer id to the block sync mgr
p2pserver/p2pserver.go:196
↓ 1 callers
Method
OnBlockReceive
OnBlockReceive adds the block from network
p2pserver/p2pserver.go:211
↓ 1 callers
Method
OnDataHandle
(curSession *session.Session, bysMsg []byte, r *http.Request)
http/websocket/websocket/server.go:304
← previous
next →
1,401–1,500 of 3,494, ranked by callers