MCPcopy Create free account

hub / github.com/deroproject/derohe / functions

Functions1,541 in github.com/deroproject/derohe

FunctionGetTxPool
(ctx context.Context)
cmd/derod/rpc/rpc_dero_gettxpool.go:23
MethodGet_Block_Past
(blid crypto.Hash)
p2p/chain_sync.go:76
MethodGet_Current_Version
current hard fork version , block major version we may be at genesis block height
blockchain/hardfork_core.go:205
FunctionGet_Daemon_TopoHeight
return topoheight of daemon
walletapi/daemon_communication.go:71
MethodGet_Ideal_Version
if we are voting, return the next expected version
blockchain/hardfork_core.go:236
MethodGet_Payments_Payment_ID
gets all the payments done to specific payment ID and filtered by specific block height we do need better rpc
walletapi/wallet.go:285
MethodGet_Registration_TopoHeight
()
walletapi/wallet.go:391
FunctionGet_Transaction_Maximum_Size
import "github.com/deroproject/derosuite/emission" this file implements the logic to calculate fees dynamicallly get maximum size of TX
blockchain/tx_fees.go:28
FunctionGetwork_server
()
cmd/derod/rpc/websocket_getwork_server.go:305
MethodHadamard
(exponent []*big.Int)
cryptography/crypto/algebra_pointvector.go:109
MethodHasChanged
return whether pool contents have changed
blockchain/mempool/mempool.go:140
MethodHasChanged
return whether pool contents have changed
blockchain/regpool/regpool.go:207
FunctionHexToKey
convert a hex string to a key
cryptography/crypto/key_old.go:54
MethodHouseKeeping
this is created per incoming block and then discarded This does not require shutting down and will be garbage collected automatically func Init_Block_
blockchain/regpool/regpool.go:164
MethodInt63
()
globals/random.go:32
MethodInvert
(a *gfP2)
cryptography/bn256/gfp2.go:140
MethodIsDaemonOnlineCached
returns whether wallet was online some time ago
walletapi/daemon_communication.go:223
MethodIsOnCurve
IsOnCurve returns true iff c is on the curve.
cryptography/bn256/twist.go:47
MethodIsOne
()
cryptography/bn256/gfp6.go:42
MethodIsOne
()
cryptography/bn256/gfp12.go:43
FunctionIsPeerInList
check whether an IP is in the map already
p2p/peer_pool.go:141
MethodIsSC
()
transaction/transaction.go:209
MethodIsZero
()
cryptography/crypto/algebra_elgamal.go:62
MethodIs_TX_Orphan
this is used to find if a tx is orphan, YES orphan TX these can occur during when they lie only in a side block so the TX becomes orphan ( chances a
blockchain/blockchain.go:1393
FunctionKeccak512
(data ...[]byte)
cryptography/crypto/keccak.go:33
MethodLen
default is 1 table, if someone who owns 2^48 coins or more needs more speed, it is possible IntSlice attaches the methods of Interface to []int, sorti
walletapi/balance_decoder.go:56
MethodLength
()
cryptography/crypto/algebra_pointvector.go:38
MethodLength
()
cryptography/crypto/algebra_fieldvector.go:45
MethodLess
(i, j int)
p2p/median.go:25
MethodLess
(i, j int)
astrobwt/suffixarray_test.go:215
MethodLess
(i, j int)
astrobwt/astrobwtv3/suffixarray_test.go:215
MethodLess
(i, j int)
walletapi/balance_decoder.go:57
MethodLoad_Block_Difficulty
(blid crypto.Hash)
p2p/chain_sync.go:79
MethodLoad_Block_Difficulty
(h crypto.Hash)
blockchain/store.go:216
MethodLoad_Block_Height
(blid crypto.Hash)
p2p/chain_sync.go:70
MethodLoad_Block_Timestamp
(blid crypto.Hash)
p2p/chain_sync.go:73
MethodLocatePruneTopo
locates prune topoheight till where the history has been pruned this is not used anywhere in the consensus and can be modified any way possible this i
blockchain/storetopo.go:134
MethodLogRequest
(ctx context.Context, req *jrpc2.Request)
cmd/derod/rpc/websocket_server.go:74
MethodLogResponse
(ctx context.Context, resp *jrpc2.Response)
cmd/derod/rpc/websocket_server.go:75
FunctionMakeIntegratedAddress
(ctx context.Context, p rpc.Make_Integrated_Address_Params)
walletapi/rpcserver/rpc_make_integrated_address.go:28
MethodMarshal
Marshal converts e into a byte slice.
cryptography/bn256/bn256.go:236
MethodMarshal
Marshal converts e into a byte slice.
cryptography/bn256/bn256.go:390
MethodMarshalBinaryPanic
()
dvm/dvm_store.go:220
MethodMarshalText
()
cryptography/crypto/key_old.go:27
MethodMarshalText
()
cryptography/crypto/hash.go:28
MethodMarshalText
()
cryptography/crypto/group.go:62
MethodMarshalText
()
cryptography/crypto/bnred.go:61
FunctionMiller
Miller applies Miller's algorithm, which is a bilinear function from the source groups to F_p^12. Miller(g1, g2).Finalize() is equivalent to Pair(g1,
cryptography/bn256/bn256.go:338
MethodMonitor
start pool monitoring for changes for some specific time this is required so as we can add or discard transactions while selecting work for mining
blockchain/mempool/mempool.go:133
MethodMonitor
start pool monitoring for changes for some specific time this is required so as we can add or discard transactions while selecting work for mining
blockchain/regpool/regpool.go:200
MethodMul
(a *curvePoint, scalar *big.Int)
cryptography/bn256/curve.go:185
MethodMultiExponentiate
(fv *FieldVector)
cryptography/crypto/algebra_pointvector.go:179
MethodMustPack
this function will pack the args into buffer of specific limit, if it fails, it panics
rpc/rpc.go:155
FunctionNameToAddress
import "github.com/deroproject/derosuite/blockchain"
cmd/derod/rpc/rpc_dero_nametoaddress.go:29
MethodNames
()
cmd/derod/rpc/websocket_server.go:360
MethodNeg
(a *curvePoint)
cryptography/bn256/curve.go:233
MethodNeg
Neg sets e to -a and then returns e.
cryptography/bn256/bn256.go:218
MethodNeg
Neg sets e to -a and then returns e.
cryptography/bn256/bn256.go:365
MethodNeg
(a *gfP2)
cryptography/bn256/gfp2.go:58
MethodNeg
(a *gfP6)
cryptography/bn256/gfp6.go:46
MethodNegate
()
cryptography/crypto/algebra_fieldvector.go:152
FunctionNewDiskUsage
NewDiskUsages returns an object holding the disk usage of volumePath or nil in case of error (invalid path, etc)
metrics/diskusage_windows.go:16
FunctionNewInnerProductProof
(ips *IPStatement, witness *IPWitness, salt *big.Int)
cryptography/crypto/proof_innerproduct.go:103
MethodNonce
()
cryptography/crypto/balance_serdes.go:72
FunctionNotify_broadcaster
(req *jrpc2.Request)
walletapi/daemon_communication.go:100
FunctionPeer_Counts
this function return peer count which are in our list
p2p/peer_pool.go:277
FunctionPeer_Delete
* //TODO do we need a functionality so some peers are never banned func Peer_DisableBan(address string) (err error){ p := GetPeerInList(address)
p2p/peer_pool.go:237
FunctionPing
used to verify whether the connection is alive
cmd/derod/rpc/websocket_server.go:286
FunctionPing
used to verify whether the connection is alive
walletapi/rpcserver/rpc_websocket_server.go:292
FunctionPow
patch algorithm in here to conduct various tests
pow/pow.go:8
MethodPrecompute
(add func(i, j uint))
cryptography/bn256/lattice.go:74
FunctionQueryKey
(ctx context.Context, p rpc.Query_Key_Params)
walletapi/rpcserver/rpc_query_key.go:29
FunctionRPCServer_Start
(params map[string]interface{})
cmd/derod/rpc/websocket_server.go:146
MethodRawLoad
(key []byte)
dvm/dvm_store.go:71
MethodRead
(p []byte)
glue/rwc/rwc_nhyoor.go:19
FunctionReadBigUint32Unsafe
see https://github.com/golang/go/blob/master/src/go/build/syslist.go this is NOT much faster and more efficient, however it won't work on appengine si
astrobwt/astrobwtv3/endian_big.go:14
FunctionReadBigUint32Unsafe
see https://github.com/golang/go/blob/master/src/go/build/syslist.go this is NOT much faster and efficient, however it won't work on appengine since i
astrobwt/astrobwtv3/endian_little.go:17
MethodReadHeader
ReadRequestHeader reads the header (which is prefixed by a 4 byte lil endian length indicating its size) from the connection, decodes it, and stores t
p2p/rpc_cbor_codec.go:131
MethodReadRequestBody
ReadRequestBody reads a 4 byte length from the connection and decodes that many subsequent bytes into the object
p2p/rpc_cbor_codec.go:149
MethodReadResponseBody
ReadResponseBody reads a 4 byte length from the connection and decodes that many subsequent bytes into the given object (which should be a pointer to
p2p/rpc_cbor_codec.go:159
MethodReadResponseHeader
ReadResponseHeader reads a 4 byte length from the connection and decodes that many subsequent bytes into the given object, decodes it, and stores the
p2p/rpc_cbor_codec.go:108
FunctionSC_Asset_Key
(asset crypto.Hash)
dvm/sc.go:82
FunctionScInvoke
(ctx context.Context, p rpc.SC_Invoke_Params)
walletapi/rpcserver/rpc_scinvoke.go:26
MethodScalarBaseMult
ScalarBaseMult sets e to g*k where g is the generator of the group and then returns out.
cryptography/bn256/bn256.go:191
MethodScalarMult
ScalarMult sets e to a*k and then returns e.
cryptography/bn256/bn256.go:200
MethodScalarMult
ScalarMult sets e to a*k and then returns e.
cryptography/bn256/bn256.go:347
FunctionSendRawTransaction
NOTE: finally we have shifted to json api
cmd/derod/rpc/rpc_dero_sendrawtransaction.go:28
MethodSerialize
since our bulletproofs are 128 bits, we can get away hard coded 7 entries
cryptography/crypto/proof_innerproduct.go:42
MethodSerialize
(w *bytes.Buffer)
cryptography/crypto/protocol_structures.go:53
MethodSet
Set sets e to a and then returns e.
cryptography/bn256/bn256.go:227
MethodSet
Set sets e to a and then returns e.
cryptography/bn256/bn256.go:374
MethodSetInfinity
()
cryptography/bn256/twist.go:65
MethodSetOne
()
cryptography/bn256/gfp6.go:31
MethodShutdown
()
blockchain/mempool/mempool.go:118
MethodShutdown
()
blockchain/regpool/regpool.go:185
MethodSize
* // statement hash func (s *Statement) Hash() *big.Int { var input []byte for i := range s.CLn { input = append(input, s.CLn[i].Marshal()...) }
cryptography/crypto/proof_generate.go:395
MethodSize
()
cryptography/crypto/proof_innerproduct.go:37
FunctionSplitIntegratedAddress
import "github.com/deroproject/derohe/rpc"
walletapi/rpcserver/rpc_split_integrated_address.go:30
MethodString
()
cryptography/crypto/key_old.go:40
MethodString
()
cryptography/crypto/group.go:54
← previousnext →1,201–1,300 of 1,541, ranked by callers