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
↓ 6 callers
Function
bigPow
returns a ** b
common/int128.go:51
↓ 6 callers
Function
buildStruct
(item []VmValue)
vm/neovm/types/neovm_value_test.go:33
↓ 6 callers
Function
byteXReader
************************************************************************** ** internal func ***
common/serialization/serialize.go:262
↓ 6 callers
Function
checkIDState
(srvc *native.NativeService, encID []byte)
smartcontract/service/native/did/utils.go:38
↓ 6 callers
Method
checkStartSyncing
(startBlkNum uint32, forceSync bool)
consensus/vbft/state_mgmt.go:380
↓ 6 callers
Function
checkWitnessByIndex
(srvc *native.NativeService, encID []byte, index uint32)
smartcontract/service/native/did/utils.go:104
↓ 6 callers
Function
constructPeerState
()
consensus/vbft/state_mgmt_test.go:172
↓ 6 callers
Function
constructProposalMsgTest
(acc *account.Account)
consensus/vbft/msg_types_test.go:36
↓ 6 callers
Function
countBit
return the number of 1 bit
merkle/util.go:25
↓ 6 callers
Function
ctrlAddKey
(n *native.NativeService, id string, key []byte, index uint64, addr common.Address)
smartcontract/service/native/did/controller_test.go:370
↓ 6 callers
Function
deserializeSigners
(data []byte)
smartcontract/service/native/did/group.go:155
↓ 6 callers
Method
endorseBlock
(proposal *blockProposalMsg, forEmpty bool)
consensus/vbft/service.go:1898
↓ 6 callers
Method
findBlockProposal
(blkNum uint32, proposer uint32, forEmpty bool)
consensus/vbft/node_utils.go:349
↓ 6 callers
Method
getAccount
(accData *AccountData, passwd []byte)
account/client.go:315
↓ 6 callers
Function
getAllPk
(srvc *native.NativeService, key []byte)
smartcontract/service/native/did/owner.go:61
↓ 6 callers
Function
getAuthorizeInfo
(native *native.NativeService, contract common.Address, peerPubkey string, address common.Address)
smartcontract/service/native/governance/utils.go:508
↓ 6 callers
Method
getExecMerkleRoot
(blkNum uint32)
consensus/vbft/block_pool.go:785
↓ 6 callers
Method
getNodeWeight
getNodeWeight get nodeweight by id
p2pserver/block_sync.go:921
↓ 6 callers
Function
isActive
(state ServerState)
consensus/vbft/state_mgmt.go:54
↓ 6 callers
Function
makeKey
(i int)
core/store/overlaydb/overlaydb_test.go:33
↓ 6 callers
Function
regControlledID
Register id0 which is controlled by id1
smartcontract/service/native/did/controller_test.go:321
↓ 6 callers
Function
regGroupControlledID
(n *native.NativeService, id string, g *Group, s []Signer, addr []common.Address)
smartcontract/service/native/did/controller_test.go:406
↓ 6 callers
Function
replyTxResult
(txResultCh chan *tc.TxResult, hash common.Uint256, err errors.ErrCode, desc string)
txnpool/proc/txnpool_actor.go:62
↓ 6 callers
Method
restartSyncing
()
consensus/vbft/service.go:2518
↓ 6 callers
Method
save
()
account/client.go:140
↓ 6 callers
Function
startActor
(obj interface{})
txnpool/proc/txnpool_server_test.go:64
↓ 6 callers
Function
triggerPublicEvent
(srvc *native.NativeService, op string, id, pub []byte, keyID uint32)
smartcontract/service/native/did/event.go:43
↓ 6 callers
Function
verifyControllerSignature
(srvc *native.NativeService, encId []byte, args *common.ZeroCopySource)
smartcontract/service/native/did/controller.go:354
↓ 6 callers
Function
verifySig
(native *native.NativeService, ontID []byte, keyNo uint64)
smartcontract/service/native/auth/auth.go:643
↓ 5 callers
Method
AddInConnRecord
AddInConnRecord add in connection to inConnRecord
p2pserver/net/netserver/netserver.go:520
↓ 5 callers
Method
AsIntValue
()
vm/neovm/types/neovm_value.go:588
↓ 5 callers
Method
BlockRange
BlockRange returns the block range [start, end) this validator can check
validator/increment/increment.go:58
↓ 5 callers
Method
Clone
()
vm/neovm/types/struct_value.go:56
↓ 5 callers
Method
Connect
(addr string)
p2pserver/net/protocol/server.go:35
↓ 5 callers
Method
ContainTransaction
(hash common.Uint256)
validator/db/transaction_provider.go:31
↓ 5 callers
Method
DumpInfo
DumpInfo print all information of peer
p2pserver/peer/peer.go:158
↓ 5 callers
Method
Execute
()
vm/neovm/executor.go:81
↓ 5 callers
Method
ExecuteBlock
(b *types.Block)
core/store/store.go:48
↓ 5 callers
Function
GenExportBlocksFileName
(name string, start, end uint32)
cmd/utils/utils.go:118
↓ 5 callers
Function
GenRawStorageItem
(value []byte)
core/states/storage_item.go:71
↓ 5 callers
Method
GetAccountByLabel
GetAccountByLabel return account object by label
account/client.go:47
↓ 5 callers
Method
GetAccountMetadataByAddress
GetAccountMetadataByIndex return account Metadata info by address
account/client.go:53
↓ 5 callers
Method
GetAddr16
GetAddr16 return peer`s sync link address in []byte
p2pserver/peer/peer.go:252
↓ 5 callers
Method
GetBlockByHash
(blockHash common.Uint256)
core/store/store.go:59
↓ 5 callers
Method
GetConnectionCnt
()
p2pserver/net/protocol/server.go:46
↓ 5 callers
Method
GetEndorsementsMsgs
(blocknum uint32)
consensus/vbft/msg_pool.go:170
↓ 5 callers
Function
GetGovernanceView
(native *native.NativeService, contract common.Address)
smartcontract/service/native/governance/utils.go:81
↓ 5 callers
Method
GetMerkleProof
(m, n uint32)
core/store/store.go:65
↓ 5 callers
Method
GetOutConnectingListLen
record the peer which is going to be dialed and sent version message but not in establish state
p2pserver/net/netserver/netserver.go:451
↓ 5 callers
Method
GetPeerIndex
(nodeId string)
consensus/vbft/peer_pool.go:221
↓ 5 callers
Method
GetTxStatus
GetTxStatus returns the status in the pending list with the transaction hash
txnpool/proc/txnpool_worker.go:73
↓ 5 callers
Method
Hash
()
core/types/block.go:102
↓ 5 callers
Method
Len
Len returns the size of the set.
p2pserver/common/set/string_set.go:75
↓ 5 callers
Method
M
()
consensus/dbft/consensus_context.go:62
↓ 5 callers
Function
NewRpcError
(err error, errCode ...int64)
cmd/utils/rpc.go:49
↓ 5 callers
Function
ParseIPAddr
ParseIPAddr return ip address
p2pserver/common/p2p_common.go:161
↓ 5 callers
Method
Pos
()
common/zero_copy_source.go:46
↓ 5 callers
Method
Publish
(topic string, msg interface{})
events/actor_event.go:68
↓ 5 callers
Method
Put
(key []byte, value []byte)
smartcontract/storage/cachedb.go:80
↓ 5 callers
Method
PutContract
(contract *payload.DeployCode)
smartcontract/storage/cachedb.go:106
↓ 5 callers
Function
ReadUint64
(reader io.Reader)
common/serialization/serialize.go:218
↓ 5 callers
Method
RequestChangeView
()
consensus/dbft/dbft_service.go:593
↓ 5 callers
Method
SerializationUnsigned
(sink *common.ZeroCopySink)
p2pserver/message/types/consensus_payload.go:123
↓ 5 callers
Method
SetID
SetID set peer id to link
p2pserver/link/link.go:56
↓ 5 callers
Method
SetParam
(value Param)
smartcontract/service/native/global_params/states.go:40
↓ 5 callers
Method
Start
()
p2pserver/net/protocol/server.go:33
↓ 5 callers
Method
Stop
Stop stops server and workers.
txnpool/proc/txnpool_server.go:477
↓ 5 callers
Method
SubmitBlock
called by consensus
core/store/store.go:49
↓ 5 callers
Method
ViewNumber
()
consensus/dbft/consensus_message.go:36
↓ 5 callers
Function
addKey
(srvc *native.NativeService)
smartcontract/service/native/did/method.go:168
↓ 5 callers
Function
appCallTransferOng
(native *native.NativeService, from common.Address, to common.Address, amount uint64)
smartcontract/service/native/governance/utils.go:126
↓ 5 callers
Method
appendReqTime
appendReqTime append a node's request time
p2pserver/block_sync.go:955
↓ 5 callers
Method
assignRspToWorker
assignRspToWorker assigns a check response from the validator to the correct worker.
txnpool/proc/txnpool_server.go:355
↓ 5 callers
Method
endorseDone
check if has reached consensus for endorse-msg return @ endorsable proposer @ for empty commit @ endorsable
consensus/vbft/block_pool.go:317
↓ 5 callers
Method
fill
(checkStart, checkLimit bool)
core/store/overlaydb/memdb.go:54
↓ 5 callers
Method
findGE
Must hold RW-lock if prev == true, as it use shared prevNode slice.
core/store/overlaydb/memdb.go:216
↓ 5 callers
Function
getAuthToken
(native *native.NativeService, contractAddr common.Address, ontID, role []byte)
smartcontract/service/native/auth/auth.go:306
↓ 5 callers
Method
getBlockProposals
(blkNum uint32)
consensus/vbft/block_pool.go:165
↓ 5 callers
Method
getCandidateInfoLocked
(blkNum uint32)
consensus/vbft/block_pool.go:114
↓ 5 callers
Method
getConsensusedCommittedBlockNum
return 0 if consensus not reached yet
consensus/vbft/state_mgmt.go:426
↓ 5 callers
Method
getHeaderKey
(blockHash common.Uint256)
core/store/ledgerstore/block_store.go:479
↓ 5 callers
Method
getHighestRankProposal
(blockNum uint32, proposals []*blockProposalMsg)
consensus/vbft/node_utils.go:166
↓ 5 callers
Function
getOldRecovery
deprecated retain for conpatibility
smartcontract/service/native/did/recovery.go:355
↓ 5 callers
Function
getPeerAttributes
(native *native.NativeService, contract common.Address, peerPubkey string)
smartcontract/service/native/governance/utils.go:662
↓ 5 callers
Method
getPrevBlockHash
()
consensus/vbft/types.go:49
↓ 5 callers
Function
getRecovery
(srvc *native.NativeService, encID []byte)
smartcontract/service/native/did/recovery.go:231
↓ 5 callers
Function
getRoleStorageItem
(role common.Address)
smartcontract/service/native/global_params/utils.go:40
↓ 5 callers
Method
getSavingBlockLock
()
core/store/ledgerstore/ledger_store.go:764
↓ 5 callers
Method
getTransaction
getTransaction returns a transaction with the transaction hash.
txnpool/proc/txnpool_server.go:493
↓ 5 callers
Function
isOwner
(srvc *native.NativeService, encID, pub []byte)
smartcontract/service/native/did/owner.go:183
↓ 5 callers
Method
makeCommitment
(proposal *blockProposalMsg, blkNum uint32, forEmpty bool)
consensus/vbft/service.go:2248
↓ 5 callers
Method
makeFastForward
()
consensus/vbft/service.go:2277
↓ 5 callers
Function
newVmValue
(t *testing.T, data Value)
vm/neovm/stack_opcode_test.go:57
↓ 5 callers
Method
releaseSavingBlockLock
()
core/store/ledgerstore/ledger_store.go:768
↓ 5 callers
Function
serializeAddress
(sink *common.ZeroCopySink, addr common.Address)
smartcontract/service/native/auth/utils.go:196
↓ 5 callers
Function
verifySignature
(srvc *native.NativeService)
smartcontract/service/native/did/method.go:375
↓ 4 callers
Method
AddOutConnRecord
AddOutConnRecord add out connection to outConnRecord
p2pserver/net/netserver/netserver.go:580
↓ 4 callers
Method
AddOutConnectingList
record the peer which is going to be dialed and sent version message but not in establish state
p2pserver/net/netserver/netserver.go:430
↓ 4 callers
Function
BlockFromRawBytes
if no error, ownership of param raw is transfered to Transaction
core/types/block.go:46
↓ 4 callers
Method
Broadcast
(msg interface{})
consensus/actor/actor.go:74
← previous
next →
401–500 of 3,494, ranked by callers