MCPcopy Create free account

hub / github.com/cruzbit/cruzbit / functions

Functions346 in github.com/cruzbit/cruzbit

MethodExists
Exists returns true if the given transaction is in the queue.
transaction_queue_memory.go:178
MethodExistsSigned
ExistsSigned returns true if the given transaction is in the queue and contains the given signature.
transaction_queue_memory.go:186
MethodGet
Get returns transactions in the queue for the miner.
transaction_queue.go:21
MethodGet
Get returns transactions in the queue for the miner.
transaction_queue_memory.go:157
MethodGet
Get returns some peers for us to attempt to connect to.
peer_storage_disk.go:73
MethodGetBalances
GetBalances returns a set of public key balances as well as the current block height.
wallet.go:246
MethodGetBlockHeader
GetBlockHeader returns the referenced block's header and the timestamp of when it was stored.
block_storage_disk.go:178
MethodGetBranchType
GetBranchType returns the branch type for the given block.
ledger_disk.go:107
MethodGetPublicKeyBalances
GetPublicKeyBalances returns the current balance of the given public keys along with block ID and height of the corresponding main chain tip.
ledger_disk.go:572
MethodGetSince
GetSince returns some peers to tell others about last active less than "when" ago.
peer_storage_disk.go:132
MethodLen
Len returns the length of the queue.
block_queue.go:97
MethodLen
Len returns the queue length.
transaction_queue_memory.go:197
MethodMarshalJSON
MarshalJSON marshals TransactionID as a hex string.
transaction.go:124
MethodMarshalJSON
MarshalJSON marshals BlockID as a hex string.
block.go:230
MethodOnConnectAttempt
OnConnectAttempt is called prior to attempting to connect to the peer.
peer_storage_disk.go:186
MethodOnConnectFailure
OnConnectFailure is called upon connection failure.
peer_storage_disk.go:222
MethodOnConnectSuccess
OnConnectSuccess is called upon successful handshake with the peer.
peer_storage_disk.go:239
MethodOnDisconnect
OnDisconnect is called upon disconnection.
peer_storage_disk.go:283
FunctionOpenCLInit
()
opencl_stubs.go:9
FunctionOpenCLMinerMine
(minerNum int, startNonce int64)
opencl_stubs.go:17
FunctionOpenCLMinerUpdate
(minerNum int, headerBytes []byte, headerBytesLen, startNonceOffset, endNonceOffset int, target BlockID)
opencl_stubs.go:13
MethodRemoveBatch
RemoveBatch removes a batch of transactions from the queue (a block has been connected.) "height" is the block chain height after this connection. "mo
transaction_queue_memory.go:86
MethodSetBranchType
SetBranchType sets the branch type for the given block.
ledger_disk.go:94
MethodStore
Store stores a peer address. Returns true if the peer was newly added to storage.
peer_storage_disk.go:39
MethodStore
Store is called to store all of the block's information.
block_storage.go:9
MethodStore
Store is called to store all of the block's information.
block_storage_disk.go:61
FunctionTestBlockCreationReward
(t *testing.T)
processor_test.go:8
FunctionTestBlockHeaderHasher
(t *testing.T)
block_header_hasher_test.go:65
FunctionTestComputeMaxTransactionsPerBlock
(t *testing.T)
processor_test.go:30
FunctionTestEncodeBlockHeader
(t *testing.T)
block_storage_disk_test.go:13
FunctionTestPrivateKeyEncryption
(t *testing.T)
wallet_test.go:13
FunctionTestRoundFloat
(t *testing.T)
wallet/main_test.go:9
FunctionTestTransaction
(t *testing.T)
transaction_test.go:14
FunctionTestTransactionTestVector1
(t *testing.T)
transaction_test.go:59
MethodUnmarshalJSON
UnmarshalJSON unmarshals a hex string to TransactionID.
transaction.go:130
MethodUnmarshalJSON
UnmarshalJSON unmarshals BlockID hex string to BlockID.
block.go:236
FunctiondecodeTime
Decode time from bytes
peer_storage_disk.go:428
FunctionencodeTime
Encode time as bytes
peer_storage_disk.go:419
Functionmain
A peer node in the cruzbit network
client/main.go:26
Functionmain
This is a lightweight wallet client. It pretty much does the bare minimum at the moment so we can test the system
wallet/main.go:31
Functionmain
A small tool to inspect the block chain and ledger offline
inspector/main.go:23
Functionminer_mine
opencl/mine.cc:46
Functionminer_update
opencl/mine.cc:28
Functionocl_init
opencl/mine.cc:13
Functionsha3
cuda/sha3.cc:153
Functionsha3_final
opencl/sha3.cc:131
← previous301–346 of 346, ranked by callers