MCPcopy Create free account

hub / github.com/deroproject/derohe / functions

Functions1,541 in github.com/deroproject/derohe

↓ 3 callersFunctionGetPowerof2
tell what power a number is
cryptography/crypto/const.go:41
↓ 3 callersMethodGetRandomIAddress8
get a random integrated address
walletapi/wallet.go:210
↓ 3 callersMethodGetRingSize
by default a wallet opens in Offline Mode however, It can be made online by calling this
walletapi/wallet.go:460
↓ 3 callersMethodGet_Blocks_At_Height
(height int64)
blockchain/storetopo.go:255
↓ 3 callersMethodGet_Daemon_Height
()
walletapi/wallet.go:378
↓ 3 callersMethodGet_Ideal_Version_at_Height
used to cast vote
blockchain/hardfork_core.go:241
↓ 3 callersMethodHadamard
(exponent *FieldVector)
cryptography/crypto/algebra_fieldvector.go:124
↓ 3 callersFunctionHashrateEstimatePercent
this will calcuate amount of hashrate based on the number of minis note this calculation is very crude note it will always be lagging, since NW condit
cmd/derod/rpc/websocket_getwork_server.go:109
↓ 3 callersMethodIS_TX_Valid
this will return the tx combination as valid/invalid this is not used as core consensus but reports only to user that his tx though in the blockchain
blockchain/blockchain.go:1341
↓ 3 callersMethodInitialise_Chain_From_DB
this function is called to read blockchain state from DB It is callable at any point in time
blockchain/blockchain.go:337
↓ 3 callersMethodIntegratorAddress
return integrator address
blockchain/blockchain.go:327
↓ 3 callersMethodIsCollision
check if collision will occur
block/miniblockdag.go:67
↓ 3 callersMethodIsDERONetwork
tells whether address belongs to DERO Network
rpc/address.go:117
↓ 3 callersMethodIsInfinity
()
cryptography/bn256/twist.go:72
↓ 3 callersMethodIsOnCurve
IsOnCurve returns true iff c is on the curve.
cryptography/bn256/curve.go:39
↓ 3 callersFunctionIsPowerOf2
checks a number is power of 2
cryptography/crypto/const.go:30
↓ 3 callersFunctionIsRegisteredAtTopoHeight
(addr []byte, topoheight int64)
cmd/derod/rpc/rpc_dero_getencryptedbalance.go:170
↓ 3 callersFunctionIsSimulator
tells whether we are in simulator mode ( both mainnet and testnet coud be simulated)
globals/globals.go:234
↓ 3 callersFunctionKey_To_Words
this will map the key to recovery words from the spcific language language must exist,if not we return english
walletapi/mnemonics/mnemonics.go:138
↓ 3 callersMethodLoad_Block_Timestamp
(h crypto.Hash)
blockchain/store.go:155
↓ 3 callersMethodLookup
Lookup returns an unsorted list of at most n indices where the byte string s occurs in the indexed data. If n < 0, all occurrences are returned. The r
astrobwt/suffixarray.go:256
↓ 3 callersMethodLookup
Lookup returns an unsorted list of at most n indices where the byte string s occurs in the indexed data. If n < 0, all occurrences are returned. The r
astrobwt/astrobwtv3/suffixarray.go:256
↓ 3 callersMethodMakeAffine
()
cryptography/bn256/curve.go:209
↓ 3 callersMethodMakeAffine
()
cryptography/bn256/twist.go:179
↓ 3 callersFunctionMine_block_single
all wallets will rpc activated on ports this is a crude function used during tests
cmd/simulator/simulator.go:100
↓ 3 callersMethodMul
(scalar *big.Int)
cryptography/crypto/algebra_elgamal.go:76
↓ 3 callersMethodNameToAddress
(name string)
walletapi/daemon_communication.go:289
↓ 3 callersMethodNegate
()
cryptography/crypto/algebra_pointvector.go:125
↓ 3 callersFunctionPOW_optimized
(inputdata []byte, data *ScratchData)
astrobwt/astrobwt_fast/astrobwt_optimized.go:34
↓ 3 callersMethodPurgeHeight
purge all heights less than this height
block/miniblockdag.go:34
↓ 3 callersFunctionRandomG2
RandomG2 returns x and g₂ˣ where x is a random, non-zero number read from r.
cryptography/bn256/bn256.go:176
↓ 3 callersMethodReadBlock
the filename stores the following information hex block id (64 chars).block._ rewards (decimal) _ difficulty _ cumulative difficulty
blockchain/storefs.go:56
↓ 3 callersFunctionReadSC
reads SC, balance
dvm/sc.go:296
↓ 3 callersMethodRunSC
(incoming_values map[crypto.Hash]uint64, SCDATA rpc.Arguments, signer_addr *rpc.Address, fees uint64)
dvm/simulator.go:121
↓ 3 callersMethodSetInfinity
()
cryptography/bn256/curve.go:54
↓ 3 callersMethodSetSaveDuration
Ability to set save frequency to lower disc write frequency a negative set value, will return existing value, 0 is a valid value and is set to default
walletapi/wallet.go:520
↓ 3 callersMethodSetSeedLanguage
Ability to change seed lanaguage
walletapi/wallet.go:496
↓ 3 callersMethodShow_Transfers
finds all inputs which have been received/spent etc TODO this code can be easily parallelised and need to be parallelised if only the availble is requ
walletapi/wallet.go:245
↓ 3 callersMethodSort
sort the arguments by their name
rpc/rpc.go:349
↓ 3 callersMethodString
()
transaction/transaction.go:40
↓ 3 callersMethodSub
(a, b *gfP12)
cryptography/bn256/gfp12.go:88
↓ 3 callersMethodVerify_Transaction_NonCoinbase_CheckNonce_Tips
this checks the nonces of a tx agains the current chain state, this basically does a comparision of state trees in limited form
blockchain/transaction_verify.go:71
↓ 3 callersMethodWriteBlock
(h [32]byte, data []byte, difficulty *big.Int, ss_version uint64, height uint64)
blockchain/storefs.go:277
↓ 3 callersMethodWriteTX
(h [32]byte, data []byte)
blockchain/storefs.go:306
↓ 3 callersFunctionbenchmark
(b *testing.B, size int64)
astrobwt/astrobwtv3/rc4_test.go:136
↓ 3 callersFunctioncheck_valid_name
checks whether a function name is valid a valid name starts with a non digit and does not contain .
dvm/dvm.go:152
↓ 3 callersFunctioncheck_valid_type
(name string)
dvm/dvm.go:160
↓ 3 callersFunctionconvert_uint32_to_crypto_hash
used by tip
blockchain/miner_block.go:100
↓ 3 callersMethoddecompose
decompose takes a scalar mod Order as input and finds a short, positive decomposition of it wrt to the lattice basis.
cryptography/bn256/lattice.go:44
↓ 3 callersFunctionequal
(x, y *Index)
astrobwt/suffixarray_test.go:234
↓ 3 callersFunctionequal
(x, y *Index)
astrobwt/astrobwtv3/suffixarray_test.go:234
↓ 3 callersFunctionfill_tx_structure
if there is any error, we return back empty if pos is wrong we return back pos is descending order
cmd/explorer/explorerlib/explorerlib.go:732
↓ 3 callersFunctionfinalExponentiation
finalExponentiation computes the (p¹²-1)/Order-th power of an element of GF(p¹²) to obtain an element of GT (steps 13-15 of algorithm 1 from http://cr
cryptography/bn256/optate.go:212
↓ 3 callersMethodgetpathtx
(h [32]byte)
blockchain/storefs.go:46
↓ 3 callersFunctionhasbasicauthfailed
check basic authrizaion
walletapi/rpcserver/rpc_websocket_server.go:104
↓ 3 callersFunctionmiller
miller implements the Miller loop for calculating the Optimal Ate pairing. See algorithm 1 from http://cryptojedi.org/papers/dclxvi-20100714.pdf
cryptography/bn256/optate.go:122
↓ 3 callersFunctionrecord_changes
this will record all the changes
p2p/rpc_changeset.go:137
↓ 3 callersMethodserialize
this function serializes a block and skips miniblocks is requested
block/block.go:99
↓ 3 callersMethodsetEncryptedBalanceresult
(scid crypto.Hash, entry rpc.GetEncryptedBalance_Result)
walletapi/wallet.go:91
↓ 3 callersFunctionshow_transfers
show the transfers to the user originating from this account
cmd/dero-wallet-cli/prompt.go:1035
↓ 3 callersFunctiontestSA
testSA tests the suffix array build function on the input x. It constructs the suffix array and then checks that it is correct.
astrobwt/suffixarray_test.go:443
↓ 3 callersFunctiontestSA
testSA tests the suffix array build function on the input x. It constructs the suffix array and then checks that it is correct.
astrobwt/astrobwtv3/suffixarray_test.go:443
↓ 3 callersFunctiontext_32
text_32 returns the suffix array for the input text. It requires that len(text) fit in an int32 and that the caller zero sa.
astrobwt/sais.go:128
↓ 3 callersFunctiontext_32
text_32 returns the suffix array for the input text. It requires that len(text) fit in an int32 and that the caller zero sa.
astrobwt/astrobwtv3/sais.go:128
↓ 3 callersFunctiontext_64
(text []byte, sa []int64)
astrobwt/astrobwtv3/sais2.go:9
↓ 2 callersFunctionAbs
go:noinline
p2p/connection_pool.go:729
↓ 2 callersMethodAdd
(a, b *curvePoint)
cryptography/bn256/curve.go:65
↓ 2 callersMethodAddConstant
(c *big.Int)
cryptography/crypto/algebra_fieldvector.go:112
↓ 2 callersFunctionBan_Address
ban a peer for specific time manual bans are always placed address can be an address or a subnet
p2p/bans.go:211
↓ 2 callersFunctionBest_Peer_Height
for continuos update on command line, get the maximum height of all peers show the average network status
p2p/connection_pool.go:321
↓ 2 callersFunctionBroadcast_Block
(cbl *block.Complete_Block, PeerID uint64)
p2p/connection_pool.go:370
↓ 2 callersFunctionCalculate_Checksum_Index
calculate a checksum on first 24 words checksum is calculated as follows take prefix_len chars ( not bytes) from first 24 words and concatenate them c
walletapi/mnemonics/mnemonics.go:240
↓ 2 callersMethodCheckDagStructure
this is part of consensus rule, 2 tips cannot refer to different parents
blockchain/blockchain.go:1444
↓ 2 callersFunctionCheckPowHashBig
this function check whether the pow hash meets difficulty criteria however, it take diff in bigint format
cmd/dero-miner/difficulty.go:76
↓ 2 callersFunctionCheckPowHashBig
this function check whether the pow hash meets difficulty criteria however, it take diff in bigint format
blockchain/difficulty.go:90
↓ 2 callersMethodCheck_Password
check whether the already opened wallet can use this password
walletapi/wallet_disk.go:121
↓ 2 callersMethodClean
delete most of the data and prepare for rescan TODO we must save tokens list and reuse, them, but will be created on-demand when using shows transfers
walletapi/wallet.go:348
↓ 2 callersMethodClone
copy and return
cryptography/crypto/algebra_fieldvector.go:59
↓ 2 callersMethodCompress
Compress G1 by dropping the Y (but retaining its most significant non-zero byte). It returns a [33]byte
cryptography/bn256/changes.go:19
↓ 2 callersFunctionConnection_Delete
add connection to map
p2p/connection_pool.go:129
↓ 2 callersFunctionCreate_Encrypted_Wallet_Random
create an encrypted wallet using using random data
walletapi/wallet_disk.go:79
↓ 2 callersMethodDecodeUncompressed
(input []byte)
cryptography/bn256/changes.go:310
↓ 2 callersMethodDeleteTX
(h [32]byte)
blockchain/storefs.go:317
↓ 2 callersMethodDouble
(a *curvePoint)
cryptography/bn256/curve.go:152
↓ 2 callersMethodDouble
(a *twistPoint)
cryptography/bn256/twist.go:135
↓ 2 callersMethodEncodeUncompressed
()
cryptography/bn256/changes.go:306
↓ 2 callersMethodEvaluate
(x *big.Int)
cryptography/crypto/fieldvector.go:43
↓ 2 callersMethodExpand_Transaction_NonCoinbase
(tx *transaction.Transaction)
blockchain/transaction_verify.go:203
↓ 2 callersMethodFill
()
p2p/rpc_handshake.go:48
↓ 2 callersFunctionFillBytes
(x *big.Int, xbytes []byte)
cryptography/crypto/bnred.go:70
↓ 2 callersFunctionFormatMoney5
5 precision
globals/globals.go:279
↓ 2 callersMethodGetAccount
()
walletapi/wallet_memory.go:333
↓ 2 callersMethodGetHash
this function gets the block identifier hash, this is only used to deduplicate mini blocks
block/miniblock.go:99
↓ 2 callersFunctionGetPeerInList
(address string)
p2p/peer_pool.go:150
↓ 2 callersMethodGetPoWHash
Get PoW hash , this is very slow function
block/miniblock.go:113
↓ 2 callersMethodGetSeed
convert key to seed using language
walletapi/wallet.go:188
↓ 2 callersMethodGetTimestamp
get timestamp, it has millisecond granularity
block/block.go:75
↓ 2 callersMethodGet_Balance_scid
get the unlocked balance ( amounts which are mature and can be spent at this time ) offline wallets may get this wrong, since they may not have latest
walletapi/wallet.go:228
↓ 2 callersFunctionGet_Difficulty_At_Tips
(source DiffProvider, tips []crypto.Hash)
blockchain/difficulty.go:192
↓ 2 callersMethodGet_HF_info
this func will recount votes, set whether the version is voted in only the main chain blocks are counted in this func must be called with chain in loc
blockchain/hardfork_core.go:156
← previousnext →401–500 of 1,541, ranked by callers