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
↓ 2 callers
Method
dispatch_test_handshake
this is used only once all clients start with handshake, then other party sends avtive to mark that connection is active
p2p/rpc_handshake.go:66
↓ 2 callers
Function
display_spend_key
display spend key viewable wallet do not have spend secret key TODO wee need to give user a warning if we are printing secret
cmd/dero-wallet-cli/prompt.go:1009
↓ 2 callers
Function
extractbits
(input []*big.Int, parity int)
cryptography/crypto/fieldvector.go:234
↓ 2 callers
Function
fft_GeneratorVector
(input *PointVector, inverse bool)
cryptography/crypto/fieldvector.go:242
↓ 2 callers
Function
fill_common_T0T1T2
sets up data for ntp style processing
p2p/common.go:34
↓ 2 callers
Function
fill_common_T1
(common *Common_Struct)
p2p/common.go:29
↓ 2 callers
Function
fill_tx_pool_info
fill all the tx pool info as per requested
cmd/explorer/explorerlib/explorerlib.go:948
↓ 2 callers
Function
find_peer_to_connect
this function finds a possible peer to connect to keeping blacklist and already existing connections into picture it must not be already connected usi
p2p/peer_pool.go:287
↓ 2 callers
Function
freq_16
(text []int16, freq, bucket []int16)
astrobwt/sais16.go:158
↓ 2 callers
Function
freq_32
(text []int32, freq, bucket []int32)
astrobwt/sais2.go:220
↓ 2 callers
Function
freq_32
(text []int32, freq, bucket []int32)
astrobwt/astrobwtv3/sais2.go:220
↓ 2 callers
Function
freq_64
(text []int64, freq, bucket []int64)
astrobwt/sais2.go:237
↓ 2 callers
Function
freq_64
(text []int64, freq, bucket []int64)
astrobwt/astrobwtv3/sais2.go:237
↓ 2 callers
Function
freq_8_16
(text []byte, freq, bucket []int16)
astrobwt/sais16.go:140
↓ 2 callers
Function
freq_8_32
freq_8_32 returns the character frequencies for text, as a slice indexed by character value. If freq is nil, freq_8_32 uses and returns bucket. If fre
astrobwt/sais.go:213
↓ 2 callers
Function
freq_8_32
freq_8_32 returns the character frequencies for text, as a slice indexed by character value. If freq is nil, freq_8_32 uses and returns bucket. If fre
astrobwt/astrobwtv3/sais.go:213
↓ 2 callers
Function
freq_8_64
(text []byte, freq, bucket []int64)
astrobwt/sais2.go:202
↓ 2 callers
Function
freq_8_64
(text []byte, freq, bucket []int64)
astrobwt/astrobwtv3/sais2.go:202
↓ 2 callers
Function
get_daemon_address
()
walletapi/daemon_communication.go:122
↓ 2 callers
Method
get_ordered_past
we will collect atleast 50 blocks or till genesis
blockchain/blockchain.go:1545
↓ 2 callers
Function
get_peer_list_specific
(addr string)
p2p/peer_pool.go:334
↓ 2 callers
Function
gfP2Decode
(in *gfP2)
cryptography/bn256/gfp2.go:13
↓ 2 callers
Function
gfpCmp_p
Note: This function is only used to distinguish between points with the same x-coordinates when doing point compression. An ordered field must be infi
cryptography/bn256/changes.go:246
↓ 2 callers
Function
handle_prompt_command
handle all commands while in prompt mode
cmd/dero-wallet-cli/prompt.go:53
↓ 2 callers
Method
hashmash1
(v *big.Int)
cryptography/crypto/proof_generate.go:406
↓ 2 callers
Function
hrpExpand
(hrp string)
rpc/bech32.go:49
↓ 2 callers
Method
install_hardcoded_sc
hard coded contracts generally do not do any initialization
blockchain/hardcoded_contracts.go:68
↓ 2 callers
Method
isCollisionnolock
this assumes that we are already locked
block/miniblockdag.go:75
↓ 2 callers
Function
load_tx_info_from_tx
this will fill up the info struct from the tx
cmd/explorer/explorerlib/explorerlib.go:444
↓ 2 callers
Function
maintain_seed_node_connection
this will maintain connection to 1 seed node randomly
p2p/controller.go:418
↓ 2 callers
Function
map_16
(sa []int16, numLMS int)
astrobwt/sais16.go:798
↓ 2 callers
Function
map_32
map_32 maps the LMS-substrings in text to their new IDs, producing the subproblem for the recursion. The mapping itself was mostly applied by assignID
astrobwt/sais.go:640
↓ 2 callers
Function
map_32
map_32 maps the LMS-substrings in text to their new IDs, producing the subproblem for the recursion. The mapping itself was mostly applied by assignID
astrobwt/astrobwtv3/sais.go:640
↓ 2 callers
Function
map_64
(sa []int64, numLMS int)
astrobwt/sais2.go:1182
↓ 2 callers
Function
map_64
(sa []int64, numLMS int)
astrobwt/astrobwtv3/sais2.go:1182
↓ 2 callers
Function
parse_function_line
this will parse 1 line at a time, if there is an error, it is returned
dvm/dvm.go:171
↓ 2 callers
Function
polymod
dero removes length checks from bech32
rpc/bech32.go:35
↓ 2 callers
Function
prettyprint_json
(b []byte)
cmd/simulator/simulator.go:599
↓ 2 callers
Method
process_object_response
(response Objects, sent int64, syncing bool)
p2p/chain_sync.go:302
↓ 2 callers
Function
randomK
(r io.Reader)
cryptography/bn256/bn256.go:28
↓ 2 callers
Function
readInt
readInt reads an int x from r using buf to buffer the read and returns x.
astrobwt/suffixarray.go:95
↓ 2 callers
Function
readInt
readInt reads an int x from r using buf to buffer the read and returns x.
astrobwt/astrobwtv3/suffixarray.go:95
↓ 2 callers
Function
recurse_16
(sa, oldTmp []int16, numLMS, maxID int)
astrobwt/sais16.go:809
↓ 2 callers
Function
recurse_32
recurse_32 calls sais_32 recursively to solve the subproblem we've built. The subproblem is at the right end of sa, the suffix array result will be wr
astrobwt/sais.go:655
↓ 2 callers
Function
recurse_32
recurse_32 calls sais_32 recursively to solve the subproblem we've built. The subproblem is at the right end of sa, the suffix array result will be wr
astrobwt/astrobwtv3/sais.go:655
↓ 2 callers
Function
recurse_64
(sa, oldTmp []int64, numLMS, maxID int)
astrobwt/sais2.go:1193
↓ 2 callers
Function
recurse_64
(sa, oldTmp []int64, numLMS, maxID int)
astrobwt/astrobwtv3/sais2.go:1193
↓ 2 callers
Function
rescan_bc
start a rescan from block 0
cmd/dero-wallet-cli/prompt.go:1019
↓ 2 callers
Function
reverse
function, which takes a string as argument and return the reverse of string.
cryptography/crypto/proof_generate.go:438
↓ 2 callers
Function
rtt_micro
all inputs are in micro secs,output is in nsec
p2p/time.go:23
↓ 2 callers
Function
runSmartContract_internal
this will run a function from a loaded SC and execute it if possible it can run all internal functions parameters must be passed as strings
dvm/dvm.go:286
↓ 2 callers
Function
sais_8_16
(text []byte, textMax int, sa, tmp []int16)
astrobwt/sais16.go:16
↓ 2 callers
Function
sais_8_32
sais_8_32 computes the suffix array of text. The text must contain only values in [0, textMax). The suffix array is stored in sa, which the caller mus
astrobwt/sais.go:143
↓ 2 callers
Function
sais_8_32
sais_8_32 computes the suffix array of text. The text must contain only values in [0, textMax). The suffix array is stored in sa, which the caller mus
astrobwt/astrobwtv3/sais.go:143
↓ 2 callers
Function
setBits
(bits int)
astrobwt/suffixarray_test.go:530
↓ 2 callers
Function
setBits
(bits int)
astrobwt/astrobwtv3/suffixarray_test.go:530
↓ 2 callers
Function
set_handlers
we need the following RPCS to work
p2p/controller.go:653
↓ 2 callers
Function
simulator_chain_start
start a chain in simulator mode
cmd/simulator/blockchain_sim_test.go:70
↓ 2 callers
Function
simulator_chain_start
start a chain in simulator mode
walletapi/tx_creation_test.go:73
↓ 2 callers
Function
simulator_chain_stop
(chain *blockchain.Blockchain, rpcserver *derodrpc.RPCServer)
cmd/simulator/blockchain_sim_test.go:133
↓ 2 callers
Function
simulator_chain_stop
(chain *blockchain.Blockchain, rpcserver *derodrpc.RPCServer)
walletapi/tx_creation_test.go:137
↓ 2 callers
Function
smaller
(input []uint8, a, b uint64)
astrobwt/astrobwtv3/optimized_sort.go:47
↓ 2 callers
Function
sort_indices
basically
astrobwt/astrobwt_fast/astrobwt_optimized.go:104
↓ 2 callers
Method
sync_chain
we are expecting other side to have a heavier PoW chain, try to sync now
p2p/chain_sync.go:111
↓ 2 callers
Method
synchistory_block
extract history from a single block first get a block, then get all the txs Todo we should expose an API to get all txs which have the specific addres
walletapi/daemon_communication.go:708
↓ 2 callers
Method
synchistory_internal
sync history
walletapi/daemon_communication.go:608
↓ 2 callers
Function
test
test tests an arbitrary suffix array construction function. Generates many inputs, builds and checks suffix arrays.
astrobwt/suffixarray_test.go:343
↓ 2 callers
Function
test
test tests an arbitrary suffix array construction function. Generates many inputs, builds and checks suffix arrays.
astrobwt/astrobwtv3/suffixarray_test.go:343
↓ 2 callers
Function
testIndex
(t *testing.T)
astrobwt/suffixarray_test.go:292
↓ 2 callers
Function
testIndex
(t *testing.T)
astrobwt/astrobwtv3/suffixarray_test.go:292
↓ 2 callers
Function
testRec
testRec fills x[i:] with all possible combinations of values in [1,max] and then calls testSA(t, x, build) for each one.
astrobwt/suffixarray_test.go:424
↓ 2 callers
Function
testRec
testRec fills x[i:] with all possible combinations of values in [1,max] and then calls testSA(t, x, build) for each one.
astrobwt/astrobwtv3/suffixarray_test.go:424
↓ 2 callers
Function
testSaveRestore
returns the serialized index size
astrobwt/suffixarray_test.go:251
↓ 2 callers
Function
testSaveRestore
returns the serialized index size
astrobwt/astrobwtv3/suffixarray_test.go:251
↓ 2 callers
Function
text_64
(text []byte, sa []int64)
astrobwt/sais2.go:9
↓ 2 callers
Function
tunekcp
(conn *kcp.UDPSession)
p2p/controller.go:280
↓ 2 callers
Method
verify_Transaction_NonCoinbase_internal
all non miner tx must be non-coinbase tx each check is placed in a separate block of code, to avoid ambigous code or faulty checks all check are plac
blockchain/transaction_verify.go:214
↓ 2 callers
Function
writePrometheusMetrics
(w io.Writer)
metrics/metrics.go:52
↓ 2 callers
Function
xToY
xToY reconstructs Y from X using the curve equation. it provides two solutions
cryptography/bn256/changes.go:65
↓ 1 callers
Method
AccountAddBalance
this is for testing some edge case in simulator
dvm/simulator.go:84
↓ 1 callers
Method
Available
Available return total available bytes on file system to an unprivileged user
metrics/diskusage.go:28
↓ 1 callers
Function
BanList_Print
* func Peer_DisableBan(address string) (err error){ p := GetPeerInList(address) if p == nil { return fmt.Errorf("Peer \"%s\" not found in
p2p/bans.go:276
↓ 1 callers
Function
Broadcast_Block_Coded
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:378
↓ 1 callers
Function
Broadcast_MiniBlock
broad cast a block to all connected peers we can only broadcast a block which is in our db this function is trigger from 2 points, one when we receive
p2p/connection_pool.go:540
↓ 1 callers
Function
Broadcast_Tx
broadcast a new transaction, return to how many peers the transaction has been broadcasted this function is trigger from 2 points, one when we receive
p2p/connection_pool.go:596
↓ 1 callers
Method
BuildTransaction
generate proof etc
walletapi/transaction_build.go:25
↓ 1 callers
Method
Calculate_TX_fee
get the tx fee this function assumes that fees are per KB for every part of 1KB multiply by fee_per_kb
blockchain/tx_fees.go:35
↓ 1 callers
Method
Chain
import "github.com/deroproject/derosuite/blockchain" peer has requested chain
p2p/rpc_chain_request.go:31
↓ 1 callers
Method
ChangeSet
notifies inventory
p2p/rpc_changeset.go:29
↓ 1 callers
Method
CheckFileSignature
(filename string)
walletapi/wallet.go:709
↓ 1 callers
Method
Check_Block_Version
check block version validity at specific height according to current network
blockchain/hardfork_core.go:94
↓ 1 callers
Method
Clean
(index int64)
blockchain/storetopo.go:110
↓ 1 callers
Method
Clear
clean the transaction everything
transaction/transaction.go:414
↓ 1 callers
Method
Close
()
glue/rwc/rwc_nhyoor.go:62
↓ 1 callers
Function
Connection_Add
add connection to map, only if we are not connected already we also check for limits for incoming connections same ip max 8 ip ( considering NAT) sam
p2p/connection_pool.go:177
↓ 1 callers
Function
Connection_Print
prints all the connection info to screen
p2p/connection_pool.go:242
↓ 1 callers
Function
ConvertCBlock_To_CompleteBlock
convert block which was serialized in p2p format to in ram block format
p2p/chain_sync.go:88
↓ 1 callers
Function
ConvertDifficultyToBig
this function calculates the difficulty in big num form
blockchain/difficulty.go:60
↓ 1 callers
Function
ConvertIntegerDifficultyToBig
(difficultyi *big.Int)
cmd/dero-miner/difficulty.go:65
↓ 1 callers
Function
ConvertIntegerDifficultyToBig
(difficultyi *big.Int)
blockchain/difficulty.go:70
← previous
next →
601–700 of 1,541, ranked by callers