프로젝트

일반

사용자정보

Actions

업무 #392

진행중
JL JL

WalletService 나머지 RPC 구현 (GetJobs, GetNodes, GetEarnings, GetEarningsToday, GetNodesDetail, GetEarningsByRange)

업무 #392: WalletService 나머지 RPC 구현 (GetJobs, GetNodes, GetEarnings, GetEarningsToday, GetNodesDetail, GetEarningsByRange)

James Lee이(가) 약 7시간 전에 추가함.

상태:
해결
우선순위:
보통
담당자:
목표버전:
시작일:
2026/04/20
완료일:
진척도:

0%

추정시간:

설명

개요

WalletService 에서 아직 구현되지 않은 6개 RPC 를 포팅한다.
이미 구현된 GetReceipts, GetEarningsSummary 는 제외.
ClaimVirtualNodes 는 virtual node 인프라가 미포팅이므로 이번 범위에서 제외.

구현 대상

RPC 주요 의존 테이블
GetJobs job_history (신규 migration 필요)
GetNodes nodes (기존)
GetNodesDetail nodes + job_receipts
GetEarnings aggregated_earnings (신규 migration 필요)
GetEarningsToday wallets + job_receipts
GetEarningsByRange job_receipts + nodes

작업 계획

  1. Migration 0005_job_history_and_aggregated_earnings.sql 추가
  2. store/jobs.rs 신규 — job_history 쿼리
  3. store/receipts.rs 확장 — earnings_by_range, earnings_today
  4. store/earnings.rs 신규 — aggregated_earnings 쿼리
  5. src/handler/wallet.rs 핸들러 구현
  6. Admin UI 엔드포인트 추가
Actions

내보내기 PDF Atom