Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0gfoundation/0g-da-client
/ functions
Functions
1,054 in github.com/0gfoundation/0g-da-client
⨍
Functions
1,054
◇
Types & classes
265
↓ 2 callers
Method
stop
(self)
tests/da_test_framework/da_signer.py:52
↓ 2 callers
Function
toBigEndian
(b []byte)
disperser/signer/client.go:124
↓ 2 callers
Method
wait_for_rpc_connection
(self)
tests/da_test_framework/da_signer.py:49
↓ 2 callers
Method
writeItems
writeItems writes items in batches of 25 items (which is a limit DynamoDB imposes) update and delete operations are supported. For update operation, r
common/aws/dynamodb/client.go:212
↓ 1 callers
Method
BalanceAt
(ctx context.Context, account common.Address, blockNumber *big.Int)
common/ethclient.go:17
↓ 1 callers
Method
BatchUpload
(daContract *contract.DAContract, dataRoots []eth_common.Hash)
disperser/batcher/transactor/transactor.go:42
↓ 1 callers
Method
BlockByHash
(ctx context.Context, hash common.Hash)
common/ethclient.go:18
↓ 1 callers
Method
BlockByNumber
(ctx context.Context, number *big.Int)
common/ethclient.go:19
↓ 1 callers
Method
CallContract
(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int)
common/ethclient.go:21
↓ 1 callers
Method
CodeAt
(ctx context.Context, account common.Address, blockNumber *big.Int)
common/ethclient.go:22
↓ 1 callers
Method
ConfirmBatch
(ctx context.Context, batchInfo *BatchInfo)
disperser/batcher/confirmer.go:168
↓ 1 callers
Function
ConvertToGethLog
(log *types.Log)
disperser/contract/contract.go:206
↓ 1 callers
Method
CreateBatch
CreateBatch makes a batch from all blobs in the encoded blob store. If successful, it returns a batch, and updates the reference block number for next
disperser/batcher/encoding_streamer.go:280
↓ 1 callers
Method
CreateBucket
(ctx context.Context, name, region string)
common/aws/s3/client.go:166
↓ 1 callers
Function
CreateBucketTable
(ctx *cli.Context)
cli/main.go:173
↓ 1 callers
Function
CreateMetadataTable
(ctx *cli.Context)
cli/main.go:169
↓ 1 callers
Method
Debug
(msg string, ctx ...interface{})
common/mock/logging.go:41
↓ 1 callers
Method
Debugf
We add the below methods to be compliant with the eigensdk Logger interface
common/logging.go:77
↓ 1 callers
Function
DecodeBatchExpirationKey
Returns the expiration timestamp encoded in the key.
disperser/store.go:279
↓ 1 callers
Function
DefaultCLIConfig
()
common/ratelimit/limiter_cli.go:67
↓ 1 callers
Method
DeleteBatchingStatus
(ts uint64)
disperser/batcher/encoded_blob_store.go:169
↓ 1 callers
Method
DeleteBucket
(ctx context.Context, name string)
common/aws/s3/client.go:206
↓ 1 callers
Method
DeleteEncodingRequest
(blobKey disperser.BlobKey)
disperser/batcher/encoded_blob_store.go:80
↓ 1 callers
Method
DeleteEncodingResult
(blobKey disperser.BlobKey)
disperser/batcher/encoded_blob_store.go:126
↓ 1 callers
Method
DeleteExpiredEntries
(currentTimeUnixSec int64, timeLimitSec uint64)
disperser/store.go:45
↓ 1 callers
Method
DeleteItem
(ctx context.Context, tableName string, key Key)
common/aws/dynamodb/client.go:193
↓ 1 callers
Method
DeleteItems
DeleteItems deletes items in batches of 25 items (which is a limit DynamoDB imposes) It returns the items that failed to be deleted.
common/aws/dynamodb/client.go:204
↓ 1 callers
Method
DeleteObject
(ctx context.Context, bucket string, key string)
common/aws/s3/client.go:135
↓ 1 callers
Function
DeployResources
(pool *dockertest.Pool, localStackPort, metadataTableName, bucketTableName string)
inabox/deploy/localstack.go:90
↓ 1 callers
Method
Descriptor
()
api/grpc/disperser/disperser.pb.go:72
↓ 1 callers
Method
Descriptor
Deprecated: Use BlobInfo.ProtoReflect.Descriptor instead.
api/grpc/disperser/disperser.pb.go:460
↓ 1 callers
Method
DisperseBatch
(ctx context.Context, batchHeaderHash [32]byte, batchHeader *core.BatchHeader, blobCommitments []*core.BlobCom
disperser/disperser.go:236
↓ 1 callers
Method
Encode
()
core/serialization.go:37
↓ 1 callers
Method
Encode
()
core/serialization.go:184
↓ 1 callers
Function
EncodeBatchExpirationKey
(expirationTime int64)
disperser/store.go:265
↓ 1 callers
Function
EncodeBatchExpirationKeyPrefix
Returns the encoded prefix for batch expiration key.
disperser/store.go:274
↓ 1 callers
Function
EncodeBlobHeaderKeyPrefix
Returns an encoded prefix of blob header key.
disperser/store.go:295
↓ 1 callers
Function
EncodeToBytes
EncodeToBytes encodes the given value to bytes
common/common.go:33
↓ 1 callers
Method
EnsureTransactionEvaled
(ctx context.Context, tx *types.Transaction, tag string)
common/ethclient.go:43
↓ 1 callers
Method
EnsureTransactionEvaled
(ctx context.Context, tx *types.Transaction, tag string)
common/geth/client.go:211
↓ 1 callers
Method
Error
(msg string, ctx ...interface{})
common/mock/logging.go:53
↓ 1 callers
Method
EstimateGas
(ctx context.Context, call ethereum.CallMsg)
common/geth/instrumented_client.go:136
↓ 1 callers
Method
FinalizeBlobs
FinalizeBlobs checks the latest finalized block and marks blobs in `confirmed` state as `finalized` if their confirmation block number is less than or
disperser/batcher/finalizer.go:142
↓ 1 callers
Function
GetAddress
Converts a private key to an address.
inabox/deploy/utils.go:195
↓ 1 callers
Method
GetAllBlobMetadataByBatch
GetAllBlobMetadataByBatch returns the metadata of all the blobs in the batch.
disperser/disperser.go:228
↓ 1 callers
Method
GetBatchHeaderHash
GetBatchHeaderHash returns the hash of the reduced BatchHeader that is used to sign the Batch ref: https://github.com/0glabs/0g-da-client/blob/master/
core/serialization.go:78
↓ 1 callers
Method
GetBlob
(ctx context.Context, blobKey []byte)
disperser/store.go:229
↓ 1 callers
Method
GetBlobContent
GetBlobContent retrieves a blob's content
disperser/disperser.go:209
↓ 1 callers
Function
GetBlobHash
(dataRoot []byte, epoch, quorumId uint64)
disperser/batcher/slice_signer.go:838
↓ 1 callers
Method
GetBlobMetadata
(ctx context.Context, blobKey disperser.BlobKey)
disperser/common/memorydb/memorydb.go:283
↓ 1 callers
Method
GetBlobMetadataInBatch
(ctx context.Context, batchHeaderHash [32]byte, blobIndex uint32)
disperser/common/blobstore/blob_metadata_store.go:135
↓ 1 callers
Method
GetBlobsByMetadata
GetBlobsByMetadata retrieves a list of blobs given a list of metadata
disperser/disperser.go:222
↓ 1 callers
Method
GetCols
()
core/data.go:109
↓ 1 callers
Method
GetCommitRootSubmissionBatch
()
disperser/batcher/slice_signer.go:708
↓ 1 callers
Function
GetCommitmentHash
(commitment Commitment)
core/serialization.go:108
↓ 1 callers
Method
GetEncodedData
()
disperser/api/grpc/encoder/encoder.pb.go:145
↓ 1 callers
Method
GetEncodedResultSize
GetEncodedResultSize returns the total size of all the chunks in the encoded results in bytes
disperser/batcher/encoded_blob_store.go:182
↓ 1 callers
Method
GetEncodedSlice
()
disperser/api/grpc/signer/signer.pb.go:95
↓ 1 callers
Method
GetEncodingRequestingSize
()
disperser/batcher/encoded_blob_store.go:189
↓ 1 callers
Method
GetErasureCommitment
()
disperser/api/grpc/signer/signer.pb.go:81
↓ 1 callers
Function
GetLatestTestDirectory
(rootPath string)
inabox/deploy/utils.go:286
↓ 1 callers
Method
GetMetadata
(ctx context.Context, key []byte)
disperser/store.go:212
↓ 1 callers
Method
GetNewEncodingResults
GetNewEncodingResults returns all the fresh encoded results
disperser/batcher/encoded_blob_store.go:143
↓ 1 callers
Method
GetNoSendTransactOpts
()
common/geth/client.go:91
↓ 1 callers
Method
GetRequestId
()
api/grpc/disperser/disperser.pb.go:195
↓ 1 callers
Method
GetRowInBytes
(idx int)
core/data.go:113
↓ 1 callers
Method
GetRows
()
core/data.go:105
↓ 1 callers
Method
GetSignatures
()
disperser/api/grpc/signer/signer.pb.go:189
↓ 1 callers
Method
GetStorageRoot
()
disperser/api/grpc/signer/signer.pb.go:88
↓ 1 callers
Method
HasEncodingRequested
(blobKey disperser.BlobKey)
disperser/batcher/encoded_blob_store.go:64
↓ 1 callers
Method
HeaderByHash
(ctx context.Context, hash common.Hash)
common/ethclient.go:25
↓ 1 callers
Method
HeaderByNumber
(ctx context.Context, number *big.Int)
common/geth/instrumented_client.go:187
↓ 1 callers
Method
IncrementBatchCount
(size int64)
disperser/batcher/metrics.go:168
↓ 1 callers
Method
IncrementBlobRetryCount
(ctx context.Context, existingMetadata *disperser.BlobMetadata)
disperser/common/memorydb/memorydb.go:219
↓ 1 callers
Method
IncrementBlobRetryCount
(ctx context.Context, existingMetadata *disperser.BlobMetadata)
disperser/common/blobstore/shared_storage.go:191
↓ 1 callers
Method
IncrementFailedBlobRequestNum
IncrementFailedBlobRequestNum increments the number of failed blob requests
disperser/metrics.go:93
↓ 1 callers
Method
IncrementNumRetries
(ctx context.Context, existingMetadata *disperser.BlobMetadata)
disperser/common/blobstore/blob_metadata_store.go:162
↓ 1 callers
Method
IncrementSuccessfulBlobRequestNum
IncrementSuccessfulBlobRequestNum increments the number of successful blob requests
disperser/metrics.go:76
↓ 1 callers
Method
Info
(msg string, ctx ...interface{})
common/mock/logging.go:45
↓ 1 callers
Method
Initialize
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c. Solidity: function initialize() returns()
disperser/contract/da_entrance/da_entrance.go:371
↓ 1 callers
Method
MarkBlobConfirmed
MarkBlobConfirmed updates blob metadata to Confirmed status with confirmation info Returns the updated metadata and error
disperser/disperser.go:212
↓ 1 callers
Method
MarkBlobFailed
(ctx context.Context, blobKey disperser.BlobKey)
disperser/common/memorydb/memorydb.go:208
↓ 1 callers
Method
MarkBlobFailed
(ctx context.Context, metadataKey disperser.BlobKey)
disperser/common/blobstore/shared_storage.go:187
↓ 1 callers
Method
MarkBlobFinalized
MarkBlobFinalized marks a blob as finalized
disperser/disperser.go:214
↓ 1 callers
Function
MustNewWeb3
(url, key string)
disperser/contract/contract.go:224
↓ 1 callers
Function
NewBlobStore
NewBlobStore creates an empty BlobStore
disperser/common/memorydb/memorydb.go:34
↓ 1 callers
Function
NewConfig
(ctx *cli.Context)
disperser/cmd/combined_server/config.go:39
↓ 1 callers
Function
NewConfig
(ctx *cli.Context)
disperser/cmd/apiserver/config.go:32
↓ 1 callers
Function
NewConfig
(ctx *cli.Context)
disperser/cmd/batcher/config.go:25
↓ 1 callers
Function
NewDAEntrance
NewDAEntrance creates a new instance of DAEntrance, bound to a specific deployed contract.
disperser/contract/da_entrance/da_entrance.go:124
↓ 1 callers
Function
NewDASigners
NewDASigners creates a new instance of DASigners, bound to a specific deployed contract.
disperser/contract/da_signers/da_signers.go:121
↓ 1 callers
Function
NewEncodedSizeNotifier
(notify chan struct{}, threshold uint64)
disperser/batcher/encoding_streamer.go:74
↓ 1 callers
Function
NewEncodedSliceSigner
( ethConfig geth.EthClientConfig, config SignerConfig, workerPool common.WorkerPool, signatureSizeNotifier
disperser/batcher/slice_signer.go:140
↓ 1 callers
Function
NewEncodingStreamer
( config StreamerConfig, blobStore disperser.BlobStore, encoderClient disperser.EncoderClient, encodedSize
disperser/batcher/encoding_streamer.go:82
↓ 1 callers
Function
NewLevelDBStore
(path string)
disperser/leveldb/leveldb.go:18
↓ 1 callers
Function
NewRetrieverClient
(cc grpc.ClientConnInterface)
disperser/api/grpc/retriever/retriever_grpc.pb.go:34
↓ 1 callers
Function
NewSignatureSizeNotifier
(notify chan struct{}, threshold uint64)
disperser/batcher/slice_signer.go:41
↓ 1 callers
Function
NewSignerClient
(timeout time.Duration)
disperser/signer/client.go:30
↓ 1 callers
Function
NewWeb3
(url, key string)
disperser/contract/contract.go:233
↓ 1 callers
Method
NonceAt
(ctx context.Context, account common.Address, blockNumber *big.Int)
common/ethclient.go:27
← previous
next →
201–300 of 1,054, ranked by callers