MCPcopy Create free account

hub / github.com/deroproject/derohe / functions

Functions1,541 in github.com/deroproject/derohe

FunctionBenchmark_AstroBWTv3_2
(b *testing.B)
astrobwt/astrobwtv3/pow_test.go:76
FunctionBenchmark_AstroBWTv3_32
(b *testing.B)
astrobwt/astrobwtv3/pow_test.go:88
FunctionBenchmark_AstroBWTv3_4
(b *testing.B)
astrobwt/astrobwtv3/pow_test.go:79
FunctionBenchmark_AstroBWTv3_48
(b *testing.B)
astrobwt/astrobwtv3/pow_test.go:91
FunctionBenchmark_AstroBWTv3_64
(b *testing.B)
astrobwt/astrobwtv3/pow_test.go:94
FunctionBenchmark_AstroBWTv3_8
(b *testing.B)
astrobwt/astrobwtv3/pow_test.go:82
FunctionBenchmark_TX_Proof_Generation_128_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:422
FunctionBenchmark_TX_Proof_Generation_128_ring
(b *testing.B)
walletapi/tx_creation_test.go:430
FunctionBenchmark_TX_Proof_Generation_16_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:413
FunctionBenchmark_TX_Proof_Generation_16_ring
(b *testing.B)
walletapi/tx_creation_test.go:421
FunctionBenchmark_TX_Proof_Generation_2_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:404
FunctionBenchmark_TX_Proof_Generation_2_ring
(b *testing.B)
walletapi/tx_creation_test.go:412
FunctionBenchmark_TX_Proof_Generation_32_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:416
FunctionBenchmark_TX_Proof_Generation_32_ring
(b *testing.B)
walletapi/tx_creation_test.go:424
FunctionBenchmark_TX_Proof_Generation_4_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:407
FunctionBenchmark_TX_Proof_Generation_4_ring
(b *testing.B)
walletapi/tx_creation_test.go:415
FunctionBenchmark_TX_Proof_Generation_64_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:419
FunctionBenchmark_TX_Proof_Generation_64_ring
(b *testing.B)
walletapi/tx_creation_test.go:427
FunctionBenchmark_TX_Proof_Generation_8_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:410
FunctionBenchmark_TX_Proof_Generation_8_ring
(b *testing.B)
walletapi/tx_creation_test.go:418
FunctionBenchmark_TX_Proof_Verification_128_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:455
FunctionBenchmark_TX_Proof_Verification_128_ring
(b *testing.B)
walletapi/tx_creation_test.go:463
FunctionBenchmark_TX_Proof_Verification_16_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:446
FunctionBenchmark_TX_Proof_Verification_16_ring
(b *testing.B)
walletapi/tx_creation_test.go:454
FunctionBenchmark_TX_Proof_Verification_2_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:437
FunctionBenchmark_TX_Proof_Verification_2_ring
(b *testing.B)
walletapi/tx_creation_test.go:445
FunctionBenchmark_TX_Proof_Verification_32_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:449
FunctionBenchmark_TX_Proof_Verification_32_ring
(b *testing.B)
walletapi/tx_creation_test.go:457
FunctionBenchmark_TX_Proof_Verification_4_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:440
FunctionBenchmark_TX_Proof_Verification_4_ring
(b *testing.B)
walletapi/tx_creation_test.go:448
FunctionBenchmark_TX_Proof_Verification_64_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:452
FunctionBenchmark_TX_Proof_Verification_64_ring
(b *testing.B)
walletapi/tx_creation_test.go:460
FunctionBenchmark_TX_Proof_Verification_8_ring
(b *testing.B)
cmd/simulator/blockchain_sim_test.go:443
FunctionBenchmark_TX_Proof_Verification_8_ring
(b *testing.B)
walletapi/tx_creation_test.go:451
MethodBlockCheckSum
this is used to for quick syncs as entire blocks as SHA1, entires block can skipped for verification, if checksum matches what the devs have stored
blockchain/blockchain.go:1171
MethodCheck
(entry zapcore.Entry, ce *zapcore.CheckedEntry)
globals/globals.go:121
FunctionCheckPowHash
this function check whether the pow hash meets difficulty criteria
blockchain/difficulty.go:78
MethodCheck_Password
check whether the already opened wallet can use this password
walletapi/wallet_memory.go:246
MethodClose_Encrypted_Wallet
close the wallet note that w is still valid and can be used to obtaine encrypted copy of data
walletapi/wallet_memory.go:317
MethodCommit
commit a specific value to specific bases
cryptography/crypto/algebra_pedersen.go:73
MethodCommit
commit a specific value to specific bases
cryptography/crypto/algebra_pedersen.go:101
MethodCommit
(exponent []*big.Int)
cryptography/crypto/algebra_pointvector.go:53
MethodConcat
(addendum *FieldVector)
cryptography/crypto/algebra_fieldvector.go:178
FunctionConfirmYesNoDefaultYes
confirms whether the user wants to confirm yes
cmd/dero-wallet-cli/prompt.go:776
MethodConjugate
(a *gfP12)
cryptography/bn256/gfp12.go:47
FunctionConnect
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
walletapi/daemon_connectivity_wasm.go:55
FunctionConnection_Pending_Clear
()
p2p/connection_pool.go:140
FunctionConvertDifficultyToBig
this function calculates the difficulty in big num form
cmd/dero-miner/difficulty.go:55
MethodCount
()
block/miniblockdag.go:50
FunctionCreate_New_Wallet
create a new wallet from scratch from random numbers
cmd/dero-wallet-cli/main.go:462
FunctionDAEMON_Echo
(ctx context.Context, args []string)
cmd/derod/rpc/websocket_server.go:281
FunctionDecompressAmbiguous
DecompressAmbiguous returns both solutions to the decompression function
cryptography/bn256/changes.go:261
MethodDeserialize
(data []byte)
cryptography/crypto/algebra_elgamal.go:96
MethodDeserialize
(r *bytes.Reader, length int)
cryptography/crypto/proof_generate.go:141
MethodDeserialize
(r *bytes.Reader)
cryptography/crypto/proof_innerproduct.go:54
MethodDeserialize
(r *bytes.Reader)
cryptography/crypto/protocol_structures.go:94
MethodDialContext
(ctx context.Context, network, address string)
cmd/derod/update.go:81
FunctionDiff
hard code datatypes
blockchain/difficulty.go:103
FunctionEcho
(ctx context.Context, args []string)
cmd/derod/rpc/websocket_server.go:290
FunctionEcho
(ctx context.Context, args []string)
walletapi/rpcserver/rpc_websocket_server.go:296
FunctionErrorDeposit
(ss *graviton.Snapshot, cache map[crypto.Hash]*graviton.Tree, balance_tree *graviton.Tree, signer [33]byte, sc
dvm/simulator.go:280
MethodExtract
(parity bool)
cryptography/crypto/algebra_fieldvector.go:191
MethodFinalize
Finalize is a linear function from F_p^12 to GT.
cryptography/bn256/bn256.go:383
FunctionFormatMoney0
0
rpc/wallet_rpc.go:140
FunctionFormatMoney0
0
globals/globals.go:274
FunctionFormatMoney12
12 precision
rpc/wallet_rpc.go:155
FunctionFormatMoney12
12 precision
globals/globals.go:289
FunctionFormatMoney5
5 precision
rpc/wallet_rpc.go:145
FunctionFormatMoney8
8 precision
rpc/wallet_rpc.go:150
FunctionFormatMoney8
8 precision
globals/globals.go:284
MethodFrobenius
Frobenius computes (xω+y)^p = x^p ω·ξ^((p-1)/6) + y^p
cryptography/bn256/gfp12.go:60
MethodFrobeniusP2
FrobeniusP2 computes (xω+y)^p² = x^p² ω·ξ^((p²-1)/6) + y^p²
cryptography/bn256/gfp12.go:68
MethodFrobeniusP4
(a *gfP6)
cryptography/bn256/gfp6.go:73
MethodFrobeniusP4
(a *gfP12)
cryptography/bn256/gfp12.go:75
MethodFromBytes
(b [KeyLength]byte)
cryptography/crypto/key_old.go:44
MethodGasStorage
tx storage gas
transaction/transaction.go:230
FunctionGet
()
cmd/derod/fdlimits.go:30
FunctionGet
()
cmd/dero-miner/fdlimits.go:30
FunctionGetAddress
(ctx context.Context)
walletapi/rpcserver/rpc_getaddress.go:28
FunctionGetBalance
(ctx context.Context, p rpc.GetBalance_Params)
walletapi/rpcserver/rpc_getbalance.go:24
FunctionGetBalanceKey
(scid, asset crypto.Hash)
dvm/dvm_store.go:146
FunctionGetBlock
import "github.com/deroproject/derosuite/blockchain"
cmd/derod/rpc/rpc_dero_getblock.go:29
FunctionGetBlockCount
(ctx context.Context)
cmd/derod/rpc/rpc_dero_getblockcount.go:22
FunctionGetBlockHeaderByHash
(ctx context.Context, p rpc.GetBlockHeaderByHash_Params)
cmd/derod/rpc/rpc_dero_getblockheaderbyhash.go:25
FunctionGetBlockHeaderByTopoHeight
(ctx context.Context, p rpc.GetBlockHeaderByTopoHeight_Params)
cmd/derod/rpc/rpc_dero_getblockheaderbytopoheight.go:24
FunctionGetBlockTemplate
16 req per sec, burst of 8 req is okay
cmd/derod/rpc/rpc_dero_getblocktemplate.go:29
FunctionGetEncryptedBalance
import "github.com/deroproject/derohe/dvm" import "github.com/deroproject/derohe/cryptography/crypto"
cmd/derod/rpc/rpc_dero_getencryptedbalance.go:34
FunctionGetGasEstimate
(ctx context.Context, p rpc.GasEstimate_Params)
cmd/derod/rpc/rpc_dero_estimategas.go:39
MethodGetHashSkipLastMiniBlock
()
block/block.go:61
FunctionGetHeight
(ctx context.Context)
cmd/derod/rpc/rpc_dero_getheight.go:22
FunctionGetHeight
(ctx context.Context)
walletapi/rpcserver/rpc_getheight.go:24
FunctionGetInfo
(ctx context.Context)
cmd/derod/rpc/rpc_dero_getinfo.go:30
FunctionGetLastBlockHeader
(ctx context.Context)
cmd/derod/rpc/rpc_get_getlastblockheader.go:26
FunctionGetRandomAddress
import "github.com/deroproject/derohe/blockchain" only give random members who have not been used in last 5 blocks
cmd/derod/rpc/rpc_dero_getrandomaddress.go:31
FunctionGetSC
(ctx context.Context, p rpc.GetSC_Params)
cmd/derod/rpc/rpc_dero_getsc.go:36
MethodGetTXSHash
get block transactions we have discarded the merkle tree and have shifted to a plain version
block/block.go:177
MethodGetTipsHash
get block transactions tree hash
block/block.go:165
FunctionGetTransaction
(ctx context.Context, p rpc.GetTransaction_Params)
cmd/derod/rpc/rpc_dero_gettransactions.go:35
FunctionGetTransferbyTXID
(ctx context.Context, p rpc.Get_Transfer_By_TXID_Params)
walletapi/rpcserver/rpc_get_transfer_by_txid.go:27
FunctionGetTransfers
(ctx context.Context, p rpc.Get_Transfers_Params)
walletapi/rpcserver/rpc_gettransfers.go:24
← previousnext →1,101–1,200 of 1,541, ranked by callers