Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cruzbit/cruzbit
/ functions
Functions
346 in github.com/cruzbit/cruzbit
⨍
Functions
346
◇
Types & classes
70
Method
Exists
Exists returns true if the given transaction is in the queue.
transaction_queue_memory.go:178
Method
ExistsSigned
ExistsSigned returns true if the given transaction is in the queue and contains the given signature.
transaction_queue_memory.go:186
Method
Get
Get returns transactions in the queue for the miner.
transaction_queue.go:21
Method
Get
Get returns transactions in the queue for the miner.
transaction_queue_memory.go:157
Method
Get
Get returns some peers for us to attempt to connect to.
peer_storage_disk.go:73
Method
GetBalances
GetBalances returns a set of public key balances as well as the current block height.
wallet.go:246
Method
GetBlockHeader
GetBlockHeader returns the referenced block's header and the timestamp of when it was stored.
block_storage_disk.go:178
Method
GetBranchType
GetBranchType returns the branch type for the given block.
ledger_disk.go:107
Method
GetPublicKeyBalances
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
Method
GetSince
GetSince returns some peers to tell others about last active less than "when" ago.
peer_storage_disk.go:132
Method
Len
Len returns the length of the queue.
block_queue.go:97
Method
Len
Len returns the queue length.
transaction_queue_memory.go:197
Method
MarshalJSON
MarshalJSON marshals TransactionID as a hex string.
transaction.go:124
Method
MarshalJSON
MarshalJSON marshals BlockID as a hex string.
block.go:230
Method
OnConnectAttempt
OnConnectAttempt is called prior to attempting to connect to the peer.
peer_storage_disk.go:186
Method
OnConnectFailure
OnConnectFailure is called upon connection failure.
peer_storage_disk.go:222
Method
OnConnectSuccess
OnConnectSuccess is called upon successful handshake with the peer.
peer_storage_disk.go:239
Method
OnDisconnect
OnDisconnect is called upon disconnection.
peer_storage_disk.go:283
Function
OpenCLInit
()
opencl_stubs.go:9
Function
OpenCLMinerMine
(minerNum int, startNonce int64)
opencl_stubs.go:17
Function
OpenCLMinerUpdate
(minerNum int, headerBytes []byte, headerBytesLen, startNonceOffset, endNonceOffset int, target BlockID)
opencl_stubs.go:13
Method
RemoveBatch
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
Method
SetBranchType
SetBranchType sets the branch type for the given block.
ledger_disk.go:94
Method
Store
Store stores a peer address. Returns true if the peer was newly added to storage.
peer_storage_disk.go:39
Method
Store
Store is called to store all of the block's information.
block_storage.go:9
Method
Store
Store is called to store all of the block's information.
block_storage_disk.go:61
Function
TestBlockCreationReward
(t *testing.T)
processor_test.go:8
Function
TestBlockHeaderHasher
(t *testing.T)
block_header_hasher_test.go:65
Function
TestComputeMaxTransactionsPerBlock
(t *testing.T)
processor_test.go:30
Function
TestEncodeBlockHeader
(t *testing.T)
block_storage_disk_test.go:13
Function
TestPrivateKeyEncryption
(t *testing.T)
wallet_test.go:13
Function
TestRoundFloat
(t *testing.T)
wallet/main_test.go:9
Function
TestTransaction
(t *testing.T)
transaction_test.go:14
Function
TestTransactionTestVector1
(t *testing.T)
transaction_test.go:59
Method
UnmarshalJSON
UnmarshalJSON unmarshals a hex string to TransactionID.
transaction.go:130
Method
UnmarshalJSON
UnmarshalJSON unmarshals BlockID hex string to BlockID.
block.go:236
Function
decodeTime
Decode time from bytes
peer_storage_disk.go:428
Function
encodeTime
Encode time as bytes
peer_storage_disk.go:419
Function
main
A peer node in the cruzbit network
client/main.go:26
Function
main
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
Function
main
A small tool to inspect the block chain and ledger offline
inspector/main.go:23
Function
miner_mine
opencl/mine.cc:46
Function
miner_update
opencl/mine.cc:28
Function
ocl_init
opencl/mine.cc:13
Function
sha3
cuda/sha3.cc:153
Function
sha3_final
opencl/sha3.cc:131
← previous
301–346 of 346, ranked by callers