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
Function
HashToBig
HashToBig converts a PoW has into a big.Int that can be used to perform math comparisons.
blockchain/difficulty.go:48
↓ 2 callers
Method
HouseKeeping
(height uint64)
blockchain/mempool/mempool.go:96
↓ 2 callers
Function
Init_Mempool
(params map[string]interface{})
blockchain/mempool/mempool.go:74
↓ 2 callers
Function
Init_Regpool
(params map[string]interface{})
blockchain/regpool/regpool.go:129
↓ 2 callers
Method
InsertMiniBlock
insert a miniblock to chain and if successfull inserted, notify everyone in need
blockchain/miniblocks_consensus.go:131
↓ 2 callers
Method
IsAlreadyInserted
check if already inserted
block/miniblockdag.go:62
↓ 2 callers
Method
IsBlockSyncBlockHeight
sync blocks have the following specific property 1) the block is singleton at this height basically the condition allow us to confirm weight of future
blockchain/blockchain.go:1510
↓ 2 callers
Method
IsDaemonOnline
this is as simple as it gets single threaded communication to get the daemon status and height this will tell whether the wallet can connection succes
cmd/explorer/explorerlib/explorerlib.go:97
↓ 2 callers
Method
IsHigherY
IsHigherY is used to distinguish between the 2 points of E that have the same x-coordinate The point e is assumed to be given in the affine form
cryptography/bn256/changes.go:85
↓ 2 callers
Method
IsOne
()
cryptography/bn256/gfp2.go:47
↓ 2 callers
Method
IsProofRequired
if external proof is required
transaction/transaction.go:214
↓ 2 callers
Method
IsZero
()
cryptography/crypto/hash.go:46
↓ 2 callers
Method
IsZero
()
cryptography/bn256/gfp6.go:38
↓ 2 callers
Method
Isblock_SideBlock
side blocks are blocks which lost the race the to become part of main chain, a block is a side block if it satisfies the following condition if no oth
blockchain/blockchain.go:1313
↓ 2 callers
Function
Keccak256_64
(data ...[]byte)
cryptography/crypto/keccak.go:43
↓ 2 callers
Function
Language_List
return all the languages support by us
walletapi/mnemonics/mnemonics.go:65
↓ 2 callers
Method
Len
()
p2p/median.go:23
↓ 2 callers
Method
Load
the load/store functions are sandboxed and thus cannot affect any other SC storage loads a variable from store
dvm/dvm_functions.go:121
↓ 2 callers
Function
LoadSCValue
(data_tree *Tree_Wrapper, scid crypto.Hash, key []byte)
dvm/sc.go:321
↓ 2 callers
Method
Load_TOP_HEIGHT
faster bootstrap
blockchain/store.go:252
↓ 2 callers
Method
Lookup
convert point to balance
walletapi/balance_decoder.go:136
↓ 2 callers
Method
Marshal
Marshal converts e to a byte slice.
cryptography/bn256/bn256.go:104
↓ 2 callers
Method
MarshalBinaryGood
serialize the structure
dvm/sc.go:60
↓ 2 callers
Method
MarshalText
Encode encodes hrp(human-readable part) , version(int) and data(bytes array), returns Address / or error
rpc/address.go:43
↓ 2 callers
Method
Mempool_Print
print current mempool txs TODO add sorting
blockchain/mempool/mempool.go:312
↓ 2 callers
Method
Mempool_flush
flush mempool
blockchain/mempool/mempool.go:341
↓ 2 callers
Method
MulGFP
(a *gfP6, b *gfP)
cryptography/bn256/gfp6.go:131
↓ 2 callers
Method
MulScalar
(a *gfP12, b *gfP6)
cryptography/bn256/gfp12.go:107
↓ 2 callers
Method
Neg
(a *gfP12)
cryptography/bn256/gfp12.go:53
↓ 2 callers
Function
NewCBORCodec
NewClientCodec returns a ClientCodec for communicating with the ServerCodec on the other end of the conn. to support deadlines we use net.conn
p2p/rpc_cbor_codec.go:101
↓ 2 callers
Function
NewElGamal
()
cryptography/crypto/algebra_elgamal.go:41
↓ 2 callers
Function
NewFieldVectorPolynomial
(inputs ...*FieldVector)
cryptography/crypto/fieldvector.go:31
↓ 2 callers
Function
NewFieldVectorRandomFilled
(capacity int)
cryptography/crypto/algebra_fieldvector.go:37
↓ 2 callers
Function
NewGeneratorParams
(count int)
cryptography/crypto/generatorparams.go:27
↓ 2 callers
Function
NewPedersenCommitmentNew
()
cryptography/crypto/algebra_pedersen.go:68
↓ 2 callers
Function
Open_Encrypted_Wallet_Memory
(password string, filedata []byte)
walletapi/wallet_memory.go:194
↓ 2 callers
Function
P2P_Init
Initialize P2P subsystem
p2p/controller.go:96
↓ 2 callers
Function
P2P_Shutdown
shutdown the p2p component
p2p/controller.go:706
↓ 2 callers
Function
POW32
(inputdata []byte)
astrobwt/astrobwt.go:59
↓ 2 callers
Function
PairingCheck
PairingCheck calculates the Optimal Ate pairing for a set of points.
cryptography/bn256/bn256.go:322
↓ 2 callers
Function
ParseAddress
convert address to subnet form address is an IP address or ipnet in string form
p2p/bans.go:146
↓ 2 callers
Function
Peer_Count
this function return peer count which have successful handshake
p2p/connection_pool.go:343
↓ 2 callers
Function
ProcessExternal
(ss *graviton.Snapshot, cache map[crypto.Hash]*graviton.Tree, balance_tree *graviton.Tree, signer [33]byte, sc
dvm/simulator.go:301
↓ 2 callers
Function
Prove
import "github.com/deroproject/derosuite/walletapi" // to decode encrypted payment ID this function will prove detect and decode output amount for the
proof/proof.go:32
↓ 2 callers
Function
RPCServer_Start
(wallet *walletapi.Wallet_Disk, title string)
walletapi/rpcserver/rpc_websocket_server.go:67
↓ 2 callers
Method
Random_MAX
range to (input-1)
dvm/deterministic_random_number.go:63
↓ 2 callers
Function
ReadAddress
read an address with all goodies such as color encoding and other things in prompt
cmd/dero-wallet-cli/prompt.go:522
↓ 2 callers
Method
ReadBlockDifficulty
(h [32]byte)
blockchain/storefs.go:133
↓ 2 callers
Function
ReadPassword
reads a password to open the wallet
cmd/dero-wallet-cli/prompt.go:851
↓ 2 callers
Function
ReadSCID
read an address with all goodies such as color encoding and other things in prompt
cmd/dero-wallet-cli/prompt.go:573
↓ 2 callers
Function
ReadSCValue
reads a value from SC, always read balance
dvm/sc.go:359
↓ 2 callers
Function
ReadUint64
(l *readline.Instance, cprompt string, default_value uint64)
cmd/dero-wallet-cli/prompt.go:651
↓ 2 callers
Function
RecursivePolynomials
(list [][]*big.Int, accum *Polynomial, a, b []*big.Int)
cryptography/crypto/polynomial.go:70
↓ 2 callers
Method
Regpool_Print
print current regpool txs TODO add sorting
blockchain/regpool/regpool.go:366
↓ 2 callers
Method
Regpool_TX_Exist
check whether a tx exists in the pool
blockchain/regpool/regpool.go:267
↓ 2 callers
Method
Regpool_flush
flush regpool
blockchain/regpool/regpool.go:395
↓ 2 callers
Method
SCInstall
(sc_code string, incoming_values map[crypto.Hash]uint64, SCDATA rpc.Arguments, signer_addr *rpc.Address, fees
dvm/simulator.go:90
↓ 2 callers
Method
SanityCheck
()
block/miniblock.go:120
↓ 2 callers
Function
SanityCheckExternalTransfers
this is core function used to evaluate when we are overflowing/underflowing
dvm/simulator.go:196
↓ 2 callers
Method
SendExternal
store variable
dvm/dvm_store.go:138
↓ 2 callers
Function
SendJob
total blocks found as integrator, note that block can still be a orphan total = CountAccepted + CountRejected + CountBlocks(they may be orphan or may
cmd/derod/rpc/websocket_getwork_server.go:141
↓ 2 callers
Method
SerializeHeader
()
transaction/transaction.go:418
↓ 2 callers
Method
SerializeWithoutLastMiniBlock
()
block/block.go:70
↓ 2 callers
Method
SetFeeMultiplier
sets a fee multiplier
walletapi/wallet.go:468
↓ 2 callers
Method
SetZero
()
cryptography/bn256/gfp6.go:24
↓ 2 callers
Method
SignData
this basically does a Schnorr Signature on random information for registration
walletapi/wallet.go:612
↓ 2 callers
Function
SimulatorInitialize
(ss *graviton.Snapshot)
dvm/simulator.go:48
↓ 2 callers
Method
Size
Size returns total size of the file system
metrics/diskusage_windows.go:43
↓ 2 callers
Method
Square
(a *gfP12)
cryptography/bn256/gfp12.go:130
↓ 2 callers
Function
StackTrace
gets a stack trace of all
globals/globals.go:374
↓ 2 callers
Function
StartServer
(loggerb logr.Logger, daemon_endpoint string, listen_address string)
cmd/explorer/explorerlib/explorerlib.go:202
↓ 2 callers
Method
Store
(key Variable, value Variable)
dvm/dvm_functions.go:143
↓ 2 callers
Method
StoreBlock
(bl *block.Block, snapshot_version uint64)
blockchain/store.go:81
↓ 2 callers
Method
Sync
()
blockchain/storetopo.go:106
↓ 2 callers
Function
Transfer
(ctx context.Context, p rpc.Transfer_Params)
walletapi/rpcserver/rpc_transfer.go:30
↓ 2 callers
Method
UnmarshalBinary
(buf []byte)
dvm/sc.go:50
↓ 2 callers
Method
UnmarshalBinaryGood
(buf []byte)
dvm/sc.go:67
↓ 2 callers
Method
UnmarshalNonce
used to avoid some processing costs during verification
cryptography/crypto/balance_serdes.go:78
↓ 2 callers
Method
UnmarshalText
(data []byte)
cryptography/crypto/hash.go:32
↓ 2 callers
Function
Verify_Handshake
verify incoming handshake for number of checks such as mainnet/testnet etc etc
p2p/rpc_handshake.go:32
↓ 2 callers
Method
Verify_Transaction_NonCoinbase
(tx *transaction.Transaction)
blockchain/transaction_verify.go:200
↓ 2 callers
Method
at
(i int)
astrobwt/suffixarray_test.go:224
↓ 2 callers
Method
at
(i int)
astrobwt/suffixarray.go:236
↓ 2 callers
Method
at
(i int)
astrobwt/astrobwtv3/suffixarray_test.go:224
↓ 2 callers
Method
at
(i int)
astrobwt/astrobwtv3/suffixarray.go:236
↓ 2 callers
Function
broadcast_MiniBlock
(mbl block.MiniBlock, PeerID uint64, first_seen int64)
p2p/connection_pool.go:543
↓ 2 callers
Function
broadcast_Tx
(tx *transaction.Transaction, PeerID uint64, sent int64)
p2p/connection_pool.go:600
↓ 2 callers
Function
bucketMin_16
(text []int16, freq, bucket []int16)
astrobwt/sais16.go:186
↓ 2 callers
Function
bucketMin_32
(text []int32, freq, bucket []int32)
astrobwt/sais2.go:265
↓ 2 callers
Function
bucketMin_32
(text []int32, freq, bucket []int32)
astrobwt/astrobwtv3/sais2.go:265
↓ 2 callers
Function
bucketMin_64
(text []int64, freq, bucket []int64)
astrobwt/sais2.go:274
↓ 2 callers
Function
bucketMin_64
(text []int64, freq, bucket []int64)
astrobwt/astrobwtv3/sais2.go:274
↓ 2 callers
Function
bucketMin_8_16
(text []byte, freq, bucket []int16)
astrobwt/sais16.go:175
↓ 2 callers
Function
bucketMin_8_32
bucketMin_8_32 stores into bucket[c] the minimum index in the bucket for character c in a bucket-sort of text.
astrobwt/sais.go:233
↓ 2 callers
Function
bucketMin_8_32
bucketMin_8_32 stores into bucket[c] the minimum index in the bucket for character c in a bucket-sort of text.
astrobwt/astrobwtv3/sais.go:233
↓ 2 callers
Function
bucketMin_8_64
(text []byte, freq, bucket []int64)
astrobwt/sais2.go:254
↓ 2 callers
Function
bucketMin_8_64
(text []byte, freq, bucket []int64)
astrobwt/astrobwtv3/sais2.go:254
↓ 2 callers
Function
clone_tree_changes
clone tree changes between 2 versions (old_tree, new_tree and then commit them to write_tree)
blockchain/prune_history.go:499
↓ 2 callers
Method
common
(w_sc_tree, w_sc_data_tree *Tree_Wrapper, scid crypto.Hash, bl_height, bl_topoheight, bl_timestamp uint64, bli
dvm/simulator.go:164
↓ 2 callers
Function
create_wallet
(name string, seed string)
cmd/simulator/wallets.go:70
← previous
next →
501–600 of 1,541, ranked by callers