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
Function
GetTxPool
(ctx context.Context)
cmd/derod/rpc/rpc_dero_gettxpool.go:23
Method
Get_Block_Past
(blid crypto.Hash)
p2p/chain_sync.go:76
Method
Get_Current_Version
current hard fork version , block major version we may be at genesis block height
blockchain/hardfork_core.go:205
Function
Get_Daemon_TopoHeight
return topoheight of daemon
walletapi/daemon_communication.go:71
Method
Get_Ideal_Version
if we are voting, return the next expected version
blockchain/hardfork_core.go:236
Method
Get_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
Method
Get_Registration_TopoHeight
()
walletapi/wallet.go:391
Function
Get_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
Function
Getwork_server
()
cmd/derod/rpc/websocket_getwork_server.go:305
Method
Hadamard
(exponent []*big.Int)
cryptography/crypto/algebra_pointvector.go:109
Method
HasChanged
return whether pool contents have changed
blockchain/mempool/mempool.go:140
Method
HasChanged
return whether pool contents have changed
blockchain/regpool/regpool.go:207
Function
HexToKey
convert a hex string to a key
cryptography/crypto/key_old.go:54
Method
HouseKeeping
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
Method
Int63
()
globals/random.go:32
Method
Invert
(a *gfP2)
cryptography/bn256/gfp2.go:140
Method
IsDaemonOnlineCached
returns whether wallet was online some time ago
walletapi/daemon_communication.go:223
Method
IsOnCurve
IsOnCurve returns true iff c is on the curve.
cryptography/bn256/twist.go:47
Method
IsOne
()
cryptography/bn256/gfp6.go:42
Method
IsOne
()
cryptography/bn256/gfp12.go:43
Function
IsPeerInList
check whether an IP is in the map already
p2p/peer_pool.go:141
Method
IsSC
()
transaction/transaction.go:209
Method
IsZero
()
cryptography/crypto/algebra_elgamal.go:62
Method
Is_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
Function
Keccak512
(data ...[]byte)
cryptography/crypto/keccak.go:33
Method
Len
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
Method
Length
()
cryptography/crypto/algebra_pointvector.go:38
Method
Length
()
cryptography/crypto/algebra_fieldvector.go:45
Method
Less
(i, j int)
p2p/median.go:25
Method
Less
(i, j int)
astrobwt/suffixarray_test.go:215
Method
Less
(i, j int)
astrobwt/astrobwtv3/suffixarray_test.go:215
Method
Less
(i, j int)
walletapi/balance_decoder.go:57
Method
Load_Block_Difficulty
(blid crypto.Hash)
p2p/chain_sync.go:79
Method
Load_Block_Difficulty
(h crypto.Hash)
blockchain/store.go:216
Method
Load_Block_Height
(blid crypto.Hash)
p2p/chain_sync.go:70
Method
Load_Block_Timestamp
(blid crypto.Hash)
p2p/chain_sync.go:73
Method
LocatePruneTopo
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
Method
LogRequest
(ctx context.Context, req *jrpc2.Request)
cmd/derod/rpc/websocket_server.go:74
Method
LogResponse
(ctx context.Context, resp *jrpc2.Response)
cmd/derod/rpc/websocket_server.go:75
Function
MakeIntegratedAddress
(ctx context.Context, p rpc.Make_Integrated_Address_Params)
walletapi/rpcserver/rpc_make_integrated_address.go:28
Method
Marshal
Marshal converts e into a byte slice.
cryptography/bn256/bn256.go:236
Method
Marshal
Marshal converts e into a byte slice.
cryptography/bn256/bn256.go:390
Method
MarshalBinaryPanic
()
dvm/dvm_store.go:220
Method
MarshalText
()
cryptography/crypto/key_old.go:27
Method
MarshalText
()
cryptography/crypto/hash.go:28
Method
MarshalText
()
cryptography/crypto/group.go:62
Method
MarshalText
()
cryptography/crypto/bnred.go:61
Function
Miller
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
Method
Monitor
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
Method
Monitor
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
Method
Mul
(a *curvePoint, scalar *big.Int)
cryptography/bn256/curve.go:185
Method
MultiExponentiate
(fv *FieldVector)
cryptography/crypto/algebra_pointvector.go:179
Method
MustPack
this function will pack the args into buffer of specific limit, if it fails, it panics
rpc/rpc.go:155
Function
NameToAddress
import "github.com/deroproject/derosuite/blockchain"
cmd/derod/rpc/rpc_dero_nametoaddress.go:29
Method
Names
()
cmd/derod/rpc/websocket_server.go:360
Method
Neg
(a *curvePoint)
cryptography/bn256/curve.go:233
Method
Neg
Neg sets e to -a and then returns e.
cryptography/bn256/bn256.go:218
Method
Neg
Neg sets e to -a and then returns e.
cryptography/bn256/bn256.go:365
Method
Neg
(a *gfP2)
cryptography/bn256/gfp2.go:58
Method
Neg
(a *gfP6)
cryptography/bn256/gfp6.go:46
Method
Negate
()
cryptography/crypto/algebra_fieldvector.go:152
Function
NewDiskUsage
NewDiskUsages returns an object holding the disk usage of volumePath or nil in case of error (invalid path, etc)
metrics/diskusage_windows.go:16
Function
NewInnerProductProof
(ips *IPStatement, witness *IPWitness, salt *big.Int)
cryptography/crypto/proof_innerproduct.go:103
Method
Nonce
()
cryptography/crypto/balance_serdes.go:72
Function
Notify_broadcaster
(req *jrpc2.Request)
walletapi/daemon_communication.go:100
Function
Peer_Counts
this function return peer count which are in our list
p2p/peer_pool.go:277
Function
Peer_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
Function
Ping
used to verify whether the connection is alive
cmd/derod/rpc/websocket_server.go:286
Function
Ping
used to verify whether the connection is alive
walletapi/rpcserver/rpc_websocket_server.go:292
Function
Pow
patch algorithm in here to conduct various tests
pow/pow.go:8
Method
Precompute
(add func(i, j uint))
cryptography/bn256/lattice.go:74
Function
QueryKey
(ctx context.Context, p rpc.Query_Key_Params)
walletapi/rpcserver/rpc_query_key.go:29
Function
RPCServer_Start
(params map[string]interface{})
cmd/derod/rpc/websocket_server.go:146
Method
RawLoad
(key []byte)
dvm/dvm_store.go:71
Method
Read
(p []byte)
glue/rwc/rwc_nhyoor.go:19
Function
ReadBigUint32Unsafe
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
Function
ReadBigUint32Unsafe
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
Method
ReadHeader
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
Method
ReadRequestBody
ReadRequestBody reads a 4 byte length from the connection and decodes that many subsequent bytes into the object
p2p/rpc_cbor_codec.go:149
Method
ReadResponseBody
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
Method
ReadResponseHeader
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
Function
SC_Asset_Key
(asset crypto.Hash)
dvm/sc.go:82
Function
ScInvoke
(ctx context.Context, p rpc.SC_Invoke_Params)
walletapi/rpcserver/rpc_scinvoke.go:26
Method
ScalarBaseMult
ScalarBaseMult sets e to g*k where g is the generator of the group and then returns out.
cryptography/bn256/bn256.go:191
Method
ScalarMult
ScalarMult sets e to a*k and then returns e.
cryptography/bn256/bn256.go:200
Method
ScalarMult
ScalarMult sets e to a*k and then returns e.
cryptography/bn256/bn256.go:347
Function
SendRawTransaction
NOTE: finally we have shifted to json api
cmd/derod/rpc/rpc_dero_sendrawtransaction.go:28
Method
Serialize
since our bulletproofs are 128 bits, we can get away hard coded 7 entries
cryptography/crypto/proof_innerproduct.go:42
Method
Serialize
(w *bytes.Buffer)
cryptography/crypto/protocol_structures.go:53
Method
Set
Set sets e to a and then returns e.
cryptography/bn256/bn256.go:227
Method
Set
Set sets e to a and then returns e.
cryptography/bn256/bn256.go:374
Method
SetInfinity
()
cryptography/bn256/twist.go:65
Method
SetOne
()
cryptography/bn256/gfp6.go:31
Method
Shutdown
()
blockchain/mempool/mempool.go:118
Method
Shutdown
()
blockchain/regpool/regpool.go:185
Method
Size
* // 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
Method
Size
()
cryptography/crypto/proof_innerproduct.go:37
Function
SplitIntegratedAddress
import "github.com/deroproject/derohe/rpc"
walletapi/rpcserver/rpc_split_integrated_address.go:30
Method
String
()
cryptography/crypto/key_old.go:40
Method
String
()
cryptography/crypto/group.go:54
← previous
next →
1,201–1,300 of 1,541, ranked by callers