Actions
업무 #392
진행중
JL
JL
WalletService 나머지 RPC 구현 (GetJobs, GetNodes, GetEarnings, GetEarningsToday, GetNodesDetail, GetEarningsByRange)
업무 #392:
WalletService 나머지 RPC 구현 (GetJobs, GetNodes, GetEarnings, GetEarningsToday, GetNodesDetail, GetEarningsByRange)
설명
개요¶
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
|
작업 계획¶
- Migration
0005_job_history_and_aggregated_earnings.sql추가 -
store/jobs.rs신규 — job_history 쿼리 -
store/receipts.rs확장 — earnings_by_range, earnings_today -
store/earnings.rs신규 — aggregated_earnings 쿼리 -
src/handler/wallet.rs핸들러 구현 - Admin UI 엔드포인트 추가
Actions