# Architecture # ## Partitioning ## # Protocol # | t | Client | Server | Comment | |---|--------|--------|---------------| | 2 | | | Send command | where ` = WRK | RES | REP` (Work | Result | Report) ## WRK ## Ask for work package | t | Client | Server | Comment | |---|--------|----------|--------------------------------------------------| | 2 | WRK | | Send work command | | 3 | | | Work package: Start key, end key, number of keys | | 4 | ACK | | Ack work | where ` = ` ` a 160 bit hex number` ` a 160 bit hex number strictly greater than ` ` a 32 bit unsigned integer equalling - in base 10` ## RES ## MUST follow proper WRK Respond with result for work block. | t | Client | Server | Comment | |---|--------------|--------|-----------------------------------------------------| | 2 | RES | | Send result command with corresponding work package | | 3 | | ACK | Ack receiving | | 4 | | | Result type | | 5 | | ACK | Ack receiving | where ` = NIL | ACK` if SUC: | 6 | | | Private key hex if found | | 7 | | ACK | Ack receiving | ## REP ## TODO # TODO # [ ] Admin communication [ ] Admin interface [ ] Adapt brainflyer