diff --git a/website/docs/api.html b/website/docs/api.html index d332899a..d8383135 100644 --- a/website/docs/api.html +++ b/website/docs/api.html @@ -179,7 +179,7 @@
https://aitbc.bubuit.net/api
For development:
-http://localhost:18000
+ http://localhost:8000
diff --git a/website/docs/flowchart.html b/website/docs/flowchart.html
index 231d7400..80cae4e5 100644
--- a/website/docs/flowchart.html
+++ b/website/docs/flowchart.html
@@ -54,7 +54,7 @@
POST /v1/jobs
-Host: 127.0.0.1:18000
+Host: 127.0.0.1:8000
Content-Type: application/json
X-Api-Key: ${CLIENT_API_KEY}
@@ -131,7 +131,7 @@ X-Api-Key: ${CLIENT_API_KEY}
}
Coordinator Service (Port 18000):
+Coordinator Service (Port 8000):
POST /v1/jobs/assign
-Host: 127.0.0.1:18001
+Host: 127.0.0.1:8010
Content-Type: application/json
X-Api-Key: ${ADMIN_API_KEY}
@@ -250,9 +250,9 @@ Content-Type: application/json
8. Result Submission to Coordinator
- Miner → Coordinator (Port 18000):
+ Miner → Coordinator (Port 8000):
POST /v1/jobs/job_123456/complete
-Host: 127.0.0.1:18000
+Host: 127.0.0.1:8000
Content-Type: application/json
X-Miner-Key: ${MINER_API_KEY}
@@ -308,7 +308,7 @@ X-Miner-Key: ${MINER_API_KEY}
HTTP Request:
GET /v1/jobs/job_123456
-Host: 127.0.0.1:18000
+Host: 127.0.0.1:8000
X-Api-Key: ${CLIENT_API_KEY}
Response:
@@ -358,19 +358,19 @@ Cost: 0.25 AITBC
Coordinator
- 18000
+ 8000
HTTP/REST
Job management, API gateway
Blockchain Node
- 26657
+ 8006
JSON-RPC
Transaction processing, consensus
Miner Daemon
- 18001
+ 8010
HTTP/REST
Job execution, GPU management
@@ -389,12 +389,12 @@ Cost: 0.25 AITBC
Message Flow Timeline
0s: User submits CLI command
└─> 0.1s: Python client called
- └─> 0.2s: HTTP POST to Coordinator (port 18000)
+ └─> 0.2s: HTTP POST to Coordinator (port 8000)
└─> 0.3s: Coordinator validates and creates job
- └─> 0.4s: RPC to Blockchain (port 26657)
+ └─> 0.4s: RPC to Blockchain (port 8006)
└─> 0.5s: Transaction in mempool
└─> 1.0s: Job queued for miner
- └─> 2.0s: Miner assigned (port 18001)
+ └─> 2.0s: Miner assigned (port 8010)
└─> 2.1s: Miner accepts job
└─> 2.2s: Ollama request (port 11434)
└─> 14.7s: Inference complete (12.5s processing)