MCPcopy Create free account

hub / github.com/deroproject/derohe / functions

Functions1,541 in github.com/deroproject/derohe

↓ 14 callersFunctionHashToPoint
(seed *big.Int)
cryptography/crypto/hashtopoint.go:105
↓ 14 callersMethodLoad
this will load the variable, and if the key is found loads are cheaper
dvm/dvm_store.go:88
↓ 14 callersMethodLoad_Block_Topological_order_at_index
(index_pos int64)
blockchain/store.go:282
↓ 14 callersFunctionNewAddressFromKeys
create a new address from decompressed point
rpc/address.go:196
↓ 14 callersMethodString
()
blockchain/storetopo.go:42
↓ 14 callersMethodText
(base int)
cryptography/crypto/bnred.go:57
↓ 14 callersMethodupdate
update some common properties quickly
p2p/common.go:49
↓ 13 callersMethodClose
Close closes the underlying connection.
p2p/rpc_cbor_codec.go:124
↓ 13 callersFunctionCreate_Encrypted_Wallet_From_Recovery_Words
create an encrypted wallet using electrum recovery words
walletapi/wallet_disk.go:62
↓ 13 callersFunctionEncode
Encode encodes hrp(human-readable part) and data(32bit data array), returns Bech32 / or error if hrp is uppercase, return uppercase Bech32
rpc/bech32.go:77
↓ 13 callersMethodMempool_List_TX
return list of all txs in pool
blockchain/mempool/mempool.go:271
↓ 13 callersMethodNeg
Neg sets e to -a and then returns e.
cryptography/bn256/bn256.go:86
↓ 13 callersMethodReset
Reset zeros the key data and makes the Cipher unusable. Deprecated: Reset can't guarantee that the key will be entirely removed from the process's me
astrobwt/astrobwtv3/rc4.go:51
↓ 13 callersMethodSerialize
()
cryptography/crypto/balance_serdes.go:51
↓ 13 callersMethodXORKeyStream
XORKeyStream sets dst to the result of XORing src with the key stream. Dst and src must overlap entirely or not at all.
astrobwt/astrobwtv3/rc4.go:60
↓ 13 callersFunctionsimulator_chain_mineblock
(chain *blockchain.Blockchain, miner_address rpc.Address, t *testing.T)
walletapi/tx_creation_test.go:105
↓ 12 callersMethodGetRegistrationTX
retrieve secret key for any tx we may have created
walletapi/wallet.go:546
↓ 12 callersMethodGet_TIPS
we should be holding lock at this time, atleast read only
blockchain/blockchain.go:1144
↓ 12 callersMethodLoad_Merkle_Hash
load store hash from 2 tree
blockchain/store.go:297
↓ 12 callersMethodMakeAffine
()
cryptography/bn256/changes.go:322
↓ 12 callersMethodMarshalBinaryPanic
()
dvm/dvm_store.go:168
↓ 12 callersMethodOpen
(basedir string)
blockchain/storetopo.go:46
↓ 12 callersMethodRead
reasonable for BenchmarkSaveRestore Read reads the index from r into x; x must not be nil.
astrobwt/astrobwtv3/suffixarray.go:154
↓ 12 callersMethodReadTX
(h [32]byte)
blockchain/storefs.go:286
↓ 12 callersFunctionSegwitAddrEncode
SegwitAddrEncode encodes hrp(human-readable part) , version(int) and data(bytes array), returns Segwit Address / or error
rpc/bech32.go:200
↓ 12 callersMethodSet
(a *gfP6)
cryptography/bn256/gfp6.go:17
↓ 12 callersMethodSetOnlineMode
by default a wallet opens in Offline Mode however, It can be made online by calling this
walletapi/wallet.go:434
↓ 12 callersFunctionValidateCurrentPassword
confirms whether user knows the current password for the wallet this is triggerred while transferring amount, changing settings and so on
cmd/dero-wallet-cli/prompt.go:824
↓ 12 callersMethodlen
()
astrobwt/suffixarray.go:47
↓ 12 callersMethodlen
()
astrobwt/astrobwtv3/suffixarray.go:47
↓ 11 callersMethodAdd
(a, b *twistPoint)
cryptography/bn256/twist.go:76
↓ 11 callersMethodCall
(method string, params interface{}, result interface{})
cmd/explorer/explorerlib/explorerlib.go:78
↓ 11 callersMethodConjugate
(a *gfP2)
cryptography/bn256/gfp2.go:52
↓ 11 callersFunctionDecode
Decode decodes bechString(Bech32) returns hrp(human-readable part) and data(32bit data array) / or error
rpc/bech32.go:111
↓ 11 callersMethodDecodeCompressed
(i []byte)
cryptography/crypto/group.go:43
↓ 11 callersMethodDelete
(dkey DataKey)
dvm/dvm_store.go:81
↓ 11 callersMethodGet_Current_Version_at_Height
(height int64)
blockchain/hardfork_core.go:217
↓ 11 callersMethodGet_Top_ID
()
blockchain/store.go:224
↓ 11 callersFunctionHashHexToHash
convert a hash of hex form to binary form, returns a zero hash if any error TODO this should be in crypto
cryptography/crypto/hash.go:53
↓ 11 callersMethodIsRegistration
()
transaction/transaction.go:201
↓ 11 callersFunctionKeccak256
quick keccak wrapper
cryptography/crypto/keccak.go:23
↓ 11 callersMethodLoad_Block_Topological_order
(blid crypto.Hash)
blockchain/storetopo.go:276
↓ 11 callersFunctionNewPointVector
(input []*bn256.G1)
cryptography/crypto/algebra_pointvector.go:34
↓ 11 callersMethodReadBlockSnapshotVersion
(h [32]byte)
blockchain/storefs.go:177
↓ 11 callersMethodRegpool_List_TX
return list of all txs in pool
blockchain/regpool/regpool.go:341
↓ 11 callersMethodSet
Set sets e to a and then returns e.
cryptography/bn256/bn256.go:95
↓ 11 callersMethodWrite
Write writes the index x to w.
astrobwt/astrobwtv3/suffixarray.go:204
↓ 11 callersFunctionhandle_connection_panic
(c *Connection)
p2p/controller.go:621
↓ 10 callersMethodAdd_Complete_Block
this is the only entrypoint for new / old blocks even for genesis block this will add the entire block atomically to the chain this is the only functi
blockchain/blockchain.go:378
↓ 10 callersMethodBigInt
convert BNRed to BigInt
cryptography/crypto/bnred.go:44
↓ 10 callersMethodCreate_new_miner_block
NOTE: this function is quite big since we do a lot of things in preparation of next blocks
blockchain/miner_block.go:107
↓ 10 callersMethodGet_Network_HashRate
()
blockchain/blockchain.go:1165
↓ 10 callersMethodMul
(a, b *gfP12)
cryptography/bn256/gfp12.go:94
↓ 10 callersFunctionRunSmartContract
it is similar to internal functions, however it enforces the condition that only Exportable functions are callable any function which has first charac
dvm/dvm.go:344
↓ 10 callersMethodString
()
cryptography/bn256/bn256.go:53
↓ 10 callersMethodUnmarshalBinary
(buf []byte)
dvm/dvm_store.go:228
↓ 10 callersFunctionconvertdatatovariable
we should migrate to generics ASAP
dvm/dvm_functions.go:152
↓ 9 callersFunctionAddress
(c *Connection)
p2p/connection_pool.go:111
↓ 9 callersFunctionInitializeLog
(console, logfile io.Writer)
globals/globals.go:135
↓ 9 callersMethodIsCoinbase
returns whether the tx is coinbase
transaction/transaction.go:197
↓ 9 callersMethodIsInfinity
()
cryptography/bn256/curve.go:61
↓ 9 callersMethodMulXi
MulXi sets e=ξa where ξ=i+9 and then returns e.
cryptography/bn256/gfp2.go:101
↓ 9 callersMethodMultiExponentiate
(exponents *FieldVector)
cryptography/crypto/algebra_elgamal.go:131
↓ 9 callersMethodPlus
(value *big.Int)
cryptography/crypto/algebra_elgamal.go:80
↓ 9 callersFunctionPressAnyKey
confirms user to press a key this is triggerred while transferring amount, changing settings and so on
cmd/dero-wallet-cli/prompt.go:916
↓ 9 callersFunctionRandomScalarFixed
this will return fixed random scalar
cryptography/crypto/random.go:35
↓ 9 callersMethodReadBlockSnapshotVersion
this cannot be cached
blockchain/storefs.go:174
↓ 9 callersMethodSet
(a *curvePoint)
cryptography/bn256/curve.go:31
↓ 9 callersMethodSet
(a *twistPoint)
cryptography/bn256/twist.go:39
↓ 9 callersMethodStore
store variable
dvm/dvm_store.go:128
↓ 9 callersMethodString
stringifier
cryptography/crypto/hash.go:42
↓ 9 callersFunctionfromContext
(ctx context.Context)
walletapi/rpcserver/rpc_websocket_server.go:332
↓ 9 callersMethodgetpath
TODO we need to enable big support or shift to object store at some point in time
blockchain/storefs.go:39
↓ 9 callersFunctiongfpNeg
go:noescape
cryptography/bn256/gfp_decl.go:17
↓ 8 callersFunctionCalcBlockReward
convert bitcoin reward system to our block CalcBlockSubsidy returns the subsidy amount a block at the provided height should have. This is mainly used
blockchain/transaction_execute.go:58
↓ 8 callersMethodClose_Encrypted_Wallet
close the wallet
walletapi/wallet_disk.go:149
↓ 8 callersMethodCompressed
()
rpc/address.go:102
↓ 8 callersFunctionConvertBlockToMiniblock
(bl block.Block, miniblock_miner_address rpc.Address)
blockchain/miner_block.go:348
↓ 8 callersFunctionIsAddressConnected
map[string]*Connection{} check whether an IP is in the map already
p2p/connection_pool.go:166
↓ 8 callersMethodIsClean
whether record is clean
blockchain/storetopo.go:117
↓ 8 callersMethodIs_Block_Topological_order
since topological order might mutate, instead of doing cleanup, we double check the pointers we first locate the block and its height, then we locate
blockchain/storetopo.go:263
↓ 8 callersMethodLoad_Block_Difficulty
(crypto.Hash)
blockchain/difficulty.go:187
↓ 8 callersMethodLoad_Block_Height
(h crypto.Hash)
blockchain/store.go:164
↓ 8 callersFunctionMedian
we sort descending by inversing the condition Median gets the median number in a slice of uint64 numbers this function is used in so many checks that
p2p/median.go:31
↓ 8 callersFunctionNewCipher
NewCipher creates and returns a new Cipher. The key argument should be the RC4 key, at least 1 byte and at most 256 bytes.
astrobwt/astrobwtv3/rc4.go:30
↓ 8 callersFunctionParseValidateAddress
this will parse and validate an address, in reference to the current main/test mode
globals/globals.go:303
↓ 8 callersFunctionReducedHash
(input []byte)
cryptography/crypto/hashtopoint.go:66
↓ 8 callersFunctionSC_Meta_Key
(scid crypto.Hash)
dvm/sc.go:76
↓ 8 callersMethodSetZero
()
cryptography/bn256/gfp2.go:30
↓ 8 callersFunctionWrapped_tree
checks cache and returns a wrapped tree if possible
dvm/sc.go:107
↓ 8 callersFunctionbenchmark_AstroBWTv3
(b *testing.B, length int)
astrobwt/astrobwtv3/pow_test.go:100
↓ 8 callersFunctiongetc
(client *rpc2.Client)
p2p/controller.go:643
↓ 8 callersFunctionread_line_with_prompt
read a line from the prompt since we cannot query existing, we can get away by using password mode with
cmd/dero-wallet-cli/main.go:590
↓ 8 callersMethodsave_if_disk
()
walletapi/wallet_memory.go:340
↓ 8 callersFunctionset_handler
(base interface{}, methodname string, handler interface{})
p2p/controller.go:629
↓ 7 callersMethodAdd
(addendum *FieldVector)
cryptography/crypto/algebra_fieldvector.go:96
↓ 7 callersFunctionAstroBWTv3
this will generate a hash
astrobwt/astrobwtv3/pow.go:34
↓ 7 callersMethodCalculate_Height_At_Tips
This will get the biggest height of tip for hardfork version and other calculations get biggest height of parent, add 1
blockchain/store.go:135
↓ 7 callersFunctionConfirmYesNoDefaultNo
confirms whether the user wants to confirm NO
cmd/dero-wallet-cli/prompt.go:800
↓ 7 callersMethodDeserialize
parse entire block completely
block/miniblock.go:176
← previousnext →101–200 of 1,541, ranked by callers