Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deroproject/derohe
/ functions
Functions
1,541 in github.com/deroproject/derohe
⨍
Functions
1,541
◇
Types & classes
222
↓ 1 callers
Function
Convert_CBL_TO_P2PCBL
convert complete block to p2p block format
p2p/chunk_server.go:253
↓ 1 callers
Function
Convert_P2PCBL_TO_CBL
convert p2p complete block to complete block format
p2p/chunk_server.go:274
↓ 1 callers
Function
CountMiners
()
cmd/derod/rpc/websocket_getwork_server.go:128
↓ 1 callers
Function
Counter
this function will return wrong result if too wide time glitches happen to system clock
cmd/derod/rpc/websocket_getwork_server.go:77
↓ 1 callers
Function
Create_Encrypted_Wallet_Random_Memory
create an encrypted wallet using using random data
walletapi/wallet_memory.go:147
↓ 1 callers
Function
CurrentThread
CurrentThread returns the handle for the current thread. It is a pseudo handle that does not need to be closed.
cmd/dero-miner/thread_windows.go:61
↓ 1 callers
Function
Decompress
Decompress unzip the Y coordinate using the curve. Y is always positive TODO: use native gfP representation instead of big.Int
cryptography/bn256/changes.go:215
↓ 1 callers
Method
Decrypt
use master keys, everytime required
walletapi/cipher.go:71
↓ 1 callers
Method
Delete
(key Variable)
dvm/dvm_functions.go:147
↓ 1 callers
Method
Deserialize
(buf []byte)
cryptography/crypto/balance_serdes.go:68
↓ 1 callers
Function
DiffBig
big int implementation
blockchain/difficulty.go:113
↓ 1 callers
Function
Dump_metrics_data_directly
(logger logr.Logger, specificnamei interface{})
metrics/metrics.go:93
↓ 1 callers
Method
Element
(index int)
cryptography/crypto/algebra_fieldvector.go:63
↓ 1 callers
Method
EncodeCompressedToBuf
returns to buffer rather than allocation from GC
cryptography/bn256/changes.go:284
↓ 1 callers
Method
Encrypt
use master keys, everytime required
walletapi/cipher.go:66
↓ 1 callers
Method
Exists
whether a variable exists in store or not
dvm/dvm_functions.go:137
↓ 1 callers
Method
FindAllIndex
FindAllIndex returns a sorted list of non-overlapping matches of the regular expression r, where a match is a pair of indices specifying the matched s
astrobwt/suffixarray.go:286
↓ 1 callers
Method
FindAllIndex
FindAllIndex returns a sorted list of non-overlapping matches of the regular expression r, where a match is a pair of indices specifying the matched s
astrobwt/astrobwtv3/suffixarray.go:286
↓ 1 callers
Method
Find_Blocks_Height_Range
this function is not used in core
blockchain/storetopo.go:289
↓ 1 callers
Function
Find_indices
find language and indices all words should be from the same languages ( words do not cross language boundary ) indices = position where word was found
walletapi/mnemonics/mnemonics.go:202
↓ 1 callers
Method
Flip
()
cryptography/crypto/algebra_fieldvector.go:75
↓ 1 callers
Function
FormatMoneyPrecision
format money with specific precision
walletapi/wallet.go:603
↓ 1 callers
Method
Free
Free returns total free bytes on file system
metrics/diskusage.go:23
↓ 1 callers
Method
Free
Free returns total free bytes on file system
metrics/diskusage_windows.go:33
↓ 1 callers
Function
GenerateStatement
generate statement
walletapi/transaction_build.go:311
↓ 1 callers
Function
GenerateWitness
generate witness
walletapi/transaction_build.go:316
↓ 1 callers
Function
Generate_Account_From_Seed
(Seed *crypto.BNRed)
walletapi/wallet.go:178
↓ 1 callers
Function
Generate_Keys_From_Random
generate keys from using random numbers
walletapi/wallet.go:145
↓ 1 callers
Method
GetObject
peer has requested some objects, we must respond if certain object is not in our list we respond with empty buffer for that slot an object is either a
p2p/rpc_object_request.go:24
↓ 1 callers
Function
GetOffset
()
globals/globals.go:84
↓ 1 callers
Function
GetOffsetNTP
()
globals/globals.go:87
↓ 1 callers
Function
GetOffsetP2P
()
globals/globals.go:90
↓ 1 callers
Method
GetSeedLanguage
retrieve current seed language
walletapi/wallet.go:509
↓ 1 callers
Method
GetSeedinLanguage
convert key to seed using language
walletapi/wallet.go:193
↓ 1 callers
Method
GetSelfEncryptedBalanceAtTopoHeight
(scid crypto.Hash, topoheight int64)
walletapi/daemon_communication.go:350
↓ 1 callers
Method
GetTXKey
retrieve secret key for any tx we may have created
walletapi/wallet.go:581
↓ 1 callers
Method
Get_Balance_Rescan
()
walletapi/wallet.go:222
↓ 1 callers
Method
Get_Block_Past
(crypto.Hash)
blockchain/difficulty.go:189
↓ 1 callers
Method
Get_Current_BlockTime
()
blockchain/hardfork_core.go:209
↓ 1 callers
Method
Get_Daemon_TopoHeight
return topoheight of darmon
walletapi/wallet.go:383
↓ 1 callers
Method
Get_Difficulty
()
blockchain/blockchain.go:1161
↓ 1 callers
Method
Get_Encrypted_Wallet
get encrypted wallet
walletapi/wallet_memory.go:308
↓ 1 callers
Method
Get_Keys
()
walletapi/wallet.go:396
↓ 1 callers
Method
Get_Payments_DestinationPort
gets all the payments done to specific payment ID and filtered by specific block height we do need better rpc
walletapi/wallet.go:291
↓ 1 callers
Method
Get_Payments_TXID
return all payments within a tx there can be only 1 entry ZERO SCID will also search in all other tokens NOTE: what about multiple payments
walletapi/wallet.go:312
↓ 1 callers
Method
Get_TopoHeight
return topoheight of wallet
walletapi/wallet.go:373
↓ 1 callers
Method
Handle_Internal_Function
this will handle all internal functions which may be required/necessary to expand DVM functionality
dvm/dvm_functions.go:98
↓ 1 callers
Method
Handshake
serves handhake requests
p2p/rpc_handshake.go:148
↓ 1 callers
Method
HasValue
tells whether the arguments have an argument of this type and value it not nil
rpc/rpc.go:125
↓ 1 callers
Function
HashToBig
HashToBig converts a PoW has into a big.Int that can be used to perform math comparisons.
cmd/dero-miner/difficulty.go:43
↓ 1 callers
Function
HashrateEstimatePercent_1day
note result will be 0, if you have less than 1/2000 hash power
cmd/derod/rpc/websocket_getwork_server.go:119
↓ 1 callers
Function
HashrateEstimatePercent_1hr
note this will be be 0, if you have less than 1/48000 hash power
cmd/derod/rpc/websocket_getwork_server.go:114
↓ 1 callers
Function
HashrateEstimatePercent_7day
note this will be 0, if you have less than 1/(48000*7)
cmd/derod/rpc/websocket_getwork_server.go:124
↓ 1 callers
Function
HexToHash
(h string)
cryptography/crypto/key_old.go:63
↓ 1 callers
Function
InitNetwork
()
globals/globals.go:104
↓ 1 callers
Method
Initialize
(params map[string]interface{})
blockchain/store.go:38
↓ 1 callers
Function
Initialize_TX_store
initialize tx store
dvm/dvm_store.go:66
↓ 1 callers
Method
InnerProduct
(other *FieldVectorPolynomial)
cryptography/crypto/fieldvector.go:58
↓ 1 callers
Method
InsertReplace
add a entry in the suitable place this is always single threaded
walletapi/wallet.go:103
↓ 1 callers
Method
Invert
()
cryptography/crypto/algebra_fieldvector.go:170
↓ 1 callers
Method
Invert
(a *gfP6)
cryptography/bn256/gfp6.go:171
↓ 1 callers
Method
Invert
(a *gfP12)
cryptography/bn256/gfp12.go:146
↓ 1 callers
Method
IsBalancesIntialized
()
blockchain/store.go:58
↓ 1 callers
Method
IsBlockSyncBlockHeightSpecific
(blid crypto.Hash, chain_height int64)
blockchain/blockchain.go:1514
↓ 1 callers
Method
IsMainnet
tells whether address is mainnet address
rpc/address.go:107
↓ 1 callers
Method
IsZero
()
cryptography/bn256/gfp12.go:39
↓ 1 callers
Method
Is_Block_Orphan
Finds whether a block is orphan since we donot store any fields, we need to calculate/find the block as orphan using an algorithm if the block is NOT
blockchain/blockchain.go:1385
↓ 1 callers
Method
Is_Block_Tip
check whether the block is a tip
blockchain/blockchain.go:1152
↓ 1 callers
Method
Len
()
astrobwt/suffixarray_test.go:214
↓ 1 callers
Method
Len
()
astrobwt/astrobwtv3/suffixarray_test.go:214
↓ 1 callers
Method
Load_Block_Height
(crypto.Hash)
blockchain/difficulty.go:186
↓ 1 callers
Method
Load_Complete_Block
loads a complete block from disk
blockchain/store.go:336
↓ 1 callers
Function
LocatePointOfRegistration
if address is unregistered, returns negative numbers
cmd/derod/rpc/rpc_dero_getencryptedbalance.go:132
↓ 1 callers
Method
MarshalBinary
* func GetNormalKey(scid crypto.Key, v Variable) (x DataKey) { x.SCID = scid x.Key = Variable {Type:v.Type, Value: v.Value} return x } */
dvm/dvm_store.go:163
↓ 1 callers
Method
MarshalBinary
these are used by lowest layers
dvm/dvm_store.go:204
↓ 1 callers
Method
MarshalHeaderStatement
marshal asset * func (a AssetPayload) MarshalHeader() ([]byte, error) { return writer.Bytes(), nil } */
transaction/transaction.go:111
↓ 1 callers
Method
MarshalJSON
marshal object as json
blockchain/regpool/regpool.go:79
↓ 1 callers
Method
MarshalProofs
()
transaction/transaction.go:160
↓ 1 callers
Method
Mempool_Nonce_Used
check whether a keyimage exists in the pool
blockchain/mempool/mempool.go:206
↓ 1 callers
Method
Multi
(scalar *big.Int)
cryptography/bn256/lattice.go:87
↓ 1 callers
Method
Neg
(a *twistPoint)
cryptography/bn256/twist.go:199
↓ 1 callers
Function
NewDiskUsage
NewDiskUsages returns an object holding the disk usage of volumePath or nil in case of error (invalid path, etc)
metrics/diskusage.go:15
↓ 1 callers
Function
NewGeneratorParams3
(h *bn256.G1, gs, hs *PointVector)
cryptography/crypto/generatorparams.go:51
↓ 1 callers
Function
NewInnerProductProofNew
(p *PedersenVectorCommitment, salt *big.Int)
cryptography/crypto/proof_innerproduct.go:169
↓ 1 callers
Function
NewNhooyr
(conn *websocket.Conn)
glue/rwc/rwc_nhyoor.go:15
↓ 1 callers
Method
NotifyINV
handles notifications of inventory
p2p/rpc_notifications.go:32
↓ 1 callers
Method
NotifyMiniBlock
only miniblocks carry extra info, which leads to better time tracking
p2p/rpc_notifications.go:113
↓ 1 callers
Function
Notify_Block_Addition
this function triggers notification to all clients that they should repoll
cmd/derod/rpc/websocket_server.go:96
↓ 1 callers
Function
Notify_Height_Changes
()
cmd/derod/rpc/websocket_server.go:129
↓ 1 callers
Function
Notify_MiniBlock_Addition
this function triggers notification to all clients that they should repoll
cmd/derod/rpc/websocket_server.go:113
↓ 1 callers
Function
P2P_Server_v2
()
p2p/controller.go:498
↓ 1 callers
Function
P2P_engine
TODO we need to make sure that exclusive/priority nodes are never banned
p2p/controller.go:209
↓ 1 callers
Function
ParseIP
(s string)
p2p/controller.go:778
↓ 1 callers
Function
PeerList_Print
prints all the connection info to screen
p2p/peer_pool.go:244
↓ 1 callers
Function
Peer_SetFail
a peer marked as fail, will only be connected based on exponential back-off based on powers of 2
p2p/peer_pool.go:184
↓ 1 callers
Function
Peer_SetSuccess
set peer as successfully connected we will only distribute peers which have been successfully connected by us
p2p/peer_pool.go:197
↓ 1 callers
Method
Ping
used to ping pong
p2p/rpc_handshake.go:138
↓ 1 callers
Function
Prune_Blockchain
(prune_topo int64)
blockchain/prune_history.go:66
↓ 1 callers
Method
RPCServer_Stop
shutdown the rpc server component
walletapi/rpcserver/rpc_websocket_server.go:88
↓ 1 callers
Method
Read
(p []byte)
glue/rwc/rwc.go:21
← previous
next →
701–800 of 1,541, ranked by callers