MCPcopy Create free account

hub / github.com/deroproject/derohe / functions

Functions1,541 in github.com/deroproject/derohe

↓ 1 callersMethodReadBlockHeight
(h [32]byte)
blockchain/storefs.go:226
↓ 1 callersMethodReadBlockHeight
(h [32]byte)
blockchain/storefs.go:239
↓ 1 callersFunctionReadFloat64
(l *readline.Instance, cprompt string, default_value float64)
cmd/dero-wallet-cli/prompt.go:611
↓ 1 callersFunctionReadInt64
(l *readline.Instance, cprompt string, default_value int64)
cmd/dero-wallet-cli/prompt.go:698
↓ 1 callersMethodRegpool_Address_Present
check whether a keyimage exists in the pool
blockchain/regpool/regpool.go:278
↓ 1 callersMethodRun
setup handlers
walletapi/rpcserver/rpc_websocket_server.go:132
↓ 1 callersMethodSerializeCoreStatement
TXID excludes proof, rest everything is included
transaction/transaction.go:503
↓ 1 callersFunctionSetDaemonAddress
(endpoint string)
walletapi/wallet.go:427
↓ 1 callersMethodSetIntegratorAddress
(addr rpc.Address)
blockchain/blockchain.go:330
↓ 1 callersMethodSetOfflineMode
by default a wallet opens in Offline Mode however, if the wallet is in online mode, it can be made offline instantly using this
walletapi/wallet.go:402
↓ 1 callersMethodSetOne
()
cryptography/bn256/gfp12.go:33
↓ 1 callersFunctionSetThreadAffinityMask
currently we suppport upto 64 cores
cmd/dero-miner/thread_windows.go:51
↓ 1 callersMethodSetZero
()
cryptography/bn256/gfp12.go:27
↓ 1 callersMethodSet_Encrypted_Wallet_Password
wallet must already be open
walletapi/wallet_memory.go:158
↓ 1 callersMethodSignFile
this basically does a Schnorr Signature on random information for registration NOTE: this function brings entire file to RAM 2 times, this could be r
walletapi/wallet.go:681
↓ 1 callersMethodSlice
slice and return
cryptography/crypto/algebra_fieldvector.go:50
↓ 1 callersFunctionSliceUniqTopoRecord
SliceUniq removes duplicate values in given slice
blockchain/storetopo.go:241
↓ 1 callersMethodSortTips
this will sort the tips based on cumulative difficulty and/or block ids the tips will sorted in descending order
blockchain/miner_block.go:77
↓ 1 callersMethodString
stringifier
block/block.go:80
↓ 1 callersMethodStringHex
()
cryptography/crypto/group.go:58
↓ 1 callersMethodSyncHistory
make sync history single threaded
walletapi/daemon_communication.go:507
↓ 1 callersMethodTimes
(multiplier *big.Int)
cryptography/crypto/algebra_fieldvector.go:160
↓ 1 callersMethodTokenAdd
(scid crypto.Hash)
walletapi/wallet.go:131
↓ 1 callersMethodTreeSection
get parts of the specified balance tree chunk by chunk
p2p/rpc_treesection.go:22
↓ 1 callersFunctionUnBan_Address
* /// ban a peer only if it can be banned func Peer_Ban_Internal(address string, ban_seconds uint64) (err error){ p := GetPeerInList(address)
p2p/bans.go:242
↓ 1 callersMethodUnmarshalHeaderStatement
(r *bytes.Reader)
transaction/transaction.go:137
↓ 1 callersMethodUnmarshalProofs
(r *bytes.Reader)
transaction/transaction.go:167
↓ 1 callersMethodUnmarshalText
(text []byte)
rpc/address.go:121
↓ 1 callersMethodUsed
Used returns total bytes used in file system
metrics/diskusage.go:38
↓ 1 callersMethodUsed
Used returns total bytes used in file system
metrics/diskusage_windows.go:48
↓ 1 callersFunctionVerify_Checksum
for verification, we need all 25 words calculate checksum and verify whether match
walletapi/mnemonics/mnemonics.go:266
↓ 1 callersFunctionVerify_MiniBlocks
verifies the consensus rules completely for miniblocks
blockchain/miniblocks_consensus.go:53
↓ 1 callersMethodVerify_MiniBlocks_HashCheck
last miniblock must be extra checked for corruption/attacks
blockchain/miniblocks_consensus.go:32
↓ 1 callersMethodVerify_Transaction_Coinbase
Coinbase transactions need to verify registration
blockchain/transaction_verify.go:62
↓ 1 callersFunctionWriteBlockChainTree
(chain *blockchain.Blockchain, filename string, start_height, stop_height int64)
cmd/derod/main.go:1124
↓ 1 callersFunctionassemblepolynomials
* func (proof *Proof) String() string { klog.V(1).Infof("proof BA %s\n", proof.BA.String()) klog.V(1).Infof("proof BS %s\n", proof.BS.String())
cryptography/crypto/proof_verify.go:522
↓ 1 callersFunctionassignID_16
(text []int16, sa []int16, numLMS int)
astrobwt/sais16.go:762
↓ 1 callersFunctionassignID_32
(text []int32, sa []int32, numLMS int)
astrobwt/sais2.go:1110
↓ 1 callersFunctionassignID_32
(text []int32, sa []int32, numLMS int)
astrobwt/astrobwtv3/sais2.go:1110
↓ 1 callersFunctionassignID_64
(text []int64, sa []int64, numLMS int)
astrobwt/sais2.go:1146
↓ 1 callersFunctionassignID_64
(text []int64, sa []int64, numLMS int)
astrobwt/astrobwtv3/sais2.go:1146
↓ 1 callersFunctionassignID_8_16
(text []byte, sa []int16, numLMS int)
astrobwt/sais16.go:726
↓ 1 callersFunctionassignID_8_32
assignID_8_32 assigns a dense ID numbering to the set of LMS-substrings respecting string ordering and equality, returning the maximum assigned ID. Fo
astrobwt/sais.go:593
↓ 1 callersFunctionassignID_8_32
assignID_8_32 assigns a dense ID numbering to the set of LMS-substrings respecting string ordering and equality, returning the maximum assigned ID. Fo
astrobwt/astrobwtv3/sais.go:593
↓ 1 callersFunctionassignID_8_64
(text []byte, sa []int64, numLMS int)
astrobwt/sais2.go:1074
↓ 1 callersFunctionassignID_8_64
(text []byte, sa []int64, numLMS int)
astrobwt/astrobwtv3/sais2.go:1074
↓ 1 callersFunctionavoidHT
(i int)
cmd/dero-miner/thread_windows.go:78
↓ 1 callersFunctionavoidHT
(i int)
cmd/dero-miner/thread_linux.go:39
↓ 1 callersFunctionban_clean_up_goroutine
clean up ban list every 20 seconds
p2p/bans.go:108
↓ 1 callersFunctionbenchmarkbatchedinverts
(count int, b *testing.B)
cryptography/bn256/changes_test.go:48
↓ 1 callersFunctionbenchmarksingleinverts
(count int, b *testing.B)
cryptography/bn256/changes_test.go:31
↓ 1 callersMethodbootstrap_chain
import "github.com/deroproject/derosuite/blockchain" we are expecting other side to have a heavier PoW chain this is for the case when the chain only
p2p/chain_bootstrap.go:45
↓ 1 callersFunctionbroadcast_Block_Coded
(cbl *block.Complete_Block, PeerID uint64, first_seen int64)
p2p/connection_pool.go:382
↓ 1 callersFunctionbroadcast_Chunk
broad cast a block to all connected peers in cut up in chunks with erasure coding we can only broadcast a block which is in our db this function is tr
p2p/connection_pool.go:483
↓ 1 callersMethodcalculate_avg_offset
calculate avg offset
p2p/common.go:92
↓ 1 callersFunctioncalculate_network_time
update P2P time
p2p/connection_pool.go:753
↓ 1 callersFunctioncheck_update
()
cmd/derod/update.go:152
↓ 1 callersFunctionclone_snapshot
clone a snapshot, this is a dero arch dependent since the trees can be large in the long term, we do them in chunks
blockchain/prune_history.go:152
↓ 1 callersFunctionconvert_block_to_chunks
note we do not send complete block, since other nodes already have most of the mempool, let the mempool be used as much as possible
p2p/chunk_server.go:299
↓ 1 callersFunctioncreateChecksum
(hrp string, data []int)
rpc/bech32.go:65
↓ 1 callersFunctioncreate_genesis_wallet
()
cmd/simulator/wallets.go:93
↓ 1 callersFunctiondial_random_read_response
(in []byte)
cmd/derod/update.go:85
↓ 1 callersFunctiondiff_snapshot
diff a snapshot from block to block, this is a dero arch dependent entire block is done in a single commit
blockchain/prune_history.go:266
↓ 1 callersFunctiondiscard_blocks_and_transactions
first lets free space by discarding blocks, and txs before the historical point any error while deleting should be considered non fatal
blockchain/prune_history.go:118
↓ 1 callersFunctiondisplay_easymenu_post_open_command
import "github.com/deroproject/derohe/address" handle menu if a wallet is currently opened
cmd/dero-wallet-cli/easymenu_post_open.go:40
↓ 1 callersFunctiondisplay_easymenu_pre_open_command
display menu before a wallet is opened
cmd/dero-wallet-cli/easymenu_pre_open.go:35
↓ 1 callersFunctiondoGetProcAddress
(lib uintptr, name string)
cmd/dero-miner/thread_windows.go:33
↓ 1 callersFunctiondoLoadLibrary
(name string)
cmd/dero-miner/thread_windows.go:28
↓ 1 callersFunctiondump
(filename string)
cmd/derod/main.go:96
↓ 1 callersMethodevalBinaryExpr
(exp *ast.BinaryExpr)
dvm/dvm.go:992
↓ 1 callersMethodeval_identifier
only returns identifiers
dvm/dvm.go:842
↓ 1 callersFunctionexists
(path string)
cmd/simulator/simulator.go:554
↓ 1 callersFunctionexpand_16
(text []int16, freq, bucket, sa []int16, numLMS int)
astrobwt/sais16.go:957
↓ 1 callersFunctionexpand_32
(text []int32, freq, bucket, sa []int32, numLMS int)
astrobwt/sais2.go:1367
↓ 1 callersFunctionexpand_32
(text []int32, freq, bucket, sa []int32, numLMS int)
astrobwt/astrobwtv3/sais2.go:1367
↓ 1 callersFunctionexpand_64
(text []int64, freq, bucket, sa []int64, numLMS int)
astrobwt/sais2.go:1398
↓ 1 callersFunctionexpand_64
(text []int64, freq, bucket, sa []int64, numLMS int)
astrobwt/astrobwtv3/sais2.go:1398
↓ 1 callersFunctionexpand_8_16
(text []byte, freq, bucket, sa []int16, numLMS int)
astrobwt/sais16.go:925
↓ 1 callersFunctionexpand_8_32
expand_8_32 distributes the compacted, sorted LMS-suffix indexes from sa[:numLMS] into the tops of the appropriate buckets in sa, preserving the sorte
astrobwt/sais.go:757
↓ 1 callersFunctionexpand_8_32
expand_8_32 distributes the compacted, sorted LMS-suffix indexes from sa[:numLMS] into the tops of the appropriate buckets in sa, preserving the sorte
astrobwt/astrobwtv3/sais.go:757
↓ 1 callersFunctionexpand_8_64
(text []byte, freq, bucket, sa []int64, numLMS int)
astrobwt/sais2.go:1335
↓ 1 callersFunctionexpand_8_64
(text []byte, freq, bucket, sa []int64, numLMS int)
astrobwt/astrobwtv3/sais2.go:1335
↓ 1 callersFunctionextract_parse_version
our version are TXT record of following format version=base64 encoded json
cmd/derod/update.go:260
↓ 1 callersMethodfeed_chunk
feed a chunk until we are able to fully decode a chunk
p2p/chunk_server.go:61
↓ 1 callersFunctionfft_FieldVector
(input *FieldVector, inverse bool)
cryptography/crypto/fieldvector.go:172
↓ 1 callersFunctionfill_common_skip_topoheight
used while sendint TX ASAP this also skips statehash
p2p/common.go:42
↓ 1 callersFunctionfind
find all occurrences of s in source; report at most n occurrences
astrobwt/suffixarray_test.go:113
↓ 1 callersFunctionfind
find all occurrences of s in source; report at most n occurrences
astrobwt/astrobwtv3/suffixarray_test.go:113
↓ 1 callersFunctionfindYforX
* * Given X, find Y * * where y = sqrt(x^3 + b) * * Returns: (x^3 + b), y **/
cryptography/crypto/hashtopoint.go:152
↓ 1 callersFunctionfix
(v []byte, indices []uint32, i int)
astrobwt/astrobwtv3/sa_fast.go:37
↓ 1 callersFunctionfix
(v []byte, indices []uint32, i int)
astrobwt/astrobwt_fast/astrobwt_optimized.go:76
↓ 1 callersFunctionfix_startup
()
cmd/simulator/wallets.go:98
↓ 1 callersMethodflip_top
this will flip chain top, depending on which block has more work more worked block is normally identified in < 2 secs
blockchain/blockchain.go:1578
↓ 1 callersMethodgFpToBigInt
Convert a gfP into a big.Int
cryptography/bn256/changes.go:201
↓ 1 callersMethodgenerateInnerProductProof
(base *GeneratorParams, P *bn256.G1, as, bs *FieldVector, prev_challenge *big.Int)
cryptography/crypto/proof_innerproduct.go:110
↓ 1 callersMethodgenerateInnerProductProofNew
(p *PedersenVectorCommitment, as, bs *FieldVector, prev_challenge *big.Int)
cryptography/crypto/proof_innerproduct.go:176
↓ 1 callersFunctiongenerate_random_tls_cert
generate default tls cert to encrypt everything NOTE: this does NOT protect from individual active man-in-the-middle attacks
p2p/controller.go:719
↓ 1 callersFunctiongenerate_random_tls_cert
generate default tls cert to encrypt everything NOTE: this does NOT protect from individual active man-in-the-middle attacks
cmd/derod/rpc/websocket_getwork_server.go:399
↓ 1 callersFunctiongetYFromMontEncodedX
Takes a MontEncoded x and finds the corresponding y (one of the two possible y's)
cryptography/bn256/changes.go:109
↓ 1 callersFunctionget_peer_list
return white listed peer list for use in handshake
p2p/peer_pool.go:316
← previousnext →801–900 of 1,541, ranked by callers