MCPcopy Create free account

hub / github.com/dante-gpu/dantegpu-core / functions

Functions1,089 in github.com/dante-gpu/dantegpu-core

↓ 1 callersMethodSetGPUAvailability
GPU Availability Cache Methods SetGPUAvailability caches GPU availability data
services/redis-cache-service/main.go:153
↓ 1 callersMethodSetHealthChecker
SetHealthChecker wires the GPU health monitor so the handler can reject tasks while the provider is offline.
clients/provider-daemon/internal/tasks/handler.go:73
↓ 1 callersMethodSetMetricsProvider
SetMetricsProvider wires a real GPU-metrics source (the daemon's detector) into the billing monitor.
clients/provider-daemon/internal/billing/client.go:31
↓ 1 callersMethodSetProviderRates
SetProviderRates forwards a provider's rate update to the billing service.
services/api-gateway/internal/handlers/billing.go:328
↓ 1 callersMethodSetReporter
SetReporter sets the reporter for the handler (used to break init cycle with NATS client).
clients/provider-daemon/internal/tasks/handler.go:67
↓ 1 callersMethodSettleRentalJob
SettleRentalJob finalizes the escrow to the provider after the challenge window (the provider payout, on-chain).
services/billing-payment-service/internal/covenant/manager.go:139
↓ 1 callersMethodSettleRipeJobs
SettleRipeJobs is the provider-payout crank. It finalizes every delivered, undisputed Covenant job (taker == platform in Phase 1) whose challenge wind
services/billing-payment-service/internal/covenant/manager.go:181
↓ 1 callersFunctionSpecHash
SpecHash computes the 32-byte spec hash exactly as Covenant does: sha256(JSON.stringify(spec)) with no HTML escaping. The same hash must be sent to th
services/billing-payment-service/internal/covenant/onchain.go:109
↓ 1 callersMethodStart
Start starts the GPU monitoring service
services/gpu-monitoring-service/main.go:108
↓ 1 callersMethodStart
Start initiates the HTTP server listening process.
services/scheduler-orchestrator-service/internal/server/server.go:40
↓ 1 callersMethodStart
Start starts the device plugin server
services/dantegpu-device-plugin/main.go:224
↓ 1 callersMethodStart
Start runs the health loop until the context is cancelled. It blocks, so run it in a goroutine.
clients/provider-daemon/internal/gpu/health.go:48
↓ 1 callersMethodStartBilling
StartBilling informs the billing service that a task's billable period has begun.
clients/provider-daemon/internal/billing/client.go:217
↓ 1 callersMethodStartConsuming
StartConsuming subscribes to the NATS subject for job submissions and starts processing messages. This uses a JetStream PullSubscription for more cont
services/scheduler-orchestrator-service/internal/scheduler/consumer.go:65
↓ 1 callersMethodStartListening
StartListening subscribes to the task subject and starts processing messages.
clients/provider-daemon/internal/nats/client.go:91
↓ 1 callersMethodStartSession
StartSession starts a new rental session
services/scheduler-orchestrator-service/internal/billing/integration.go:92
↓ 1 callersMethodStop
Stop gracefully shuts down the JobConsumer.
services/scheduler-orchestrator-service/internal/scheduler/consumer.go:564
↓ 1 callersMethodStop
Stop gracefully shuts down the HTTP server.
services/scheduler-orchestrator-service/internal/server/server.go:48
↓ 1 callersMethodStopBilling
StopBilling ends the rental session in the billing service. The session is keyed by the id the scheduler placed in the task; the daemon only needs to
clients/provider-daemon/internal/billing/client.go:242
↓ 1 callersMethodToInternalJobRepresentation
ToInternalJobRepresentation converts a JobRecord from the database back to an InternalJobRepresentation.
services/scheduler-orchestrator-service/internal/models/job_record.go:51
↓ 1 callersMethodTotalBalance
TotalBalance returns the total balance including locked and pending
services/billing-payment-service/internal/models/wallet.go:40
↓ 1 callersMethodTransferTokens
TransferTokens transfers USDC between wallets
services/billing-payment-service/internal/solana/client.go:174
↓ 1 callersMethodUnlockFunds
UnlockFunds unlocks the specified amount
services/billing-payment-service/internal/models/wallet.go:60
↓ 1 callersMethodUpdateJobState
UpdateJobState updates specific fields of a job: its state, assigned provider ID, last error, and increments attempts. It also updates the UpdatedAt t
services/scheduler-orchestrator-service/internal/store/jobstore.go:20
↓ 1 callersMethodUpdateProvider
(ctx context.Context, id uuid.UUID, updatedProvider *models.Provider)
services/provider-registry-service/internal/handlers/provider.go:24
↓ 1 callersMethodUpdateProviderHeartbeat
(ctx context.Context, id uuid.UUID, gpuMetrics []models.GPUDetail)
services/provider-registry-service/internal/handlers/provider.go:27
↓ 1 callersMethodUpdateProviderStatus
(ctx context.Context, id uuid.UUID, status models.ProviderStatus)
services/provider-registry-service/internal/handlers/provider.go:26
↓ 1 callersMethodUpdateStatus
UpdateStatus updates the provider's status and last seen time.
services/provider-registry-service/internal/models/provider.go:79
↓ 1 callersMethodUpload
Upload uploads a file to the specified bucket with the given key. reader is the content of the file, size is the total size, and contentType is the MI
services/storage-service/internal/storage/interface.go:22
↓ 1 callersMethodValidateJobRequirements
ValidateJobRequirements validates that a job can be billed properly
services/scheduler-orchestrator-service/internal/billing/integration.go:214
↓ 1 callersMethodValidatePricingRequest
ValidatePricingRequest validates a pricing request
services/billing-payment-service/internal/pricing/engine.go:300
↓ 1 callersMethodValidateRefreshToken
ValidateRefreshToken validates a refresh token and returns the claims
services/auth-service/pkg/jwt/jwt.go:125
↓ 1 callersMethodValidateRefreshToken
(token string)
services/auth-service/internal/handlers/login_test.go:286
↓ 1 callersMethodVerifyEmail
VerifyEmail handles email verification
services/auth-service/internal/handlers/registration.go:258
↓ 1 callersFunctionWithCorrelationID
WithCorrelationID returns a new context with the correlation ID set
services/provider-registry-service/internal/logging/context.go:24
↓ 1 callersFunctionWithRetry
WithRetry executes a database operation with retries for transient errors
services/provider-registry-service/internal/store/db_errors.go:63
↓ 1 callersMethodWithdrawTokens
WithdrawTokens processes a dGPU token withdrawal
services/api-gateway/internal/billing/client.go:213
↓ 1 callersFunctionappleEstimateVRAMByName
appleEstimateVRAMByName is a coarse per-chip fallback used only when sysctl is unavailable. It mirrors typical base unified-memory configurations and
clients/provider-daemon/internal/gpu/detector.go:410
↓ 1 callersFunctionappleUnifiedMemoryMB
appleUnifiedMemoryMB returns the machine's total physical memory in MB via sysctl hw.memsize. On Apple Silicon the GPU shares this unified memory, so
clients/provider-daemon/internal/gpu/detector.go:395
↓ 1 callersFunctionapply
(theme: Theme)
clients/console/src/providers/ThemeProvider.tsx:24
↓ 1 callersFunctionapplyDefaultsIfNotSet
applyDefaultsIfNotSet applies default values to cfg fields if they are zero-valued. This is useful if the config file exists but is missing some keys.
services/api-gateway/internal/config/config.go:153
↓ 1 callersFunctionapplyDefaultsIfNotSet
applyDefaultsIfNotSet applies default values from `defaults` to `cfg` for zero-valued fields.
services/storage-service/internal/config/config.go:171
↓ 1 callersFunctionapplyDefaultsIfNotSet
applyDefaultsIfNotSet applies default values to cfg fields if they are zero-valued.
services/provider-registry-service/internal/config/config.go:85
↓ 1 callersFunctionapplyDefaultsIfNotSet
(cfg *Config, defaults *Config)
services/scheduler-orchestrator-service/internal/config/config.go:116
↓ 1 callersFunctionapplyDefaultsIfNotSet
applyDefaultsIfNotSet applies default values to cfg fields if they are zero-valued.
clients/provider-daemon/internal/config/config.go:175
↓ 1 callersMethodauthenticate
authenticate with API Gateway
cmd/rental/main.go:699
↓ 1 callersFunctionbestProviderPowerW
bestProviderPowerW returns the highest rated power envelope (in Watts) across the provider's GPUs. Falls back to a model-name heuristic when the regis
services/scheduler-orchestrator-service/internal/scheduler/consumer.go:528
↓ 1 callersFunctionbestProviderVRAM
bestProviderVRAM returns the largest single-GPU VRAM (in MB) the provider exposes. Heterogeneous rigs may pack different cards; we match against the s
services/scheduler-orchestrator-service/internal/scheduler/consumer.go:514
↓ 1 callersMethodbondPDA
(job solana.PublicKey)
services/billing-payment-service/internal/covenant/onchain.go:164
↓ 1 callersFunctionborshI64
(v int64)
services/billing-payment-service/internal/covenant/onchain.go:177
↓ 1 callersFunctionborshString
(s string)
services/billing-payment-service/internal/covenant/onchain.go:179
↓ 1 callersMethodbroadcast
broadcast sends message to all WebSocket clients
services/gpu-monitoring-service/main.go:401
↓ 1 callersMethodbroadcastData
broadcastData broadcasts GPU data to WebSocket clients
services/gpu-monitoring-service/main.go:368
↓ 1 callersMethodbuildEmailMessage
buildEmailMessage builds the email message with headers
services/auth-service/internal/email/smtp_service.go:238
↓ 1 callersFunctionbuildReceipt
(gpu daemonGPU, req *pricing.PricingRequest, p *pricing.PricingResponse, jobID, sessionID, providerID, renter
services/billing-payment-service/cmd/rental-proof/main.go:261
↓ 1 callersMethodcalculateSystemStats
calculateSystemStats calculates overall system statistics
services/gpu-monitoring-service/main.go:538
↓ 1 callersMethodcanRequestReset
Helper functions
services/auth-service/internal/handlers/password_reset.go:369
↓ 1 callersFunctioncanonical
canonical renders the receipt deterministically (sorted keys) for hashing.
services/billing-payment-service/cmd/rental-proof/main.go:287
↓ 1 callersMethodcheckPassword
(password, hash string)
services/auth-service/main-sqlite.go:102
↓ 1 callersMethodcheckPassword
(password, hash string)
services/auth-service/main.go:69
↓ 1 callersMethodclaimPDA
(job solana.PublicKey)
services/billing-payment-service/internal/covenant/onchain.go:159
↓ 1 callersMethodcleanupContainer
cleanupContainer removes a Docker container
cmd/provider/main.go:1830
↓ 1 callersMethodcleanupTestData
()
tests/integration/job_execution_test.go:120
↓ 1 callersMethodcleanupTestData
()
tests/integration/rental_flow_test.go:129
↓ 1 callersMethodcleanupWorkspace
(workspacePath string, jobID string)
clients/provider-daemon/internal/tasks/handler.go:237
↓ 1 callersMethodcollectContainerLogs
collectContainerLogs collects logs from a Docker container
cmd/provider/main.go:1787
↓ 1 callersMethodcollectGPUData
collectGPUData continuously collects GPU data
services/gpu-monitoring-service/main.go:137
↓ 1 callersMethodcollectGPUMetrics
collectGPUMetrics collects current GPU metrics
cmd/provider/main.go:1621
↓ 1 callersMethodcollectMetrics
collectMetrics collects system and GPU metrics during task execution
cmd/provider/main.go:1583
↓ 1 callersMethodcollectNVIDIAMetrics
collectNVIDIAMetrics collects NVIDIA GPU metrics
cmd/provider/main.go:1636
↓ 1 callersMethodcollectSystemMetrics
collectSystemMetrics collects system and GPU metrics
cmd/provider/main.go:2214
↓ 1 callersFunctionconnect
()
clients/console/src/components/ProviderConsole.tsx:30
↓ 1 callersFunctionconnect
()
clients/console/src/hooks/useLogSocket.ts:46
↓ 1 callersMethodconvertAMR
convertAMR converts authentication methods reference
services/ory-kratos-integration/main.go:325
↓ 1 callersMethodcreate2FASession
create2FASession creates a temporary session for 2FA verification
services/auth-service/internal/handlers/login_helpers.go:115
↓ 1 callersMethodcreateSession
createSession creates a new user session
services/auth-service/internal/handlers/login_helpers.go:132
↓ 1 callersMethodcreateWallet
createWallet creates a new wallet for the user
cmd/rental/main.go:784
↓ 1 callersFunctiondefaultPricingConfig
defaultPricingConfig mirrors services/billing-payment-service/configs/config.yaml so the engine computes the same figures the live service would.
services/billing-payment-service/cmd/rental-proof/main.go:242
↓ 1 callersMethoddeleteObjectHandler
deleteObjectHandler handles object deletions.
services/storage-service/internal/api/handlers.go:190
↓ 1 callersFunctiondeposit
(amountUsdc: number)
clients/console/src/hooks/useDeposit.ts:25
↓ 1 callersFunctionderegisterServiceFromConsul
deregisterServiceFromConsul deregisters the service from Consul.
services/storage-service/cmd/main.go:261
↓ 1 callersFunctiondetectAMDGPUs
detectAMDGPUs detects AMD GPUs (Linux only)
cmd/provider/main.go:1986
↓ 1 callersMethoddetectAMDGPUs
detectAMDGPUs detects AMD GPUs using rocm-smi
clients/provider-daemon/internal/gpu/detector.go:242
↓ 1 callersFunctiondetectAppleGPUs
detectAppleGPUs detects Apple Silicon GPUs (macOS only)
cmd/provider/main.go:2053
↓ 1 callersMethoddetectAppleGPUs
detectAppleGPUs detects Apple Silicon GPUs
clients/provider-daemon/internal/gpu/detector.go:337
↓ 1 callersFunctiondetectGPUs
(ctx context.Context, daemonPath string)
services/billing-payment-service/cmd/rental-proof/main.go:219
↓ 1 callersFunctiondetectGPUs
detectGPUs detects available GPUs on the system
cmd/provider/main.go:1899
↓ 1 callersFunctiondetectIntelGPUs
detectIntelGPUs detects Intel GPUs
cmd/provider/main.go:2019
↓ 1 callersMethoddetectIntelGPUs
detectIntelGPUs detects Intel GPUs via sysfs (vendor id 0x8086). This works without any Intel tooling and reports real devices instead of a placeholde
clients/provider-daemon/internal/gpu/detector.go:442
↓ 1 callersFunctiondetectNVIDIAGPUs
detectNVIDIAGPUs detects NVIDIA GPUs using nvidia-smi
cmd/provider/main.go:1942
↓ 1 callersMethoddetectNVIDIAGPUs
detectNVIDIAGPUs detects NVIDIA GPUs using nvidia-smi
clients/provider-daemon/internal/gpu/detector.go:116
↓ 1 callersFunctiondisconnect
()
clients/console/src/components/ProviderConsole.tsx:34
↓ 1 callersMethoddownloadFile
downloadFile downloads a single file
cmd/provider/main.go:1471
↓ 1 callersMethoddownloadInputFiles
downloadInputFiles downloads input files for the task
cmd/provider/main.go:1445
↓ 1 callersMethoddownloadObjectHandler
downloadObjectHandler handles object downloads.
services/storage-service/internal/api/handlers.go:156
↓ 1 callersFunctionduration
(totalSeconds: number | undefined | null)
clients/console/src/lib/format.ts:47
↓ 1 callersMethodendBillingSession
endBillingSession ends the rental session that the scheduler created for this task (threaded in via JobParams["session_id"]). It runs for every termin
clients/provider-daemon/internal/tasks/handler.go:199
↓ 1 callersMethodestimateJobCost
estimateJobCost handles cost estimation
cmd/rental/main.go:1244
↓ 1 callersMethodexecuteDockerTask
executeDockerTask executes a task using Docker
cmd/provider/main.go:1082
↓ 1 callersMethodexecuteScriptTask
executeScriptTask executes a script-based task
cmd/provider/main.go:1184
← previousnext →301–400 of 1,089, ranked by callers